/* ================================================
   DayOne — styles.css
   ================================================ */

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

/* ================================================
   SPLASH
   ================================================ */
.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.splash.hide {
    opacity: 0;
    pointer-events: none;
}
body.splash-active { overflow: hidden; }
.splash-content {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: splashFadeIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s forwards;
}
.splash-logo {
    flex-shrink: 0;
    animation: splashLogoIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
    opacity: 0;
    transform: scale(0.9);
}
.splash-name {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111;
    opacity: 0;
    transform: translateX(8px);
    animation: splashNameMerge 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s forwards;
}
@keyframes splashFadeIn {
    to { opacity: 1; }
}
@keyframes splashLogoIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes splashNameMerge {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

:root {
    --bg: #fafafa;
    --bg-alt: #f5f5f7;
    --dark: #000000;
    --text: #1d1d1f;
    --text-mid: #6e6e73;
    --text-light: #aeaeb2;
    --white: #ffffff;
    --border: #e8e8ed;
    --accent: #5ab4e8;
    --accent2: #3a8fd4;
    --green: #34c759;
    --orange: #ff9500;
    --blue: #007aff;
    --radius: 24px;
    --radius-sm: 16px;
    --radius-xs: 12px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #edf2f7 0%, #ffffff 100%);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

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

/* ---------- Gradient ---------- */
.gradient-text {
    background: linear-gradient(135deg, #4da8e0, #2e7dbd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section helpers ---------- */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent2);
    background: linear-gradient(135deg, rgba(90,180,232,.1), rgba(58,143,212,.08));
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 18px;
    color: var(--text-mid);
    max-width: 520px;
    margin: 0 auto 64px;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all .3s var(--ease);
}
.navbar.scrolled {
    background: rgba(240,245,250,.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0,0,0,.04);
    padding: 12px 0;
}

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

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-center a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    transition: color .2s;
}
.nav-center a:hover { color: var(--text); }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.logo-svg {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-right {
    display: flex;
    align-items: center;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px !important;
    background: var(--dark) !important;
    color: var(--white) !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: opacity .2s !important;
}
.nav-cta:hover { opacity: .8; }
.nav-cta svg { flex-shrink: 0; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s var(--ease);
}

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
    background: #ffffff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-gradient {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.eyebrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: blink 2s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-bottom: 20px;
    color: var(--text);
    animation: heroFadeUp .8s cubic-bezier(.22,.61,.36,1) both;
}
.hero-highlight {
    background: linear-gradient(135deg, #4da8e0, #2e7dbd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-mid);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: heroFadeUp .8s cubic-bezier(.22,.61,.36,1) .15s both;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    animation: heroFadeUp .8s cubic-bezier(.22,.61,.36,1) .3s both;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--dark);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    transition: all .25s var(--ease);
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    transition: all .25s var(--ease);
}
.btn-secondary:hover {
    border-color: var(--text-mid);
    transform: translateY(-2px);
}

.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}
.proof-stars {
    color: #facc15;
    letter-spacing: 2px;
    font-size: 15px;
}

/* ---------- Phone Mockups ---------- */
.hero-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 64px;
    position: relative;
    z-index: 2;
}

.phone {
    transition: all .5s cubic-bezier(.22,.61,.36,1);
}
.phone-center-video {
    z-index: 3;
    position: relative;
    flex-shrink: 0;
}
.phone-left, .phone-right {
    opacity: .5;
    transform: scale(.82) translateY(20px);
    z-index: 1;
    transition: all .5s cubic-bezier(.22,.61,.36,1);
}
.phone-left.popped, .phone-right.popped {
    opacity: 1;
    transform: scale(.95) translateY(0);
    z-index: 4;
}

.hero-arrow {
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    flex-shrink: 0;
    transition: all .2s var(--ease);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.hero-arrow:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}
.hero-arrow svg {
    width: 20px;
    height: 20px;
}

.phone-bezel {
    width: 260px;
    background: var(--dark);
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone-center .phone-bezel {
    width: 280px;
}

.phone-screen {
    background: var(--bg);
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 9/19.2;
}
.hero-video {
    height: 620px;
    border-radius: 12px;
    object-fit: contain;
}

/* Mock Screen Styles */
.mock-screen {
    padding: 44px 16px 16px;
    height: 100%;
}
.mock-status {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 16px;
}
.mock-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.mock-greeting {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.mock-card {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.mock-card-dark {
    background: var(--dark);
    text-align: center;
}
.mock-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-mid);
    margin-bottom: 10px;
}
.mock-progress {
    height: 5px;
    background: #e5e7eb;
    border-radius: 100px;
    margin-bottom: 12px;
    overflow: hidden;
}
.mock-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5ab4e8, #3a8fd4);
    border-radius: 100px;
}
.mock-stats-row {
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-size: 11px;
}
.mock-stats-row strong {
    display: block;
    font-size: 14px;
    margin-bottom: 1px;
}
.mock-stats-row small {
    color: var(--text-light);
    font-size: 10px;
}
.mock-scan-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--white);
    margin-bottom: 6px;
}
.mock-scan-icon { margin: 8px 0; display: flex; justify-content: center; }
.mock-scan-sub { font-size: 10px; color: var(--text-light); }
.mock-workout-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}
.mock-check {
    color: var(--green);
    font-weight: 700;
}

