/* =====================================================================
   RA Solutions — Modern Design System 2026
   Palette: #060810 bg · #0d9488 teal · #d97706 amber
   Fonts:   Bricolage Grotesque (display) · DM Sans (body)
   ===================================================================== */

/* ── Variables ──────────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg:       #060810;
  --bg-alt:   #09091a;
  --card:     rgba(255,255,255,.030);
  --card-h:   rgba(255,255,255,.056);

  /* Accent — Electric Teal + Molten Amber */
  --v:        #0d9488;        /* teal */
  --c:        #d97706;        /* amber */
  --v-soft:   rgba(13,148,136,.15);
  --v-glow:   rgba(13,148,136,.4);
  --c-glow:   rgba(217,119,6,.28);
  --grad:     linear-gradient(135deg,#0d9488 0%,#d97706 100%);
  --grad-t:   linear-gradient(135deg,#2dd4bf 0%,#fbbf24 100%);

  /* Border */
  --b1: rgba(255,255,255,.065);
  --b2: rgba(255,255,255,.11);
  --b3: rgba(255,255,255,.17);

  /* Text */
  --t1: #f0fafa;
  --t2: #94a3b8;
  --t3: #4a5e68;

  /* Shadows */
  --sh-m: 0 4px 24px rgba(0,0,0,.5);
  --sh-l: 0 8px 48px rgba(0,0,0,.62);
  --sh-v: 0 8px 40px rgba(13,148,136,.35);

  /* Geometry */
  --r-s:   8px;
  --r-m:   12px;
  --r-l:   16px;
  --r-xl:  22px;
  --r-2xl: 28px;
  --max-w: 1200px;

  /* Motion */
  --ease:  cubic-bezier(.16,1,.3,1);
  --fast:  .2s;
  --med:   .32s;

  /* Typography */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body:    'DM Sans', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--t1);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(13,148,136,.5); border-radius: 99px; }

/* ── Grain texture ──────────────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 120px 120px;
}

/* ── Container ──────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Typography ─────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--t1);
}

/* Gradient text utility */
.g-text {
  background: var(--grad-t);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* Section title */
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  background: var(--grad-t);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-sub {
  font-size: 1rem;
  color: var(--t2);
  line-height: 1.7;
  max-width: 560px;
}
.section-sub-dim { color: rgba(255,255,255,.48); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .section-sub { margin: 0 auto; }

/* ── Chip / Badge ───────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #2dd4bf;
  background: rgba(13,148,136,.12);
  border: 1px solid rgba(13,148,136,.25);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.chip::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--v);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--v-glow);
  flex-shrink: 0;
}
.chip-outline {
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}
.chip-outline::before { background: var(--c); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 15px 30px; font-size: .95rem; }
.btn-full { width: 100%; justify-content: center; }

/* Gradient primary */
.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px var(--v-glow);
}
.btn-grad:hover {
  box-shadow: 0 6px 32px rgba(13,148,136,.5), 0 3px 16px rgba(217,119,6,.2);
  transform: translateY(-2px) scale(1.01);
}

/* Ghost */
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--t1);
  border: 1px solid var(--b2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--b3);
  transform: translateY(-2px);
}

/* White (on dark bg) */
.btn-white {
  background: #fff;
  color: #0a0a14;
  font-weight: 700;
}
.btn-white:hover {
  background: #ccfbf1;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

/* ── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 0;
  transition:
    background var(--med) var(--ease),
    box-shadow  var(--med) var(--ease),
    border-color var(--med) var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10,10,16,.82);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom-color: var(--b1);
  box-shadow: 0 1px 0 var(--b1), 0 12px 40px rgba(0,0,0,.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.025em;
}
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  display: block;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--t2);
  padding: 7px 15px;
  border-radius: var(--r-m);
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--t1);
  background: rgba(255,255,255,.07);
}

/* Nav end */
.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--t1);
  border-radius: 2px;
  transition: all .25s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.7px,4.7px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.7px,-4.7px); }

