:root {
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --accent: #00CEC9;
    --text: #2D3436;
    --text-light: #636E72;
    --bg: #FFFFFF;
    --bg-alt: #F8F9FA;
    --border: #E9ECEF;
    --danger: #E17055;
    --success: #00B894;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(108, 92, 231, 0.10);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

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

/* ── NAV ─────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0 24px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
}

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

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* ── HERO ────────────────────────────── */

.hero {
    padding: 140px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, #F3F0FF 0%, var(--bg) 100%);
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-cta img {
    width: 24px;
    height: 24px;
}

.hero-screens {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-screens .phone-mock {
    width: 220px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* ── FEATURES ────────────────────────── */

.features {
    padding: 100px 24px;
    background: var(--bg);
}

.features-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #A29BFE);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ── SCREENSHOTS ─────────────────────── */

.screenshots {
    padding: 100px 24px;
    background: var(--bg-alt);
}

.screenshots-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.screenshots-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
    display: none;
}

.screenshots-scroll img {
    width: 240px;
    flex-shrink: 0;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    scroll-snap-align: center;
}

/* ── CTA SECTION ─────────────────────── */

.cta-section {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, #F3F0FF 100%);
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* ── FOOTER ──────────────────────────── */

.footer {
    background: var(--text);
    color: #B2BEC3;
    padding: 60px 24px 32px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #B2BEC3;
    font-size: 0.9rem;
}

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

.footer-bottom {
    max-width: 1100px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* ── LEGAL PAGES ─────────────────────── */

.legal {
    padding: 120px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal .last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal p,
.legal li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal li {
    margin-bottom: 8px;
}

/* ── SUPPORT PAGE ────────────────────── */

.support {
    padding: 120px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.support h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.support .subtitle {
    color: var(--text-light);
    margin-bottom: 48px;
}

.support-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
}

.support-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.support-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.support-card a {
    font-weight: 600;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item summary::before {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-item[open] summary::before {
    content: '−';
}

.faq-item p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
    padding-left: 28px;
}

/* ── RESPONSIVE ──────────────────────── */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

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

    .nav-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-screens .phone-mock {
        width: 160px;
    }

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

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