*, *::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 ── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    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;
    transition: box-shadow 0.25s, background 0.25s;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
}

.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;
}

/* ── Language switcher ── */
.lang-switch {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--dark-blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.lang-current:hover,
.lang-switch.open .lang-current {
    border-color: var(--coral);
    color: var(--coral);
}

.lang-chevron {
    transition: transform 0.2s;
}

.lang-switch.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 5px;
    min-width: 148px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: 200;
}

.lang-switch.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-blue);
    transition: background 0.12s, color 0.12s;
}

.lang-option:hover {
    background: var(--surface);
    color: var(--coral);
}

.lang-option-active {
    color: var(--coral);
    font-weight: 600;
}

.lang-option-active::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
    flex-shrink: 0;
}

.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: linear-gradient(155deg, #F2F6FB 0%, #FAFAFA 55%, #FFF8F8 100%);
    padding: 100px 24px 88px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(255,82,82,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.7s ease-out both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,82,82,0.08);
    border: 1px solid rgba(255,82,82,0.20);
    border-radius: 100px;
    padding: 6px 16px 6px 8px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    color: var(--coral);
}

.hero-badge img {
    border-radius: 7px;
    flex-shrink: 0;
}

.hero-icon {
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeUp 0.7s 0.08s ease-out both;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 0 36px;
    line-height: 1.65;
    animation: fadeUp 0.7s 0.16s ease-out both;
}

.hero-cta {
    animation: fadeUp 0.7s 0.24s ease-out both;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    animation: fadeUp 0.7s 0.32s ease-out both;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-trust-divider {
    color: var(--border);
    font-size: 18px;
    line-height: 1;
}

/* ── Hero Visual ── */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 0.9s 0.15s ease-out both;
}

.hero-phone-glow {
    position: absolute;
    inset: -60px;
    background: radial-gradient(ellipse at 50% 55%, rgba(255,82,82,0.14) 0%, transparent 62%);
    pointer-events: none;
}

.hero-phone {
    position: relative;
    max-width: 360px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 28px 56px rgba(47,72,88,0.20)) drop-shadow(0 6px 16px rgba(47,72,88,0.10));
    animation: phoneFloat 5s ease-in-out infinite, fadeUp 0.9s 0.15s ease-out both;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

.play-badge {
    height: 74px;
    width: auto;
    transition: transform 0.2s;
}

.play-badge:hover {
    transform: scale(1.05);
}

/* ── Hero — page variant (privacy, etc.) ── */
.hero--page {
    padding: 80px 24px 72px;
    text-align: center;
}

.hero--page::before {
    top: -120px;
    right: 50%;
    transform: translateX(50%);
    width: 540px;
    height: 540px;
}

.hero-page-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-page-nav {
    width: 100%;
    margin-bottom: 40px;
    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);
}

.hero-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeUp 0.7s ease-out both;
}

.hero-page-icon-wrap {
    position: relative;
    margin-bottom: 28px;
}

.hero-page-icon {
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.hero--page h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--dark-blue);
}

.hero-page-meta {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .hero--page h1 { font-size: 30px; }
    .hero--page { padding: 64px 20px 56px; }
}

/* ── 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;
    }

    .navbar-right {
        gap: 10px;
    }

    .hero {
        padding: 64px 24px 56px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
        margin: 0 auto 32px;
    }

    .hero-cta {
        align-items: center;
        margin-bottom: 20px;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-phone {
        max-width: 230px;
    }

    .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 (max-width: 480px) {
    .navbar-brand span {
        display: none;
    }

    .btn-nav {
        padding: 7px 13px;
        font-size: 13px;
    }

    .hero {
        padding: 52px 18px 44px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero--page h1 {
        font-size: 26px;
    }

    .section {
        padding: 44px 18px;
    }

    .section-legal {
        padding: 32px 16px 48px;
    }

    .section-title {
        font-size: 22px;
    }

    .cta-banner {
        padding: 44px 18px;
    }

    .cta-banner h2 {
        font-size: 22px;
    }

    .faq-list summary {
        font-size: 15px;
    }

    .play-badge {
        height: 58px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-inner {
        gap: 32px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-phone {
        max-width: 260px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
