/* ── CSS Variables — Light Theme (default) ── */
:root {
  --bg:          #ffffff;
  --bg-alt:      #e8f7f7;
  --bg-mid:      #f0fafa;
  --navy:        #e8f7f7;
  --navy-deep:   #ffffff;
  --navy-mid:    #f0fafa;
  --teal:        #0fa8aa;
  --teal-light:  #1ec8ca;
  --teal-pale:   rgba(15,168,170,0.08);
  --gold:        #b8892a;
  --gold-light:  #d4aa5a;
  --cream:       #0d2847;
  --warm:        #8b6040;
  --grey:        #4e6880;
  --border-teal: rgba(15,168,170,0.22);
  --border-navy: rgba(0,0,0,0.07);
  --card-bg:     #ffffff;
  --card-border: rgba(15,168,170,0.22);
  --text-primary:#0d2847;
  --text-muted:  #4e6880;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-teal: 0 8px 40px rgba(15,168,170,0.15);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.10);
}

/* ── Dark Theme ── */
html[data-theme="dark"] {
  --bg:          #071C38;
  --bg-alt:      #0A2E5D;
  --bg-mid:      #0d2447;
  --navy:        #0A2E5D;
  --navy-deep:   #071C38;
  --navy-mid:    #0d2447;
  --teal:        #2EC4C6;
  --teal-light:  #7BE4E6;
  --teal-pale:   rgba(46,196,198,0.08);
  --gold:        #D4AA5A;
  --gold-light:  #e8c87a;
  --cream:       #FBFBF6;
  --warm:        #D4AA9D;
  --grey:        #7a90a8;
  --border-teal: rgba(46,196,198,0.18);
  --border-navy: rgba(255,255,255,0.07);
  --card-bg:     rgba(10,46,93,0.55);
  --card-border: rgba(46,196,198,0.18);
  --text-primary:#FBFBF6;
  --text-muted:  #7a90a8;
  --shadow-teal: 0 8px 40px rgba(46,196,198,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.35);
}

html[data-theme="dark"] body { color: var(--cream); }
html[data-theme="dark"] .service-card { background: var(--card-bg); }
html[data-theme="dark"] .service-card:hover { background: rgba(10,46,93,0.8); }
html[data-theme="dark"] .case-card { background: rgba(10,46,93,0.4); }
html[data-theme="dark"] .case-card:hover { background: rgba(10,46,93,0.7); }
html[data-theme="dark"] .quote-card { background: rgba(10,46,93,0.6); }
html[data-theme="dark"] .glass-card { background: rgba(10,46,93,0.45); }
html[data-theme="dark"] .navbar.scrolled { background: rgba(7,28,56,0.94); }
html[data-theme="dark"] .nav-links { background: rgba(7,28,56,0.98); }
html[data-theme="dark"] .nav-link { color: rgba(251,251,246,0.65); }
html[data-theme="dark"] .footer-nav a { color: rgba(251,251,246,0.35); }
html[data-theme="dark"] .footer-tagline { color: rgba(251,251,246,0.3); }
html[data-theme="dark"] .footer-bottom .footer-container { color: rgba(251,251,246,0.2); }
html[data-theme="dark"] .nav-logo-mark { filter: brightness(0) invert(1); }
html[data-theme="dark"] .footer-logo-full { filter: brightness(0) invert(1); opacity:0.85; }
html[data-theme="dark"] .section-title { color: var(--cream); }
html[data-theme="dark"] .hero-orb-canvas-bg { background: var(--navy-deep); }
html[data-theme="dark"] .holo-card-front { background: rgba(10,46,93,0.7); }
html[data-theme="dark"] .holo-card-back  { background: rgba(7,28,56,0.95); }
html[data-theme="dark"] .neural-canvas   { background: rgba(7,28,56,0.5); }
html[data-theme="dark"] .neural-detail-panel { background: var(--navy); color: var(--cream); }
html[data-theme="dark"] .ndp-title, html[data-theme="dark"] .ndp-desc { color: var(--cream); }
html[data-theme="dark"] .svc-detail { background: var(--navy); }
html[data-theme="dark"] .cap-block  { border-color: var(--border-teal); }
html[data-theme="dark"] .decoder-tile { background: var(--navy-deep); }
html[data-theme="dark"] .decoder-tile:hover { background: rgba(10,46,93,0.8); }
html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group textarea,
html[data-theme="dark"] .form-group select { color: var(--cream); border-bottom-color: rgba(255,255,255,0.15); }
html[data-theme="dark"] .form-group select option { background: var(--navy); }
html[data-theme="dark"] .contact { background: var(--navy-mid); }
html[data-theme="dark"] .stats-bar { background: var(--navy); }
html[data-theme="dark"] .why-section { background: var(--navy); }
html[data-theme="dark"] .process { background: var(--navy); }
html[data-theme="dark"] .services { background: var(--navy-deep); }
html[data-theme="dark"] .case-studies { background: var(--navy-deep); }
html[data-theme="dark"] .about { background: var(--navy-deep); }
html[data-theme="dark"] .footer { background: var(--navy-deep); }
html[data-theme="dark"] .cap-showcase { background: var(--navy-deep); }

