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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1d1d1f;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */

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

/* ── Nav ── */

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 48px;
    background: #0f0c29;
    color: #fff;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 28px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

/* ── Hero ── */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding: 80px 48px 0;
    background: linear-gradient(145deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    overflow: hidden;
}

.hero-content {
    max-width: 420px;
    flex-shrink: 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero .tagline {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 36px;
}

.hero .cta {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: #302b63;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}

.hero-device {
    flex-shrink: 0;
    align-self: flex-end;
}

.hero-device img {
    display: block;
    width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.hero-device img:hover {
    transform: scale(1.03);
}

/* ── Features ── */

.features {
    padding: 80px 24px;
    background: #f9f9fb;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #6e6e73;
    line-height: 1.6;
}

/* ── Pricing ── */

.pricing {
    padding: 80px 24px;
    background: #fff;
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: #6e6e73;
    margin-bottom: 48px;
}

.pricing-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    max-width: 640px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 240px;
    max-width: 300px;
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid #e5e5ea;
    text-align: left;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d1d1f;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
}

.pricing-card li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: #333;
}

.pricing-card li::before {
    content: "\2713";
    color: #34c759;
    font-weight: 700;
    margin-right: 10px;
}

.pricing-card.featured {
    border: 2px solid #302b63;
    box-shadow: 0 8px 40px rgba(48, 43, 99, 0.12);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #302b63;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Footer ── */

footer {
    padding: 40px 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #86868b;
    border-top: 1px solid #e5e5ea;
}

footer p {
    margin-bottom: 8px;
}

footer a {
    color: #86868b;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #1d1d1f;
}

/* ── Legal pages ── */

.legal {
    padding: 60px 24px 80px;
}

.legal h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.legal .last-updated {
    font-size: 0.9rem;
    color: #86868b;
    margin-bottom: 40px;
}

.privacy-callout {
    background: #f5f5f7;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 1.25rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal p,
.legal ul {
    margin-bottom: 16px;
    color: #333;
}

.legal ul {
    padding-left: 24px;
}

.legal li {
    margin-bottom: 6px;
}

.legal a {
    color: #667eea;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: #667eea;
    text-decoration: none;
}

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

/* ── Scroll reveal ── */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.2s; }

.pricing-card.reveal:nth-child(2) { transition-delay: 0.12s; }

/* ── Responsive ── */

@media (max-width: 768px) {
    .top-nav {
        padding: 14px 24px;
    }

    .nav-links a {
        margin-left: 16px;
        font-size: 0.8rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 24px 0;
        gap: 40px;
    }

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

    .hero .tagline {
        font-size: 1.05rem;
    }

    .hero-device {
        align-self: center;
    }

    .hero-device img {
        width: 240px;
    }

    .features {
        padding: 60px 24px;
    }

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

    .features h2 {
        font-size: 1.5rem;
    }

    .pricing {
        padding: 60px 24px;
    }

    .pricing h2 {
        font-size: 1.5rem;
    }
}