/* ── Section wrapper ────────────────────────────────────────────────── */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); }

/* ── Reveal animation ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Keyframes ──────────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin    { 100% { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-28px); } }
@keyframes pulse-d { 0%,100% { opacity: .7; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 6px rgba(217,119,6,.8); }
  50%     { box-shadow: 0 0 20px rgba(217,119,6,1); }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Background */
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  animation: float 14s ease-in-out infinite;
  pointer-events: none;
}
.blob-1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(13,148,136,.22) 0%, transparent 65%);
  top: -240px; right: -140px;
  animation-delay: 0s;
}
.blob-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(217,119,6,.18) 0%, transparent 65%);
  bottom: -140px; left: -100px;
  animation-delay: -7s;
}
.blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 65%);
  top: 45%; left: 38%;
  transform: translate(-50%,-50%);
  animation-delay: -3.5s;
}
.dot-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,148,136,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 82% 82% at 50% 50%, black, transparent);
  mask-image:         radial-gradient(ellipse 82% 82% at 50% 50%, black, transparent);
}

/* Hero layout */
.hero .container.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  margin-bottom: 26px;
  animation: fade-up .7s var(--ease) both;
  backdrop-filter: blur(10px);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--c);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c);
  animation: dot-pulse 2.2s ease infinite;
  flex-shrink: 0;
}

/* Hero title */
.hero-title {
  font-size: clamp(2.8rem, 5.8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.03;
  color: var(--t1);
  margin-bottom: 22px;
  animation: fade-up .7s var(--ease) .1s both;
}

/* Hero sub */
.hero-sub {
  font-size: 1.05rem;
  color: var(--t2);
  line-height: 1.72;
  max-width: 490px;
  margin-bottom: 38px;
  animation: fade-up .7s var(--ease) .2s both;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fade-up .7s var(--ease) .3s both;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--b1);
  animation: fade-up .7s var(--ease) .4s both;
}
.hstat-val {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad-t);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat-lbl {
  display: block;
  font-size: .72rem;
  color: var(--t3);
  margin-top: 3px;
  letter-spacing: .01em;
}
.hstat-sep {
  width: 1px; height: 34px;
  background: var(--b2);
  flex-shrink: 0;
}

/* ── Hero Visual / Orbit ────────────────────────────────────────────── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-up .8s var(--ease) .25s both;
}
.viz {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 1;
}
.viz-glow {
  position: absolute; inset: -15%;
  background: radial-gradient(circle, rgba(13,148,136,.22) 0%, transparent 65%);
  border-radius: 50%;
  animation: pulse-d 3.5s ease-in-out infinite;
}
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid;
}
.orbit-1 {
  width: 240px; height: 240px;
  border-color: rgba(13,148,136,.28);
  animation: spin 26s linear infinite;
}
.orbit-2 {
  width: 370px; height: 370px;
  border-color: rgba(217,119,6,.18);
  border-style: dashed;
  animation: spin 38s linear infinite reverse;
}
.viz-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 86px; height: 86px;
  background: var(--grad);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 56px rgba(13,148,136,.55), 0 0 120px rgba(217,119,6,.22);
  z-index: 3;
}
.viz-core svg { width: 38px; height: 38px; color: #fff; }

/* Nodes */
.vnode {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  z-index: 4;
}
.vnode-icon {
  width: 50px; height: 50px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--b2);
  border-radius: var(--r-m);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  color: var(--nc, var(--t1));
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.vnode-icon svg { width: 22px; height: 22px; }
.vnode-icon:hover { transform: scale(1.12); box-shadow: 0 6px 24px var(--v-glow); }
.vnode span {
  font-size: .58rem;
  font-weight: 600;
  color: var(--t3);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.vn-top    { top: 3%; left: 50%; transform: translateX(-50%); }
.vn-right  { top: 50%; right: 0; transform: translateY(-50%); }
.vn-bottom { bottom: 3%; left: 50%; transform: translateX(-50%); }
.vn-left   { top: 50%; left: 0; transform: translateY(-50%); }

/* ═══════════════════════════════════════════════════════════════════════
   SERVICES — BENTO GRID
   ═══════════════════════════════════════════════════════════════════════ */
.services { background: var(--bg-alt); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Card base */
.bcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: background var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              transform var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease);
  cursor: default;
}
.bcard:hover {
  background: var(--card-h);
  border-color: rgba(13,148,136,.2);
  transform: translateY(-3px);
  box-shadow: var(--sh-m), 0 0 30px rgba(13,148,136,.08);
}

