/* ============================================
   YAVAR — Blue palette recreation
   Mirrors yavar.ai layout: left-aligned hero with 3D
   object on the right, floating stats card,
   platform cards with floating icon tile, orbital
   integrations visual, swiper-like Z-Grid, big
   industry cards, double marquee, dark CTA banner.
   ============================================ */

:root {
  /* Blue palette (replaces yavar's magenta/purple gradients) */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-950: #0b1437;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;

  /* Background system (mirrors quaternary-950 #070519 → blue equivalent) */
  --bg-deep:   #04081f;
  --bg-base:   #050b22;
  --bg-card:   linear-gradient(180deg, rgba(63,84,153,0.40), rgba(19,30,73,0.40));
  --bg-card-hover: linear-gradient(180deg, rgba(63,84,153,0.40), rgba(99,140,253,0.28));

  --border:    rgba(147, 197, 253, 0.18);
  --border-strong: rgba(96, 165, 250, 0.42);

  --text:        #e8eeff;
  --text-soft:   #b9c4e6;
  --text-muted:  #8493bd;
  --text-dim:    #6577a8;

  /* Yavar-style gradient text replacement: blue → cyan → deep navy */
  --grad-text:    linear-gradient(84deg, #93c5fd 4.57%, #56acff 50%, #1d4ed8 95.56%);
  --grad-platform: linear-gradient(84deg, #67e8f9 4.57%, #3b82f6 95.56%);
  --grad-stat:    linear-gradient(84deg, #56acff 0%, #1d4ed8 50%, #0b1437 100%);
  --grad-cta:     linear-gradient(84deg, #07102e 4.57%, #1d4ed8, #0a1230 95.56%);
  --grad-icon-bg: linear-gradient(135deg, #60a5fa, #1d4ed8);
  --grad-icon-glow: linear-gradient(135deg, #93c5fd, #1e40af);

  --shiny-stroke: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.65) 49%, transparent 100%);

  --container: 1440px;
  --content:   1280px;

  --radius: 20px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.55;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 900px) { body { cursor: auto; } .gradient-cursor { display: none; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }
@media (min-width: 1280px) { .container { padding: 0 80px; } }

/* ===== Custom gradient cursor ===== */
.gradient-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.9), rgba(29,78,216,0.4) 60%, transparent 75%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: width 0.2s ease, height 0.2s ease;
  filter: blur(2px);
}
.gradient-cursor.hover { width: 60px; height: 60px; }

/* ===== Buttons / CTAs ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(59,130,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(59,130,246,0.55); }

/* CTA arrow link with animated underline (yavar-style) */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  padding-bottom: 6px;
}
.cta-link svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.cta-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, #67e8f9, #3b82f6, #1d4ed8);
  transform-origin: left center;
  transform: scaleX(0.4);
  transition: transform 0.4s ease;
}
.cta-link:hover::after { transform: scaleX(1); }
.cta-link:hover svg { transform: translateX(4px); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(4, 8, 31, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 110;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--grad-icon-bg);
  position: relative;
  box-shadow: 0 4px 18px rgba(59,130,246,0.5);
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background: var(--bg-deep);
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 2px;
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
}
.logo-text { color: var(--text); font-weight: 500; letter-spacing: -0.01em; }
.logo-img { height: 40px; width: auto; display: block; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav > ul { display: flex; gap: 4px; align-items: center; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--text-soft);
  font-weight: 400;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); }
.caret { font-size: 9px; opacity: 0.6; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  margin-top: 8px;
  padding: 8px;
  background: rgba(7, 16, 46, 0.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: none;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.has-dropdown:hover .dropdown { display: flex; }
.dropdown a { display: block; padding: 10px 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 110;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.65, 0.05, 0.36, 1), opacity 0.3s ease;
  transform-origin: center;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 720px;
  padding: 180px 0 200px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.65;
}
.glow-a {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
  top: -120px; left: -180px;
}
.glow-b {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  top: 120px; right: -240px;
  opacity: 0.55;
}
.glow-c {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
  bottom: -160px; left: 30%;
  opacity: 0.32;
}

.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 700px; }
.hero-title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-title .bold {
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-soft);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 36px;
}

