:root {
    --color-bg: #1b0c0f;
    --color-bg-start: #1e1a1b;
    --color-bg-end: #1b0c0f;
    --color-bg-darker: #13080a;
    --color-surface: rgba(255, 255, 255, 0.04);
    --color-surface-hover: rgba(255, 255, 255, 0.08);
    --color-primary: #e6163e;
    --color-accent: #ff2d55;
    --color-text: #eeeef0;
    --color-text-muted: #7a7a8a;
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --font-heading: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-body: 'Cairo', system-ui, -apple-system, sans-serif;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --glow-primary: rgba(230, 22, 62, 0.15);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

html {
    width: 100%;
    /* Keeps the main scrollbar but prevents horizontal scroll */
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: #26080f;
    color: var(--color-text);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    /* Ensure body never exceeds viewport */
    overflow-x: clip;
    /* Force override to prevent horizontal scroll */
    min-height: 100vh;
    direction: rtl;
    position: relative;
}

#page {
    width: 100%;
    /* overflow properties removed from wrapper */
    overflow: visible;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    padding: 0.6rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    background: rgba(27, 12, 15, 0.85); /* Changed to dark burgundy */
    border-bottom: 1px solid var(--glass-border);
    z-index: -1;
    transition: inherit;
}

.custom-logo {
    height: auto;
    max-height: 48px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.custom-logo:hover {
    transform: scale(1.05);
}

/* Header Layout - 3-Column: Brand | Nav (Center) | Toggle */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 1.5rem;
}

/* ---- Site Brand Link (Icon + Name) ---- */
.site-brand-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.site-brand-link:hover {
    transform: scale(1.03);
}

.site-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 2px 12px rgba(220, 20, 60, 0.25);
    transition: box-shadow 0.3s ease;
}

.site-brand-link:hover .site-brand-icon {
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.45);
}

.site-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #fff 30%, var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

