/* Steady Health — Website */
/* Dark glassmorphism, matches the app's design language */

:root {
    --bg:          #080C18;
    --surface:     rgba(22, 32, 52, 0.7);
    --surface-2:   rgba(30, 41, 64, 0.5);
    --border:      rgba(148, 163, 184, 0.08);
    --border-h:    rgba(0, 201, 167, 0.25);
    --teal:        #00C9A7;
    --teal-dim:    rgba(0, 201, 167, 0.12);
    --purple:      #A78BFA;
    --purple-dim:  rgba(167, 139, 250, 0.12);
    --red:         #F87171;
    --red-dim:     rgba(248, 113, 113, 0.12);
    --orange:      #FB923C;
    --orange-dim:  rgba(251, 146, 60, 0.12);
    --blue:        #60A5FA;
    --blue-dim:    rgba(96, 165, 250, 0.12);
    --text-1:      #F0F6FF;
    --text-2:      #94A3B8;
    --text-3:      #4B5A72;
    --radius:      16px;
    --radius-lg:   24px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── AURORA ─── */
.aurora {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
}
.a1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #00C9A7, transparent 70%);
    top: -100px; left: -150px;
    animation: float1 18s ease-in-out infinite;
}
.a2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #6366F1, transparent 70%);
    top: 30%; right: -100px;
    animation: float2 22s ease-in-out infinite;
}
.a3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #0EA5E9, transparent 70%);
    bottom: 10%; left: 20%;
    animation: float3 16s ease-in-out infinite;
}
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(80px, 60px) scale(1.1); }
    66%       { transform: translate(-40px, 100px) scale(0.95); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-60px, 80px) scale(1.15); }
}
@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%       { transform: translate(60px, -50px) scale(1.08); }
    80%       { transform: translate(-30px, 40px) scale(0.92); }
}

main { position: relative; z-index: 1; }

/* ─── NAV ─── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(8, 12, 24, 0.7);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-1);
    text-decoration: none;
    letter-spacing: -0.3px;
}
.logo-icon {
    flex-shrink: 0;
    border-radius: 7px;
    display: block;
}

/* Hero icon */
.hero-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    margin: 0 auto 24px;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.08);
    animation: fadeDown 0.6s ease both;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-1); }
.nav-cta {
    padding: 8px 18px;
    background: var(--teal);
    color: #080C18 !important;
    font-weight: 700 !important;
    border-radius: 10px;
    transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ─── HERO ─── */
.hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 96px 24px 48px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--teal-dim);
    border: 1px solid rgba(0, 201, 167, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    animation: fadeDown 0.6s ease both;
}
.badge-pulse {
    width: 7px; height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}
h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeDown 0.6s 0.1s ease both;
}
.gradient-text {
    background: linear-gradient(135deg, var(--teal) 0%, #6EE7D4 40%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 18px;
    color: var(--text-2);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.75;
    animation: fadeDown 0.6s 0.2s ease both;
}
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 64px;
    animation: fadeDown 0.6s 0.3s ease both;
}
.hero-meta {
    font-size: 13px;
    color: var(--text-3);
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── CTA BUTTON ─── */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--teal);
    color: #080C18;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 0 0 0 rgba(0, 201, 167, 0.4);
}
.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 201, 167, 0.35);
}
.cta:active { transform: translateY(0); }
.cta-large { padding: 18px 40px; font-size: 17px; border-radius: 16px; }

/* ─── ORB ─── */
.orb-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 32px;
    animation: fadeUp 0.8s 0.4s ease both;
}
.orb-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}
.ring-outer { animation: spin 30s linear infinite; transform-origin: 160px 160px; }
.ring-mid   { animation: spin 20s linear infinite reverse; transform-origin: 160px 160px; }
.ring-inner { animation: ringPulse 3s ease-in-out infinite; }
.ring-glow  { animation: glowPulse 3s ease-in-out infinite; }
.marker     { animation: markerPulse 3s ease-in-out infinite; }
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes ringPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.85; }
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.05; }
    50%       { opacity: 0.18; }
}
@keyframes markerPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 1; transform: scale(1.4); }
}
.orb-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.orb-score {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--teal);
    line-height: 1;
}
.orb-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* ─── SCORE STRIP ─── */
.score-strip {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px 32px;
    backdrop-filter: blur(12px);
    animation: fadeUp 0.8s 0.5s ease both;
}
.score-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}
.chip-sep {
    width: 1px;
    height: 32px;
    background: var(--border);
}
.chip-val {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-1);
    line-height: 1;
}
.chip-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* ─── TICKER ─── */
.ticker-wrap {
    overflow: hidden;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 32px 0 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
    display: flex;
    gap: 24px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    width: max-content;
}
.ticker-track span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
}
.ticker-track .dot {
    color: var(--teal);
    opacity: 0.5;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── SECTION COMMON ─── */
.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 52px;
    color: var(--text-1);
}

