/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
}

.visitor-counter {
    text-align: right;
    font-size: 0.7rem;
    color: #cbd5e1;
    margin-top: 0.5rem;
    font-family: monospace;
    opacity: 0.6;
}

@media (max-width: 600px) {
    .social-sidebar {
        display: none; /* Or change to horizontal row at bottom */
    }
}

/* Sidebar Container */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 8px;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle background */
    backdrop-filter: blur(4px); /* Glass effect */
    border-radius: 12px 0 0 12px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 9999;
}

/* Icon Links */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #ffffff; /* White icons */
    opacity: 0.6; /* Discreet by default */
    transition: all 0.3s ease;
    border-radius: 50%;
    text-decoration: none;
}

    /* Hover Effects */
    .social-link:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    /* Specific Brand Colors on Hover (Optional) */
    .social-link.facebook:hover {
        color: #1877F2;
    }

    .social-link.instagram:hover {
        color: #E4405F;
    }

    .social-link.linkedin:hover {
        color: #0A66C2;
    }

    .social-link.whatsapp:hover {
        color: #25D366;
    }

    .social-link.email:hover {
        color: #EA4335;
    }

    /* SVG Sizing */
    .social-link svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }


/* ===== DARK MODE VARIABLES ===== */
:root {
    --bg-body: #f3f4f8;
    --bg-card: #fff;
    --bg-input: #f8fafc;
    --text-primary: --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.08);
    --accent-gradient: #4B2E83;
    --accent-hover: #6d28d9;
    --tab-active-bg: #f3f0ff;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
}

    .navbar-brand svg {
        width: 36px;
        height: 36px;
    }

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== SEARCH & BUTTONS ===== */
.search-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    gap: 8px;
    width: 240px;
}

    .search-box input {
        border: none;
        background: transparent;
        outline: none;
        font-size: 0.9rem;
        width: 100%;
        color: var(--text-primary);
    }

    .search-box svg {
        width: 18px;
        height: 18px;
        color: #94a3b8;
        flex-shrink: 0;
    }

.btn-primary {
    background: #4B2E83;
    color: var(--bg-card);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(124,58,237,0.35);
    }

/* ===== PAGE UTILITIES ===== */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    margin-bottom: 1.5rem;
}

    .page-header h1 {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 0.4rem;
    }

    .page-header p {
        color: #4B2E83;
        font-size: 0.95rem;
    }

/* ===== TABS ===== */
.tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
    background: var(--bg-card);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.tab-item {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
    border: none;
}

    .tab-item:hover {
        color: #7c3aed;
        background: #f8fafc;
    }

    .tab-item.active {
        color: #7c3aed;
        border-bottom-color: #7c3aed;
        background: var(--tab-active-bg);
        font-weight: 600;
    }

/* ===== TAB CONTENT SECTIONS ===== */
.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== DOWNLOAD SECTION ===== */
.download-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

    .download-section h2 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
    }

    .download-section p {
        color: #64748b;
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

.download-buttons {
    display: flex;
    justify-content: right;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #334155;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

    .download-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        background: #64748b;
    }

    .download-btn svg {
        width: 24px;
        height: 24px;
    }

.download-btn-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.7;
}

.download-btn-text span {
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===== SCREENSHOTS ===== */
.app-screenshots {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    margin: 1rem 0;
    scroll-padding: 1rem;
}

    .app-screenshots::-webkit-scrollbar {
        height: 6px;
    }

    .app-screenshots::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 3px;
    }

    .app-screenshots::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }

.screenshot-item {
    width: 180px;
    height: 320px;
    border-radius: 16px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.1px solid #334155;
}

    .screenshot-item svg {
        width: 40px;
        height: 40px;
        color: #94a3b8;
    }

/* ===== GALLERY MODAL & SLIDER ===== */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .gallery-modal.show {
        display: flex;
        opacity: 1;
    }

.gallery-slider {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

    .gallery-slider::-webkit-scrollbar {
        display: none;
    }
/* Hide scrollbar */

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    padding: 0 15px;
    box-sizing: border-box;
}

    .gallery-slide img {
        max-height: 85vh;
        max-width: 95vw;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    }

.gallery-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .gallery-close:hover {
        background: rgba(255,255,255,0.2);
    }

/* ===== VERSION INFO ===== */
.version-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.version-item {
    text-align: left;
}