/* Legacy - keep for backward compat */
.site-title a {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(to right, #fff, var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    white-space: nowrap;
    text-decoration: none;
}

/* Desktop Navigation - Centered */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Close button hidden on desktop */
.nav-close {
    display: none;
}

.nav-menu,
#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu li,
.nav-menu .menu-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a,
.nav-menu .menu-item a {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    border-radius: 999px;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu .menu-item a:hover {
    color: #fff;
    background: rgba(220, 20, 60, 0.15);
}

.nav-menu .current-menu-item a {
    color: #fff;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25), rgba(255, 31, 75, 0.15));
    box-shadow: 0 0 12px rgba(220, 20, 60, 0.2);
}

/* Mobile Hamburger Toggle - Hidden on Desktop */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    flex-shrink: 0;
}

.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* ============================================
   MOBILE MENU STYLES
   ============================================ */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .site-header {
        padding: 0.5rem 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }

    .site-branding {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
    }

    .site-brand-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .site-brand-name {
        font-size: 1.2rem;
    }

    .site-title {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .custom-logo {
        max-height: 36px;
        max-width: 100%;
        height: auto;
    }

    .site-title a {
        font-size: 1.3rem;
    }

    /* Mobile Nav Overlay */
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(180deg, rgba(26, 5, 8, 0.98) 0%, rgba(43, 10, 18, 0.98) 100%);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-navigation.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    /* Close Button */
    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.2rem;
        left: 1.5rem;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .nav-close:hover {
        background: rgba(220, 20, 60, 0.2);
        border-color: rgba(220, 20, 60, 0.4);
        transform: rotate(90deg);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.75rem;
        background: transparent;
        border: none;
        width: 85%;
        max-width: 380px;
        text-align: center;
        padding: 1rem 0;
        margin: 0;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(25px);
    }

    .main-navigation.active .nav-menu li {
        animation: mobileMenuFadeIn 0.45s ease forwards;
    }

    .main-navigation.active .nav-menu li:nth-child(1) {
        animation-delay: 0.08s;
    }

    .main-navigation.active .nav-menu li:nth-child(2) {
        animation-delay: 0.16s;
    }

    .main-navigation.active .nav-menu li:nth-child(3) {
        animation-delay: 0.24s;
    }

    .main-navigation.active .nav-menu li:nth-child(4) {
        animation-delay: 0.32s;
    }

    .main-navigation.active .nav-menu li:nth-child(5) {
        animation-delay: 0.40s;
    }

    .main-navigation.active .nav-menu li:nth-child(6) {
        animation-delay: 0.48s;
    }

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

    .nav-menu li a {
        font-size: 1.4rem;
        font-weight: 700;
        padding: 1rem 1.5rem;
        color: rgba(255, 255, 255, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-menu li a:hover {
        background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(255, 31, 75, 0.1));
        border-color: rgba(220, 20, 60, 0.3);
        transform: scale(1.02);
        color: #fff;
    }

    .nav-menu .current-menu-item a {
        background: linear-gradient(135deg, rgba(220, 20, 60, 0.25), rgba(255, 31, 75, 0.1));
        border-color: rgba(220, 20, 60, 0.3);
        box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
    }

    /* Show hamburger */
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        cursor: pointer;
        padding: 10px;
        z-index: 2000;
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-toggle .bar {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
        margin: 0 auto;
    }

    /* Burger Animation */
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow-x: clip;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Gradient overlay on top of poster grid */
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(173deg, rgb(37 30 31 / 82%) 0%, rgb(24 9 11 / 78%) 40%, rgba(200, 30, 70, 0.85) 100%);
    z-index: 2;
}

.hero-static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Poster Grid Container */
.poster-grid-wrapper {
    position: absolute;
    width: 300vw;
    height: 300vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

.poster-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.poster-column-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: posterScrollDown 35s linear infinite;
    animation-delay: 2.5s;
}

.poster-column:nth-child(even) .poster-column-inner {
    animation: posterScrollUp 35s linear infinite;
    animation-delay: 2.5s;
}

/* Pause animation on hover */
.poster-grid-wrapper:hover .poster-column-inner {
    animation-play-state: paused;
}

@keyframes posterScrollDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 10px)); }
}

@keyframes posterScrollUp {
    0% { transform: translateY(calc(-50% - 10px)); }
    100% { transform: translateY(0); }
}

.poster-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.poster-card {
    width: 200px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero grid sits on top of everything */
.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }
}

/* Typography */
.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-title span,
.hero-title strong {
    color: #fff;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.9;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Actions */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .hero-actions {
        align-items: center;
        width: 100%;
    }
}

.download-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent), var(--color-primary));
    background-size: 200% auto;
    animation: shine 3s linear infinite;
    color: #fff;
    padding: 1.25rem 3.5rem;
    /* Larger padding */
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 10px 25px -5px rgba(220, 20, 60, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.download-main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(220, 20, 60, 0.8);
    filter: brightness(1.1);
}

.download-main-btn:active {
    transform: translateY(0);
}

.btn-icon svg:first-child {
    display: none;
    /* Hide old icon */
}

.rocket-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.download-main-btn:hover .rocket-icon {
    transform: translateY(3px);
    /* Bounce down effect */
}

/* Availability Section */
.store-availability {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .store-availability {
        align-items: center;
        width: 100%;
    }
}

.availability-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.availability-text::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.store-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Visual Badges (Non-clickable look) */
.store-badge-visual {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 140px;
    justify-content: center;
    cursor: default;
    user-select: none;
    transition: all 0.3s ease;
}

