/* =============================================
   CALSCI — LIGHT THEME STYLESHEET
   =============================================
   1.  Google Fonts Import
   2.  CSS Custom Properties
   3.  Reset & Base
   4.  Utilities — Container / Reveal
   5.  Utilities — Tags / Labels / Pills
   6.  Utilities — Buttons
   7.  Scroll Progress Bar
   8.  Navbar
   9.  Hero Section
   10. Features Section
   11. Services Section
   12. Hardware Section
   13. FAQ Section
   14. Contact Section
   15. Pre-Order Section
   16. Footer
   17. Keyframe Animations
   18. Responsive Breakpoints
   ============================================= */


/* =============================================
   1. GOOGLE FONTS IMPORT
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');


/* =============================================
   2. CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  /* Backgrounds */
  --bg:          #FFFFFF;
  --bg-alt:      #F5F4F0;
  --bg-card:     #FFFFFF;

  /* Text — bold black palette */
  --text:        #0A0A0A;
  --text-muted:  #2E2C3A;
  --text-soft:   #6B6878;

  /* Borders */
  --border:      #E2DED8;
  --border-light:#ECEAE5;

  /* Brand */
  --orange:      #FF6B35;
  --orange-dark: #E55A25;
  --orange-10:   rgba(255,107,53,0.10);
  --orange-20:   rgba(255,107,53,0.18);

  --blue:        #1A6BFF;
  --blue-dark:   #0050E6;
  --blue-10:     rgba(26,107,255,0.10);
  --blue-20:     rgba(26,107,255,0.18);

  --gray:        #8B8896;
  --gray-10:     rgba(139,136,150,0.10);

  --white:       #FFFFFF;

  /* Dark (footer only) */
  --dark:        #0A0A10;
  --dark-2:      #131320;
  --dark-border: rgba(255,255,255,0.08);
  --text-d:      #FFFFFF;
  --text-d-muted:rgba(255,255,255,0.55);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --section-pad:   100px;
  --container-max: 1200px;
  --container-pad: clamp(20px, 5vw, 60px);
  --grid-box-size: 48px;

  /* Radii */
  --r-card: 20px;
  --r-btn:  100px;
  --r-sm:   12px;
  --r-tag:  100px;

  /* Transitions */
  --t:        0.28s ease;
  --t-reveal: 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =============================================
   3. RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: #FFFFFF;
  color: var(--text);
  line-height: 1.65;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); border: none; background: none; cursor: pointer; }


/* =============================================
   4. UTILITIES — CONTAINER / REVEAL
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Reveal animations */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity var(--t-reveal), transform var(--t-reveal);
}

.reveal       { transform: translateY(28px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* Staggered delay helpers */
.reveal:nth-child(2), .reveal-left:nth-child(2), .reveal-right:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3), .reveal-left:nth-child(3), .reveal-right:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4), .reveal-left:nth-child(4), .reveal-right:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5)  { transition-delay: 0.32s; }


/* =============================================
   5. UTILITIES — TAGS / LABELS / PILLS
   ============================================= */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-tag);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-o {
  background: var(--orange-10);
  color: var(--orange);
  border: 1px solid rgba(255,107,53,0.22);
}

.tag-b {
  background: var(--blue-10);
  color: var(--blue);
  border: 1px solid rgba(26,107,255,0.22);
}

.tag-m {
  background: var(--gray-10);
  color: var(--gray);
  border: 1px solid rgba(139,136,150,0.22);
}

/* Section headings */
.sec-head { text-align: center; margin-bottom: 64px; }

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.sec-h2 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--text);
  letter-spacing: -0.025em;
}

.sec-sub {
  margin-top: 14px;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 480px;
  margin-inline: auto;
  font-weight: 500;
}

/* Pill badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-tag);
  background: var(--orange-10);
  border: 1px solid rgba(255,107,53,0.22);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  width: fit-content;
}

.pill-o {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--r-tag);
  background: var(--orange-10);
  border: 1px solid rgba(255,107,53,0.22);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  width: fit-content;
}


/* =============================================
   6. UTILITIES — BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-dark);
  box-shadow: 0 8px 24px rgba(255,107,53,0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-alt);
}

.btn-full { width: 100%; }
.btn-lg   { padding: 16px 36px; font-size: 17px; }

/* Spinner */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
}

.btn--loading .btn-text    { display: none; }
.btn--loading .btn-spinner { display: block; animation: spin 0.6s linear infinite; }