/* Floating candlestick chart scene (replaces 3D cube cluster) */
.hero-3d {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 560px;
  height: 520px;
  z-index: 1;
  pointer-events: none;
  perspective: 1400px;
}
.chart-scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: scene-tilt 14s ease-in-out infinite;
}
@keyframes scene-tilt {
  0%,100% { transform: rotateY(-8deg) rotateX(4deg); }
  50%     { transform: rotateY(8deg) rotateX(-2deg); }
}

/* Back chart panel with line + grid */
.chart-panel {
  position: absolute;
  top: 12%;
  left: 8%;
  width: 78%;
  height: 60%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,28,72,0.7), rgba(7,16,46,0.85));
  border: 1px solid rgba(147,197,253,0.22);
  backdrop-filter: blur(20px);
  box-shadow:
    0 30px 80px rgba(7,16,46,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  transform: translateZ(-60px);
  animation: panel-float 8s ease-in-out infinite;
}
@keyframes panel-float {
  0%,100% { transform: translateZ(-60px) translateY(0); }
  50%     { transform: translateZ(-60px) translateY(-10px); }
}
.panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.10) 1px, transparent 1px);
  background-size: 40px 32px;
  opacity: 0.7;
}
.panel-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.panel-line path:last-child {
  filter: drop-shadow(0 0 8px rgba(59,130,246,0.7));
}