.store-badge-visual .store-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* Mobile Layout adjustments */
@media (max-width: 768px) {
    .store-badges {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .store-badge-visual {
        flex: 1;
        min-width: auto;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }
}

/* Mobile Mockup */
.hero-visual {
    perspective: 1000px;
}

.floating-animation {
    animation: float-y 6s ease-in-out infinite;
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Mobile Mockup */
.phone-frame {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9/19.5;
    height: auto;
    /* Allow height to scale based on aspect ratio */
    background: #000;
    border-radius: clamp(30px, 8vw, 40px);
    padding: clamp(8px, 2vw, 12px);
    /* Responsive bezel */
    position: relative;
    margin: 0 auto;
    box-shadow:
        0 0 0 2px #4a0e1c,
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    position: absolute;
    top: clamp(8px, 2vw, 12px);
    height: clamp(20px, 5vw, 30px);
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #2b0a12;
    border-radius: clamp(24px, 7vw, 32px);
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #475569;
    font-weight: 600;
}

/* New Sections Common Styles */
.section-padding {
    padding: 5rem 0;
}

.bg-darker {
    background-color: var(--color-bg-darker);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Install Steps */
.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    background: var(--color-surface);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: right;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.2);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(220, 20, 60, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 20, 60, 0.15);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.4);
}

.step-card:hover::before {
    opacity: 1;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.step-number {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    line-height: 1.3;
}

.step-subtitle {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    margin: -0.5rem 0 2rem 0;
    padding-right: calc(48px + 1.25rem);
    /* Align with title text under number */
    opacity: 0.9;
    z-index: 1;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
    z-index: 1;
}

.step-list li {
    position: relative;
    padding-right: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

.step-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #2563eb);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--color-surface);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 20, 60, 0.2);
    background: var(--color-surface-hover);
    box-shadow: 0 20px 50px -15px rgba(220, 20, 60, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(220, 20, 60, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    transform: scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 20px -5px rgba(220, 20, 60, 0.4);
}

.feature-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: #fff;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2.5rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

/* Custom arrow indicator */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--glass-border);
}

/* Misc Content */
.content-area {
    padding: 4rem 1.5rem;
}

.site-footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--glass-border);
}

/* Google Play Custom Button */
.playstore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    background-color: #000;
    padding: 0.8rem 1.5rem;
    /* Increased padding */
    text-align: center;
    color: #fff;
    outline: 0;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 190px;
    /* Increased width */
    align-self: center;
    margin-top: auto;
    position: relative;
    /* Ensure z-index works */
    z-index: 10;
    /* clickable above card overlay */
    direction: ltr;
    /* Force LTR for correct icon/text layout */
    text-align: left;
}

.playstore-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.playstore-button .icon {
    height: 2rem;
    /* Increased icon */
    width: 2rem;
    flex-shrink: 0;
}

.playstore-button .texts {
    margin-left: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.playstore-button .text-1 {
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    /* Increased font */
    line-height: 1;
    opacity: 0.8;
}

.playstore-button .text-2 {
    font-weight: 600;
    font-size: 1.1rem;
    /* Increased font */
}

/* App Store Custom Button */
.appstore-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    /* Increased padding */
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: #000;
    border-radius: 9999px;
    /* Match Play Store pill shape */
    gap: 12px;
    /* Increased gap */
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
    min-width: 190px;
    /* Increased width */
    margin-top: auto;
    position: relative;
    /* Ensure z-index works */
    z-index: 10;
    /* clickable above card overlay */
    direction: ltr;
    /* Force LTR for correct icon/text layout */
    text-align: left;
}

.appstore-button svg {
    width: 32px;
    /* Increased icon */
    /* Match icon size roughly */
    height: 32px;
    flex-shrink: 0;
}

.appstore-button svg path {
    fill: white;
    transition: all 0.3s;
}

.appstore-button .button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    line-height: 1;
}

.appstore-button .top-text {
    font-size: 0.75rem;
    /* Increased font */
    font-weight: 600;
    margin-bottom: 0.15rem;
    opacity: 0.8;
}

.appstore-button .bottom-text {
    font-size: 1.1rem;
    /* Increased font */
    font-weight: 600;
}

.appstore-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.appstore-button:hover .button-text {
    color: black;
}

