/* ================================================================
   RELECON — animations.css  (Complete Vibrant Layer)
   Loads after styles.css. Overrides + extends.
   ================================================================ */

/* ─── Extended gradient palette ─────────────────────────────── */
:root {
  --ga: #0EA5E9;   /* sky blue   */
  --gb: #6366F1;   /* indigo     */
  --gc: #8B5CF6;   /* violet     */
  --gd: #06B6D4;   /* cyan       */
  --ge: #0D9488;   /* teal       */

  --grad-primary:   linear-gradient(135deg, var(--ga) 0%, var(--gb) 100%);
  --grad-wide:      linear-gradient(135deg, var(--ga) 0%, var(--gb) 50%, var(--gc) 100%);
  --grad-cool:      linear-gradient(135deg, var(--gd) 0%, var(--ga) 50%, var(--gb) 100%);
  --grad-text:      linear-gradient(135deg, var(--ga) 0%, var(--gd) 40%, var(--gb) 100%);

  /* Mesh backgrounds used on dark sections */
  --mesh-hero:
    radial-gradient(ellipse 90% 70% at 60% 40%,  rgba(14,165,233,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 90% 10%,  rgba(99,102,241,0.11) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 10% 80%,  rgba(6,182,212,0.09)  0%, transparent 50%),
    radial-gradient(ellipse 35% 35% at 20% 20%,  rgba(139,92,246,0.08) 0%, transparent 45%);

  --mesh-cta:
    radial-gradient(ellipse 70% 80% at 15% 50%,  rgba(14,165,233,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 65% 60% at 85% 20%,  rgba(99,102,241,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 55% 90%,  rgba(6,182,212,0.14)  0%, transparent 50%),
    radial-gradient(ellipse 40% 45% at 90% 80%,  rgba(139,92,246,0.12) 0%, transparent 45%);

  --mesh-services:
    radial-gradient(ellipse 55% 50% at 95% 10%,  rgba(99,102,241,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 55% at 5%  85%,  rgba(6,182,212,0.06)  0%, transparent 45%);

  --mesh-process:
    radial-gradient(ellipse 50% 60% at 0%   50%,  rgba(14,165,233,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 100% 50%,  rgba(99,102,241,0.05) 0%, transparent 45%);
}

/* ─── Scroll progress bar ─────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad-wide);
  background-size: 200% 100%;
  animation: grad-pan 3s linear infinite;
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}
@keyframes grad-pan {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ─── Nav: gradient CTA + scrolled border ────────────────────── */
.nav-cta {
  background: var(--grad-primary);
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff !important;
}
.nav-cta:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(14,165,233,0.45);
}
.nav.scrolled {
  border-image: linear-gradient(90deg, transparent, var(--ga) 30%, var(--gb) 70%, transparent) 1;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

/* ─── Logo icon: gradient stroke ─────────────────────────────── */
.logo-icon { transition: filter 0.3s ease; }
.logo:hover .logo-icon { filter: drop-shadow(0 0 8px rgba(14,165,233,0.5)); }

/* ─── PRIMARY BUTTON: gradient + shimmer ─────────────────────── */
.btn-primary {
  background: var(--grad-primary);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
  transition: background-position 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-150%);
  transition: transform 0.55s ease;
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(14,165,233,0.4);
}
.btn-primary:hover::after { transform: translateX(150%); }

/* Ghost hero button */
.btn-ghost-hero {
  background: rgba(255,255,255,0.06);
  color: var(--t2);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--r-s);
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost-hero:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(14,165,233,0.4);
  color: var(--t1);
  transform: translateY(-2px);
}

/* Outline-accent button */
.btn-outline-accent {
  position: relative; overflow: hidden;
}
.btn-outline-accent::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(14,165,233,0.15) 50%, transparent 70%);
  transform: translateX(-150%);
  transition: transform 0.5s ease;
}
.btn-outline-accent:hover::after { transform: translateX(150%); }

/* ════════════════════════════════════════════════════════════════
   HERO — FULL WIDTH
════════════════════════════════════════════════════════════════ */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--mesh-hero), var(--ink);
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Canvas behind everything */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Floating atmospheric orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}
.hero-orb-1 {
  width: 580px; height: 580px;
  top: -200px; left: -180px;
  background: radial-gradient(circle, rgba(14,165,233,0.20) 0%, transparent 65%);
  animation: orb1 20s ease-in-out infinite;
}
.hero-orb-2 {
  width: 460px; height: 460px;
  bottom: -150px; right: 10%;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 65%);
  animation: orb2 25s ease-in-out infinite;
}
.hero-orb-3 {
  width: 320px; height: 320px;
  top: 35%; left: 38%;
  background: radial-gradient(circle, rgba(6,182,212,0.13) 0%, transparent 65%);
  animation: orb3 30s ease-in-out infinite;
}
.hero-orb-4 {
  width: 260px; height: 260px;
  top: 10%; right: 15%;
  background: radial-gradient(circle, rgba(139,92,246,0.14) 0%, transparent 65%);
  animation: orb4 18s ease-in-out infinite;
}