/* Top gradient accent line on hover */
.bcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}
.bcard:hover::before { opacity: 1; }

/* Shine sweep effect */
.bcard-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.04) 50%, transparent 60%);
  transition: left .55s ease;
  pointer-events: none;
}
.bcard:hover .bcard-shine { left: 130%; }

/* Accent variant */
.bcard-accent {
  background: linear-gradient(135deg, rgba(13,148,136,.12) 0%, rgba(217,119,6,.06) 100%);
  border-color: rgba(13,148,136,.26);
  box-shadow: 0 0 32px rgba(13,148,136,.06);
}
.bcard-accent:hover { border-color: rgba(13,148,136,.45); box-shadow: 0 0 44px rgba(13,148,136,.13); }
.bcard-accent::before { opacity: .75; }

/* Wide = 2 cols */
.bcard-wide { grid-column: span 2; }

/* Icon */
.bcard-icon {
  width: 52px; height: 52px;
  background: rgba(13,148,136,.12);
  border: 1px solid rgba(13,148,136,.26);
  border-radius: var(--r-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd4bf;
  flex-shrink: 0;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.bcard-icon svg { width: 24px; height: 24px; }
.bcard:hover .bcard-icon {
  background: rgba(13,148,136,.22);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 22px rgba(13,148,136,.35);
}

/* Body */
.bcard-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--t1);
}
.bcard-body p {
  font-size: .9rem;
  color: var(--t2);
  line-height: 1.65;
}