/* ── Theme Toggle Button ── */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-teal);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
  transition: background var(--transition), border-color var(--transition), transform 0.3s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--teal-pale); border-color: var(--teal); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; display: block; stroke: var(--gold); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-moon svg { fill: var(--gold); stroke: var(--gold); }
html[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) #e8f7f7;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #e8f7f7; }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cream);
  background: #e5f2f8; /* matches map ocean light */
  overflow-x: hidden;
}
html[data-theme="dark"] body { background: #04101f; } /* matches map ocean dark */

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

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section-pad { padding: 7rem 0; }

/* ── Section Labels ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.label-line {
  display: block;
  height: 1px;
  width: 56px;
  background: linear-gradient(to right, transparent, var(--teal));
  flex-shrink: 0;
  opacity: 0.6;
}
.label-line:last-child { background: linear-gradient(to left, transparent, var(--teal)); }
.label-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--teal);
  white-space: nowrap;
}
.section-label-sm {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--teal);
  display: block;
  margin-bottom: 1.5rem;
}

/* ── Section Title ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--cream);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: 0.01em;
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-light) 55%, var(--cream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-rule { display: block; width: 40px; height: 1px; background: var(--gold); margin: 1.5rem 0; opacity: 0.6; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  will-change: transform;
  position: relative;
}
.btn-teal {
  background: var(--teal);
  color: var(--navy-deep);
  border: 1px solid var(--teal);
  font-weight: 600;
}
.btn-teal:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  box-shadow: 0 0 28px rgba(46,196,198,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(13,40,71,0.22);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-nav {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 0.55rem 1.5rem;
  font-size: 0.72rem;
}
.btn-nav:hover { background: var(--teal); color: var(--navy-deep); }

/* ── Glass Cards ── */
.glass-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border-teal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.glass-card:hover {
  border-color: rgba(15,168,170,0.45);
  box-shadow: 0 12px 56px rgba(15,168,170,0.12);
  transform: translateY(-6px);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.85rem 0;
  border-bottom-color: var(--border-teal);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo-mark {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: filter var(--transition), opacity var(--transition);
}
.nav-logo:hover .nav-logo-mark {
  filter: sepia(1) saturate(3) hue-rotate(155deg);
  opacity: 0.9;
}
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(13,40,71,0.65);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--teal-light); }
.nav-link:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; z-index: 1001; }
.hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--cream);
  transition: transform var(--transition), opacity var(--transition);
}
/* nav-link dark for light theme */
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent; /* map-bg canvas shows through */
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(255,255,255,0.35) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
html[data-theme="dark"] .hero::before {
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(4,16,31,0.45) 0%, transparent 70%);
}
#constellationCanvas { display: none; }
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  width: 100%;
  text-align: center;
}
.hero-content { max-width: 700px; width: 100%; }
.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--teal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--teal);
  opacity: 0.6;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-tagline-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Robot visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}
.hero-robot-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(46,196,198,0.22));
  animation: robotFloat 5s ease-in-out infinite;
}
@keyframes robotFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-indicator span { font-size: 0.6rem; letter-spacing: 0.25em; color: rgba(78,104,128,0.6); text-transform: uppercase; }
.scroll-indicator::before {
  content: '';
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--navy) 0%, transparent 100%);
  animation: scrollDrop 2.4s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ─────────────────────────────────────────────
   STATS BAR
───────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before, .stats-bar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--teal), transparent);
  opacity: 0.25;
}
.stats-bar::before { top: 0; }
.stats-bar::after  { bottom: 0; }

.stats-container {
  max-width: 1100px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-around;
  gap: 2rem; flex-wrap: wrap;
}
.stat-item { text-align: center; flex: 1; min-width: 140px; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--grey); text-transform: uppercase; }
.stat-divider {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  opacity: 0.2; flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────── */
.services { background: var(--navy-deep); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-teal);
  border: 1px solid var(--border-teal);
}
.service-card {
  padding: 2.75rem 2.25rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  background: #ffffff;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(to right, var(--teal), var(--teal-light));
  transition: width var(--transition);
}
.service-card:hover { background: rgba(230,248,248,0.9); }
.service-card:hover::after { width: 100%; }
.service-card:hover .card-icon { color: var(--teal-light); transform: scale(1.08); }

.card-icon {
  width: 36px; height: 36px;
  color: var(--teal);
  flex-shrink: 0;
  transition: color var(--transition), transform var(--transition);
}
.card-icon svg { width: 100%; height: 100%; }
.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 400;
  color: var(--cream);
  line-height: 1.3; letter-spacing: 0.01em;
}
.card-desc { font-size: 0.875rem; color: var(--grey); line-height: 1.75; flex: 1; }
.card-link {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal);
  transition: letter-spacing var(--transition), color var(--transition);
}
.card-link:hover { letter-spacing: 0.26em; color: var(--teal-light); }