.appstore-button:hover svg path {
    fill: black;
}

/* Container for side-by-side buttons */
.store-buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
}

/* Hero Logo Image */
.hero-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    /* Adjust as needed */
    margin-bottom: 1.5rem;
    display: block;
}

@media (max-width: 768px) {
    .hero-logo-img {
        margin: 0 auto 1.5rem auto;
        max-height: 100px;
    }
}

/* Main Animated Download Button */
.animated-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    background-color: inherit;
    border-radius: 100px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    /* Ensure link behaves like button */
    min-width: 200px;
    /* Ensure decent width */
    justify-content: center;
}

.animated-button svg {
    position: absolute;
    width: 24px;
    fill: #fff;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
    right: 16px;
}

/* RTL adjustment: since standard CSS is LTR based but site is RTL */
/* In RTL, left becomes right visually. Ideally, flip arrows or positions if needed. */
/* Keeping original logic but ensuring it works in RTL context */
.animated-button .arr-2 {
    left: -25%;
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #212121;
    border-radius: 12px;
}

.animated-button:hover .arr-1 {
    right: -25%;
}

.animated-button:hover .arr-2 {
    left: 16px;
}

.animated-button:hover .text {
    transform: translateX(12px);
}

.animated-button:hover svg {
    fill: #212121;
}

.animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
}

.animated-button:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

/* Footer Widgets Area */
.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.footer-widget .widget-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-right: 5px;
    /* Subtle nudge effect */
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        /* Stack visually on mobile */
        gap: 2rem;
        text-align: center;
    }

    .footer-links a:hover {
        padding-right: 0;
        /* No nudge on mobile center align */
    }
}

/* Phone — Clean Borderless Design */
.phone-wrapper {
    position: relative;
    width: 270px;
    margin: 0 auto;
    perspective: 1200px;
    z-index: 5;
}

.phone-frame-pro {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 19.5;
    background: transparent;
    border-radius: 28px;
    padding: 0;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 60px -10px rgba(255, 255, 255, 0.15),
        0 30px 60px -20px rgba(0, 0, 0, 0.4);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.6s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    overflow: hidden;
}

.phone-edge {
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15),
                inset 0 0 0 6px #111;
    pointer-events: none;
    z-index: 10;
}

/* Button cutouts for the phone edge (Volume and Power) */
.phone-edge::before,
.phone-edge::after {
    content: '';
    position: absolute;
    background: #222;
    border-radius: 2px;
}

/* Power button */
.phone-edge::before {
    right: -4px;
    top: 100px;
    width: 6px;
    height: 35px;
}

/* Volume button */
.phone-edge::after {
    left: -4px;
    top: 80px;
    width: 6px;
    height: 55px;
}

.phone-dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 12;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 6px #111; /* Simulates inner bezel */
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 6px; /* Padding for the inner bezel */
    box-sizing: border-box;
}

.phone-gloss {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
    border-radius: 28px;
    pointer-events: none;
    z-index: 15;
}

/* Hover: lift + white glow */
.phone-wrapper:hover .phone-frame-pro {
    transform: translateY(-14px) rotateY(-2deg);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.25),
        0 0 80px -10px rgba(255, 255, 255, 0.2),
        0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

.phone-wrapper:active .phone-frame-pro {
    transform: scale(0.97);
}

/* Floating Icons */
.float-element {
    position: absolute;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 30;
    animation: floating-y 4s ease-in-out infinite;
}

.float-element svg {
    width: 26px;
    height: 26px;
}

.float-movie {
    top: 15%;
    left: -35px;
    color: #fbbf24;
    animation-delay: 0s;
}

.float-play {
    top: 50%;
    right: -30px;
    color: #fff;
    animation-delay: 1.5s;
    width: 46px;
    height: 46px;
}

.float-tv {
    bottom: 20%;
    left: -20px;
    color: #fff;
    animation-delay: 2.5s;
}