/* Pill tag */
.bcard-pill {
  display: inline-flex;
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(217,119,6,.1);
  border: 1px solid rgba(217,119,6,.28);
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   INTEGRATION SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Feature list */
.feat-list { display: grid; gap: 20px; margin-top: 36px; }
.feat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feat-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.26);
  border-radius: var(--r-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd4bf;
  transition: background var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.feat-icon svg { width: 18px; height: 18px; }
.feat-item:hover .feat-icon { background: rgba(13,148,136,.2); box-shadow: 0 0 16px rgba(13,148,136,.28); }
.feat-item h4 {
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  color: var(--t1);
}
.feat-item p { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ── Hub diagram (integration visual) ──────────────────────────────── */
.split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-diagram {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
}
.hd-glow {
  position: absolute; inset: -10%;
  background: radial-gradient(circle, rgba(13,148,136,.26) 0%, transparent 65%);
  border-radius: 50%;
  animation: pulse-d 4s ease-in-out infinite;
}
.hd-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px solid;
}
.hd-r1 { width: 190px; height: 190px; border-color: rgba(13,148,136,.3); }
.hd-r2 { width: 310px; height: 310px; border-color: rgba(217,119,6,.2); border-style: dashed; animation: spin 32s linear infinite; }
.hd-r3 { width: 420px; height: 420px; border-color: rgba(255,255,255,.04); }

.hd-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 108px; height: 108px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 72px rgba(13,148,136,.55), 0 0 140px rgba(217,119,6,.2);
  z-index: 3;
}
.hd-center svg { width: 32px; height: 32px; color: #fff; }
.hd-center span { font-size: .58rem; font-weight: 700; color: rgba(255,255,255,.8); margin-top: 4px; letter-spacing: .08em; text-transform: uppercase; }

.hd-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
}
.hd-ni {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  background: color-mix(in srgb, var(--c, #0d9488) 12%, transparent);
  border-color: color-mix(in srgb, var(--c, #0d9488) 30%, transparent);
  color: var(--c, #0d9488);
  transition: transform var(--fast) var(--ease);
}
.hd-ni svg { width: 24px; height: 24px; }
.hd-node:hover .hd-ni { transform: scale(1.12); }
.hd-node span { font-size: .6rem; font-weight: 600; color: var(--t3); white-space: nowrap; text-align: center; }

.hd-pos-top    { top: 2%; left: 50%; transform: translateX(-50%); }
.hd-pos-right  { top: 50%; right: 0; transform: translateY(-50%); }
.hd-pos-bottom { bottom: 2%; left: 50%; transform: translateX(-50%); }
.hd-pos-left   { top: 50%; left: 0; transform: translateY(-50%); }
.hd-pos-tr     { top: 16%; right: 5%; }
.hd-pos-bl     { bottom: 16%; left: 5%; }

/* ═══════════════════════════════════════════════════════════════════════
   FEATURES STRIP
   ═══════════════════════════════════════════════════════════════════════ */
.features { background: var(--bg); }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fcard {
  background: var(--card);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              transform var(--fast) var(--ease);
}
.fcard:hover {
  background: var(--card-h);
  border-color: var(--b2);
  transform: translateY(-4px);
  box-shadow: var(--sh-m);
}
.fcard-icon {
  width: 60px; height: 60px;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd4bf;
  margin: 0 auto 20px;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.fcard-icon svg { width: 26px; height: 26px; }
.fcard:hover .fcard-icon { background: rgba(13,148,136,.22); transform: scale(1.1) rotate(-5deg); box-shadow: 0 0 24px rgba(13,148,136,.38); }
.fcard h4 { font-size: .97rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; }
.fcard p  { font-size: .875rem; color: var(--t2); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Pillars */
.pillars { display: grid; gap: 18px; margin-top: 36px; }
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--b1);
  border-radius: var(--r-l);
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.pillar:hover { background: rgba(255,255,255,.055); border-color: var(--b2); }
.pillar-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.26);
  border-radius: var(--r-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd4bf;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h4 { font-size: .95rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.pillar p  { font-size: .87rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* About numbered cards */
.about-cards { display: grid; gap: 12px; }
.acard {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--b1);
  border-radius: var(--r-l);
  transition: background var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              transform var(--fast) var(--ease);
}
.acard:hover {
  background: rgba(255,255,255,.058);
  border-color: var(--b2);
  transform: translateX(4px);
}
.acard-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
}
.acard h4 { font-size: .95rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 5px; }
.acard p  { font-size: .87rem; color: rgba(255,255,255,.48); line-height: 1.58; }

/* ═══════════════════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--bg);
}
.cta-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.cta-blob-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(13,148,136,.3) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.cta-blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(217,119,6,.2) 0%, transparent 65%);
  top: 15%; right: 8%;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.55);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Gradient border glow around the CTA section */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13,148,136,.09) 0%,
    transparent 35%,
    transparent 65%,
    rgba(217,119,6,.07) 100%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════════ */
.contact { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 14px; }
.contact-info .section-sub { margin-bottom: 36px; }

.cinfo-item {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.cinfo-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.26);
  border-radius: var(--r-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd4bf;
}
.cinfo-icon svg { width: 20px; height: 20px; }
.cinfo-item h5 { font-size: .88rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 3px; }
.cinfo-item p  { font-size: .88rem; color: var(--t2); }
.cinfo-item a  { font-size: .9rem; color: #2dd4bf; font-weight: 500; transition: color var(--fast) var(--ease); }
.cinfo-item a:hover { color: #99f6e4; }

/* Form wrapper */
.contact-form-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--b1);
  border-radius: var(--r-2xl);
  padding: 36px;
}

/* Form fields */
.cform { display: grid; gap: 18px; }
.cfield { display: flex; flex-direction: column; gap: 7px; }
.cfield label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--t2);
  letter-spacing: .03em;
}
.cfield input,
.cfield textarea {
  font-family: var(--body);
  font-size: .95rem;
  color: var(--t1);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--b2);
  border-radius: var(--r-m);
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--fast) var(--ease),
              background    var(--fast) var(--ease),
              box-shadow    var(--fast) var(--ease);
  -webkit-appearance: none;
}
.cfield input::placeholder,
.cfield textarea::placeholder { color: var(--t3); }
.cfield input:focus,
.cfield textarea:focus {
  border-color: var(--v);
  background: rgba(13,148,136,.06);
  box-shadow: 0 0 0 3px rgba(13,148,136,.2);
}
.cfield textarea { resize: vertical; min-height: 130px; }

/* Form status */
.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: var(--r-m);
  font-size: .88rem;
  font-weight: 500;
  border: 1px solid;
}
.form-status.success { display: block; background: rgba(13,148,136,.08); color: #2dd4bf; border-color: rgba(13,148,136,.28); }
.form-status.error   { display: block; background: rgba(239,68,68,.07); color: #fca5a5; border-color: rgba(239,68,68,.25); }

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.footer {
  background: #04040d;
  padding: 60px 0 0;
  border-top: none;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(13,148,136,.55) 35%, rgba(217,119,6,.55) 65%, transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--b1);
}
.footer-brand { max-width: 240px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.footer-brand p { font-size: .85rem; color: var(--t3); line-height: 1.65; }

.footer-col h5 {
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 18px;
  font-family: var(--body);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.48);
  transition: color var(--fast) var(--ease);
}
.footer-col ul a:hover { color: var(--t1); }

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: .78rem;
  color: var(--t3);
  letter-spacing: .01em;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container.hero-layout { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-sub { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .bento { grid-template-columns: 1fr 1fr; }
  .bcard-wide { grid-column: span 2; }

  .split-grid { grid-template-columns: 1fr; }
  .split-visual { display: none; }

  .feat-grid { grid-template-columns: 1fr 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  /* Mobile nav */
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: 280px;
    height: 100vh;
    background: rgba(10,10,16,.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 28px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--med) var(--ease);
    border-left: 1px solid var(--b1);
    z-index: 200;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-link { display: block; padding: 12px 16px; border-radius: var(--r-m); font-size: 1rem; }

  .hamburger { display: flex; }
  .nav-end .btn-sm { display: none; }

  .bento { grid-template-columns: 1fr; }
  .bcard-wide { grid-column: span 1; }

  .feat-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { max-width: 100%; }

  .hero-title { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .hstat-sep  { width: 40px; height: 1px; }

  .contact-form-wrap { padding: 24px 18px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 2rem; }
  .hero-cta   { flex-direction: column; align-items: stretch; }
  .btn        { justify-content: center; }
  .feat-grid  { grid-template-columns: 1fr; }
  .bento      { grid-template-columns: 1fr; }
}

/* ── Utility ─────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   VISUAL ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Top accent bar ─────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0d9488 0%, #fbbf24 50%, #0d9488 100%);
  background-size: 200% 100%;
  animation: gradient-shift 5s ease infinite;
  z-index: 9998;
  pointer-events: none;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ── Section head decoration ────────────────────────────────────────── */
.section-head::before {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--grad);
  border-radius: 99px;
  margin: 0 auto 22px;
}

/* ── Ticker strip ───────────────────────────────────────────────────── */
.ticker-strip {
  position: relative;
  background: rgba(13,148,136,.055);
  border-top:    1px solid rgba(13,148,136,.14);
  border-bottom: 1px solid rgba(13,148,136,.14);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker-strip::before { left: 0;  background: linear-gradient(90deg,  var(--bg) 0%, transparent 100%); }
.ticker-strip::after  { right: 0; background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%); }

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  white-space: nowrap;
}
.ticker-item .t-dot {
  width: 4px; height: 4px;
  background: var(--v);
  border-radius: 50%;
  opacity: .85;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--v-glow);
}
.ticker-item .t-dot-amber {
  background: var(--c);
  box-shadow: 0 0 6px var(--c-glow);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Gradient rule between sections ────────────────────────────────── */
.grad-rule {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(13,148,136,.35) 30%, rgba(217,119,6,.35) 70%, transparent 100%);
  border: none;
}

/* ── Enhanced section-alt ───────────────────────────────────────────── */
.section-alt {
  background: var(--bg-alt);
  position: relative;
}
.section-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,.2) 40%, rgba(217,119,6,.2) 60%, transparent);
}
.section-alt::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,.2) 40%, rgba(217,119,6,.2) 60%, transparent);
}