/* Floating candles cluster */
.candle-cluster {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.candle {
  position: absolute;
  width: 24px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: candle-float 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
.candle .wick {
  width: 2px;
  flex: 1;
  background: rgba(147,197,253,0.85);
  border-radius: 2px;
}
.candle .body {
  position: absolute;
  width: 22px;
  border-radius: 4px;
  border: 1px solid rgba(147,197,253,0.55);
  box-shadow:
    0 6px 24px rgba(7,16,46,0.5),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
/* Bullish (blue-cyan up candle) */
.candle.bull .wick { background: linear-gradient(180deg, #93c5fd, #22d3ee); }
.candle.bull .body {
  height: 56%;
  top: 22%;
  background: linear-gradient(180deg, #22d3ee, #3b82f6);
  box-shadow:
    0 8px 30px rgba(34,211,238,0.45),
    inset 0 1px 0 rgba(255,255,255,0.25);
  border-color: rgba(147,197,253,0.7);
}
/* Bearish (deep navy down candle) */
.candle.bear .wick { background: linear-gradient(180deg, #60a5fa, #1e3a8a); }
.candle.bear .body {
  height: 44%;
  top: 32%;
  background: linear-gradient(180deg, #1e40af, #0b1437);
  box-shadow:
    0 8px 24px rgba(7,16,46,0.6),
    inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: rgba(96,165,250,0.45);
}

@keyframes candle-float {
  0%,100% { transform: translateY(0) translateZ(0) rotate(0deg); }
  50%     { transform: translateY(-14px) translateZ(20px) rotate(-1deg); }
}

/* Per-candle position + size + delays */
.c1 { top: 18%; left: 14%; height: 90px; width: 22px; transform: translateZ(40px); animation-delay: -0.4s; }
.c2 { top: 30%; left: 28%; height: 130px; width: 26px; transform: translateZ(80px); animation-delay: -1.2s; }
.c3 { top: 42%; left: 44%; height: 80px; width: 22px; transform: translateZ(60px); animation-delay: -2.0s; }
.c4 { top: 22%; left: 58%; height: 140px; width: 28px; transform: translateZ(100px); animation-delay: -0.8s; }
.c5 { top: 36%; left: 72%; height: 110px; width: 24px; transform: translateZ(70px); animation-delay: -1.6s; }
.c6 { top: 62%; left: 18%; height: 70px; width: 20px; transform: translateZ(30px); animation-delay: -2.4s; opacity: 0.85; }
.c7 { top: 58%; left: 50%; height: 100px; width: 24px; transform: translateZ(90px); animation-delay: -3.0s; }
.c8 { top: 60%; left: 78%; height: 86px; width: 22px; transform: translateZ(50px); animation-delay: -3.6s; opacity: 0.9; }

/* Floating ticker chips */
.ticker-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(7,16,46,0.85);
  border: 1px solid rgba(147,197,253,0.35);
  backdrop-filter: blur(20px);
  font-size: 13px;
  font-weight: 500;
  box-shadow:
    0 12px 40px rgba(7,16,46,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);
  white-space: nowrap;
  animation: chip-float 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
.tk-sym { color: var(--text); letter-spacing: 0.04em; font-weight: 600; }
.tk-up   { color: #22d3ee; font-weight: 600; }
.tk-down { color: #f472b6; font-weight: 600; } /* keep contrast for negative ticker */

@keyframes chip-float {
  0%,100% { transform: translateY(0) translateZ(120px); }
  50%     { transform: translateY(-12px) translateZ(140px); }
}
.t1 { top: 6%;   left: 6%;  animation-delay: -0.5s; }
.t2 { top: 8%;   right: 4%; animation-delay: -2.2s; }
.t3 { bottom: 18%; left: 2%; animation-delay: -3.7s; }
.t4 { bottom: 8%;  right: 6%; animation-delay: -1.4s; }

@media (max-width: 1100px) {
  .hero-3d { width: 420px; height: 400px; right: -2%; opacity: 0.65; }
}
@media (max-width: 768px) {
  .hero { padding: 100px 0 90px; min-height: 0; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-3d {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 420px;
    height: 280px;
    margin: 0 auto 28px;
    opacity: 0.95;
  }
}

/* ===== Floating framework / stats card ===== */
.framework-wrap {
  position: relative;
  z-index: 5;
  margin-top: -90px;
}
.framework-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(40px);
  box-shadow:
    0 30px 80px rgba(2, 6, 23, 0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
  padding: 32px 48px;
  flex-wrap: wrap;
}
.fw-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 24px;
  min-width: 280px;
}
.fw-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 200;
  letter-spacing: -0.03em;
  background: var(--grad-stat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  white-space: nowrap;
}
.fw-info { display: flex; flex-direction: column; gap: 4px; }
.fw-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.fw-desc {
  font-size: 14px;
  color: var(--text-muted);
}
.fw-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, var(--border-strong), transparent);
  margin: 0 16px;
}
@media (max-width: 768px) {
  .framework-wrap { margin-top: -40px; }
  .framework-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 8px;
  }
  .fw-divider {
    width: auto;
    height: 1px;
    align-self: auto;
    background: linear-gradient(to right, transparent, var(--border-strong), transparent);
    margin: 4px 0;
  }
  .fw-stat {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    padding: 12px 0;
    gap: 18px;
    justify-content: flex-start;
  }
  .fw-num { font-size: clamp(36px, 11vw, 56px); }
  .fw-label { font-size: 16px; }
  .fw-desc { font-size: 13px; }
}

/* Shiny strokes top/bottom edges of cards */
.shiny-stroke {
  position: absolute;
  left: 10%; right: 10%;
  height: 1px;
  background: var(--shiny-stroke);
  pointer-events: none;
}
.shiny-stroke.top    { top: 0; }
.shiny-stroke.bottom { bottom: 0; }

/* ===== Sections ===== */
.section {
  position: relative;
  padding: 120px 0;
}
.section-head {
  margin-bottom: 64px;
  max-width: 820px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(59,130,246,0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.display {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
}
.display .bold {
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 300;
  max-width: 520px;
}

/* ===== Platforms ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 90px; /* space for floating icon tile */
}
.platform-card {
  position: relative;
  padding: 60px 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(40px);
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  overflow: visible;
}
.platform-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

/* Floating icon tile half-outside top of card */
.platform-icon-tile {
  position: absolute;
  top: 0; left: 28px;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--grad-icon-bg);
  color: #fff;
  transform: translateY(-66%);
  box-shadow:
    0 14px 40px rgba(59,130,246,0.5),
    0 0 0 1px rgba(147,197,253,0.4),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.platform-icon-tile::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: var(--grad-icon-glow);
  filter: blur(20px);
  opacity: 0.55;
  z-index: -1;
}
.platform-icon-tile svg { width: 30px; height: 30px; }

.card-mock {
  height: 110px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(29,78,216,0.05));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.card-mock::before, .card-mock::after {
  content: '';
  position: absolute;
}
.mock-agent::before {
  inset: 12px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(96,165,250,0.18) 0 14px, transparent 14px),
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(147,197,253,0.18) 22px 24px),
    rgba(7,16,46,0.6);
}
.mock-agent::after {
  bottom: 16px; left: 18px;
  width: 64%; height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #60a5fa, #1d4ed8);
}
.mock-transact::before {
  inset: 18px;
  background:
    linear-gradient(180deg, rgba(96,165,250,0.18) 0 1px, transparent 1px) 0 25%,
    linear-gradient(180deg, rgba(96,165,250,0.18) 0 1px, transparent 1px) 0 50%,
    linear-gradient(180deg, rgba(96,165,250,0.18) 0 1px, transparent 1px) 0 75%;
  background-size: 100% 100%;
}
.mock-transact::after {
  inset: auto 18px 18px 18px;
  height: 50%;
  background:
    linear-gradient(180deg, transparent 60%, rgba(96,165,250,0.7) 60% 65%, transparent 65%) 0 0/12% 100% repeat-x,
    linear-gradient(180deg, transparent 30%, rgba(34,211,238,0.55) 30% 35%, transparent 35%) 6% 0/12% 100% repeat-x;
  background-size: 18px 100%, 18px 100%;
}
.mock-scout::before {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(96,165,250,0.6);
  box-shadow:
    0 0 0 8px rgba(96,165,250,0.08),
    0 0 0 18px rgba(96,165,250,0.04);
}
.mock-scout::after {
  bottom: 22px; right: 22px;
  width: 22px; height: 4px;
  border-radius: 2px;
  background: var(--blue-300);
  transform: rotate(45deg);
}
.mock-carbon::before {
  inset: 18px;
  background:
    linear-gradient(135deg, rgba(34,211,238,0.25), rgba(29,78,216,0.35));
  border-radius: 8px;
}
.mock-carbon::after {
  bottom: 22px; left: 18px; right: 18px;
  height: 70%;
  background:
    radial-gradient(circle at 20% 80%, #22d3ee 0 6px, transparent 7px),
    radial-gradient(circle at 50% 60%, #60a5fa 0 6px, transparent 7px),
    radial-gradient(circle at 80% 35%, #93c5fd 0 6px, transparent 7px),
    linear-gradient(80deg, transparent 18%, rgba(96,165,250,0.6) 18% 19%, transparent 19% 48%, rgba(96,165,250,0.6) 48% 49%, transparent 49%);
}

.platform-card h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 300;
  letter-spacing: -0.02em;
  background: var(--grad-platform);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background 0.4s ease;
}
.platform-card:hover h3 {
  background: linear-gradient(84deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
}
.card-tag {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-300);
}
.card-desc {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 300;
}

/* ===== Pre-built / orbital integrations ===== */
.prebuilt { padding: 140px 0; }
.prebuilt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.prebuilt-copy h2 { margin-bottom: 22px; }
.prebuilt-copy .lede { margin-bottom: 32px; }

.prebuilt-visual {
  position: relative;
  height: 520px;
  display: grid;
  place-items: center;
}
.orbit {
  position: relative;
  width: 480px; height: 480px;
}
.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--grad-icon-bg);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 38px;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(147,197,253,0.5),
    0 0 80px rgba(59,130,246,0.6);
}
.orbit-core::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: var(--grad-icon-glow);
  filter: blur(28px);
  opacity: 0.6;
  z-index: -1;
}

.orbit-ring-vis {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(147,197,253,0.22);
  border-radius: 50%;
}
.orbit-ring-vis.r-a { width: 200px; height: 200px; }
.orbit-ring-vis.r-b { width: 340px; height: 340px; border-style: solid; opacity: 0.6; }
.orbit-ring-vis.r-c { width: 480px; height: 480px; opacity: 0.4; }

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 8px 16px;
  background: rgba(7,16,46,0.85);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(7,16,46,0.6);
  white-space: nowrap;
  --r: 170px;
  will-change: transform;
}

/* Three orbital rings — radii match .orbit-ring-vis sizes / 2 */
.orbit-node.ring-a { --r: 100px; animation: orbit-cw  22s linear infinite; }
.orbit-node.ring-b { --r: 170px; animation: orbit-ccw 32s linear infinite; }
.orbit-node.ring-c { --r: 240px; animation: orbit-cw  44s linear infinite; }

@keyframes orbit-cw {
  from { transform: rotate(0deg)   translateX(var(--r)) rotate(0deg)   translate(-50%, -50%); }
  to   { transform: rotate(360deg) translateX(var(--r)) rotate(-360deg) translate(-50%, -50%); }
}
@keyframes orbit-ccw {
  from { transform: rotate(0deg)    translateX(var(--r)) rotate(0deg)    translate(-50%, -50%); }
  to   { transform: rotate(-360deg) translateX(var(--r)) rotate(360deg)  translate(-50%, -50%); }
}

/* Stagger start positions so nodes are spread around their ring */
.orbit-node.n2 { animation-delay:   0s;     }  /* ring-a 0°   */
.orbit-node.n7 { animation-delay:  -7.33s;  }  /* ring-a 120° */
.orbit-node.n8 { animation-delay: -14.67s;  }  /* ring-a 240° */

.orbit-node.n3 { animation-delay:  -2.67s;  }  /* ring-b 30°  */
.orbit-node.n4 { animation-delay: -10.67s;  }  /* ring-b 120° */
.orbit-node.n6 { animation-delay: -18.67s;  }  /* ring-b 210° */
.orbit-node.n9 { animation-delay: -26.67s;  }  /* ring-b 300° */

.orbit-node.n1  { animation-delay:  -7.33s; }  /* ring-c 60°  */
.orbit-node.n5  { animation-delay: -22s;    }  /* ring-c 180° */
.orbit-node.n10 { animation-delay: -36.67s; }  /* ring-c 300° */

@media (max-width: 1024px) {
  .prebuilt-grid { grid-template-columns: 1fr; gap: 40px; }
  .prebuilt-visual { height: 420px; }
  .orbit { width: 380px; height: 380px; }
  .orbit-ring-vis.r-c { width: 380px; height: 380px; }
  .orbit-ring-vis.r-b { width: 270px; height: 270px; }
  .orbit-ring-vis.r-a { width: 160px; height: 160px; }
  .orbit-node.ring-a { --r: 80px;  }
  .orbit-node.ring-b { --r: 135px; }
  .orbit-node.ring-c { --r: 190px; }
  .orbit-node { font-size: 12px; padding: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-node { animation-duration: 0s; animation-iteration-count: 1; }
}

/* ===== Z-Grid Engine ===== */
.engine {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(29,78,216,0.18), transparent 60%);
}
.engine-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.engine-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(40px);
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.engine-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}
.engine-num {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  background: var(--grad-platform);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}
.engine-card h3 {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.engine-card p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ===== Use cases / industries ===== */
.use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.use-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.use-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.use-card.big { grid-column: span 1; min-height: 420px; }

.use-visual {
  position: relative;
  flex: 1;
  min-height: 220px;
  overflow: hidden;
}
.use-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4,8,31,0.6) 100%);
}
.viz-health {
  background:
    radial-gradient(circle at 30% 40%, rgba(34,211,238,0.6), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(59,130,246,0.5), transparent 45%),
    linear-gradient(135deg, #07102e, #0a1230);
  position: relative;
}
.viz-health::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 2px;
  background: linear-gradient(90deg,
    transparent, transparent 8%,
    #22d3ee 12%, #22d3ee 14%,
    transparent 14%, transparent 22%,
    #60a5fa 22%, #60a5fa 28%,
    #93c5fd 28%, #93c5fd 32%,
    transparent 32%, transparent 50%,
    #22d3ee 50%, #22d3ee 52%,
    transparent 52%, transparent 100%);
  box-shadow: 0 0 24px #22d3ee;
}
.viz-retail {
  background:
    radial-gradient(circle at 60% 50%, rgba(96,165,250,0.55), transparent 50%),
    linear-gradient(135deg, #050b22, #07102e);
  position: relative;
}
.viz-retail::before {
  content: '';
  position: absolute;
  bottom: 20%; left: 10%; right: 10%;
  height: 60%;
  background:
    linear-gradient(to top, rgba(96,165,250,0.7) 0 60%, transparent 60%) 0 100%/14% 100% no-repeat,
    linear-gradient(to top, rgba(34,211,238,0.7) 0 80%, transparent 80%) 20% 100%/14% 100% no-repeat,
    linear-gradient(to top, rgba(96,165,250,0.7) 0 45%, transparent 45%) 40% 100%/14% 100% no-repeat,
    linear-gradient(to top, rgba(147,197,253,0.7) 0 90%, transparent 90%) 60% 100%/14% 100% no-repeat,
    linear-gradient(to top, rgba(96,165,250,0.7) 0 70%, transparent 70%) 80% 100%/14% 100% no-repeat,
    linear-gradient(to top, rgba(34,211,238,0.7) 0 55%, transparent 55%) 100% 100%/14% 100% no-repeat;
}
.viz-gov {
  background:
    radial-gradient(circle at 50% 60%, rgba(29,78,216,0.6), transparent 55%),
    linear-gradient(135deg, #0a1230, #050b22);
  position: relative;
}
.viz-gov::before {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 50%; transform: translateX(-50%);
  width: 70%; height: 60%;
  background:
    linear-gradient(180deg, transparent 0 20%, rgba(147,197,253,0.5) 20% 22%, transparent 22% 100%),
    repeating-linear-gradient(90deg, rgba(96,165,250,0.6) 0 4px, transparent 4px 14px);
  border-bottom: 2px solid rgba(147,197,253,0.6);
  clip-path: polygon(10% 100%, 0 30%, 50% 0, 100% 30%, 90% 100%);
}
.viz-factory {
  background:
    radial-gradient(circle at 70% 30%, rgba(59,130,246,0.55), transparent 50%),
    linear-gradient(135deg, #07102e, #050b22);
  position: relative;
}
.viz-factory::before {
  content: '';
  position: absolute;
  inset: 20% 12% 25% 12%;
  background:
    linear-gradient(180deg, transparent 60%, rgba(96,165,250,0.5) 60% 100%),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(147,197,253,0.18) 8px 9px);
  border-radius: 4px;
}
.viz-factory::after {
  content: '';
  position: absolute;
  top: 28%; left: 30%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow:
    24px 12px 0 #60a5fa,
    -10px 30px 0 #93c5fd,
    50px -8px 0 #22d3ee,
    0 0 30px rgba(34,211,238,0.6);
}

.use-content {
  position: relative;
  padding: 28px 30px 32px;
  z-index: 1;
}
.use-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(59,130,246,0.12);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-300);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.use-content h3 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.use-content p {
  font-size: 14.5px;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .use-grid { grid-template-columns: 1fr; }
}

/* ===== Logo double marquee ===== */
.tmols { padding: 80px 0; }
.tmols-title {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.marquee {
  overflow: hidden;
  position: relative;
  padding: 14px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: scroll-x 50s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 60s; }
.brand-logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.3s;
}
.brand-logo:hover { color: var(--blue-300); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Connect / Final CTA ===== */
.connect { padding: 80px 0 140px; }
.connect-card {
  position: relative;
  text-align: center;
  padding: 100px 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(7,16,46,0.6);
}
.connect-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-cta);
  z-index: 0;
}
.connect-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(34,211,238,0.25), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(96,165,250,0.25), transparent 50%);
}
.connect-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(147,197,253,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,197,253,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.connect-card h2,
.connect-card p,
.connect-card a { position: relative; z-index: 1; }
.connect-card h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 18px;
}
.connect-card p {
  color: var(--text-soft);
  font-size: 17px;
  margin-bottom: 38px;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(4,8,31,0.95));
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.foot-cols h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.foot-cols ul { display: flex; flex-direction: column; gap: 12px; }
.foot-cols a {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 300;
  transition: color 0.2s;
}
.foot-cols a:hover { color: var(--blue-300); }
.foot-brand p {
  margin: 18px 0 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 280px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(96,165,250,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-soft);
  transition: all 0.25s ease;
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover {
  background: var(--grad-icon-bg);
  color: white;
  border-color: transparent;
  transform: translateY(-2px) scale(1.05);
}
.footer-legal {
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
}
.footer-legal p {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 14px;
  max-width: 1180px;
}
.footer-legal p:last-child { margin-bottom: 0; }
.footer-legal strong {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.footer-legal a {
  color: var(--blue-300);
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--cyan-300); }
.footer-contact { color: var(--text-muted) !important; }

.footer-bar {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-bar .container {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Compliance entry modal ===== */
.compliance-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: auto;
}
.compliance-modal[hidden] { display: none; }
.compliance-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(7,16,46,0.78), rgba(2,5,20,0.94));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: compFade 0.4s ease;
}
@keyframes compFade { from { opacity: 0; } to { opacity: 1; } }
.compliance-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(2,6,23,0.7),
    0 0 60px rgba(59,130,246,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
  animation: compPopIn 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes compPopIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.compliance-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.compliance-logo img {
  height: 52px;
  width: auto;
}
.compliance-text {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 22px;
}
.compliance-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 22px;
  user-select: none;
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
}
.compliance-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.compliance-check .check-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: rgba(7,16,46,0.6);
  display: inline-grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  flex: 0 0 auto;
}
.compliance-check .check-box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.compliance-check input:checked + .check-box {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(34,211,238,0.45);
}
.compliance-check input:checked + .check-box::after { opacity: 1; }
.compliance-check input:focus-visible + .check-box {
  outline: 2px solid var(--blue-300);
  outline-offset: 2px;
}
.compliance-accept {
  width: 100%;
  justify-content: center;
}
@media (max-width: 520px) {
  .compliance-card { padding: 28px 22px 22px; }
  .compliance-logo img { height: 44px; }
  .compliance-text { font-size: 14px; }
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Mobile nav ===== */
@media (max-width: 900px) {
  .header .btn-primary { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 80px 0; }
  .prebuilt { padding: 80px 0; }

  .nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 105;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(ellipse at center, rgba(15, 23, 64, 0.98) 0%, rgba(2, 5, 20, 0.99) 75%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 0.5s cubic-bezier(0.65, 0.05, 0.36, 1),
                transform 0.6s cubic-bezier(0.65, 0.05, 0.36, 1),
                visibility 0s linear 0.5s;
    padding: 0;
    overflow-y: auto;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition-delay: 0s, 0s, 0s;
  }
  .nav > ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
    padding: 40px 24px;
    margin: 0;
    list-style: none;
  }
  .nav > ul > li {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav.open > ul > li { opacity: 1; transform: translateY(0); }
  .nav.open > ul > li:nth-child(1) { transition-delay: 0.18s; }
  .nav.open > ul > li:nth-child(2) { transition-delay: 0.26s; }
  .nav.open > ul > li:nth-child(3) { transition-delay: 0.34s; }
  .nav.open > ul > li:nth-child(4) { transition-delay: 0.42s; }
  .nav.open > ul > li:nth-child(5) { transition-delay: 0.50s; }

  .nav > ul > li > a {
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 500;
    color: var(--text);
    padding: 8px 16px;
    background: linear-gradient(180deg, #ffffff 0%, #93c5fd 120%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav > ul > li > a:hover,
  .nav > ul > li > a:active { transform: scale(1.05); }

  .nav .caret { font-size: 14px; opacity: 0.7; -webkit-text-fill-color: currentColor; color: var(--text-soft); }

  .nav .dropdown {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 14px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    min-width: 0;
  }
  .nav .dropdown a {
    font-size: 17px;
    color: var(--text-soft);
    padding: 6px 14px;
    font-weight: 400;
    -webkit-text-fill-color: initial;
  }
  .nav .dropdown a:hover { color: var(--text); }

  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .foot-cols { grid-template-columns: 1fr; }
  .connect-card { padding: 64px 24px; }
  .nav > ul > li > a { font-size: 32px; }
  .nav > ul { gap: 22px; }
}