/* =============================================
   7. SCROLL PROGRESS BAR
   ============================================= */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  z-index: 1000;
  transition: width 0.05s linear;
}


/* =============================================
   8. NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.28s ease, opacity 0.28s ease, background var(--t), box-shadow var(--t), backdrop-filter var(--t);
  will-change: transform;
}

.navbar.nav--scrolled {
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
}

.navbar.nav--hidden {
  transform: translateY(calc(-100% - 12px));
  opacity: 0;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 11px var(--container-pad);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.nav-logo-wordmark {
  display: block;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  font-size: clamp(20px, 1.55vw, 24px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: inherit;
  white-space: nowrap;
  transform: scale(1.25);
  transform-origin: left center;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: var(--r-btn);
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  transform: scale(1.25);
  transform-origin: right center;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}

.btn-nav:hover {
  background: var(--orange-dark);
  transform: translateY(-1px) scale(1.25);
  box-shadow: 0 6px 18px rgba(255,107,53,0.3);
}


/* =============================================
   9. HERO SECTION
   Full-viewport. Split grid: text left, device right.
   Engineering-vibes background with formulas + grid.
   ============================================= */
.hero {
  position: relative;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 0;
}

/* ── Engineering background ─────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Faint graph-paper grid */
.eng-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,107,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,0.045) 1px, transparent 1px);
  background-size: var(--grid-box-size) var(--grid-box-size);
}

/* Floating formula labels */
.eng-formulas {
  position: absolute;
  inset: 0;
}

.ef {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  opacity: 0.07;
  white-space: nowrap;
  pointer-events: none;
  animation: ef-float 8s ease-in-out infinite;
}

/* Spread formulas across background */
.ef--1  { top: 12%;  left: 3%;   animation-delay: 0s;    animation-duration: 9s; }
.ef--2  { top: 22%;  right: 8%;  animation-delay: -2s;   animation-duration: 11s; }
.ef--3  { top: 55%;  left: 5%;   animation-delay: -4s;   animation-duration: 8s; }
.ef--4  { top: 75%;  left: 20%;  animation-delay: -1s;   animation-duration: 10s; }
.ef--5  { top: 80%;  right: 12%; animation-delay: -3s;   animation-duration: 9s; }
.ef--6  { top: 40%;  right: 4%;  animation-delay: -5s;   animation-duration: 12s; }
.ef--7  { bottom: 8%; left: 30%; animation-delay: -2.5s; animation-duration: 10s; }
.ef--8  { top: 8%;   right: 30%; animation-delay: -6s;   animation-duration: 7s; }

/* Colour blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-blob--orange {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.14) 0%, transparent 70%);
  top: -80px;
  right: 10%;
  animation: blob-drift 10s ease-in-out infinite;
}

.hero-blob--blue {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(26,107,255,0.10) 0%, transparent 70%);
  bottom: -100px;
  left: 5%;
  animation: blob-drift 13s ease-in-out infinite reverse;
}

/* ── Two-column hero grid ───────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  gap: 40px;
  position: relative;
  z-index: 1;
  padding: 90px 0 60px;
}

/* LEFT: copy */
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-title-main {
  display: block;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-title-sub {
  display: block;
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.hero-p {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btns .btn {
  min-height: 48px;
  min-width: 176px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.h-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 110px;
  text-align: center;
}

.h-stat-val {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 600;
  color: var(--text);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.h-stat-lab {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.h-stat-div {
  width: 1px;
  height: 38px;
  background: var(--border);
}

/* RIGHT: device column */
.hero-device-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-device-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 580px;
}

.hero-device-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle,
    rgba(255,107,53,0.16) 0%,
    rgba(26,107,255,0.10) 50%,
    transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: blob-drift 7s ease-in-out infinite;
}

.hero-device-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  filter:
    drop-shadow(0 40px 80px rgba(0,0,0,0.20))
    drop-shadow(0 10px 20px rgba(0,0,0,0.10));
  animation: float 5s ease-in-out infinite;
}

/* ── Floating stat badges ───────────────────── */
.hb {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  z-index: 2;
  white-space: nowrap;
}

.hb-icon { font-size: 20px; line-height: 1; }

.hb-icon--image img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hb-text { display: flex; flex-direction: column; gap: 1px; }

.hb-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.hb-lab {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Badge positions — relative to device-wrap */
.hb--1 {
  top: 18%;
  left: -8%;
  animation: badge-float-1 5s ease-in-out infinite;
}

.hb--2 {
  bottom: 30%;
  left: -12%;
  animation: badge-float-2 6s ease-in-out infinite;
}

.hb--3 {
  top: 12%;
  right: -6%;
  animation: badge-float-3 5.5s ease-in-out infinite;
}

.hb--4 {
  bottom: 18%;
  right: -10%;
  animation: badge-float-4 7s ease-in-out infinite;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-soft);
  animation: bounce-y 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.scroll-cue.scroll-hint--hidden { opacity: 0; }


/* =============================================
   10. FEATURES SECTION
   ============================================= */
.features {
  background: transparent;
  padding-block: var(--section-pad);
  scroll-margin-top: 70px;
}

.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding-block: 60px;
  border-bottom: 1px solid var(--border);
}

.feat-vr .feat-media { order: 2; }
.feat-vr .feat-copy  { order: 1; }

.feat-media {
  border-radius: 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
}

.feat-vid {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.feat-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.feat-h3 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
}

.feat-p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
}

/* Feature 05 placeholder */
.feat-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r-card);
  background: linear-gradient(135deg,
    rgba(255,107,53,0.08) 0%,
    rgba(26,107,255,0.06) 100%);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feat-ph-num {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange) 0%, #FF9B5E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.feat-ph-lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* =============================================
   11. SERVICES SECTION
   ============================================= */