/* Keyframes for floating */
@keyframes floating-y {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .phone-wrapper {
        width: 230px;
    }

    .phone-frame-pro,
    .phone-screen,
    .phone-gloss {
        border-radius: 24px;
    }

    .float-element {
        width: 44px;
        height: 44px;
    }

    .float-element svg {
        width: 22px;
        height: 22px;
    }

    .float-movie {
        left: -20px;
    }

    .float-play {
        right: -15px;
    }

    .float-tv {
        left: -10px;
    }

    /* Grid & Spacing */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-section {
        padding-top: 110px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .poster-card {
        width: 130px;
        height: 195px;
        border-radius: 10px;
    }

    .poster-grid-wrapper,
    .poster-column,
    .poster-column-inner,
    .poster-block {
        gap: 10px;
    }

    /* Performance optimization: hide 4 out of 8 columns on mobile to drastically cut network requests */
    .poster-column:nth-child(n+5) {
        display: none !important;
    }

    .download-main-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 320px;
    }

    .container {
        padding: 0 1.25rem;
    }
}

/* Footer Fixes */
.site-footer {
    padding: 3rem 0 0 0;
    margin: 0 0 0 0;
}

.site-footer .container {
    padding-bottom: 0;
    margin-bottom: 0;
}

.site-info {
    margin: 2rem 0 0 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
}

.site-footer p,
.site-info p {
    margin: 0;
    padding: 0;
}

