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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== UTILITIES ===== */
.text-gradient {
    background: linear-gradient(135deg, #6C5CE7, #a29bfe, #00CEC9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ===== SECTIONS (shared) ===== */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 3rem;
    position: relative;
}

/* ===== HERO ===== */
.section-hero {
    background: #000000;
    align-items: center;
    text-align: center;
    padding-top: 8rem;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    display: block;
    max-width: 280px;
    margin: 0 auto 2rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.7;
    opacity: 0.6;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6C5CE7, #a29bfe);
    color: #fff;
    box-shadow: 0 4px 30px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(108, 92, 231, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    animation: pulse 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #fff, transparent);
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ===== APP SECTIONS ===== */
.section-app {
    padding: 6rem 3rem;
    min-height: 100vh;
    overflow: hidden;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-container-reverse {
    direction: rtl;
}

.app-container-reverse > * {
    direction: ltr;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.app-info h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.app-description {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.app-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 0.2rem;
}

.store-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.store-badge img {
    height: 44px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.store-badge:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* Phone mockup */
.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 246px;
    height: 500px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    background: #1a1a2e;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== SECTION COLORS ===== */
.section-indigo {
    background: linear-gradient(160deg, #1a1040 0%, #2d1b69 50%, #1a1040 100%);
}

.section-emerald {
    background: linear-gradient(160deg, #0a2e23 0%, #0d4a36 50%, #0a2e23 100%);
}

.section-sunset {
    background: linear-gradient(160deg, #2e1a0e 0%, #4a2512 50%, #2e1a0e 100%);
}

.section-royal {
    background: linear-gradient(160deg, #1a1535 0%, #2a2055 50%, #1a1535 100%);
}

.section-teal {
    background: linear-gradient(160deg, #0a2a2a 0%, #0d3d3d 50%, #0a2a2a 100%);
}

.section-crimson {
    background: linear-gradient(160deg, #2a0e0e 0%, #451515 50%, #2a0e0e 100%);
}

.section-amber {
    background: linear-gradient(160deg, #2e1f0a 0%, #4a3210 50%, #2e1f0a 100%);
}

/* ===== ABOUT SECTION ===== */
.section-about {
    background: #0a0a0a;
    text-align: center;
    align-items: center;
}

.about-content {
    max-width: 800px;
}

.about-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.about-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.65;
    margin-bottom: 3.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #6C5CE7, #00CEC9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.4;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.section-footer {
    background: #000000;
    min-height: auto;
    padding: 4rem 3rem;
    text-align: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.2rem;
}

.footer-tagline {
    opacity: 0.4;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-privacy {
    font-size: 0.8rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    font-weight: 500;
    margin-top: 0.5rem;
}

.footer-privacy:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.75rem;
    opacity: 0.25;
    margin-top: 1rem;
}

/* ===== ANIMATIONS ===== */
.app-info,
.app-mockup {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.app-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.app-mockup.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .app-container,
    .app-container-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        direction: ltr;
    }

    .app-description {
        max-width: 100%;
    }

    .app-stats {
        justify-content: center;
    }

    .store-badges {
        justify-content: center;
    }

    .app-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-frame {
        width: 246px;
        height: 500px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 1.5rem;
    }

    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        gap: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

    .app-info h2 {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-stat-number {
        font-size: 2rem;
    }
}