.services {
  background: transparent;
  padding-block: var(--section-pad);
  scroll-margin-top: 70px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.svc-card.svc-o { border-top: 3px solid var(--orange); }
.svc-card.svc-b { border-top: 3px solid var(--blue); }

.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.svc-ico {
  font-size: 26px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
}

.svc-ico--o { background: var(--orange-10); }
.svc-ico--b { background: var(--blue-10); }

.svc-h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.svc-p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.svc-link {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  transition: gap var(--t);
}

.svc-link:hover { gap: 10px; }
.svc-link-o { color: var(--orange); }
.svc-link-b { color: var(--blue); }

/* ── Services top-row modifier ────────────── */
.svc-grid--top {
  margin-bottom: 0;
}




/* =============================================
   13. FAQ SECTION
   ============================================= */
.faq {
  background: transparent;
  padding-block: var(--section-pad);
  scroll-margin-top: 70px;
}

.faq-list {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item.faq-item--open {
  border-color: var(--orange);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--t), background var(--t);
  cursor: pointer;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
}

.faq-q:hover { color: var(--orange); background: rgba(255,107,53,0.04); }
.faq-item--open .faq-q { color: var(--orange); }

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: transform var(--t);
}

.faq-item--open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.22,1,0.36,1);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
}

.faq-a p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* =============================================
   14. PRE-BOOK & CONTACT — merged section
   ============================================= */
.contact {
  background: transparent;
  padding-block: var(--section-pad);
  scroll-margin-top: 70px;
  position: relative;
  overflow: hidden;
}

/* Decorative top accent band */
.contact::before { content: none; }

/* Two-column layout: left (device + info) | right (form) */
.cp-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

/* ── LEFT column ─────────────────────────── */
.cp-left {
  display: flex;
  min-height: 0;
  align-items: stretch;
  justify-content: center;
}

.cp-device-wrap {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
}

.cp-device-img {
  width: auto;
  max-width: 100%;
  height: 100%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center top;
  filter: none;
  animation: none;
}

/* ── RIGHT column ────────────────────────── */
.cp-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Contact info strip */
.cp-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.c-logo {
  display: block;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  font-size: clamp(30px, 2.2vw, 36px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--text);
  white-space: nowrap;
}

.c-desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.7;
}

.c-details { display: flex; flex-wrap: wrap; gap: 20px 36px; }

.c-detail { display: flex; flex-direction: column; gap: 2px; }

.c-detail-lab {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.c-detail-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t);
}

a.c-detail-val:hover { color: var(--orange); }

.c-socials { display: flex; flex-wrap: wrap; gap: 14px; }

.c-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--t);
}

.c-social:hover { color: var(--orange); }

/* Divider between info and form */
.cp-right .c-form-wrap {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
}

/* Form internals */
.c-form { display: flex; flex-direction: column; gap: 18px; }

.c-field { display: flex; flex-direction: column; gap: 5px; }

.c-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.req { color: var(--orange); }

.c-input,
.c-select,
.c-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}

.c-input::placeholder, .c-textarea::placeholder { color: var(--text-soft); }

