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

:root {
    --bg: #0F0F23;
    --bg-light: #1A1A2E;
    --bg-card: #1E2A4A;
    --primary: #58CC02;
    --primary-dark: #45A801;
    --gold: #FFC800;
    --blue: #1CB0F6;
    --purple: #CE82FF;
    --red: #FF4B4B;
    --white: #FFFFFF;
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.2s, opacity 0.2s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
    background: var(--primary);
    color: var(--white);
}

.btn-primary {
    padding: 14px 28px;
    font-size: 16px;
    background: var(--white);
    color: #111;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(88, 204, 2, 0.2);
}

.btn-primary svg {
    color: #111;
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(175deg, #16213E 0%, var(--bg) 50%, var(--bg) 100%);
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 204, 2, 0.15) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 0, 0.1) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 0;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 520px;
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
    filter: drop-shadow(0 8px 24px rgba(255, 200, 0, 0.3));
}

.hero-text h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 440px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-phones {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    min-height: 600px;
    max-width: 500px;
}

.phone-wrapper {
    position: absolute;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.08);
}

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

.phone-back {
    width: 240px;
    left: 0;
    bottom: 0;
    transform: rotate(-6deg);
    opacity: 0.6;
    z-index: 1;
}

.phone-front {
    width: 280px;
    right: 0;
    bottom: -40px;
    z-index: 2;
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 80px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.feature-row-reverse {
    flex-direction: row-reverse;
}

.feature-phone {
    flex-shrink: 0;
    width: 280px;
}

.feature-phone img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.06);
}

.feature-text {
    flex: 1;
}

.feature-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-text h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.feature-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 440px;
}

/* Alternate label colors */
.feature-row:nth-child(2) .feature-label { color: var(--purple); }
.feature-row:nth-child(3) .feature-label { color: var(--gold); }
.feature-row:nth-child(4) .feature-label { color: var(--gold); }

/* ===== STATS BANNER ===== */
.stats-banner {
    padding: 80px 0;
    background: linear-gradient(175deg, #1B3A1B 0%, var(--bg) 100%);
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.stat-phone {
    width: 280px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.stat-text {
    flex: 1;
}

.stat-text h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
}

.stat-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(88, 204, 2, 0.12);
    color: var(--primary);
    border-radius: 20px;
    border: 1px solid rgba(88, 204, 2, 0.2);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 120px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.step-card {
    background: var(--bg-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(175deg, var(--bg) 0%, #16213E 100%);
}

.cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(88, 204, 2, 0.3);
}

.cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-muted);
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-phones {
        min-height: 500px;
        max-width: 400px;
        width: 100%;
    }

    .phone-back { width: 200px; }
    .phone-front { width: 240px; }

    .feature-row,
    .feature-row-reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .feature-text p {
        max-width: 100%;
        margin: 0 auto;
    }

    .feature-phone {
        width: 240px;
    }

    .stats-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .stat-phone {
        width: 240px;
    }

    .stat-pills {
        justify-content: center;
    }

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

@media (max-width: 500px) {
    .hero-phones {
        min-height: 400px;
    }

    .phone-back { width: 160px; }
    .phone-front { width: 200px; }

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

    .feature-phone {
        width: 220px;
    }

    .stat-phone {
        width: 220px;
    }
}