@keyframes orb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(50px,-40px) scale(1.07); }
  66%      { transform: translate(-30px,50px) scale(0.95); }
}
@keyframes orb2 {
  0%,100% { transform: translate(0,0); }
  40%      { transform: translate(-60px,35px) scale(1.09); }
  70%      { transform: translate(40px,-45px) scale(0.93); }
}
@keyframes orb3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-40px,-30px) scale(1.25); }
}
@keyframes orb4 {
  0%,100% { transform: translate(0,0); }
  45%      { transform: translate(30px,50px) scale(1.15); }
}

/* Hero inner layout */
.hero-full-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px,8vw,100px) var(--pad-x);
}

/* Hero copy */
.hero-copy { display: flex; flex-direction: column; }

.hero-eyebrow {
  margin-bottom: 28px;
  animation: fade-up 0.9s var(--ease-out) 0.1s both;
}
/* Animated dot before eyebrow */
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ga);
  margin-right: 10px;
  vertical-align: middle;
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.7); }
  50%      { box-shadow: 0 0 0 7px rgba(14,165,233,0); }
}

.hero-headline {
  animation: fade-up 1s var(--ease-out) 0.25s both;
  margin-bottom: 28px;
}
/* Animated gradient on accent word */
.grad-text-animated {
  background: linear-gradient(135deg, var(--ga) 0%, var(--gd) 35%, var(--gb) 65%, var(--gc) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-cycle 5s ease-in-out infinite;
  display: inline-block;
}
@keyframes grad-cycle {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

.hero-sub {
  animation: fade-up 1s var(--ease-out) 0.4s both;
  margin-bottom: 44px;
  max-width: 500px;
}
.hero-actions {
  animation: fade-up 1s var(--ease-out) 0.55s both;
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Hero credential chips */
.hero-chips {
  animation: fade-up 1s var(--ease-out) 0.7s both;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-m);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hero-chip::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ga), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.hero-chip:hover { border-color: rgba(14,165,233,0.3); background: rgba(14,165,233,0.06); transform: translateY(-2px); }
.hero-chip:hover::before { transform: scaleX(1); }
.hero-chip-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  background: var(--grad-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-cycle 5s ease-in-out infinite;
}
.hero-chip-lbl {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t4);
  margin-top: 3px;
}

/* ─── Orbital hero graphic ───────────────────────────────────── */
.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 0 auto;
  animation: fade-in 1.2s var(--ease-out) 0.3s both;
}
.hg-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.7;
}
/* Concentric rings */
.hg-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid transparent;
  transform: translate(-50%, -50%);
}
.hg-ring-1 {
  width: 55%; height: 55%;
  border-color: rgba(14,165,233,0.2);
  animation: ring-spin 18s linear infinite;
  box-shadow: 0 0 20px rgba(14,165,233,0.08), inset 0 0 20px rgba(14,165,233,0.04);
}
.hg-ring-2 {
  width: 75%; height: 75%;
  border-color: rgba(99,102,241,0.15);
  animation: ring-spin 28s linear infinite reverse;
  box-shadow: 0 0 30px rgba(99,102,241,0.07);
}
.hg-ring-3 {
  width: 95%; height: 95%;
  border-color: rgba(6,182,212,0.10);
  border-style: dashed;
  animation: ring-spin 40s linear infinite;
}
@keyframes ring-spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Center core */
.hg-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(99,102,241,0.1));
  border: 1px solid rgba(14,165,233,0.3);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 30px rgba(14,165,233,0.2),
    0 0 60px rgba(14,165,233,0.1),
    inset 0 0 20px rgba(14,165,233,0.08);
  animation: core-pulse 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes core-pulse {
  0%,100% { box-shadow: 0 0 30px rgba(14,165,233,0.2), 0 0 60px rgba(14,165,233,0.08), inset 0 0 20px rgba(14,165,233,0.06); }
  50%      { box-shadow: 0 0 50px rgba(14,165,233,0.35), 0 0 90px rgba(14,165,233,0.15), inset 0 0 30px rgba(14,165,233,0.12); }
}