.footer-widgets {
    margin-bottom: 0;
    padding-bottom: 0;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ============================================
   ANDROID & iPHONE THEMED STEP CARDS
   ============================================ */

/* Platform Logo Watermark */
.step-platform-logo {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 180px;
    height: 180px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.step-platform-logo svg {
    width: 100%;
    height: 100%;
}

.step-card:hover .step-platform-logo {
    opacity: 0.1;
}

/* ---- Android Step Card ---- */
.step-card-android {
    background: linear-gradient(145deg, rgba(27, 94, 32, 0.6) 0%, rgba(10, 40, 14, 0.85) 100%) !important;
    border: 1px solid rgba(76, 175, 80, 0.2) !important;
}

.step-card-android::before {
    background: radial-gradient(circle at top right, rgba(76, 175, 80, 0.15), transparent 50%) !important;
}

.step-card-android:hover {
    border-color: #4CAF50 !important;
    box-shadow: 0 20px 40px -10px rgba(76, 175, 80, 0.3), 0 0 30px rgba(76, 175, 80, 0.1) !important;
}

.step-card-android .step-platform-logo {
    color: #4CAF50;
}

.step-number-android {
    background: linear-gradient(135deg, #2E7D32, #66BB6A) !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4) !important;
}

.step-subtitle-android {
    color: #66BB6A !important;
}

.step-list-android li::before {
    background-color: #4CAF50 !important;
    box-shadow: 0 0 8px #4CAF50 !important;
}

/* Platform Badge */
.step-platform-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.3rem;
}

.step-badge-android {
    background: rgba(76, 175, 80, 0.2);
    color: #81C784;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.step-badge-iphone {
    background: rgba(174, 174, 178, 0.15);
    color: #AEAEB2;
    border: 1px solid rgba(174, 174, 178, 0.2);
}

/* ---- iPhone Step Card ---- */
.step-card-iphone {
    background: linear-gradient(145deg, rgba(44, 44, 46, 0.8) 0%, rgba(28, 28, 30, 0.95) 100%) !important;
    border: 1px solid rgba(174, 174, 178, 0.15) !important;
}

.step-card-iphone::before {
    background: radial-gradient(circle at top right, rgba(174, 174, 178, 0.1), transparent 50%) !important;
}

.step-card-iphone:hover {
    border-color: rgba(174, 174, 178, 0.4) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(174, 174, 178, 0.08) !important;
}

.step-card-iphone .step-platform-logo {
    color: #8E8E93;
}

.step-number-iphone {
    background: linear-gradient(135deg, #636366, #AEAEB2) !important;
    box-shadow: 0 4px 15px rgba(174, 174, 178, 0.2) !important;
}

.step-subtitle-iphone {
    color: #AEAEB2 !important;
}

.step-list-iphone li::before {
    background-color: #8E8E93 !important;
    box-shadow: 0 0 8px rgba(142, 142, 147, 0.4) !important;
}

/* ---- TV Step Card ---- */
.step-card-tv {
    flex-basis: 100%;
    max-width: 600px;
    background: linear-gradient(145deg, rgba(49, 27, 82, 0.85) 0%, rgba(26, 15, 50, 0.95) 100%) !important;
    border: 1px solid rgba(149, 117, 205, 0.2) !important;
}

.step-card-tv::before {
    background: radial-gradient(circle at top right, rgba(149, 117, 205, 0.12), transparent 50%) !important;
}

.step-card-tv:hover {
    border-color: rgba(149, 117, 205, 0.45) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(149, 117, 205, 0.1) !important;
}

.step-card-tv .step-platform-logo {
    color: rgba(149, 117, 205, 0.18);
}

.step-number-tv {
    background: linear-gradient(135deg, #5E35B1, #9575CD) !important;
    box-shadow: 0 4px 15px rgba(149, 117, 205, 0.4) !important;
}

.step-subtitle-tv {
    color: #B39DDB !important;
}

.step-list-tv li::before {
    background-color: #9575CD !important;
    box-shadow: 0 0 8px rgba(149, 117, 205, 0.5) !important;
}

.step-badge-tv {
    background: rgba(149, 117, 205, 0.2);
    color: #CE93D8;
    border: 1px solid rgba(149, 117, 205, 0.3);
}

/* TV Code / URL Container */
.tv-code-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.tv-code-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(149, 117, 205, 0.2);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.tv-code-card:hover {
    border-color: rgba(149, 117, 205, 0.4);
    background: rgba(149, 117, 205, 0.06);
}

.tv-code-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #B39DDB;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tv-code-label svg {
    color: #9575CD;
    flex-shrink: 0;
}

.tv-code-value {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Courier New', 'Fira Code', monospace;
    background: linear-gradient(135deg, #CE93D8, #9575CD);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
    line-height: 1.2;
    direction: ltr;
    text-align: left;
}

.tv-code-url {
    font-size: 1.3rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #B39DDB, #7E57C2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tv-code-copy {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(149, 117, 205, 0.2), rgba(126, 87, 194, 0.15));
    border: 1px solid rgba(149, 117, 205, 0.3);
    color: #CE93D8;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.tv-code-copy:hover {
    background: linear-gradient(135deg, rgba(149, 117, 205, 0.35), rgba(126, 87, 194, 0.25));
    border-color: rgba(149, 117, 205, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(149, 117, 205, 0.2);
}

@media (max-width: 768px) {
    .tv-code-container {
        grid-template-columns: 1fr;
    }

    .tv-code-value {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }

    .tv-code-url {
        font-size: 1.1rem;
    }
}

/* ============================================
   DOWNLOAD BUTTONS GRID
   ============================================ */
.download-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    z-index: 1;
    position: relative;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    direction: rtl;
    text-align: right;
    z-index: 10;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.download-btn-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.download-btn:hover .download-btn-icon {
    transform: scale(1.1);
}

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

.download-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-btn-label {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}

.download-btn-sub {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
}

/* ---- Direct Download Button (Red) ---- */
.download-btn-direct {
    background: linear-gradient(135deg, #B71C1C, #D32F2F);
    border: 1px solid rgba(244, 67, 54, 0.3);
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
}

.download-btn-direct:hover {
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.5);
    border-color: rgba(244, 67, 54, 0.5);
}

.download-btn-direct .download-btn-icon {
    background: rgba(244, 67, 54, 0.25);
    color: #EF9A9A;
}

/* ---- Uptodown Button ---- */
.download-btn-uptodown {
    background: linear-gradient(135deg, #00695C, #00897B);
    border: 1px solid rgba(0, 150, 136, 0.3);
    box-shadow: 0 4px 12px rgba(0, 105, 92, 0.3);
}

.download-btn-uptodown:hover {
    box-shadow: 0 8px 25px rgba(0, 150, 136, 0.4);
    border-color: rgba(0, 150, 136, 0.5);
}

.download-btn-uptodown .download-btn-icon {
    background: rgba(0, 150, 136, 0.2);
    color: #4DB6AC;
}

/* ---- ApkPure Button ---- */
.download-btn-apkpure {
    background: linear-gradient(135deg, #249F5D, #187E45);
    border: 1px solid rgba(36, 159, 93, 0.3);
    box-shadow: 0 4px 12px rgba(36, 159, 93, 0.3);
}

.download-btn-apkpure:hover {
    box-shadow: 0 8px 25px rgba(36, 159, 93, 0.4);
    border-color: rgba(36, 159, 93, 0.5);
}

.download-btn-apkpure .download-btn-icon {
    background: rgba(36, 159, 93, 0.2);
    color: #A5D6A7;
}

/* ---- App Store Button (iPhone) ---- */
.download-btn-appstore {
    background: linear-gradient(135deg, #1C1C1E, #2C2C2E);
    border: 1px solid rgba(174, 174, 178, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.download-btn-appstore:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(174, 174, 178, 0.1);
    border-color: rgba(174, 174, 178, 0.35);
}

.download-btn-appstore .download-btn-icon {
    background: rgba(174, 174, 178, 0.1);
    color: #AEAEB2;
}

/* ---- Pulse animation on Android card ---- */
@keyframes android-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
    }

    50% {
        box-shadow: 0 4px 25px rgba(76, 175, 80, 0.4);
    }
}

.step-card-android:hover .step-number-android {
    animation: android-glow 2s ease-in-out infinite;
}

/* ---- Shine animation on iPhone card ---- */
@keyframes iphone-shimmer {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(174, 174, 178, 0.1);
    }

    50% {
        box-shadow: 0 4px 25px rgba(174, 174, 178, 0.25);
    }
}

.step-card-iphone:hover .step-number-iphone {
    animation: iphone-shimmer 2s ease-in-out infinite;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .step-platform-logo {
        width: 120px;
        height: 120px;
        bottom: -10px;
        left: -10px;
    }

    .download-btn {
        padding: 0.8rem 1rem;
    }

    .download-btn-icon {
        width: 36px;
        height: 36px;
    }

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

    .download-btn-label {
        font-size: 0.95rem;
    }

    .download-btn-sub {
        font-size: 0.7rem;
    }

    .step-platform-badge {
        font-size: 0.6rem;
    }
}

/* iPhone card store buttons container */
.step-card-iphone .store-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1;
    position: relative;
}

/* ============================================
   DOWNLOAD BUTTON BACKGROUND WATERMARKS
   ============================================ */
.download-btn-bg-icon {
    position: absolute;
    left: 0;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    height: 110%;
    width: auto;
    max-width: none;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    overflow: hidden;
    mask-image: linear-gradient(to right, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 40%, transparent 100%);
}

.download-btn:hover .download-btn-bg-icon {
    opacity: 0.4;
}

.download-btn-bg-icon svg {
    width: auto;
    height: 100%;
}

.download-btn-bg-icon img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Image-based button icons (Uptodown, ApkPure) */
.download-btn-icon-img {
    padding: 6px;
    background: rgba(255, 255, 255, 0.12) !important;
}

.download-btn-icon-img img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .download-btn-bg-icon {
        height: 75%;
        left: 8px;
        right: auto;
    }

    .download-btn-icon-img img {
        width: 22px;
        height: 22px;
    }
}

/* ============================================
   INTERSECTION OBSERVER ANIMATIONS
   ============================================ */
.observe-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.observe-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.observe-fade:nth-child(2) { transition-delay: 0.1s; }
.observe-fade:nth-child(3) { transition-delay: 0.2s; }
.observe-fade:nth-child(4) { transition-delay: 0.3s; }
.observe-fade:nth-child(5) { transition-delay: 0.4s; }
.observe-fade:nth-child(6) { transition-delay: 0.5s; }
.observe-fade:nth-child(7) { transition-delay: 0.6s; }
.observe-fade:nth-child(8) { transition-delay: 0.7s; }

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 3.5rem 0;
    background: var(--color-bg-darker);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.05), transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-number-text {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-suffix {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-top: 0.4rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(220, 20, 60, 0.3), transparent);
}

@media (max-width: 600px) {
    .stats-grid {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-divider {
        height: 40px;
    }
}

/* ============================================
   APP SHOWCASE SECTION
   ============================================ */
.showcase-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    overflow: hidden; /* Added to enforce strict boundary */
}

.showcase-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 0.5rem 1.5rem;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
    width: 100%;
}

.showcase-track::-webkit-scrollbar {
    display: none;
}

.showcase-slide {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.4s ease;
}

.showcase-slide:hover {
    transform: translateY(-8px);
}

.showcase-phone {
    width: 170px;
    height: 368px; /* Safe fallback instead of aspect-ratio: 9 / 19.5 to prevent Lighthouse parsing crash */
    background: #111;
    border-radius: 22px;
    padding: 0;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 15px 40px -10px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

.showcase-slide:hover .showcase-phone {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 60px -15px var(--glow-primary),
        0 20px 50px -10px rgba(0, 0, 0, 0.7);
}

.showcase-phone-notch {
    display: none;
}

.showcase-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #111;
}

.showcase-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-slide:hover .showcase-phone-screen img {
    transform: scale(1.03);
}

.showcase-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
    transition: color 0.3s ease;
}

.showcase-slide:hover .showcase-label {
    color: var(--color-primary);
}

/* Showcase Nav Buttons */
.showcase-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}

