/* ============================================
   HealthSync — Apple Health-Inspired Theme
   Font: Inter (SF-like)
   Light, clean white with vibrant health accents
   ============================================ */

:root {
    /* Apple Health palette */
    --health-red: #FF2D55;
    --health-red-light: rgba(255, 45, 85, 0.1);
    --health-green: #30D158;
    --health-green-light: rgba(48, 209, 88, 0.1);
    --health-blue: #0A84FF;
    --health-blue-light: rgba(10, 132, 255, 0.1);
    --health-orange: #FF9F0A;
    --health-orange-light: rgba(255, 159, 10, 0.1);
    --health-purple: #BF5AF2;
    --health-purple-light: rgba(191, 90, 242, 0.1);
    --health-cyan: #64D2FF;
    --health-pink: #FF375F;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #F9FAFB;
    --gray-100: #F2F2F7;
    --gray-200: #E5E5EA;
    --gray-300: #D1D1D6;
    --gray-400: #AEAEB2;
    --gray-500: #8E8E93;
    --gray-600: #636366;
    --gray-700: #48484A;
    --gray-800: #3A3A3C;
    --gray-900: #1C1C1E;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* ============================================
   Reset
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-600);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font);
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ============================================
   Layout
   ============================================ */

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

.section-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--health-blue);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.text-muted { color: var(--gray-400); }

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 520px;
    line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background: var(--health-blue);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
    box-shadow: 0 4px 14px rgba(10, 132, 255, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 132, 255, 0.3);
    background: #0070E0;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--health-blue); outline-offset: 3px; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-600);
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
.btn-ghost:hover { color: var(--gray-900); border-color: var(--gray-300); background: var(--gray-50); }
.btn-ghost:focus-visible { outline: 2px solid var(--health-blue); outline-offset: 3px; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease;
    width: 100%;
}
.btn-secondary:hover { background: var(--gray-200); border-color: var(--gray-300); }
.btn-secondary:focus-visible { outline: 2px solid var(--health-blue); outline-offset: 3px; }

.btn-full { width: 100%; justify-content: center; }
.btn-xl { padding: 18px 36px; font-size: 1.0625rem; }

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 300ms ease;
}
.nav.scrolled { background: rgba(255, 255, 255, 0.88); }

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}
.nav-logo-icon { flex-shrink: 0; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 200ms ease;
    padding: 4px 0;
}
.nav-link:hover { color: var(--gray-900); }
.nav-link:focus-visible { outline: 2px solid var(--health-blue); outline-offset: 4px; border-radius: 4px; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    background: var(--health-blue);
    border-radius: var(--radius-full);
    transition: background 200ms ease;
}
.nav-cta:hover { background: #0070E0; }
.nav-cta:focus-visible { outline: 2px solid var(--health-blue); outline-offset: 3px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero — Light Apple-style
   ============================================ */

.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(255, 45, 85, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 20%, rgba(10, 132, 255, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 70%, rgba(48, 209, 88, 0.05) 0%, transparent 50%),
        var(--gray-50);
    padding: 130px 0 80px;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 45, 85, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(10, 132, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(48, 209, 88, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--health-green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: var(--gray-500);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 64px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Phone Mockup — Light */
.hero-phone-wrapper {
    position: relative;
    margin-bottom: 48px;
}

.hero-phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 460px;
    background:
        radial-gradient(ellipse at 40% 40%, rgba(255, 45, 85, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 60%, rgba(10, 132, 255, 0.1) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
}

.phone {
    position: relative;
    width: 260px;
    background: linear-gradient(145deg, #E8E8ED, #D1D1D6);
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1C1C1E;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}

.phone-screen {
    background: var(--gray-100);
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9 / 19.2;
    position: relative;
}

.phone-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 8px;
    position: relative;
    z-index: 3;
}

.phone-time { font-size: 0.75rem; font-weight: 600; color: var(--gray-900); }
.phone-bar-icons { display: flex; gap: 6px; color: var(--gray-900); opacity: 0.5; }

.phone-content { padding: 8px 14px 0; }

.phone-header { margin-bottom: 12px; }
.phone-greeting { display: block; font-size: 0.6875rem; color: var(--gray-500); }
.phone-app-name { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.01em; }

.phone-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    color: var(--health-green);
    margin-bottom: 12px;
    font-weight: 500;
}
.phone-status-dot {
    width: 6px;
    height: 6px;
    background: var(--health-green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}
.phone-status-time { color: var(--gray-400); margin-left: auto; }

.phone-cards { display: flex; flex-direction: column; gap: 8px; }

.phone-card {
    border-radius: var(--radius-md);
    padding: 10px 12px;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.phone-card-top {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}
.phone-card-steps .phone-card-top { color: var(--health-green); }
.phone-card-hr .phone-card-top { color: var(--health-red); }
.phone-card-sleep .phone-card-top { color: var(--health-purple); }

.phone-card-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}
.phone-card-value small { font-size: 0.6875rem; font-weight: 500; color: var(--gray-400); margin-left: 2px; }

.phone-card-bar {
    height: 4px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    margin-top: 6px;
    overflow: hidden;
}
.phone-card-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--health-green), #5DE27B);
    border-radius: var(--radius-full);
}

.phone-card-wave {
    margin-top: 4px;
    height: 24px;
    overflow: hidden;
}
.phone-card-wave svg { width: 100%; height: 100%; }

.phone-card-pills {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}
.pill {
    font-size: 0.5625rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}
.pill-deep { background: var(--health-purple-light); color: var(--health-purple); }
.pill-rem { background: var(--health-blue-light); color: var(--health-blue); }

.phone-bottom-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 0 6px;
    margin-top: 12px;
    border-top: 1px solid var(--gray-200);
}
.phone-tab { color: var(--gray-400); padding: 4px; }
.phone-tab-active { color: var(--health-blue); }

/* Hero logos strip */
.hero-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gray-500);
    font-size: 0.875rem;
}
.hero-logos-label { font-weight: 500; }
.hero-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--gray-700);
}
.hero-arrow { color: var(--gray-300); }

