@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --ink:#1E293B; --muted:#64748B; --line:#E2E8F0; --paper:#92C3D5;
  --white:#fff; --accent:#0075FF; --dark:#0A2540; --soft:#F1F5F9;
  --max:1240px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--paper);color:var(--ink);font-family:'Inter',Arial,sans-serif;line-height:1.45}
a{color:inherit;text-decoration:none; transition: color 0.2s ease;}.wrap{max-width:var(--max);margin:auto;padding:0 28px}

header{height:78px;border-bottom:1px solid rgba(226, 232, 240, 0.5);background:rgba(248, 250, 252,.8);backdrop-filter:blur(16px);position:sticky;top:0;z-index:20;}
.nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px; padding:0 40px; max-width:100%; width:100%;}
.brand{font-weight:900;letter-spacing:-.06em;font-size:24px; color:var(--accent);}.brand span{font-weight:400; color:var(--ink);}
.navlinks{display:flex;gap:30px;align-items:center;font-size:14px;font-weight:600;color:var(--muted)}.navlinks a:hover{color:var(--accent)}

.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border:none;border-radius:12px;font-size:14px;font-weight:700;background:var(--accent);color:white;box-shadow:0 10px 20px rgba(0, 117, 255, 0.2); transition: transform 0.2s ease, box-shadow 0.2s ease;}
.btn:hover{transform: translateY(-2px); box-shadow:0 15px 25px rgba(0, 117, 255, 0.3);}
.btn.light{background:transparent;color:var(--accent); border: 2px solid var(--accent); box-shadow:none;}
.btn.light:hover{background: rgba(0, 117, 255, 0.05); transform: translateY(-2px);}

.menu{display:none;font-size:25px}

.hero{min-height:650px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px;padding:80px 0}
.kicker{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:var(--accent);font-weight:800;margin-bottom:22px}
h1{font-size:clamp(48px,6vw,84px);line-height:1.05;letter-spacing:-.05em;margin:0 0 24px;font-weight:900}
h2{font-size:clamp(36px,4.5vw,56px);line-height:1.1;letter-spacing:-.04em;margin:0 0 22px; font-weight:800;}
h3{font-size:24px;letter-spacing:-.02em;margin:0 0 12px; font-weight:700;}

.lead{font-size:20px;line-height:1.6;color:var(--muted);max-width:620px}
.actions{display:flex;gap:16px;margin-top:36px}

