/* ── Design Tokens ── */

:root {
    --purple-deep: #2D1B4E;
    --purple-mid: #4A2D7A;
    --purple-light: #6B42A8;
    --orange: #E8833A;
    --orange-light: #F5A623;
    --white: #ffffff;
    --gray-50: #f0edf5;
    --gray-100: #f3f2f5;
    --gray-200: #e5e4e8;
    --gray-300: #c8c7cc;
    --gray-400: #98979d;
    --gray-500: #6e6d73;
    --gray-600: #48474d;
    --gray-800: #1c1b20;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset & Base ── */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ── Navigation ── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--gray-50);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(26, 14, 46, 0.06);
    padding: 10px 0;
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.nav-links a.btn {
    color: var(--white);
}

.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: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
    color: var(--white);
    padding: 14px 28px;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(74, 45, 122, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(74, 45, 122, 0.4);
}

.btn-small {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
}

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

.btn-outline {
    background: transparent;
    color: var(--purple-mid);
    padding: 14px 28px;
    font-size: 1rem;
    border: 2px solid var(--purple-mid);
}

.btn-outline:hover {
    background: var(--purple-mid);
    color: var(--white);
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* ── Gradient Text ── */

.gradient-text {
    background: linear-gradient(135deg, var(--purple-light), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero ── */

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

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta {
    margin-bottom: 16px;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.hero-image {
    flex: 0 0 auto;
}

/* ── Phone & Watch Mockups ── */

.phone-mockup {
    width: 280px;
    height: 570px;
    background: var(--gray-800);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 24px 64px rgba(26, 14, 46, 0.15);
}

.phone-mockup.small {
    width: 240px;
    height: 490px;
    border-radius: 32px;
    padding: 10px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phone-mockup.small .phone-screen {
    border-radius: 24px;
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.placeholder-icon {
    font-size: 2.5rem;
}

.watch-mockup {
    width: 180px;
    height: 220px;
    background: var(--gray-800);
    border-radius: 44px;
    padding: 10px;
    box-shadow: 0 16px 48px rgba(26, 14, 46, 0.12);
}

.watch-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-100);
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-placeholder.watch {
    color: var(--gray-400);
}

/* ── Features ── */

.features {
    padding: 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.feature-band.light {
    background: #f7f5fa;
}

.feature-band.dark {
    background: #efecf4;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
}

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

.feature-text {
    flex: 1;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.feature-text p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple-light);
    font-weight: 700;
}

.feature-image {
    flex: 0 0 auto;
}

/* ── How It Works ── */

.how-it-works {
    background: var(--gray-50);
    padding: 60px 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    text-align: center;
    max-width: 280px;
    padding: 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    margin-top: 50px;
    flex-shrink: 0;
}

/* ── Final CTA ── */

.final-cta {
    background: var(--gray-50);
    padding: 60px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ── Footer ── */

.footer {
    background: var(--purple-deep);
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--orange);
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 24px 60px;
        gap: 40px;
    }

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

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

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

    .feature-list {
        text-align: left;
        max-width: 360px;
        margin: 0 auto;
    }

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

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .section-header h2,
    .final-cta h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

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

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 220px;
        height: 450px;
    }

    .phone-mockup.small {
        width: 200px;
        height: 410px;
    }
}