/* ─── FEATURES ─── */
.features {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: left;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(12px);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    animation-delay: var(--delay, 0ms);
}
.feature-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.ficon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.ficon-teal   { background: var(--teal-dim);   color: var(--teal); }
.ficon-purple { background: var(--purple-dim); color: var(--purple); }
.ficon-red    { background: var(--red-dim);    color: var(--red); }
.ficon-orange { background: var(--orange-dim); color: var(--orange); }
.ficon-blue   { background: var(--blue-dim);   color: var(--blue); }
.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-1);
    letter-spacing: -0.2px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}

/* ─── HOW IT WORKS ─── */
.how {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}
.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    text-align: left;
    margin-top: 8px;
}
.step {
    flex: 1;
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    transition: border-color 0.25s;
}
.step:hover { border-color: var(--border-h); }
.step-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, var(--border-h), var(--border));
    flex-shrink: 0;
    margin-top: 40px;
}
.step-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.step-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}
.step-body p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}

/* ─── STATS ─── */
.stats {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 20px;
    backdrop-filter: blur(12px);
    transition: border-color 0.25s, transform 0.25s;
    animation-delay: var(--delay, 0ms);
}
.stat-card:hover {
    border-color: var(--border-h);
    transform: translateY(-3px);
}
.stat-num {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-small {
    font-size: 22px;
    letter-spacing: -0.5px;
}
.stat-label {
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
}
.stats-copy {
    font-size: 16px;
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ─── PRIVACY ─── */
.privacy-block {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.privacy-card {
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.06), rgba(6, 182, 212, 0.04));
    border: 1px solid rgba(0, 201, 167, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    backdrop-filter: blur(16px);
}
.privacy-shield {
    width: 72px; height: 72px;
    background: var(--teal-dim);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: shieldFloat 4s ease-in-out infinite;
}
@keyframes shieldFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
.privacy-card h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}
.privacy-card p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 24px;
}
.privacy-link {
    color: var(--teal);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.privacy-link:hover { opacity: 0.7; }

/* ─── FINAL CTA ─── */
.final-cta {
    text-align: center;
    padding: 80px 24px 100px;
}
.final-cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}
.final-cta p {
    font-size: 16px;
    color: var(--text-2);
    margin-bottom: 32px;
}

/* ─── FOOTER ─── */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}
.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.footer-inner .logo {
    justify-content: center;
    margin-bottom: 20px;
    font-size: 15px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }
.copyright, .contact {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.8;
}
.contact a { color: var(--text-3); text-decoration: none; }
.contact a:hover { color: var(--teal); }

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0ms);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── LEGAL / SUPPORT PAGES (unchanged) ─── */
.legal {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    position: relative;
    z-index: 1;
}
.legal h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.legal .updated { font-size: 14px; color: var(--text-3); margin-bottom: 40px; }
.legal h2 { font-size: 20px; font-weight: 700; margin-top: 36px; margin-bottom: 12px; color: var(--teal); }
.legal p, .legal li { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal a { color: var(--teal); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

.support-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.support-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.support-card p { margin-bottom: 0; font-size: 15px; color: var(--text-2); }
.support-email {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 24px;
    background: var(--teal);
    color: #080C18;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.support-email:hover { opacity: 0.85; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr; }
    .stats-grid   { grid-template-columns: repeat(2, 1fr); }
    .steps { flex-direction: column; }
    .step-line { width: 1px; height: 24px; margin: 0 0 0 28px; background: linear-gradient(to bottom, var(--border-h), var(--border)); }
    .orb-wrap { width: 220px; height: 220px; }
    .orb-score { font-size: 42px; }
}
@media (max-width: 600px) {
    .nav-links { gap: 16px; }
    .nav-links a:not(.nav-cta) { display: none; }
    h1 { letter-spacing: -1.5px; }
    .score-strip { padding: 14px 16px; }
    .chip-val { font-size: 22px; }
    .score-chip { padding: 0 16px; }
    .privacy-card { padding: 32px 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