/* ============================================
   Features — Bento Grid
   ============================================ */

.features {
    padding: 120px 0;
    background: var(--gray-50);
}

.features .section-label,
.features .section-title,
.features .section-desc {
    text-align: left;
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 56px;
}

.bento-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}
.bento-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.bento-large { grid-column: span 2; }

.bento-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.bento-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
    max-width: 360px;
}

.bento-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.bento-icon-cyan { background: var(--health-blue-light); color: var(--health-blue); }
.bento-icon-emerald { background: var(--health-green-light); color: var(--health-green); }
.bento-icon-rose { background: var(--health-red-light); color: var(--health-red); }
.bento-icon-violet { background: var(--health-purple-light); color: var(--health-purple); }
.bento-icon-amber { background: var(--health-orange-light); color: var(--health-orange); }
.bento-icon-blue { background: var(--health-blue-light); color: var(--health-blue); }

/* Bento visuals */
.bento-visual {
    position: absolute;
    right: 24px;
    bottom: 24px;
}

.bento-visual-sync { width: 100px; height: 100px; }
.sync-ring {
    position: absolute;
    border: 1.5px solid var(--health-blue);
    border-radius: 50%;
    opacity: 0;
    animation: ringExpand 3s ease-out infinite;
}
.sync-ring-1 { width: 40px; height: 40px; top: 30px; left: 30px; animation-delay: 0s; }
.sync-ring-2 { width: 60px; height: 60px; top: 20px; left: 20px; animation-delay: 0.6s; }
.sync-ring-3 { width: 80px; height: 80px; top: 10px; left: 10px; animation-delay: 1.2s; }

@keyframes ringExpand {
    0% { transform: scale(0.5); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0; }
}

.sync-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    background: var(--health-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.bento-visual-shield { width: 80px; height: 80px; }
.shield-lock {
    width: 64px; height: 64px;
    background: var(--health-blue-light);
    border: 1px solid rgba(10, 132, 255, 0.12);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--health-blue);
}

/* ============================================
   How It Works — Light
   ============================================ */

.how-it-works {
    padding: 120px 0;
    background: var(--white);
}