/* ── Enhanced fcard hover border ────────────────────────────────────── */
.fcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}
.fcard { position: relative; overflow: hidden; }
.fcard:hover::before { opacity: 1; }
.fcard:hover { box-shadow: 0 8px 40px rgba(13,148,136,.12); }

/* ── Eyebrow line ───────────────────────────────────────────────────── */
.eyebrow-line {
  display: block;
  width: 32px; height: 2px;
  background: var(--c);
  border-radius: 99px;
  margin-bottom: 18px;
  opacity: .8;
}

/* ── Number accent variant for acard ────────────────────────────────── */
.acard:nth-child(even) .acard-num {
  background: linear-gradient(135deg, #d97706 0%, #0d9488 100%);
}

/* ── Enhanced acard hover ───────────────────────────────────────────── */
.acard:hover {
  border-color: rgba(13,148,136,.22);
  box-shadow: -3px 0 0 var(--v), 0 4px 24px rgba(0,0,0,.3);
}

/* ── Pillar hover enhancement ───────────────────────────────────────── */
.pillar:hover {
  border-color: rgba(13,148,136,.2);
  box-shadow: inset 0 0 0 0 transparent, 0 4px 20px rgba(0,0,0,.25);
}

/* ── CTA section extra decoration ──────────────────────────────────── */
.cta-inner h2 {
  background: var(--grad-t);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Footer column heading underline ────────────────────────────────── */
.footer-col h5::after {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 99px;
  margin-top: 6px;
}

/* ── Footer link hover color ────────────────────────────────────────── */
.footer-col ul a:hover { color: #2dd4bf; }

/* ── Logo image: subtle scale on hover ──────────────────────────────── */
.nav-logo:hover .logo-img {
  opacity: 0.85;
  transform: scale(1.04);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ── Navbar active link: teal underline dot ─────────────────────────── */
.nav-link.active {
  color: var(--t1);
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.16);
}

/* ── Hero title first line accent ───────────────────────────────────── */
.hero-eyebrow-tag {
  display: inline-block;
  width: 40px; height: 2px;
  background: var(--c);
  border-radius: 99px;
  vertical-align: middle;
  margin-right: 10px;
}

/* ── Improved scroll reveal stagger ────────────────────────────────── */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Glow pulse for hero core ───────────────────────────────────────── */
@keyframes teal-pulse {
  0%, 100% { box-shadow: 0 0 56px rgba(13,148,136,.55), 0 0 120px rgba(217,119,6,.22); }
  50%       { box-shadow: 0 0 80px rgba(13,148,136,.75), 0 0 160px rgba(217,119,6,.35); }
}
.viz-core {
  animation: teal-pulse 4s ease-in-out infinite;
}

/* ── Responsive: ticker ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ticker-item { padding: 0 24px; font-size: .68rem; }
}
@media (max-width: 520px) {
  .ticker-strip { display: none; }
}