.c-input:focus, .c-select:focus, .c-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.10);
  background: var(--bg);
}

.c-textarea { resize: vertical; min-height: 100px; }

.c-err { font-size: 12px; color: #DC2626; min-height: 15px; }

.c-feedback {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  display: none;
}

.c-feedback--err {
  background: rgba(220,38,38,0.06);
  border: 1px solid rgba(220,38,38,0.18);
  color: #DC2626;
}

.c-feedback.form-feedback--visible { display: block; }

.c-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 24px;
}

.c-success.form-success--visible { display: flex; }

.c-success-ico {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(22,163,74,0.08);
  border: 2px solid #16A34A;
  color: #16A34A;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-success-h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.c-success-p { font-size: 14px; color: var(--text-muted); }

@keyframes form-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.form--shake { animation: form-shake 0.4s ease; }


/* =============================================
   16. FOOTER
   ============================================= */
.footer {
  background: #0A0A0A;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 36px 84px;
}

/* Top row: brand + socials */
.ft-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.ft-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.ft-logo  {
  display: block;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #ffffff;
  white-space: nowrap;
}
.ft-tagline {
  font-family: var(--font-heading);
  font-size: clamp(10px, 0.95vw, 13px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.62);
}

/* Social icons */
.ft-socials { display: flex; gap: 10px; align-items: center; }

.ft-soc {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color var(--t), border-color var(--t), background var(--t);
}

.ft-soc:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}

.ft-soc svg { display: block; }

/* Company details row */
.ft-company {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ft-co-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  min-width: 0;
}

.ft-company > .ft-co-block:last-child {
  grid-column: 1 / -1;
}

.ft-co-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.ft-co-val {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.ft-co-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ft-co-sep {
  display: none;
}

/* Bottom bar */
.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ft-legal { font-size: 12px; color: rgba(255,255,255,0.3); }
.ft-legal a { color: inherit; text-decoration: underline; transition: color var(--t); }
.ft-legal a:hover { color: rgba(255,255,255,0.65); }


/* =============================================
   17. GLOBAL PAGE BACKGROUND
   Fixed engineering grid + formulas behind everything
   ============================================= */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,107,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,0.09) 1px, transparent 1px),
    linear-gradient(rgba(255,107,53,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,53,0.04) 1px, transparent 1px);
  background-size:
    var(--grid-box-size) var(--grid-box-size),
    var(--grid-box-size) var(--grid-box-size),
    calc(var(--grid-box-size) * 5) calc(var(--grid-box-size) * 5),
    calc(var(--grid-box-size) * 5) calc(var(--grid-box-size) * 5);
}

/* Large blurred colour blobs across the page */
.page-bg::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,255,0.07) 0%, transparent 65%);
  filter: blur(60px);
  top: 10%; left: -8%;
  animation: blob-drift 14s ease-in-out infinite;
}

.page-bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.07) 0%, transparent 65%);
  filter: blur(60px);
  top: 55%; right: -6%;
  animation: blob-drift 18s ease-in-out infinite reverse;
}

/* Floating formula elements — spread across full page */
.pf {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  opacity: 0.12;
  animation: ef-float 10s ease-in-out infinite;
  white-space: nowrap;
}

.pf--1  { top: 6%;   left: 2%;   animation-duration: 11s; animation-delay: 0s;  color: var(--blue);   opacity: 0.13; }
.pf--2  { top: 14%;  right: 4%;  animation-duration: 9s;  animation-delay: -2s; color: var(--orange); opacity: 0.10; }
.pf--3  { top: 28%;  left: 6%;   animation-duration: 13s; animation-delay: -5s; color: var(--blue);   opacity: 0.11; }
.pf--4  { top: 35%;  right: 3%;  animation-duration: 8s;  animation-delay: -1s; color: var(--orange); opacity: 0.09; }
.pf--5  { top: 50%;  left: 3%;   animation-duration: 12s; animation-delay: -4s; color: var(--blue);   opacity: 0.12; }
.pf--6  { top: 55%;  right: 6%;  animation-duration: 10s; animation-delay: -7s; color: var(--orange); opacity: 0.10; }
.pf--7  { top: 68%;  left: 5%;   animation-duration: 14s; animation-delay: -3s; color: var(--blue);   opacity: 0.11; }
.pf--8  { top: 72%;  right: 2%;  animation-duration: 9s;  animation-delay: -6s; color: var(--orange); opacity: 0.09; }
.pf--9  { top: 82%;  left: 8%;   animation-duration: 11s; animation-delay: -2s; color: var(--blue);   opacity: 0.12; }
.pf--10 { top: 88%;  right: 8%;  animation-duration: 13s; animation-delay: -8s; color: var(--orange); opacity: 0.10; }
.pf--11 { top: 42%;  left: 48%;  animation-duration: 15s; animation-delay: -4s; color: var(--blue);   opacity: 0.08; }
.pf--12 { top: 20%;  left: 43%;  animation-duration: 12s; animation-delay: -9s; color: var(--orange); opacity: 0.08; }