.steps {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    max-width: 600px;
}

.step {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
}
.step:last-child { border-bottom: none; }

.step-num {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--health-blue);
    font-variant-numeric: tabular-nums;
    padding-top: 2px;
    flex-shrink: 0;
}

.step-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.step-body p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============================================
   Pricing — 3 cards: Free, Monthly, Yearly
   ============================================ */

.pro {
    padding: 120px 0;
    background: var(--gray-50);
}

.pro .section-label,
.pro .section-title,
.pro .section-desc {
    text-align: center;
}
.pro .section-desc {
    margin: 0 auto 48px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 32px;
    background: var(--white);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 300ms ease, border-color 300ms ease;
}
.pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.pricing-card-featured {
    border-color: var(--health-blue);
    border-width: 2px;
    box-shadow: 0 12px 32px rgba(10, 132, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--health-blue);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.pricing-top { margin-bottom: 24px; }
.pricing-top h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    line-height: 1;
}
.pricing-interval {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-400);
    margin-left: 2px;
}
.pricing-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 8px;
}

.pricing-savings {
    display: inline-block;
    margin-top: 8px;
    background: var(--health-green-light);
    color: #1B9E3E;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-included {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--gray-700);
}
.pricing-included svg { color: var(--health-green); flex-shrink: 0; }

.pricing-excluded {
    font-size: 0.9375rem;
    color: var(--gray-400);
    padding-left: 28px;
    position: relative;
}
.pricing-excluded::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--gray-300);
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    padding: 120px 0;
    background: var(--white);
}

.faq .section-label,
.faq .section-title {
    text-align: center;
}

.faq-grid {
    max-width: 680px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 200ms ease;
}
.faq-item:hover { border-color: var(--gray-300); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--health-blue); outline-offset: -2px; border-radius: var(--radius-lg); }

.faq-icon {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 300ms ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-item p {
    padding: 0 24px 18px;
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.faq-item a {
    color: var(--health-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(10, 132, 255, 0.3);
}
.faq-item a:hover { text-decoration-color: var(--health-blue); }

/* ============================================
   CTA — Light with soft gradient
   ============================================ */

.cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background:
        radial-gradient(ellipse at 40% 50%, rgba(255, 45, 85, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 50%, rgba(10, 132, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner { position: relative; }

.cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.cta-note {
    display: block;
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ============================================
   Footer — Light
   ============================================ */

.footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 64px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo { color: var(--gray-900); margin-bottom: 8px; }
.footer-brand p { font-size: 0.875rem; color: var(--gray-500); }

.footer-cols {
    display: flex;
    gap: 64px;
}

.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 4px;
}
.footer-col a { font-size: 0.875rem; color: var(--gray-500); transition: color 200ms ease; }
.footer-col a:hover { color: var(--gray-900); }
.footer-col a:focus-visible { outline: 2px solid var(--health-blue); outline-offset: 2px; border-radius: 4px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ============================================
   Scroll Animations
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-large { grid-column: span 2; }
    .pricing-cards { grid-template-columns: 1fr 1fr; }
    .pricing-card:first-child { grid-column: span 2; max-width: 380px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 52px;
        left: 0; right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .hero { padding: 110px 0 56px; }
    .hero-title { font-size: clamp(2rem, 8vw, 2.75rem); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost { width: 100%; justify-content: center; }
    .phone { width: 220px; }
    .hero-logos { flex-wrap: wrap; justify-content: center; }

    .features, .pro, .faq, .how-it-works { padding: 80px 0; }
    .cta { padding: 64px 0; }

    .bento { grid-template-columns: 1fr; }
    .bento-large { grid-column: span 1; }
    .bento-visual { display: none; }

    .steps { max-width: none; }

    .pricing-cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .pricing-card:first-child { grid-column: auto; max-width: none; }
    .pricing-card-featured { order: -1; }

    .footer-top { flex-direction: column; gap: 32px; }
    .footer-cols { flex-direction: column; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 375px) {
    .hero-title { font-size: 1.875rem; }
    .pricing-price { font-size: 2rem; }
}