/* ─────────────────────────────────────────────
   WHY ARYANA
───────────────────────────────────────────── */
.why-section {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 8rem 0;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border: 1px solid rgba(15,168,170,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.why-section::after {
  content: '';
  position: absolute;
  top: 0%; right: 0%;
  width: 350px; height: 350px;
  border: 1px solid rgba(15,168,170,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.why-statement {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.18;
  color: var(--cream);
  margin-top: 0.5rem; letter-spacing: 0.01em;
}
.why-bullets { display: flex; flex-direction: column; gap: 2rem; padding-top: 0.5rem; }
.why-bullets li {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-navy);
}
.why-bullets li:last-child { border-bottom: none; padding-bottom: 0; }
.bullet-check { color: var(--teal); font-size: 0.7rem; flex-shrink: 0; margin-top: 0.3rem; }
.why-bullets strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400; font-size: 1.1rem;
  color: var(--cream); margin-bottom: 0.35rem;
}
.why-bullets p { font-size: 0.875rem; color: var(--grey); line-height: 1.72; }

/* ─────────────────────────────────────────────
   CASE STUDIES
───────────────────────────────────────────── */
.case-studies { background: var(--navy-deep); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
  border-left: 2px solid var(--teal);
  padding: 2.5rem 2rem 2.5rem 2.25rem;
  background: rgba(255,255,255,0.8);
  position: relative;
  transition: background var(--transition), transform var(--transition);
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,168,170,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.case-card:hover { background: rgba(230,248,248,0.95); transform: translateX(5px); }
.case-tag {
  display: inline-block;
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(15,168,170,0.35);
  padding: 0.25rem 0.85rem;
  margin-bottom: 1.25rem;
}
.case-result {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 300;
  color: var(--cream); margin-bottom: 0.85rem;
  line-height: 1.15;
}
.case-desc { font-size: 0.875rem; color: var(--grey); line-height: 1.75; margin-bottom: 1.5rem; }
.case-sector { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(122,144,168,0.45); }

/* ─────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────── */
.process { background: var(--navy); }
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  border-top: 1px solid var(--border-teal);
}
.process-step {
  text-align: center;
  padding: 3rem 2rem 2rem;
  position: relative;
  border-right: 1px solid var(--border-teal);
}
.process-step:last-child { border-right: none; }
.step-number {
  font-family: var(--font-display);
  font-size: 4.5rem; font-weight: 300;
  color: var(--teal); opacity: 0.1;
  line-height: 1; margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  position: absolute; top: 1.5rem; left: 50%;
  transform: translateX(-50%);
}
.step-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  margin: 0 auto 1.5rem;
  position: relative; top: -4px;
}
.step-dot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border: 1px solid rgba(15,168,170,0.3);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.85rem;
}
.step-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.7; }

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
.about { background: var(--navy-deep); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-para { font-size: 0.95rem; color: var(--grey); line-height: 1.85; margin-bottom: 1.5rem; }
.about-para:last-child { margin-bottom: 0; }
.quote-card {
  padding: 3.5rem;
  position: relative;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border-teal);
  box-shadow: 0 4px 24px rgba(15,168,170,0.08);
}
.quote-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 2.5rem;
  width: 60px; height: 1px;
  background: var(--teal);
}
.quote-card:hover {
  border-color: rgba(15,168,170,0.4);
  box-shadow: var(--shadow-teal);
  transform: translateY(-4px);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 9rem; line-height: 0.65;
  color: var(--teal); opacity: 0.1;
  position: absolute; top: 2rem; left: 2rem;
  pointer-events: none; font-style: italic;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 300;
  font-style: italic; color: var(--cream);
  line-height: 1.55; margin-bottom: 2rem;
  position: relative; z-index: 1;
}
.quote-attr { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); font-style: normal; opacity: 0.75; }

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact {
  position: relative;
  background: var(--navy-mid);
  padding: 7rem 0;
}
.contact::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 10%, var(--teal) 50%, transparent 90%);
  opacity: 0.4;
}
.contact-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(15,168,170,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }
.contact-sub { text-align: center; color: var(--grey); margin-bottom: 3.5rem; font-size: 0.95rem; }
.contact-form { max-width: 740px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.form-group label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.req { color: var(--teal); }
.opt { color: rgba(122,144,168,0.5); font-weight: 400; text-transform: none; letter-spacing: 0; }

.form-group input,
.form-group textarea,
.form-group select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(78,104,128,0.25);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem; color: var(--cream);
  outline: none;
  transition: border-color var(--transition);
  width: 100%; -webkit-appearance: none; border-radius: 0;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a90a8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 8px; padding-right: 1.5rem;
  background-color: transparent;
}
.form-group select option { background: #ffffff; color: var(--cream); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--teal); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(78,104,128,0.4); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-footer { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 1rem; }
.btn-submit { min-width: 180px; }
.btn-submit .btn-loading { display: none; }
.btn-submit.loading .btn-label { display: none; }
.btn-submit.loading .btn-loading { display: inline; }
.form-message { font-size: 0.85rem; flex: 1; min-width: 0; }
.form-message.success { color: var(--teal-light); }
.form-message.error   { color: #e05c5c; }

.contact-links { display: flex; justify-content: center; gap: 3rem; margin-top: 4rem; flex-wrap: wrap; }
.contact-link {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--grey);
  transition: color var(--transition);
}
.contact-link svg { width: 16px; height: 16px; color: var(--teal); }
.contact-link:hover { color: var(--teal-light); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer { background: var(--navy-deep); border-top: 1px solid var(--border-teal); }
.footer-top { padding: 4rem 0; }
.footer-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; }
.footer-logo-full {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.9;
}
.footer-nav { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.75rem; letter-spacing: 0.08em; color: rgba(13,40,71,0.45); transition: color var(--transition); }
.footer-nav a:hover { color: var(--teal); }
.footer-tagline { font-family: var(--font-display); font-size: 0.95rem; font-style: italic; font-weight: 300; color: rgba(13,40,71,0.4); text-align: right; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--border-navy); padding: 1.5rem 0; }
.footer-bottom .footer-container { font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(13,40,71,0.3); }