/* Make sure all page content sits above the fixed bg */
.hero, .features, .services,
.faq, .contact, .footer {
  position: relative;
  z-index: 1;
}


/* =============================================
   18. KEYFRAME ANIMATIONS
   ============================================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -16px) scale(1.05); }
}

@keyframes bounce-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* Formula elements gently drift */
@keyframes ef-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* Floating badge animations — each slightly different */
@keyframes badge-float-1 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

@keyframes badge-float-2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50%       { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes badge-float-3 {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50%       { transform: translateY(-6px) rotate(-0.5deg); }
}

@keyframes badge-float-4 {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%       { transform: translateY(-9px) rotate(0.5deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* =============================================
   18. RESPONSIVE BREAKPOINTS
   ============================================= */

/* ── Tablet (≤ 960px) ─────────────────────── */
@media (max-width: 960px) {
  :root { --section-pad: 80px; }

  /* Hero: stack to single column, device on top */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 90px 0 60px;
    gap: 36px;
    min-height: auto;
  }

  .hero-copy {
    align-items: center;
    order: 2;
  }

  .hero-h1 {
    align-items: center;
  }

  .hero-device-col {
    order: 1;
    justify-content: center;
  }

  .hero-device-wrap { max-width: 300px; }

  .hero-p { margin-inline: auto; }

  .hero-btns { justify-content: center; }

  .hero-stats { justify-content: center; }

  /* Hide floating badges on tablet — they clip */
  .hb { display: none; }

  /* Features: stack */
  .feat-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 48px;
  }

  .feat-vr .feat-media { order: 0; }
  .feat-vr .feat-copy  { order: 1; }

  /* Services */
  .svc-grid { grid-template-columns: 1fr 1fr; }



  /* Pre-Book & Contact merged */
  .cp-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cp-left {
    min-height: 0;
  }

  .cp-device-wrap { min-height: clamp(520px, 70vw, 760px); }

  /* Footer */
  .ft-top { gap: 20px; }
  .ft-company {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ── Mobile (≤ 600px) ─────────────────────── */
@media (max-width: 600px) {
  :root { --section-pad: 64px; }

  /* Navbar */
  .nav-inner { padding-block: 9px; }
  .nav-logo-wordmark { font-size: 18px; }
  .btn-nav { padding: 6px 12px; font-size: 12px; }

  /* Hero */
  .hero-grid { padding: 80px 0 48px; }
  .hero-device-wrap { max-width: 240px; }
  .hero-h1 { font-size: 38px; }
  .hero-stats { gap: 16px; }
  .h-stat-div { height: 26px; }

  /* Engineering formulas: fewer visible */
  .ef--4, .ef--5, .ef--6, .ef--8 { display: none; }

  /* Services: single col */
  .svc-grid { grid-template-columns: 1fr; }

  /* Bubble grid: 2 col on mobile */
  .bubble-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bubble { padding: 18px 16px; }
  .bubble-h { font-size: 17px; }


  /* Pre-Book & Contact — mobile */
  .cp-grid { gap: 36px; }

  .cp-left {
    min-height: 0;
  }

  .cp-device-wrap {
    min-height: clamp(420px, 110vw, 640px);
  }

  .cp-right .c-form-wrap { padding: 22px 18px; }

  .c-details { flex-direction: column; gap: 12px; }

  .c-socials { justify-content: center; flex-direction: row; flex-wrap: wrap; }

  /* Footer */
  .ft-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ft-brand { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Footer company block: stack on mobile, hide separators */
  .ft-company { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Very small (≤ 380px) ─────────────────── */
@media (max-width: 380px) {
  .hero-device-wrap { max-width: 200px; }
  .hero-h1 { font-size: 32px; }
  .hero-stats { gap: 10px; }
  .h-stat-div { display: none; }

}