.version-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.version-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== VIDEO BANNER ===== */
.video-ad-banner {
    background: linear-gradient(135deg, #4B2E83, var(--accent-hover));
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    margin: 2rem 0;
}

    .video-ad-banner:hover {
        transform: scale(1.01);
        box-shadow: 0 12px 40px rgba(124,58,237,0.25);
    }

.video-ad-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.play-btn {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.video-ad-banner:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
}

.play-btn svg {
    width: 28px;
    height: 28px;
    color: #4B2E83;
    margin-left: 3px;
}

.video-ad-text {
    color: var(--bg-card);
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.video-ad-subtext {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

/* ===== ABOUT CONTENT ===== */
.about-content {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

    .about-content h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 1.5rem 0 0.75rem;
    }

        .about-content h3:first-child {
            margin-top: 0;
        }

    .about-content p {
        color: #475569;
        line-height: 1.7;
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .about-content ul {
        list-style: none;
        padding: 0;
    }

        .about-content ul li {
            padding: 0.6rem 0;
            color: #475569;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

            .about-content ul li svg {
                width: 20px;
                height: 20px;
                color: #7c3aed;
                flex-shrink: 0;
            }

/* ===== HOW-TO SECTION ===== */
.howto-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.howto-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.howto-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #7c3aed, var(--accent-hover));
    color: var(--bg-card);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.step-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 2;
}

.howto-tip {
    margin-top: 2rem;
    background: var(--tab-active-bg);
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid #7c3aed;
}

    .howto-tip h4 {
        color: #7c3aed;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .howto-tip p {
        color: #475569;
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0;
    }

/* ===== VIDEO MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

    .modal-overlay.show {
        display: flex;
    }

.modal-content {
    background: #000;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: var(--bg-card);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}

    .modal-close:hover {
        background: rgba(255,255,255,0.3);
    }

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b, #4B2E83, #4B2E83);
    color: var(--bg-card);
}

    .video-placeholder svg {
        width: 80px;
        height: 80px;
        color: rgba(255,255,255,0.3);
        margin-bottom: 16px;
    }

    .video-placeholder p {
        font-size: 1rem;
        color: rgba(255,255,255,0.5);
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .search-box {
        width: 180px;
        display: none;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .navbar-links {
        gap: 0.5rem;
    }

    .video-ad-banner {
        height: 160px;
    }

    .tab-item {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .version-info {
        gap: 1rem;
    }

    .app-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.hr-with-label {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 1rem;
    color: #555;
    margin: 1.25rem 0;
}

    .hr-with-label::before,
    .hr-with-label::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #ddd;
    }

    .hr-with-label span {
        padding: 0.25rem 0.75rem;
        background: white; /* match page bg */
        border-radius: 999px;
        font-size: 0.95rem;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }

/* ===== About US section ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f3f4f8;
    color: #1e293b;
    min-height: 100vh;
    line-height: 1.6;
}

.navbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
    cursor: pointer;
}

    .navbar-brand svg {
        width: 36px;
        height: 36px;
    }

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

    .nav-link:hover, .nav-link.active {
        color: #7c3aed;
        border-bottom-color: #7c3aed;
    }

.search-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    gap: 8px;
    width: 260px;
}

    .search-box input {
        border: none;
        background: transparent;
        outline: none;
        font-size: 0.9rem;
        width: 100%;
        color: #1e293b;
    }

    .search-box svg {
        width: 18px;
        height: 18px;
        color: #94a3b8;
        flex-shrink: 0;
    }

.btn-primary {
    background: #4B2E83;
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(124,58,237,0.35);
    }

.page {
    display: none;
}

    .page.active {
        display: block;
    }

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

    .page-header h1 {
        font-size: 1.6rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0.4rem;
    }

    .page-header p {
        color: #64748b;
        font-size: 0.95rem;
    }

.tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.tab-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

    .tab-item:hover {
        color: #7c3aed;
    }

    .tab-item.active {
        color: #7c3aed;
        border-bottom-color: #7c3aed;
    }

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.25rem;
}

.app-grid2 {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* two equal halves */
}

/* Collapse to one column on narrow screens (mobile) */
@media (max-width: 640px) {
    .app-grid2 {
        grid-template-columns: 1fr;
    }
}

.app-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.25s;
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

    .app-card:hover {
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        transform: translateY(-2px);
    }

.app-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.app-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

    .app-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.app-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.app-card-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .app-card-subtitle svg {
        width: 14px;
        height: 14px;
    }

.app-card-dots {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #94a3b8;
    font-size: 1.2rem;
    letter-spacing: 2px;
    line-height: 1;
}

.app-card-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.app-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.app-card-expire {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

    .app-card-expire span {
        color: #7c3aed;
        font-weight: 600;
    }

.btn-text {
    background: none;
    border: none;
    color: #7c3aed;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s;
}

    .btn-text:hover {
        background: #f3f0ff;
    }

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .section-title svg {
        width: 24px;
        height: 24px;
        color: #7c3aed;
    }


.hero-section {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 50%, #0ea5e9 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        border-radius: 50%;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
        border-radius: 50%;
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

    .hero-content h1 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.05rem;
        opacity: 0.9;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
}

.hero-stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-apps-label {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .featured-apps-label svg {
        width: 24px;
        height: 24px;
        color: #7c3aed;
    }

.categories-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-pill {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    transition: all 0.2s;
}

    .category-pill:hover, .category-pill.active {
        background: #7c3aed;
        color: #fff;
        border-color: #7c3aed;
    }

.footer {
    background: #4B2E83;
    color: #94a3b8;
    padding: 3rem 2rem;
    margin-top: 4rem;
    max-width: 100%;
}

.footer-inner {
    
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    transition: color 0.2s;
    cursor: pointer;
}

    .footer-col a:hover {
        color: #fff;
    }

.footer-bottom {
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #C5A059;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: #C5A059;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        text-decoration: none;
        transition: all 0.2s;
    }

        .footer-social a:hover {
            background: #7c3aed;
            color: #fff;
        }

.sa-flag-bar {
    height: 4px;
    background: linear-gradient(to right, #007749 0%, #007749 16.6%, #FFB612 16.6%, #FFB612 33.3%, #DE3831 33.3%, #DE3831 50%, #002395 50%, #002395 66.6%, #000000 66.6%, #000000 83.3%, #FFFFFF 83.3%, #FFFFFF 100%);
}

.about-zl-section {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}

.about-zl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.about-zl-card {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

    .about-zl-card h4 {
        font-size: 1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .about-zl-card h4 svg {
            width: 20px;
            height: 20px;
            color: #7c3aed;
        }

    .about-zl-card p {
        font-size: 0.9rem;
        color: #64748b;
        line-height: 1.6;
    }

.contact-banner {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    color: #fff;
    margin-top: 2rem;
}

    .contact-banner h3 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .contact-banner p {
        opacity: 0.85;
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .contact-banner .btn-primary {
        background: #fff;
        color: #2563eb;
        display: inline-flex;
        margin: 0 auto;
    }

        .contact-banner .btn-primary:hover {
            box-shadow: 0 4px 12px rgba(255,255,255,0.35);
        }

.notification-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1e293b;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

    .notification-toast.show {
        transform: translateY(0);
        opacity: 1;
    }

    .notification-toast svg {
        width: 20px;
        height: 20px;
        color: #34d399;
        flex-shrink: 0;
    }

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .search-box {
        display: none;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .subpage-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .navbar-links {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .video-ad-banner {
        height: 180px;
    }

    .hero-section {
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-value {
        font-size: 1.3rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .about-zl-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .subpage-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f3f0ff;
    color: #7c3aed;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.new-badge {
    background: #dcfce7;
    color: #16a34a;
}

.beta-badge {
    background: #fef3c7;
    color: #d97706;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

    .rating-stars svg {
        width: 14px;
        height: 14px;
        color: #fbbf24;
    }

    .rating-stars span {
        font-size: 0.8rem;
        color: #64748b;
        margin-left: 4px;
    }


:root {
    --bg: linear-gradient(135deg, #7c3aed, #4B2E83); /* page background */
    --card: #fff; /* card background (darker blue) */
    --card-border: #C5A059; /* subtle darker border */
    --muted: #9fb3c3; /* muted text */
    --accent: #C5A059; /* icon accent (gold) */
    --title: #e6f2fb;
}



.hero-section {
    background: var(--bg);
    padding: 36px 20px;
    color: var(--title);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.hero-title {
    font-size: 1.5rem; /* adjust */
    font-weight: 700;
    margin: 0 0 18px 8px;
    color: var(--title);
}

/* container for the cards */
.hero-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: stretch;
}

/* each card */
.hero-stat {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
    border: 1px solid var(--card-border);
    box-shadow: 0 6px 18px rgba(3,15,25,0.5);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 200px;
    flex: 1 1 180px; /* grows, wraps */
    color: var(--title);
}

/* icon circle */
.hero-stat-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25);
}

/* text column */
.hero-stat-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-stat-value {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    color: var(--title);
}

/* subtitle / muted label */
.hero-stat-label {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.2;
    max-width: 260px;
}

/* responsive tweaks */
@media (min-width:900px) {
    .hero-stats {
        gap: 20px;
    }

    .hero-stat {
        padding: 18px 18px;
        border-radius: 12px;
        min-width: 220px;
    }

    .hero-stat-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        font-size: 20px;
    }

    .hero-stat-label {
        max-width: 300px;
    }
}

@media (max-width:640px) {
    .hero-stats {
        gap: 12px;
    }

    .hero-stat {
        padding: 12px;
        flex: 1 1 100%;
    }
}