/* VR Headset Placeholder Design aligned with App */
.hero-art{height:510px;background: linear-gradient(135deg, #E0C3FC, #8EC5FC);position:relative;overflow:hidden; border-radius:32px; box-shadow: 0 30px 60px rgba(142, 197, 252, 0.4);}
.hero-art:before{content:"";position:absolute;width:400px;height:400px;border:2px dashed rgba(255,255,255,0.3);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
.device{position:absolute;width:320px;height:210px;background:rgba(255,255,255,0.2);backdrop-filter:blur(20px); border:1px solid rgba(255,255,255,0.5);border-radius:24px;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 28px 70px rgba(0,0,0,0.1); display:flex; flex-direction:column; align-items:center; justify-content:center;}
.device:before{content:"\\2687"; /* VR Icon approx */ font-size: 80px; color:white; line-height:1; position:relative; top:-10px;}
.device:after{content:"VR Headset Illustration Placeholder";position:absolute;bottom:24px;background:rgba(255,255,255,0.3);padding:8px 16px;border-radius:20px;color:white;font-size:12px;font-weight:bold;letter-spacing:.05em}

.section{padding:105px 0;border-top:1px solid var(--line)}.section.dark{background:var(--dark);color:white;border:none;}
.section.dark .muted{color:#94A3B8;}
.section.dark .eyebrow{color: #60A5FA;}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;background:transparent;border:none;}
.grid3>*{background:white;padding:40px; border-radius:24px; box-shadow:0 10px 30px rgba(0,0,0,0.03); border:1px solid var(--line);}

.muted{color:var(--muted)}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:var(--accent); margin-bottom:12px;}
.statrow{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,0.1);border-bottom:1px solid rgba(255,255,255,0.1);margin-top:55px}
.stat{padding:40px 20px;border-right:1px solid rgba(255,255,255,0.1); text-align:center;}
.stat:last-child{border-right:0}.stat b{display:block;font-size:48px;letter-spacing:-.04em; font-weight:900; margin-bottom:8px;}
.stat span{font-size:14px;color:#94A3B8; font-weight:600;}

.product{display:grid;grid-template-columns:.8fr 1.2fr;min-height:520px;border-top:1px solid var(--line); align-items:center; gap:60px;}
.product-copy{padding:75px 0;}
.product-visual{min-height:520px;background:#F3F0FF;position:relative;overflow:hidden; border-radius:32px; box-shadow: inset 0 0 50px rgba(0,0,0,0.02);}
.product-visual.life{background:#F3F0FF;}
.product-visual.atlas{background:#E6FDFC;}
.product-visual.fusion{background:#FFF0F3;}

.screen{position:absolute;left:10%;top:15%;width:80%;height:70%;background:white;border:1px solid rgba(0,0,0,0.05);border-radius:16px;box-shadow:0 30px 60px rgba(0,0,0,0.08); overflow:hidden;}
.screen .bar{height:40px;border-bottom:1px solid var(--line);background:#F8FAFC;color:var(--ink);font-size:10px;font-weight:700;padding:0 16px;letter-spacing:.1em; display:flex; align-items:center;}
.screen .body{padding:28px;color:var(--ink)}
.screen .line{height:12px;background:var(--soft);margin:12px 0;width:70%; border-radius:6px;}
.screen .line.short{width:40%}
.screen .circle{width:160px;height:160px;background:var(--soft);border-radius:50%;margin:30px auto}

.list{border-top:1px solid var(--line)}.listrow{display:grid;grid-template-columns:60px 1fr 1fr;gap:20px;padding:32px 0;border-bottom:1px solid var(--line); align-items:center;}
.listrow b{font-size:20px; font-weight:700;}
.listrow .muted{font-size:16px;}
.num{color:var(--accent);font-size:14px; font-weight:800; background:rgba(0,117,255,0.1); display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%;}

.cta{padding:140px 0; text-align:center;}
.cta h2{max-width:850px; margin:0 auto 40px;}

.footer{position:relative;z-index:200;background:#09101A;color:white;padding:28px 0 16px;border-top:1px solid rgba(255,255,255,0.08);}
.footergrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:20px;align-items:start;}
.footer .brand img{height:28px !important;max-width:140px !important;width:auto !important;display:block !important;margin:0 0 6px 0 !important;position:static !important;}
.footer p{color:#94A3B8 !important;max-width:250px;margin:4px 0 0 0 !important;font-size:12px !important;line-height:1.4 !important;}
.footer b{font-size:11.5px;letter-spacing:0.08em;text-transform:uppercase;margin-bottom:8px;display:block;color:#E2E8F0;font-weight:700;}
.footer a{display:block;color:#94A3B8;margin:4px 0;font-size:12.5px;font-weight:500;text-decoration:none;transition:color 0.2s ease;}
.footer a:hover{color:#38BDF8;}
.copyright{border-top:1px solid rgba(255,255,255,0.08);margin-top:18px;padding-top:12px;color:#64748B;font-size:11.5px;text-align:center;}

.pagehero{padding:120px 0 100px;border-bottom:1px solid var(--line); text-align:center;}
.pagehero h1{max-width:950px; margin-left:auto; margin-right:auto;}
.pagehero .lead{margin-left:auto; margin-right:auto;}
.pagehero .actions{justify-content:center;}

.bodygrid{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:100px 0}
.bodygrid p{font-size:18px;color:var(--muted); line-height:1.7; margin-bottom:24px;}
.featureline{display:grid;grid-template-columns:1fr 2fr;gap:60px;padding:80px 0;border-top:1px solid var(--line)}

.tag{display:inline-block;background:white; border:1px solid var(--line); border-radius:20px; padding:10px 16px;font-size:12px;font-weight:600;color:var(--ink);letter-spacing:.05em;margin:0 8px 12px 0; box-shadow:0 4px 10px rgba(0,0,0,0.02);}

@media(max-width:850px){
  header { height: 68px !important; }
  .nav { padding: 0 16px !important; gap: 12px !important; }
  .brand img { height: 46px !important; margin: 0 !important; }
  .menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 24px;
    cursor: pointer;
    color: #0F172A;
    border-radius: 10px;
    background: rgba(0, 117, 255, 0.05);
    border: 1px solid rgba(0, 117, 255, 0.12);
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .menu:active {
    transform: scale(0.92);
    background: rgba(0, 117, 255, 0.12);
  }
  .navlinks {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    background: #FFFFFF;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 24px 20px 48px !important;
    gap: 10px !important;
    overflow-y: auto !important;
    z-index: 550 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  }
  .navlinks.nav-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
  .navlinks a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    border-radius: 12px;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .navlinks a:hover, .navlinks a:active {
    background: #F1F5F9 !important;
    color: #0075FF !important;
  }
  .navlinks .nav-tag {
    background: rgba(0, 117, 255, 0.08) !important;
    color: #0075FF !important;
    border: 1px solid rgba(0, 117, 255, 0.2) !important;
    justify-content: center !important;
    text-align: center !important;
    margin-top: 12px !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
  }
  .navlinks .nav-btn-light {
    background: transparent !important;
    color: #0075FF !important;
    border: 1.5px solid #0075FF !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 20px !important;
    margin-left: 0 !important;
    border-radius: 14px !important;
  }
  .navlinks .nav-btn {
    background: #0075FF !important;
    color: #FFFFFF !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 117, 255, 0.28) !important;
  }
  body.menu-open {
    overflow: hidden !important;
  }

  .hero{grid-template-columns:1fr;padding:50px 0; text-align:center;}
  .hero .lead{margin-left:auto; margin-right:auto; font-size:17px;}
  .hero .actions{justify-content:center; flex-direction:column; gap:12px;}
  .hero-art{height:300px}
  .grid2,.product,.bodygrid,.featureline{grid-template-columns:1fr; gap:36px;}
  .grid3{grid-template-columns:1fr; gap:20px;}
  .statrow{grid-template-columns:1fr 1fr; border:none;}
  .stat{border-bottom:1px solid rgba(255,255,255,0.1); border-right:none; padding:24px 12px;}
  .stat b{font-size:32px;}
  .product-copy{padding:30px 0}
  .product-visual{min-height:300px}
  .footergrid{grid-template-columns:1fr 1fr; gap:20px;}
  h1{font-size:clamp(32px,7.5vw,48px) !important;}
  h2{font-size:clamp(26px,6vw,38px) !important;}
  .listrow{grid-template-columns:1fr; gap:8px;}
  .listrow .num{margin-bottom:8px;}
}

@media(max-width:540px){
  .statrow{grid-template-columns:1fr;}
  .footergrid{grid-template-columns:1fr; gap:16px; text-align:center;}
  .footer .brand img{margin:0 auto 6px auto !important;}
  .footer p{margin:4px auto 0 auto !important;}
  .wrap{padding:0 18px !important;}
}

/* ---------- High-Tech Medical Telemetry 3D Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #0F172A 0%, #060911 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  user-select: none;
}
#loader.hide {
  display: none !important;
}

.loader-hud-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 117, 255, 0.22);
  border-radius: 24px;
  padding: 36px 42px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(0, 117, 255, 0.06);
  max-width: 440px;
  width: 100%;
  box-sizing: border-box;
}

.loader-logo-wrap {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 0 20px rgba(0, 117, 255, 0.35));
}
.loader-logo-wrap img {
  height: 52px;
  width: auto;
  display: block;
}

.loader-metrics-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
  align-items: baseline;
}
.loader-pct {
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.loader-pct span {
  font-size: 20px;
  color: #00E5FF;
  margin-left: 2px;
}

.loader-module-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0075FF;
  background: rgba(0, 117, 255, 0.12);
  border: 1px solid rgba(0, 117, 255, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
}

.loader-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0075FF 0%, #00E5FF 100%);
  border-radius: 10px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.8);
}

.loader-status-text {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  min-height: 18px;
  margin-bottom: 20px;
}

.loader-telemetry-strip {
  display: flex;
  gap: 8px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  justify-content: space-between;
}
.telemetry-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748B;
  text-transform: uppercase;
}
.telemetry-tag b {
  color: #38BDF8;
}

#scene-canvas{ position:fixed; inset:0; z-index:1; display:block; }
.static-mode #scene-canvas{ display:none; }

/* --- Fixed Header Light Styling --- */
header {
  height: 78px;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
}
header .brand { color: #0075FF; }
header .brand span { color: #0F172A; font-weight: 400; }
header .navlinks { color: #64748B; }
header .navlinks a { color: #475569; }
header .navlinks a:hover { color: #0075FF; }
header .nav-tag {
  background: rgba(0, 117, 255, 0.08);
  border: 1px solid rgba(0, 117, 255, 0.18);
  color: #0075FF !important;
  padding: 8px 16px;
  border-radius: 20px;
}
header .nav-btn-light {
  color: #0075FF !important;
  border: 1.5px solid #0075FF;
  padding: 8px 18px;
  border-radius: 10px;
}
header .nav-btn {
  background: #0075FF;
  color: #FFFFFF !important;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 117, 255, 0.28);
}
header .menu { color: #0F172A; }

/* Backward compatibility for main-nav-dark if used anywhere */
header.main-nav-dark {
  background: rgba(248, 250, 252, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* --- 3D Scene Fixed Cards Overlay (Zero Header Clipping, Zero Jitter) --- */
#cards-overlay {
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 100;
  display: flex;
  align-items: center;
}

.card-slot {
  position: absolute;
  top: 50%;
  padding: 0 clamp(24px, 5vw, 64px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  will-change: opacity, transform;
}
.card-slot.left {
  left: 0;
  transform: translate(-28px, -50%);
}
.card-slot.right {
  right: 0;
  transform: translate(28px, -50%);
}
.card-slot.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}

/* Premium Crisp Light Frosted Glass Card (Matching Features page) */
.card-glass {
  max-width: 490px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 34px 38px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(226, 232, 240, 0.6), inset 0 1px 0 rgba(255, 255, 255, 1);
  color: #0F172A;
}

.card-glass .eyebrow {
  color: #0075FF;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.card-glass .card-title {
  color: #0F172A;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.card-slot[data-beat="0"] .card-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
}
.card-glass .card-desc {
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.card-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.card-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 12px;
  background: #0075FF;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 117, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 117, 255, 0.45);
}
.card-cta .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 12px;
  background: rgba(0, 117, 255, 0.08);
  color: #0075FF;
  border: 1.5px solid rgba(0, 117, 255, 0.25);
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card-cta .btn-secondary:hover {
  background: rgba(0, 117, 255, 0.14);
  border-color: #0075FF;
  transform: translateY(-2px);
}

.stat-row {
  display: flex;
  gap: 22px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.stat-row b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #0075FF;
}
.stat-row span {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
}

.hub-stages {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.hub-stage {
  flex: 1;
}
.hub-num {
  font-size: 13px;
  font-weight: 800;
  color: #0075FF;
  margin-bottom: 4px;
}
.hub-lbl {
  font-weight: 700;
  font-size: 14px;
  color: #0F172A;
  margin-bottom: 4px;
}
.hub-txt {
  font-size: 12px;
  color: #64748B;
  line-height: 1.45;
}

/* Scroll wrap sets overall scroll journey */
.scroll-wrap {
  position: relative;
  z-index: 2;
  height: 520vh; /* Smooth, spacious scroll pacing */
}

/* Footer display control (Zero footer on Home Page) */
body:not(.inner-page-body) .footer,
body:not(.inner-page-body) .inion-faq-container {
  display: none !important;
}

.inion-faq-container .faq-item summary::-webkit-details-marker {
  display: none;
}
.inion-faq-container .faq-item[open] summary span:last-child {
  transform: rotate(45deg);
}
.inion-faq-container .faq-item summary span:last-child {
  transition: transform 0.2s ease;
}

/* Fallback static mode (Mobile & Reduced Motion) */
body.static-mode {
  background: #F8FAFC !important;
  color: #0F172A !important;
  min-height: 100vh;
}
body.static-mode #scene-canvas {
  display: none !important;
}
body.static-mode .scroll-wrap {
  display: none !important;
}
body.static-mode #cards-overlay {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  padding: 92px 18px 48px !important;
  pointer-events: auto !important;
  z-index: 10;
  max-width: 620px;
  margin: 0 auto;
  box-sizing: border-box;
}
body.static-mode .card-slot {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  padding: 0 !important;
  width: 100%;
  box-sizing: border-box;
}
body.static-mode .card-glass {
  max-width: 100% !important;
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
body.static-mode .stat-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
body.static-mode .stat-row b {
  font-size: 22px;
}
body.static-mode .stat-row span {
  font-size: 11px;
}
body.static-mode .hub-stages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.static-mode .card-cta {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}
body.static-mode .card-cta a {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  justify-content: center;
}

@media (max-width: 860px) {
  /* --- Mobile 3D Top-Positioned Frosted Glass Cards --- */
  #cards-overlay {
    position: fixed !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 100 !important;
    display: block !important;
  }

  .card-slot {
    position: fixed !important;
    top: clamp(86px, 11vh, 94px) !important;
    bottom: auto !important;
    left: clamp(10px, 3vw, 18px) !important;
    right: clamp(10px, 3vw, 18px) !important;
    width: auto !important;
    max-width: clamp(310px, 94vw, 460px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    transform: translateY(-12px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
  }
  .card-slot.left,
  .card-slot.right {
    left: clamp(10px, 3vw, 18px) !important;
    right: clamp(10px, 3vw, 18px) !important;
    transform: translateY(-12px) !important;
  }
  .card-slot.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .card-glass {
    max-width: clamp(310px, 94vw, 460px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: clamp(18px, 4.5vw, 24px) clamp(18px, 4.5vw, 24px) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    max-height: 54vh !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
  }
  .card-glass::-webkit-scrollbar {
    display: none !important;
  }

  .card-glass .eyebrow {
    font-size: clamp(10.5px, 2.6vw, 12px) !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 6px !important;
    font-weight: 700 !important;
  }

  .card-glass .card-title,
  .card-slot[data-beat="0"] .card-title {
    font-size: clamp(18px, 4.8vw, 22px) !important;
    line-height: 1.25 !important;
    margin: 0 0 8px !important;
    font-weight: 800 !important;
  }

  .card-glass .card-desc {
    font-size: clamp(13px, 3.4vw, 14.5px) !important;
    line-height: 1.5 !important;
    margin: 0 0 16px !important;
    margin-bottom: 16px !important;
    color: #475569 !important;
  }

  .card-cta {
    gap: 10px !important;
    margin-top: 4px !important;
  }
  .card-cta .btn-primary,
  .card-cta .btn-secondary {
    padding: 10px 22px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Stats for Beat 1 */
  .stat-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  }
  .stat-row b {
    font-size: clamp(18px, 4.8vw, 22px) !important;
  }
  .stat-row span {
    font-size: clamp(10px, 2.6vw, 11.5px) !important;
    line-height: 1.35 !important;
    margin-top: 4px !important;
  }

  /* Stages for Beat 3 */
  .hub-stages {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  .hub-stage {
    display: flex !important;
    flex-direction: column !important;
  }
  .hub-num {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }
  .hub-lbl {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
  }
  .hub-txt {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  /* Streamlined Minimalist Footer on 3D Mobile Experience */
  body:not(.inner-page-body) .footer {
    display: block !important;
    position: relative !important;
    z-index: 100 !important;
    background: transparent !important;
    border-top: none !important;
    padding: 0 !important;
    margin-top: -50px !important;
  }
  body:not(.inner-page-body) .footer .footergrid {
    display: none !important;
  }
  body:not(.inner-page-body) .footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    margin-top: 0 !important;
    padding: 14px 16px !important;
    font-size: 11px !important;
    color: #94A3B8 !important;
    text-align: center !important;
  }
}

/* --- Modern Light Glassmorphism Inner Pages --- */
.inner-page-body {
  background: #FFFFFF;
  color: #1E293B;
}
.inner-page-body header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  backdrop-filter: blur(16px);
}
.inner-page-body .brand { color: #0075FF; }
.inner-page-body .brand span { color: #1E293B; }
.inner-page-body .navlinks { color: #64748B; }
.inner-page-body .navlinks a:hover { color: #0075FF; }
.inner-page-body .btn.light { color: #0075FF; border-color: #0075FF; }
.inner-page-body .btn.light:hover { background: rgba(0, 117, 255, 0.05); }

.glass-hero {
  position: relative;
  padding: 120px 0 80px 0;
  text-align: center;
  overflow: hidden;
}
.glass-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 117, 255, 0.05) 0%, rgba(255,255,255,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.glass-hero-content {
  position: relative;
  z-index: 2;
}
.glass-hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: #1E293B;
}
.glass-hero p {
  color: #64748B;
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,1);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 117, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.glass-card h3 {
  color: #1E293B;
  margin-top: 0;
}
.glass-card p {
  color: #64748B;
  line-height: 1.6;
}


.nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700;
  background: var(--accent); color: white; border: none;
  box-shadow: 0 4px 10px rgba(0, 117, 255, 0.2); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 117, 255, 0.3); color: white; }

.nav-btn-light {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700;
  background: transparent; color: var(--accent); border: 2px solid var(--accent);
  transition: all 0.2s ease;
}
.nav-btn-light:hover { background: rgba(0, 117, 255, 0.05); transform: translateY(-2px); color: var(--accent); }

.nav-tag {
  background: rgba(0, 117, 255, 0.1); color: var(--accent) !important;
  padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 700;
  transition: all 0.2s ease;
}
.nav-tag:hover { background: rgba(0, 117, 255, 0.2); }

/* Responsive Inner Pages & Layout Helpers */
@media (max-width: 860px) {
  .glass-hero {
    padding: 90px 0 50px 0;
  }
  .glass-hero h1 {
    font-size: clamp(30px, 7vw, 44px);
    margin-bottom: 16px;
  }
  .glass-hero p {
    font-size: 16px;
    padding: 0 16px;
  }
  .glass-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
  }
  .glass-card {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .mobile-col {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .mobile-grid-1 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .mobile-grid-2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
  .mobile-hide {
    display: none !important;
  }
}