.showcase-nav:hover {
    background: rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.4);
    transform: scale(1.1);
}

/* Showcase Dots */
.showcase-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.showcase-dot.active {
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.4);
    transform: scale(1.3);
}

.showcase-dot:hover {
    background: rgba(220, 20, 60, 0.5);
}

@media (max-width: 768px) {
    .showcase-nav {
        display: none;
    }

    .showcase-phone {
        width: 140px;
        height: 303px;
        border-radius: 18px;
    }

    .showcase-phone-screen {
        border-radius: 18px;
    }

    .showcase-track {
        gap: 1rem;
        padding: 1.5rem 0.25rem 1rem;
    }
}

@media (max-width: 480px) {
    .showcase-phone {
        width: 120px;
        height: 260px;
        border-radius: 14px;
    }

    .showcase-phone-screen {
        border-radius: 14px;
    }

    .showcase-label {
        font-size: 0.75rem;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: var(--color-bg-darker);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.15), transparent 70%);
    pointer-events: none;
    animation: cta-pulse 4s ease-in-out infinite;
}

@keyframes cta-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: #fff;
}

.cta-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 10px 30px -5px rgba(220, 20, 60, 0.5);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px -10px rgba(220, 20, 60, 0.7);
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
}

.cta-button svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateY(2px);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ============================================
   IMPROVED FAQ TRANSITIONS
   ============================================ */
.faq-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
    border-color: rgba(220, 20, 60, 0.2);
    background: rgba(220, 20, 60, 0.03);
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 20, 60, 0.15);
}

.faq-item summary {
    transition: color 0.3s ease;
}

.faq-item summary:hover {
    color: var(--color-primary);
}

.faq-content {
    animation: faqSlideDown 0.3s ease;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}