/* Ring */
.mock-ring-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.mock-ring {
    width: 100px; height: 100px;
    border-radius: 50%;
    border: 6px solid #e5e7eb;
    border-top-color: #5ab4e8;
    border-right-color: #5ab4e8;
    border-bottom-color: #3a8fd4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
}
.mock-ring span, .mock-ring small {
    transform: rotate(45deg);
}
.mock-ring span {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}
.mock-ring small {
    font-size: 10px;
    color: var(--text-light);
}

/* Macros */
.mock-macros { display: flex; flex-direction: column; gap: 8px; }
.mock-macro {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-mid);
    font-weight: 500;
}
.macro-bar {
    height: 5px;
    border-radius: 100px;
    width: var(--w);
    flex: 1;
    max-width: 100%;
}
.macro-p { background: var(--accent); }
.macro-c { background: var(--orange); }
.macro-f { background: var(--blue); }
.mock-macro span { min-width: 72px; }

/* Exercises */
.mock-exercise {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.mock-exercise:last-child { border-bottom: none; }
.mock-ex-icon {
    font-size: 20px;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 10px;
    flex-shrink: 0;
}
.mock-exercise strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
}
.mock-exercise span {
    font-size: 11px;
    color: var(--text-light);
}

/* ================================================
   FEATURES
   ================================================ */
.features {
    padding: 120px 0;
    text-align: center;
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    margin-top: 48px;
}

.features-phone {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 120px;
}

.features-phone .phone-bezel {
    width: 300px;
}

.features-phone .phone-screen {
    aspect-ratio: 9/19.5;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.features-phone .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .4s var(--ease);
}

.features-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feat-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 28px;
    cursor: pointer;
    transition: all .3s var(--ease);
}
.feat-card:hover {
    border-color: rgba(90,180,232,.3);
    box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.feat-card.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, #f0f7fc, #f8fbff);
    box-shadow: 0 8px 30px rgba(90,180,232,.1);
}

.feat-card-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feat-icon-wrap {
    width: 48px; height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(90,180,232,.1), rgba(58,143,212,.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent2);
    transition: all .3s var(--ease);
}
.feat-card.active .feat-icon-wrap {
    background: linear-gradient(135deg, #5ab4e8, #3a8fd4);
    color: var(--white);
}
.feat-icon-wrap i {
    width: 22px;
    height: 22px;
}

.feat-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -.01em;
}
.feat-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
    margin-top: 2px;
}

/* ================================================
   HOW IT WORKS
   ================================================ */
.how-section {
    padding: 120px 0;
    background: transparent;
    text-align: center;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    padding: 0 24px;
    text-align: center;
}

.step-num {
    width: 48px; height: 48px;
    border-radius: 16px;
    background: var(--dark);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

.step-line {
    width: 48px;
    height: 2px;
    background: var(--border);
    margin-top: 24px;
    flex-shrink: 0;
}

/* ================================================
   REVIEWS
   ================================================ */
.reviews {
    padding: 120px 0;
    text-align: center;
}

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

.review-card-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    cursor: default;
}
.review-card-img.review-card-tall {
    height: 420px;
}
.review-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}
.review-card-img:hover img {
    transform: scale(1.05);
}

.review-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 55%;
}
.review-quote {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,.5);
    margin-bottom: 4px;
}
.review-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.review-overlay p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,.85);
}

/* ================================================
   CTA
   ================================================ */
.cta {
    padding: 40px 0 120px;
}

