@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --bg: #FFFFFF;
    --surface: #F5F5F5;
    --surface-hover: #EBEBEB;
    --border: #E5E5E5;
    --text: #0A0A0A;
    --text-secondary: #525252;
    --text-tertiary: #A3A3A3;
    --accent: #FF6B35;
    --accent-hover: #E55A2B;
    --max-w: 1080px;
    --section-py: 80px;
    --px: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
}

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #0A0A0A;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: #262626;
    color: #fff;
}

/* ── Hero ── */
.hero {
    padding: 160px 0 var(--section-py);
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.app-store-badge {
    display: inline-block;
    transition: opacity 0.2s;
}

.app-store-badge:hover {
    opacity: 0.85;
}

.app-store-badge svg {
    height: 52px;
    width: auto;
}

/* ── Features ── */
.features {
    padding: var(--section-py) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Reviews ── */
.reviews {
    padding: var(--section-py) 0;
    text-align: center;
}

.reviews-header {
    margin-bottom: 48px;
}

.stars {
    color: #FACC15;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.reviews-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.review-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-card cite {
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: normal;
    font-weight: 500;
}

/* ── Pricing ── */
.pricing {
    padding: var(--section-py) 0;
    text-align: center;
}

.pricing > .container > h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 680px;
    margin: 0 auto 32px;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: left;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--accent);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-detail {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.pricing-btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.pricing-btn-outline:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.pricing-btn-primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

.pricing-btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
}

.pricing-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ── Final CTA ── */
.final-cta {
    padding: var(--section-py) 0 100px;
    text-align: center;
}

.final-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 32px;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-author {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-sep {
    color: var(--text-tertiary);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ── Legal Pages ── */
.legal {
    padding: 120px 0 var(--section-py);
    max-width: 720px;
    margin: 0 auto;
}

.legal-back {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 40px;
    transition: color 0.2s;
}

.legal-back:hover {
    color: var(--text);
}

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

.legal-date {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 48px;
}

.legal h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 10px;
}

.legal p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 4px;
}

.legal strong {
    color: var(--text);
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .final-cta h2 {
        font-size: 28px;
    }

    .legal h1 {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