/* Orbiting nodes */
.hg-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
}
.hg-orbit-1 { animation: orbit-cw  12s linear infinite; }
.hg-orbit-2 { animation: orbit-ccw 16s linear infinite; }
.hg-orbit-3 { animation: orbit-cw  20s linear infinite; animation-delay: -5s; }
.hg-orbit-4 { animation: orbit-ccw 14s linear infinite; animation-delay: -9s; }

/* Define orbit radii using transform on the node */
.hg-orbit-1 .hg-node { transform: translate(-50%, calc(-50% - 95px)); }
.hg-orbit-2 .hg-node { transform: translate(-50%, calc(-50% - 130px)); }
.hg-orbit-3 .hg-node { transform: translate(-50%, calc(-50% - 115px)); }
.hg-orbit-4 .hg-node { transform: translate(-50%, calc(-50% - 145px)); }

/* Counter-rotate the node labels so they stay upright */
.hg-orbit-1 .hg-node { animation: counter-cw  12s linear infinite; }
.hg-orbit-2 .hg-node { animation: counter-ccw 16s linear infinite; }
.hg-orbit-3 .hg-node { animation: counter-cw  20s linear infinite; animation-delay: -5s; }
.hg-orbit-4 .hg-node { animation: counter-ccw 14s linear infinite; animation-delay: -9s; }