/* ─────────────────────────────────────────────
   INTERACTIVE SERVICE HEX MAP
───────────────────────────────────────────── */
.hex-map-section {
  padding: 3rem 0 2rem;
}
.hex-map-hint {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 2.5rem;
}
.hex-map {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
.hex-map-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 520px;
  justify-content: center;
}

/* Individual hex button */
.svc-hex {
  width: 148px;
  height: 148px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
.svc-hex:hover  { transform: scale(1.06); }
.svc-hex.active { transform: scale(1.08); }

.svc-hex-shape {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 20px rgba(15,168,170,0.1);
  position: relative;
}
/* Teal border via outline hex */
.svc-hex::before {
  content: '';
  position: absolute;
  inset: -3px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(15,168,170,0.18);
  transition: background 0.25s;
  z-index: 0;
}
.svc-hex .svc-hex-shape { position: relative; z-index: 1; }

.svc-hex:hover::before,
.svc-hex.active::before  { background: rgba(15,168,170,0.55); }
.svc-hex:hover .svc-hex-shape,
.svc-hex.active .svc-hex-shape {
  background: rgba(230,248,248,0.95);
  box-shadow: 0 4px 32px rgba(15,168,170,0.22);
}

.svc-hex-icon {
  width: 36px; height: 36px;
  color: var(--teal);
  transition: color 0.25s, transform 0.25s;
}
.svc-hex:hover .svc-hex-icon,
.svc-hex.active .svc-hex-icon { color: var(--teal); transform: scale(1.12); }

.svc-hex-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.3;
  text-align: center;
  padding: 0 0.5rem;
  transition: color 0.25s;
}
.svc-hex:hover .svc-hex-label,
.svc-hex.active .svc-hex-label { color: var(--teal); }