.cta-box {
    position: relative;
    background: var(--dark);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(90,180,232,.25) 0%, rgba(58,143,212,.12) 40%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
}
.cta-strike {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255,255,255,.4);
    margin-bottom: 12px;
    letter-spacing: -.01em;
}
.cta-strike span {
    text-decoration: line-through;
    text-decoration-color: rgba(255,255,255,.3);
    color: rgba(255,255,255,.5);
}
.cta-inner h2 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -.04em;
}
.cta-sub {
    font-size: 17px;
    color: rgba(255,255,255,.45);
    max-width: 420px;
    margin: 0 auto 36px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--white);
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    transition: all .25s var(--ease);
    box-shadow: 0 4px 20px rgba(255,255,255,.15);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,.25);
}


/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: rgba(255,255,255,.6);
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-mid);
    margin-top: 12px;
    line-height: 1.6;
}
.footer-brand .nav-logo {
    margin-bottom: 0;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text);
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 10px;
    transition: color .2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-light);
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .25s; }
.fade-up-delay-4 { transition-delay: .35s; }
.fade-up-delay-5 { transition-delay: .45s; }

.scale-in {
    opacity: 0;
    transform: scale(.92);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .hero-phones {
        gap: 12px;
    }
    .phone-bezel { width: 220px; }
    .phone-center .phone-bezel { width: 240px; }
}

@media (min-width: 769px) {
    .nav-links { display: none !important; }
}

@media (max-width: 768px) {
    .nav-center { display: none; }
    .nav-right { display: none; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,.06);
    }
    .nav-links.open { display: flex !important; }
    .mobile-toggle { display: flex; }

    .hero { padding: 120px 0 40px; }
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 16px; }

    .hero-phones { gap: 8px; margin-top: 40px; }
    .phone-left, .phone-right, .hero-arrow { display: none; }
    .hero-video { height: 480px; }

    .features-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-phone {
        position: relative;
        top: 0;
    }
    .features-phone .phone-bezel {
        width: 260px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .step-line {
        width: 2px;
        height: 32px;
        margin: 0;
    }
    .step { padding: 16px 0; }

    .reviews-grid { grid-template-columns: 1fr; }
    .review-card-img { height: 350px; }
    .review-card-img.review-card-tall { height: 350px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: 1 / -1; }

    .cta-box { padding: 56px 24px; }
}

/* Research Modal */
.research-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.research-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.research-modal {
    background: #f5f6f8;
    border-radius: 24px;
    width: 90%;
    max-width: 580px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}
.research-modal .research-header {
    flex-shrink: 0;
    border-radius: 24px 24px 0 0;
}
.research-overlay.active .research-modal {
    transform: translateY(0) scale(1);
}
.research-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 28px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: #fff;
}
.research-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0;
}
.research-header p {
    font-size: 14px;
    color: #888;
    margin: 4px 0 0;
    font-weight: 500;
}
.research-close {
    background: rgba(0,0,0,0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.research-close:hover { background: rgba(0,0,0,0.1); }
.research-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
}
.research-category {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.research-cat-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
.research-cat-btn:hover { background: rgba(0,0,0,0.015); }
.research-cat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.research-cat-info {
    flex: 1;
}
.research-cat-info strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #111;
}
.research-cat-info span {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}
.research-chevron {
    color: #aaa;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.research-category.expanded .research-chevron {
    transform: rotate(180deg);
}
.research-articles {
    display: none;
    padding: 0 16px 16px;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 12px;
}
.research-category.expanded .research-articles {
    display: flex;
}
.research-article {
    display: block;
    padding: 14px;
    border-radius: 14px;
    background: rgba(var(--accent), 0.04);
    border: 1px solid rgba(var(--accent), 0.1);
    text-decoration: none;
    transition: background 0.2s;
}
.research-article:hover {
    background: rgba(var(--accent), 0.08);
}
.research-article strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.4;
}
.research-article p {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    margin: 0 0 8px;
}
.research-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #999;
    font-weight: 500;
}
.research-source {
    color: rgb(var(--accent));
    font-weight: 600;
}
.research-meta svg {
    color: rgb(var(--accent));
    margin-left: auto;
}

/* ================================================
   LEGAL PAGES (Privacy, Terms)
   ================================================ */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}
.legal-content h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}
.legal-content .legal-updated {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 40px;
}
.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}
.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
}
.legal-content p, .legal-content li {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 12px;
}
.legal-content ul {
    margin: 8px 0 16px 24px;
}
.legal-content ul li {
    margin-bottom: 6px;
}
.legal-content a {
    color: var(--accent2);
    text-decoration: underline;
}
.legal-content a:hover {
    color: var(--accent);
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .btn-main, .btn-secondary { width: 100%; justify-content: center; }

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