@keyframes orbit-cw  { from { transform: translate(-50%,-50%) rotate(0deg);   } to { transform: translate(-50%,-50%) rotate(360deg);  } }
@keyframes orbit-ccw { from { transform: translate(-50%,-50%) rotate(0deg);   } to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes counter-cw  { from { transform: translate(-50%, calc(-50% - 95px))  rotate(0deg);   } to { transform: translate(-50%, calc(-50% - 95px))  rotate(-360deg); } }
@keyframes counter-ccw { from { transform: translate(-50%, calc(-50% - 130px)) rotate(0deg);   } to { transform: translate(-50%, calc(-50% - 130px)) rotate(360deg);  } }

/* Each orbit has its own radius so the counter-rotate offsets need matching */
.hg-orbit-3 .hg-node { animation: counter-cw-115  20s linear infinite; animation-delay: -5s; }
.hg-orbit-4 .hg-node { animation: counter-ccw-145 14s linear infinite; animation-delay: -9s; }
@keyframes counter-cw-115  { from { transform: translate(-50%, calc(-50% - 115px)) rotate(0deg);   } to { transform: translate(-50%, calc(-50% - 115px)) rotate(-360deg); } }
@keyframes counter-ccw-145 { from { transform: translate(-50%, calc(-50% - 145px)) rotate(0deg);   } to { transform: translate(-50%, calc(-50% - 145px)) rotate(360deg);  } }

.hg-node {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: box-shadow 0.3s ease;
}
.hg-node span { position: relative; z-index: 2; }
.hg-node-blue   { background: rgba(14,165,233,0.12);  border-color: rgba(14,165,233,0.35);  color: var(--ga); box-shadow: 0 0 12px rgba(14,165,233,0.2); }
.hg-node-indigo { background: rgba(99,102,241,0.12);  border-color: rgba(99,102,241,0.35);  color: var(--gb); box-shadow: 0 0 12px rgba(99,102,241,0.2); }
.hg-node-cyan   { background: rgba(6,182,212,0.12);   border-color: rgba(6,182,212,0.35);   color: var(--gd); box-shadow: 0 0 12px rgba(6,182,212,0.2); }
.hg-node-violet { background: rgba(139,92,246,0.12);  border-color: rgba(139,92,246,0.35);  color: var(--gc); box-shadow: 0 0 12px rgba(139,92,246,0.2); }

/* Responsive hero */
@media (max-width: 900px) {
  .hero-full-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
}

/* ─── Clients strip: gradient separator lines ─────────────────── */
.clients-strip { position: relative; border-top: none; border-bottom: none; }
.clients-strip::before,
.clients-strip::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
}
.clients-strip::before { top: 0;    background: linear-gradient(90deg, transparent, var(--ga) 20%, var(--gb) 80%, transparent); }
.clients-strip::after  { bottom: 0; background: linear-gradient(90deg, transparent, var(--gb) 20%, var(--gc) 80%, transparent); }

