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

:root {
    --blue: #007aff;
    --blue-dark: #0055d4;
    --purple: #5e5ce6;
    --bg: #fff;
    --bg-alt: #f5f5f7;
    --text: #1d1d1f;
    --text-muted: #6e6e73;
    --radius: 16px;
    --max-width: 1080px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* ---- Nav ---- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    padding: 0.5rem 1.125rem;
    border-radius: 980px;
    background: rgba(0, 122, 255, 0.1);
    transition: background 0.2s;
}

.nav-cta:hover {
    background: rgba(0, 122, 255, 0.18);
}

/* ---- Hero ---- */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

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

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.hero-badges {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 980px;
    background: rgba(0, 122, 255, 0.08);
    color: var(--blue);
}

.hero-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ---- CTA Button ---- */

.cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--text);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.15s, opacity 0.15s;
}

.cta:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.cta-secondary {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.cta-secondary:hover {
    background: rgba(0, 122, 255, 0.06);
    opacity: 1;
}

.apple-logo {
    width: 1.1em;
    height: 1.1em;
}

/* ---- Section shared ---- */

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

/* ---- Features ---- */

.features {
    padding: 5rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---- How It Works ---- */

.how-it-works {
    padding: 5rem 1.5rem;
    background: var(--bg-alt);
}

.steps {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
}

/* ---- Privacy Banner ---- */

.privacy-banner {
    padding: 5rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #1d1d1f, #2c2c2e);
    color: #fff;
}

.privacy-content {
    max-width: 640px;
    margin: 0 auto;
}

.privacy-banner h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.privacy-banner p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ---- Pricing ---- */

.pricing {
    padding: 5rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.pricing-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
}

.pricing-card-featured {
    background: var(--text);
    color: #fff;
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card-featured .price span {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-card li {
    font-size: 0.95rem;
    padding: 0.375rem 0;
    color: var(--text-muted);
}

.pricing-card li::before {
    content: "\2713  ";
    font-weight: 700;
    color: var(--blue);
}

.pricing-card-featured li {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card-featured li::before {
    color: #30d158;
}

.pricing-card-featured .cta {
    background: #fff;
    color: var(--text);
}

.pricing-card .cta {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* ---- Final CTA ---- */

.final-cta {
    padding: 5rem 1.5rem 6rem;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}

.final-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.final-cta > p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ---- Footer ---- */

.footer {
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ---- Legal Pages ---- */

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
}

.legal-page h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 2px solid var(--blue);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.legal-page h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
    color: var(--text-muted);
    margin-bottom: 0.625rem;
    line-height: 1.7;
}

.legal-page ul {
    padding-left: 1.25rem;
    margin-bottom: 0.625rem;
}

.legal-page a {
    color: var(--blue);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--blue);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.last-updated {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(94, 92, 230, 0.08));
    border-left: 4px solid var(--blue);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-box p {
    margin: 0;
    color: var(--text);
}

.contact-email a {
    font-weight: 700;
}

/* ---- Contact Form ---- */

.contact-form {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .cta {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.contact-info-box {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(94, 92, 230, 0.08));
    border-radius: var(--radius);
}

.contact-info-box h2 {
    margin-top: 0;
}

.intro-text {
    margin-bottom: 1rem;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 3rem;
    }

    .cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
