*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --coral: #FF5252;
    --coral-dark: #E04848;
    --dark-blue: #2F4858;
    --dark-blue-light: #3D5A6E;
    --surface: #F5F5F5;
    --white: #FFFFFF;
    --text-secondary: #6B7B8D;
    --border: #E0E0E0;
    --radius: 14px;
    --shadow-sm: 0 1px 3px rgba(47,72,88,0.08);
    --shadow-md: 0 4px 16px rgba(47,72,88,0.10);
    --shadow-lg: 0 8px 32px rgba(47,72,88,0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark-blue);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}

.navbar-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-blue);
}

.navbar-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.navbar-brand span {
    font-weight: 700;
    font-size: 18px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-link {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 14px;
}

.navbar-link:hover {
    color: var(--coral);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-coral {
    background: var(--coral);
    color: var(--white);
}

.btn-coral:hover {
    background: var(--coral-dark);
}

.btn-white {
    background: var(--white);
    color: var(--coral);
}

.btn-white:hover {
    background: #F9F9F9;
}

.btn-nav {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* ── Section layout ── */
.section {
    padding: 80px 24px;
}

.section-legal {
    padding: 64px 24px 88px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);
}

.section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--coral);
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ── Hero ── */
.hero {
    background: var(--surface);
    padding: 96px 24px 80px;
    text-align: center;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-icon {
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
    animation: fadeUp 0.7s ease-out both;
}

.hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    animation: fadeUp 0.7s 0.1s ease-out both;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.65;
    animation: fadeUp 0.7s 0.2s ease-out both;
}

.hero-cta {
    animation: fadeUp 0.7s 0.3s ease-out both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.play-badge {
    height: 74px;
    width: auto;
    transition: transform 0.2s;
}

.play-badge:hover {
    transform: scale(1.05);
}

/* ── Hero (privacy page extras) ── */
.hero-top {
    max-width: 1120px;
    margin: 0 auto 18px;
    text-align: left;
}

.hero-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--coral);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.2s ease, transform 0.15s ease;
}

.hero-back-icon {
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
}

.hero-back-link:hover {
    color: var(--coral-dark);
    transform: translateX(-3px);
}

/* ── Features ── */
.features-bg {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeUp 0.6s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.10s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.20s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.30s; }

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 22px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ── How It Works ── */
.how-bg {
    background: var(--surface);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--coral);
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 280px;
    margin: 0 auto;
}

.steps .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--border);
}

/* ── FAQ ── */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-list details {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-list details[open] summary::after {
    content: '\2212';
}

.faq-list details p {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, var(--coral) 0%, #FF7B7B 100%);
    padding: 72px 24px;
    text-align: center;
}

.cta-banner-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

/* ── Legal (privacy page) ── */
.legal-layout {
    max-width: 840px;
    margin: 0 auto;
}

.legal-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}

.legal-toc h2 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.legal-toc ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.legal-toc a {
    color: var(--dark-blue-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.legal-toc a:hover {
    color: var(--coral);
}

.legal-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 36px;
}

.legal-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 34px 0 10px;
    line-height: 1.35;
    scroll-margin-top: 88px;
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 26px 0 8px;
    line-height: 1.45;
    color: var(--dark-blue);
}

.legal-card p,
.legal-card li {
    font-size: 15px;
    line-height: 1.72;
    color: var(--text-secondary);
}

.legal-card p {
    margin-bottom: 12px;
}

.legal-card ul {
    margin: 8px 0 16px 24px;
}

.legal-card li {
    margin-bottom: 6px;
}

.legal-card strong {
    color: var(--dark-blue);
}

.legal-card a {
    color: var(--coral);
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

/* ── Footer ── */
.footer {
    background: var(--dark-blue);
    color: rgba(255,255,255,0.7);
    padding: 40px 24px;
    font-size: 14px;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .navbar-link {
        display: none;
    }

    .hero {
        padding: 64px 24px 56px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-icon {
        border-radius: 22px;
    }

    .hero-top {
        margin-bottom: 14px;
    }

    .section {
        padding: 56px 24px;
    }

    .section-legal {
        padding: 42px 20px 56px;
    }

    .section-title {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 22px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps .step::after {
        display: none;
    }

    .cta-banner {
        padding: 56px 24px;
    }

    .cta-banner h2 {
        font-size: 26px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .legal-toc ul {
        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 24px 18px;
    }

    .legal-card h2 {
        font-size: 18px;
    }

    .legal-card h3 {
        font-size: 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