.client-chip:hover span {
  background: var(--grad-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Process section: mesh + animated step border ────────────── */
.process-section { position: relative; }
.process-section::before {
  content: ''; position: absolute; inset: 0;
  background: var(--mesh-process); pointer-events: none;
}
.process-step { overflow: hidden; }
.process-step::after {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0; width: 2px;
  background: var(--grad-wide);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.45s var(--ease-out);
}
.process-step::before { display: none; }
.process-step:hover { background: rgba(14,165,233,0.03); padding-left: 20px; }
.process-step:hover::after { transform: scaleY(1); }
.process-step:hover .step-idx {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── Services section: mesh + animated row ───────────────────── */
.services-section { position: relative; }
.services-section::before {
  content: ''; position: absolute; inset: 0;
  background: var(--mesh-services); pointer-events: none;
}
.services-head h2 {
  background: linear-gradient(135deg, var(--t1) 0%, var(--t2) 55%, var(--ga) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.service-row { position: relative; }
.service-row::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-primary);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.service-row::after {
  background: linear-gradient(90deg, rgba(14,165,233,0.06) 0%, rgba(99,102,241,0.04) 40%, transparent 70%) !important;
}
.service-row:hover::before { transform: scaleY(1); }
.service-row:hover .sr-num {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.service-row:hover .sr-arrow {
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(99,102,241,0.12));
  border-color: rgba(14,165,233,0.45);
  color: var(--ga);
  transform: translateX(5px);
}

/* ─── Why section: mesh ───────────────────────────────────────── */
.why-section { position: relative; }
.why-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 100% 30%, rgba(14,165,233,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 0%   70%, rgba(139,92,246,0.05) 0%, transparent 45%);
  pointer-events: none;
}
.quote-panel::before {
  background: var(--grad-wide);
  width: 4px; height: 100%;
  animation: bar-flow 5s ease-in-out infinite alternate;
}
@keyframes bar-flow {
  from { background-position: 0% 0%; }
  to   { background-position: 0% 100%; }
}
.pillar-row:hover .pillar-idx {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── CTA section: vibrant animated mesh ─────────────────────── */
.cta-section {
  background: var(--mesh-cta), var(--ink);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(14,165,233,0.05) 25%, rgba(99,102,241,0.07) 50%, rgba(6,182,212,0.05) 75%, transparent 100%);
  background-size: 200% 100%;
  animation: aurora 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
.cta-inner::before {
  background: var(--grad-wide);
  background-size: 200% 100%;
  animation: grad-pan 4s ease-in-out infinite;
}
.cta-inner h2 {
  background: linear-gradient(135deg, var(--t1) 0%, var(--t2) 50%, var(--ga) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── Page hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background:
    radial-gradient(ellipse 65% 80% at 85% 0%,   rgba(14,165,233,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 5%  100%,  rgba(99,102,241,0.08) 0%, transparent 50%),
    var(--ink);
}
.page-hero-glow {
  background: var(--grad-wide);
  background-size: 200% 100%;
  animation: grad-pan 5s ease-in-out infinite;
  height: 2px;
}
/* Orb injection on page-hero */
.page-hero .hero-orb { position: absolute; }

/* ─── Val cards ───────────────────────────────────────────────── */
.val-card { position: relative; overflow: hidden; }
.val-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-wide);
  background-size: 200% 100%;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.val-card:hover::before { transform: scaleX(1); }
.val-card:hover { border-color: rgba(14,165,233,0.25); }

/* ─── Stat cells ──────────────────────────────────────────────── */
.stat-cell:hover .stat-cell-num {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── Form panel ──────────────────────────────────────────────── */
.form-panel { position: relative; overflow: hidden; }
.form-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-wide);
  background-size: 200% 100%;
  animation: grad-pan 4s ease-in-out infinite;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(14,165,233,0.5);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.09), 0 0 20px rgba(14,165,233,0.07);
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer { border-top: none; position: relative; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ga) 25%, var(--gb) 75%, transparent);
}
.social-btn:hover {
  background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(99,102,241,0.12));
  border-color: rgba(14,165,233,0.4); color: var(--ga);
}

/* ─── SVC visual panels ───────────────────────────────────────── */
.svc-visual::before {
  background: var(--grad-wide); width: 4px; height: 70px;
  animation: bar-flow 4s ease-in-out infinite alternate;
}
.svc-visual:hover {
  border-color: rgba(14,165,233,0.3);
  box-shadow: 0 0 50px rgba(14,165,233,0.08), inset 0 0 30px rgba(14,165,233,0.04);
}

/* ─── Founder frame ───────────────────────────────────────────── */
.founder-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 45%, rgba(14,165,233,0.07) 75%, transparent 100%);
  pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
}
.founder-frame:hover::after { opacity: 1; }

/* ─── Feat-check ──────────────────────────────────────────────── */
.feat-check {
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(99,102,241,0.08));
  border-color: rgba(14,165,233,0.28);
}

/* ─── Contact detail icons ────────────────────────────────────── */
.cd-icon {
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(99,102,241,0.08));
  border-color: rgba(14,165,233,0.25);
}

/* ─── Outline btn: gradient border on hover ──────────────────── */
.btn-outline:hover {
  border-color: transparent;
  background: linear-gradient(var(--ink-80), var(--ink-80)) padding-box,
              var(--grad-primary) border-box;
  border: 1px solid transparent;
  color: var(--t1);
}

/* ─── Scroll reveal: blur-in ─────────────────────────────────── */
.reveal {
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ─── Keyframes shared ────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hg-ring, .hg-orbit, .hg-node,
  .hero-orb-1, .hero-orb-2, .hero-orb-3, .hero-orb-4,
  #scroll-progress, .cta-section::before,
  .hero-eyebrow, .hero-headline, .hero-sub, .hero-actions, .hero-chips,
  .hero-graphic, .grad-text-animated { animation: none !important; }
  .reveal { filter: none; }
  .grad-text-animated { background: var(--ga); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
}