/* Detail panel */
.svc-detail {
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 1px solid var(--border-teal);
  padding: 2.5rem 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1),
              transform 0.35s cubic-bezier(0.4,0,0.2,1),
              max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 8px 40px rgba(15,168,170,0.1);
}
.svc-detail.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 600px;
}
.svc-detail-close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.75rem;
  color: var(--grey);
  cursor: pointer;
  background: none; border: none;
  transition: color var(--transition);
  line-height: 1;
  padding: 4px 6px;
}
.svc-detail-close:hover { color: var(--teal); }
.svc-detail-icon {
  width: 40px; height: 40px;
  color: var(--teal);
  margin-bottom: 1rem;
}
.svc-detail-icon svg { width: 100%; height: 100%; }
.svc-detail-title {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.svc-detail-desc {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.svc-detail-bullets {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.svc-detail-bullets li {
  font-size: 0.8rem;
  color: var(--grey);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.svc-detail-bullets li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--teal);
  font-size: 0.65rem;
  top: 0.1em;
}

/* ─────────────────────────────────────────────
   HERO ORB (kept for reference — now removed)
───────────────────────────────────────────── */
.hero-orb {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-core {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #e0fafa 0%, var(--teal) 45%, #0a7b7d 100%);
  box-shadow:
    0 0 40px rgba(15,168,170,0.5),
    0 0 80px rgba(15,168,170,0.25),
    0 0 120px rgba(15,168,170,0.1),
    inset 0 0 30px rgba(255,255,255,0.3);
  animation: orbBreath 4s ease-in-out infinite;
  z-index: 3;
}

.orb-pulse {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(15,168,170,0.6);
  animation: orbPulse 3s ease-out infinite;
  z-index: 2;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(15,168,170,0.35);
}
.orb-ring-1 {
  width: 210px; height: 210px;
  border-color: rgba(15,168,170,0.4);
  animation: orbRotate 8s linear infinite;
  box-shadow: 0 0 12px rgba(15,168,170,0.1);
}
.orb-ring-2 {
  width: 300px; height: 300px;
  border-color: rgba(15,168,170,0.22);
  animation: orbRotate 14s linear infinite reverse;
  border-style: dashed;
}
.orb-ring-3 {
  width: 390px; height: 390px;
  border-color: rgba(15,168,170,0.12);
  animation: orbRotate 22s linear infinite;
  border-style: dotted;
}

/* Nodes orbiting on ring-1 */
.orb-node {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(15,168,170,0.8);
  z-index: 4;
}
.orb-node-1 { animation: nodeOrbit1 8s linear infinite; }
.orb-node-2 { animation: nodeOrbit1 8s linear infinite; animation-delay: -1.33s; }
.orb-node-3 { animation: nodeOrbit1 8s linear infinite; animation-delay: -2.66s; }
.orb-node-4 { animation: nodeOrbit2 14s linear infinite reverse; }
.orb-node-5 { animation: nodeOrbit2 14s linear infinite reverse; animation-delay: -4.66s; }
.orb-node-6 { animation: nodeOrbit2 14s linear infinite reverse; animation-delay: -9.33s; }

@keyframes orbBreath {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 40px rgba(15,168,170,0.5), 0 0 80px rgba(15,168,170,0.25), inset 0 0 30px rgba(255,255,255,0.3); }
  50%       { transform: scale(1.06); box-shadow: 0 0 60px rgba(15,168,170,0.7), 0 0 110px rgba(15,168,170,0.35), inset 0 0 40px rgba(255,255,255,0.4); }
}
@keyframes orbPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes orbRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes nodeOrbit1 {
  from { transform: rotate(0deg)   translateX(105px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(105px) rotate(-360deg); }
}
@keyframes nodeOrbit2 {
  from { transform: rotate(0deg)   translateX(150px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

/* ─────────────────────────────────────────────
   FUTURISTIC MIDDLE SECTION (WHY)
───────────────────────────────────────────── */
.why-section { overflow: hidden; }

.futuristic-mid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 2rem;
}

.fui-grid {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.fui-hex-wrap {
  display: grid;
  grid-template-columns: repeat(7, 60px);
  grid-auto-rows: 52px;
  gap: 4px;
  opacity: 0.85;
}
.fui-hex {
  width: 56px;
  height: 56px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(15,168,170,0.06);
  border: none;
  transition: background 0.4s, box-shadow 0.4s;
  animation: hexPulse var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}
.fui-hex.lit {
  background: rgba(15,168,170,0.18);
  box-shadow: 0 0 14px rgba(15,168,170,0.3);
}
.fui-hex.bright {
  background: rgba(15,168,170,0.35);
  box-shadow: 0 0 20px rgba(15,168,170,0.5);
}

@keyframes hexPulse {
  0%, 100% { background: rgba(15,168,170,0.05); }
  50%       { background: rgba(15,168,170,0.2);  box-shadow: 0 0 16px rgba(15,168,170,0.35); }
}

.fui-scan-line {
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(15,168,170,0.7), transparent);
  animation: scanSweep 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanSweep {
  0%   { left: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.fui-label {
  position: absolute;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.55;
  pointer-events: none;
}
.fui-label-tl { top: 0.5rem;  left: 0.5rem; }
.fui-label-tr { top: 0.5rem;  right: 0.5rem; }
.fui-label-bl { bottom: 0.5rem; left: 0.5rem; }
.fui-label-br { bottom: 0.5rem; right: 0.5rem; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  #constellationCanvas { display: none; }
  .hero-robot-img { animation: none; }
  .hero-badge { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 5rem 2.5rem 3rem; }
  .hero-content { max-width: 100%; }
  .hero-eyebrow { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-visual { margin-top: 2rem; height: 420px; }
  .hero-badge { left: 50%; transform: translateX(-50%); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-top: 1px solid var(--border-teal); }
  .process-step:nth-child(4) { border-top: 1px solid var(--border-teal); border-right: none; }
}

@media (max-width: 768px) {
  .section-pad { padding: 5rem 0; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; color: var(--cream); }
  .stats-container { flex-direction: column; }
  .stat-divider { width: 60px; height: 1px; background: linear-gradient(to right, transparent, var(--teal), transparent); }
  .services-grid { grid-template-columns: 1fr; background: transparent; border: none; gap: 1px; }
  .service-card { border: 1px solid var(--border-teal); }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; border-top: none; }
  .process-step { border-right: none; border-left: 2px solid var(--teal); border-bottom: 1px solid var(--border-teal); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-container { flex-direction: column; align-items: flex-start; }
  .footer-tagline { text-align: left; }
  .footer-bottom .footer-container { flex-direction: column; gap: 0.5rem; }
  .hero-badge { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-tagline-brand { font-size: 1rem; }
  .hero-sub { font-size: 0.9rem; }
  .hero-ctas { flex-direction: column; align-items: center; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-metrics { gap: 1rem; }
  .hm-val { font-size: 1.4rem; }
  .hero-status-badge { font-size: 0.52rem; padding: 0.3rem 0.75rem; }
  .section-title { font-size: 1.9rem; }
  .container { padding: 0 1.25rem; }
  .nav-container { padding: 0 1.25rem; }
  .hero-inner { padding: 2rem 1.25rem; }
  .stat-number { font-size: 2.4rem; }
  .quote-card { padding: 2rem 1.5rem; }
  .quote-text { font-size: 1.2rem; }
  .why-statement { font-size: 1.8rem; }
  .section-pad { padding: 4rem 0; }
  .holo-cards-grid { grid-template-columns: 1fr; }
  .decoder-grid    { grid-template-columns: 1fr; }
  .radar-wrap { flex-direction: column; }
  .radar-canvas { width: 100%; height: auto; max-width: 340px; }
  .radar-center-info { min-height: auto; width: 100%; }
  .neural-canvas { height: 280px; }
  .cap-block { margin-bottom: 3rem; padding-bottom: 3rem; }
  .footer-nav { gap: 1.25rem; }
  .contact-links { flex-direction: column; align-items: center; gap: 1.25rem; }
}

/* ═══════════════════════════════════════════════
   WORLD MAP
═══════════════════════════════════════════════ */
.world-map-section {
  background: var(--navy-deep);
  padding: 5rem 0 0;
  position: relative; overflow: hidden;
}
.wm-header { text-align: center; padding: 0 2rem 3rem; }
.wm-sub { color: var(--grey); font-size: 0.9rem; margin-top: 0.5rem; }
.wm-stage {
  position: relative; width: 100%;
  max-width: 1200px; margin: 0 auto;
}
.wm-canvas {
  width: 100%; height: auto;
  display: block;
}
.wm-cities { position: absolute; inset: 0; pointer-events: none; }
.wm-city-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
}
.wm-city-dot-inner {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  position: relative; z-index: 2;
  transition: transform 0.2s;
}
.wm-city-dot:hover .wm-city-dot-inner { transform: scale(1.6); }
.wm-city-dot.source .wm-city-dot-inner {
  background: var(--gold); box-shadow: 0 0 16px var(--gold);
  width: 14px; height: 14px;
}
.wm-city-ping {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid var(--teal); opacity: 0;
  animation: cityPing 2.5s ease-out infinite;
}
.wm-city-dot.source .wm-city-ping { border-color: var(--gold); }
@keyframes cityPing {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(3);   opacity: 0; }
}
.wm-city-label {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); white-space: nowrap; pointer-events: none;
  background: rgba(255,255,255,0.85); padding: 1px 5px;
  border-radius: 2px;
}
html[data-theme="dark"] .wm-city-label { background: rgba(7,28,56,0.85); }

.wm-hud-tl, .wm-hud-tr {
  position: absolute; top: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); opacity: 0.7;
  display: flex; align-items: center; gap: 0.5rem;
}
.wm-hud-tl { left: 1.5rem; }
.wm-hud-tr { right: 1.5rem; }
.wm-hud-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 6px var(--gold);
  animation: statusPulse 1.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════
   HERO — MISSING ELEMENTS
═══════════════════════════════════════════════ */
.hero-grid-overlay {
  display: none;
}
.hero-beam {
  position: absolute; top: 0; width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(10,46,93,0.35), transparent);
  z-index: 0; pointer-events: none;
  animation: beamPulse 4s ease-in-out infinite;
}
.hero-beam-l { left: 25%; }
.hero-beam-r { right: 25%; animation-delay: -2s; }
@keyframes beamPulse { 0%,100%{opacity:0.3} 50%{opacity:0.8} }

.hero-status-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 1.2rem;
  border: 1px solid rgba(10,46,93,0.25);
  padding: 0.35rem 1rem; background: rgba(10,46,93,0.05);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 6px rgba(10,46,93,0.6);
  animation: statusPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes statusPulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.gradient-text-anim {
  background: linear-gradient(120deg, #071C38 0%, #0A2E5D 50%, #071C38 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}
html[data-theme="dark"] .gradient-text-anim {
  background: linear-gradient(120deg, var(--teal) 0%, #4dd8da 40%, var(--teal-light) 70%, #b0f0f1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes gradientShift { to { background-position: 200% center; } }

.hero-metrics {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; margin-bottom: 2.25rem; flex-wrap: wrap;
}
.hm-item { text-align: center; }
.hm-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 300; line-height: 1;
  color: var(--cream); letter-spacing: -0.02em;
}
.hm-plus { font-size: 1.1rem; color: var(--teal); }
.hm-key {
  display: block; font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--grey); margin-top: 0.25rem;
}
.hm-sep {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  opacity: 0.3; flex-shrink: 0;
}
.hero-ctas { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }

/* ═══════════════════════════════════════════════
   CAPABILITIES SHOWCASE WRAPPER
═══════════════════════════════════════════════ */
.cap-showcase { padding: 6rem 0; background: var(--navy-deep); }
.cap-showcase-hdr { text-align: center; margin-bottom: 5rem; }
.cap-showcase-sub { color: var(--grey); font-size: 0.9rem; margin-top: 0.5rem; }

.cap-block {
  margin-bottom: 6rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border-teal);
}
.cap-block:last-child { border-bottom: none; margin-bottom: 0; }
.cap-block-label {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.5rem;
}
.cap-opt-badge {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em;
  flex-shrink: 0;
}
.cap-opt-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400;
  color: var(--cream); letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════
   OPTION A — NEURAL PULSE NETWORK
═══════════════════════════════════════════════ */
.cap-a-wrap {
  position: relative;
  display: flex; gap: 2rem; align-items: flex-start;
  flex-wrap: wrap; justify-content: center;
}
.neural-canvas {
  width: 560px; height: 420px;
  max-width: 100%;
  border: 1px solid var(--border-teal);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}
.neural-detail-panel {
  width: 300px; flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border-teal);
  padding: 2rem 1.75rem;
  position: relative;
  opacity: 0; transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 30px rgba(15,168,170,0.1);
}
.neural-detail-panel.open {
  opacity: 1; transform: translateX(0); pointer-events: auto;
}
.neural-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  font-size: 0.7rem; color: var(--grey); cursor: pointer;
  background: none; border: none;
  transition: color var(--transition);
}
.neural-close:hover { color: var(--teal); }
.ndp-tag {
  font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(15,168,170,0.35);
  display: inline-block; padding: 0.2rem 0.65rem; margin-bottom: 0.85rem;
}
.ndp-title {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.75rem; line-height: 1.25;
}
.ndp-desc { font-size: 0.82rem; color: var(--grey); line-height: 1.7; margin-bottom: 1rem; }
.ndp-bullets { list-style: none; margin-bottom: 1.25rem; }
.ndp-bullets li {
  font-size: 0.78rem; color: var(--grey); padding: 0.28rem 0 0.28rem 1rem;
  position: relative; border-bottom: 1px solid rgba(15,168,170,0.08);
}
.ndp-bullets li::before { content:'›'; position:absolute; left:0; color:var(--teal); }

/* ═══════════════════════════════════════════════
   OPTION B — HOLOGRAPHIC TERMINAL
═══════════════════════════════════════════════ */
.terminal-wrap { max-width: 720px; margin: 0 auto; }
.terminal-chrome {
  border-radius: 10px 10px 6px 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,168,170,0.18), 0 0 0 1px rgba(15,168,170,0.25);
}
.terminal-titlebar {
  background: #1a2433;
  padding: 0.65rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.tc-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.tc-dot.tc-red    { background: #ff5f57; }
.tc-dot.tc-yellow { background: #febc2e; }
.tc-dot.tc-green  { background: #28c840; }
.tc-title {
  margin-left: auto; font-size: 0.62rem; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35); font-family: 'Courier New', monospace;
}
.terminal-body {
  background: #0d1520;
  padding: 1.5rem;
  min-height: 340px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: rgba(46,196,198,0.9);
  line-height: 1.7;
}
.term-line { display: block; }
.term-prompt { color: rgba(46,196,198,0.5); }
.term-system { color: rgba(46,196,198,0.6); }
.term-blank  { height: 0.5rem; }
.term-cursor {
  display: inline-block;
  animation: termBlink 1s step-end infinite;
}
@keyframes termBlink { 0%,100%{opacity:1} 50%{opacity:0} }

.term-menu { margin-top: 0.5rem; }
.term-cmd {
  display: block; width: 100%;
  background: none; border: none;
  font-family: inherit; font-size: 0.82rem;
  color: rgba(123,228,230,0.85);
  text-align: left; cursor: pointer; padding: 0.2rem 0;
  transition: color 0.2s, letter-spacing 0.2s;
  letter-spacing: 0.01em;
}
.term-cmd::before { content: '> '; color: rgba(46,196,198,0.4); }
.term-cmd:hover { color: #fff; letter-spacing: 0.04em; }
.term-cmd.active { color: #fff; }
.term-output {
  margin-top: 1rem;
  border-top: 1px solid rgba(46,196,198,0.15);
  padding-top: 1rem;
  color: rgba(200,245,245,0.85);
  font-size: 0.8rem;
}
.term-out-title { color: #7be4e6; font-size: 0.88rem; margin-bottom: 0.4rem; display: block; }
.term-out-desc  { color: rgba(180,230,230,0.7); margin-bottom: 0.6rem; display: block; }
.term-out-item  { display: block; padding-left: 0.8rem; color: rgba(150,210,210,0.65); }
.term-out-item::before { content: '— '; }
.term-enquire {
  display: inline-block; margin-top: 1rem;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(46,196,198,0.4);
  padding: 0.5rem 1.2rem; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.term-enquire:hover { background: var(--teal); color: #0d1520; }

/* ═══════════════════════════════════════════════
   OPTION C — ORBITAL RADAR HUD
═══════════════════════════════════════════════ */
.radar-wrap {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  align-items: flex-start; justify-content: center;
}
.radar-canvas {
  width: 420px; height: 420px; max-width: 100%;
  flex-shrink: 0;
}
.radar-center-info {
  width: 300px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}
.rci-default { text-align: center; }
.rci-ring {
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid rgba(15,168,170,0.3);
  margin: 0 auto 1rem;
  animation: rciSpin 8s linear infinite;
  position: relative;
}
.rci-ring::after {
  content: '';
  position: absolute; top: 50%; left: -1px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  transform: translateY(-50%);
}
@keyframes rciSpin { from{transform:rotate(0)} to{transform:rotate(360deg)} }
.rci-hint {
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey);
}
.rci-content { width: 100%; }
.rci-tag {
  font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(15,168,170,0.35);
  display: inline-block; padding: 0.2rem 0.65rem; margin-bottom: 1rem;
}
.rci-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.75rem; line-height: 1.25;
}
.rci-desc { font-size: 0.82rem; color: var(--grey); line-height: 1.7; margin-bottom: 1rem; }
.rci-back {
  background: none; border: none; cursor: pointer;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); padding: 0;
  transition: letter-spacing var(--transition);
}
.rci-back:hover { letter-spacing: 0.2em; }
.radar-corners { position: absolute; inset: 0; pointer-events: none; }
.rc {
  position: absolute; width: 16px; height: 16px;
  border-color: var(--teal); border-style: solid; opacity: 0.4;
}
.rc-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.rc-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.rc-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.rc-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

/* ═══════════════════════════════════════════════
   OPTION D — 3D HOLOGRAPHIC TILT CARDS
═══════════════════════════════════════════════ */
.holo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  perspective: 1200px;
}
.holo-card-wrap {
  height: 220px;
  perspective: 800px;
  cursor: pointer;
}
.holo-card-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.holo-card-wrap.flipped .holo-card-inner { transform: rotateY(180deg); }

.holo-card-front,
.holo-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(15,168,170,0.3);
  border-radius: 2px;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.holo-card-front {
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(224,245,245,0.85) 100%);
  box-shadow: 0 4px 24px rgba(15,168,170,0.1);
  transition: box-shadow 0.3s;
}
.holo-card-wrap:hover .holo-card-front {
  box-shadow: 0 8px 40px rgba(15,168,170,0.25), 0 0 0 1px rgba(15,168,170,0.4);
}
.holo-card-back {
  background: linear-gradient(135deg, rgba(10,168,170,0.08) 0%, rgba(255,255,255,0.96) 100%);
  transform: rotateY(180deg);
  align-items: flex-start; text-align: left;
  justify-content: flex-start;
  padding: 1.5rem;
}
/* Scan line on front */
.holo-card-front::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, rgba(15,168,170,0.6), transparent);
  animation: cardScan 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cardScan {
  0%   { top: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.holo-front-icon {
  width: 40px; height: 40px; color: var(--teal);
  margin-bottom: 0.85rem;
}
.holo-front-icon svg { width: 100%; height: 100%; }
.holo-front-label {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 400;
  color: var(--cream); line-height: 1.2; margin-bottom: 0.3rem;
}
.holo-front-tag {
  font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); opacity: 0.7;
}
.holo-back-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 400;
  color: var(--cream); margin-bottom: 0.65rem; line-height: 1.2;
}
.holo-back-list {
  list-style: none; margin-bottom: 1rem; flex: 1;
}
.holo-back-list li {
  font-size: 0.75rem; color: var(--grey); padding: 0.2rem 0 0.2rem 0.85rem;
  position: relative; line-height: 1.4;
}
.holo-back-list li::before { content:'›'; position:absolute; left:0; color:var(--teal); }
.holo-back-cta {
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(15,168,170,0.4);
  padding: 0.4rem 0.9rem; text-decoration: none;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}
.holo-back-cta:hover { background: var(--teal); color: #fff; }

/* ═══════════════════════════════════════════════
   OPTION E — SIGNAL DECODER
═══════════════════════════════════════════════ */
.decoder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-teal);
  border: 1px solid var(--border-teal);
}
.decoder-tile {
  background: #fff;
  padding: 2.5rem 1.75rem;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: background 0.3s;
  display: flex; flex-direction: column; gap: 0.85rem;
  min-height: 200px; justify-content: center;
}
.decoder-tile:hover { background: rgba(224,248,248,0.9); }
.decoder-tile.decoded { background: rgba(210,245,245,0.7); }

.decoder-noise {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem; letter-spacing: 0.12em;
  color: rgba(15,168,170,0.35); line-height: 1.5;
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; padding: 1.5rem;
  transition: opacity 0.4s;
}
.decoder-tile.decoded .decoder-noise { opacity: 0; }
.decoder-tile.decoded .decoder-content { opacity: 1; }

.decoder-content {
  opacity: 0; transition: opacity 0.4s 0.15s;
  display: flex; flex-direction: column; gap: 0.6rem;
  position: relative; z-index: 1;
}
.dc-icon { width: 32px; height: 32px; color: var(--teal); }
.dc-icon svg { width: 100%; height: 100%; }
.dc-title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 400;
  color: var(--cream); line-height: 1.2;
}
.dc-tag {
  font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal);
}
.dc-link {
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); text-decoration: none; margin-top: 0.25rem;
  transition: letter-spacing 0.2s;
}
.dc-link:hover { letter-spacing: 0.22em; }

/* Scan bar on decode */
.decoder-tile::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(15,168,170,0.08) 50%, transparent 100%);
  top: -100%; transition: top 0.5s ease;
  pointer-events: none;
}
.decoder-tile.decoding::after { top: 100%; }

@media (max-width: 768px) {
  .holo-cards-grid { grid-template-columns: repeat(2,1fr); }
  .decoder-grid    { grid-template-columns: repeat(2,1fr); }
  .cap-a-wrap      { flex-direction: column; align-items: center; }
  .neural-detail-panel { width: 100%; max-width: 560px; transform: translateY(10px); }
  .neural-detail-panel.open { transform: translateY(0); }
}
@media (max-width: 480px) {
  .holo-cards-grid { grid-template-columns: 1fr; }
  .decoder-grid    { grid-template-columns: 1fr; }
}
