/* ============================================
   ELYRA SOFT — Design Tokens (v2: Deep Systems theme)
   ============================================ */
:root {
  /* Core surfaces */
  --c-ink: #0B0D17;
  --c-ink-soft: #11142a;
  --c-ink-card: #151831;
  --c-ink-card-hover: #1A1E3D;
  --c-bg-light: #F7F7FB;

  /* Gradient accent system */
  --c-violet: #6C6FF5;
  --c-violet-bright: #8B8FFF;
  --c-violet-deep: #4347C4;
  --c-teal: #2DD4BF;
  --c-teal-bright: #5EEAD4;
  --grad-primary: linear-gradient(135deg, var(--c-violet-bright) 0%, var(--c-violet) 50%, var(--c-teal) 100%);
  --grad-primary-diag: linear-gradient(120deg, #8B8FFF 0%, #6C6FF5 45%, #2DD4BF 100%);
  --grad-text: linear-gradient(120deg, #C7C9FF 0%, #8B8FFF 35%, #5EEAD4 100%);
  --grad-radial-glow: radial-gradient(circle, rgba(108,111,245,0.35) 0%, transparent 70%);

  /* Text on dark */
  --c-text: #F3F3FB;
  --c-text-dim: #9A9CC0;
  --c-text-faint: #686B94;
  --c-line: rgba(255,255,255,0.09);
  --c-line-bright: rgba(255,255,255,0.16);

  /* Type */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-w: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 10px rgba(0,0,0,0.2), 0 16px 40px rgba(0,0,0,0.25);
  --shadow-card-hover: 0 4px 18px rgba(0,0,0,0.28), 0 24px 56px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 0 1px rgba(108,111,245,0.4), 0 8px 32px rgba(108,111,245,0.25);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  position: relative;
  overflow-x: clip;
}

/* Ambient animated background: grid + drifting gradient blobs, fixed behind all content */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, black 30%, transparent 85%);
}
.bg-orb {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}
.bg-orb-1 {
  width: 520px; height: 520px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(108,111,245,0.45), transparent 70%);
  animation: drift1 22s ease-in-out infinite;
}
.bg-orb-2 {
  width: 460px; height: 460px; top: 40%; left: -180px;
  background: radial-gradient(circle, rgba(45,212,191,0.32), transparent 70%);
  animation: drift2 26s ease-in-out infinite;
}
.bg-orb-3 {
  width: 400px; height: 400px; bottom: -160px; right: 10%;
  background: radial-gradient(circle, rgba(139,143,255,0.28), transparent 70%);
  animation: drift1 30s ease-in-out infinite reverse;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-40px, 50px) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.08); }
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

p { margin: 0 0 1em; color: var(--c-text-dim); }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
svg { display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.container-narrow { max-width: 820px; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--grad-primary-diag);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #0B0D17;
  box-shadow: 0 8px 24px rgba(108,111,245,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(108,111,245,0.45);
  background-position: 100% 50%;
}

.btn-ghost { color: var(--c-text); border-color: transparent; padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { color: var(--c-teal-bright); }

.btn-outline { border-color: var(--c-line-bright); color: var(--c-text); background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: var(--c-violet-bright); color: var(--c-violet-bright); background: rgba(108,111,245,0.08); }

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,13,23,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--c-text); }

.logo-badge {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { font-family: var(--f-display); font-size: 1.22rem; font-weight: 500; letter-spacing: -0.01em; color: var(--c-text); }
.logo-text strong { font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 0.93rem; font-weight: 500; color: var(--c-text-dim);
  position: relative; padding: 6px 0;
  transition: color 0.18s ease;
}
.main-nav a:hover { color: var(--c-text); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad-primary); transition: width 0.25s var(--ease);
  border-radius: 2px;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-family: var(--f-mono); font-size: 0.85rem; color: var(--c-text-dim); display: none; }
@media (min-width: 1100px) { .header-phone { display: inline; } }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: 0.25s ease; }

/* ============================================
   Hero
   ============================================ */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-teal-bright);
  margin: 0 0 18px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(45,212,191,0.3);
  border-radius: 100px;
  background: rgba(45,212,191,0.06);
}
.eyebrow.center { margin-left: auto; margin-right: auto; }
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-teal-bright);
  box-shadow: 0 0 8px var(--c-teal-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.section-header-center { display: flex; flex-direction: column; align-items: center; }

.hero h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.5rem);
  margin-bottom: 0.45em;
}
.hero-lead {
  font-size: 1.12rem; max-width: 540px; color: var(--c-text-dim);
}
.hero-cta { display: flex; align-items: center; gap: 8px; margin: 32px 0 46px; flex-wrap: wrap; }

.hero-trust {
  display: grid; grid-template-columns: repeat(4, auto); gap: 28px;
  border-top: 1px solid var(--c-line); padding-top: 28px;
}
.trust-item { display: flex; flex-direction: column; }
.trust-num {
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-label { font-size: 0.78rem; color: var(--c-text-faint); margin-top: 2px; }

/* Module graph (hero signature visual) */
.hero-visual { display: flex; justify-content: center; position: relative; }
.module-graph { width: 100%; max-width: 470px; overflow: visible; }
.graph-links line {
  stroke: url(#linkGradient); stroke-width: 1.4; stroke-dasharray: 4 5;
  opacity: 0.55;
}
.node-core { fill: url(#coreGradient); }
.node-core-text {
  font-family: var(--f-display); font-size: 13px; font-weight: 700; fill: #0B0D17;
  text-anchor: middle;
}
.node circle {
  fill: var(--c-ink-card); stroke: url(#nodeGradient); stroke-width: 1.6;
  animation: floatNode 5s ease-in-out infinite;
  animation-delay: var(--d);
  transform-origin: center;
}
.node text {
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; fill: var(--c-text);
  text-anchor: middle; pointer-events: none;
  animation: floatNode 5s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes floatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.graph-pulse {
  fill: none; stroke: var(--c-teal-bright); stroke-width: 1.5; opacity: 0;
  animation: ringPulse 3s ease-out infinite;
}
@keyframes ringPulse {
  0% { r: 46; opacity: 0.5; stroke-width: 2; }
  100% { r: 90; opacity: 0; stroke-width: 0.5; }
}

/* ============================================
   Strip / marquee
   ============================================ */
.strip { border-bottom: 1px solid var(--c-line); border-top: 1px solid var(--c-line); padding: 20px 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 26s linear infinite;
}
.strip:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--f-mono); font-size: 0.86rem; color: var(--c-text-dim);
  white-space: nowrap; display: flex; align-items: center; gap: 10px;
}
.marquee-track span::before {
  content: '◆'; color: var(--c-teal); font-size: 0.6rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Sections (generic)
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-tint { background: rgba(255,255,255,0.012); }

.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section-title.center { text-align: center; }
.section-lead { font-size: 1.06rem; max-width: 620px; }
.section-lead.center { text-align: center; margin: 0 auto 56px; }

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

.card {
  background: var(--c-ink-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-radial-glow);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
  transform: translate(-30%, -30%);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  border-color: rgba(108,111,245,0.4);
  background: var(--c-ink-card-hover);
}
.card:hover::before { opacity: 1; }

/* Services */
.service-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(108,111,245,0.18), rgba(45,212,191,0.14));
  border: 1px solid rgba(108,111,245,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--c-violet-bright); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; position: relative; z-index: 1; }
.service-card p { font-size: 0.94rem; margin: 0; position: relative; z-index: 1; }
.service-card-index {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--f-mono); font-size: 0.78rem; color: var(--c-text-faint);
}

/* ============================================
   Why section
   ============================================ */
.why-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 60px; align-items: center; }
.why-list { margin-top: 36px; display: flex; flex-direction: column; gap: 28px; }
.why-list li { display: flex; gap: 20px; }
.why-num {
  font-family: var(--f-mono); font-size: 0.85rem; padding-top: 4px; flex-shrink: 0;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why-list h3 { color: var(--c-text); font-size: 1.05rem; margin-bottom: 0.3em; }
.why-list p { font-size: 0.93rem; margin: 0; }

.code-window {
  background: #0D0F1F; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-line-bright);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(108,111,245,0.15);
  position: relative;
}
.code-window::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(108,111,245,0.06), transparent 30%);
  pointer-events: none;
}
.code-window-bar {
  display: flex; align-items: center; gap: 7px; padding: 14px 16px;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-window-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.code-window-bar span:nth-child(1) { background: #FF5F57; }
.code-window-bar span:nth-child(2) { background: #FEBC2E; }
.code-window-bar span:nth-child(3) { background: #28C840; }
.code-window-title { margin-left: 10px; font-family: var(--f-mono); font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.code-window-body {
  margin: 0; padding: 24px; font-family: var(--f-mono); font-size: 0.84rem; line-height: 1.8;
  color: #c7c9e0; overflow-x: auto;
}
.c-kw { color: #7B9FFF; } .c-cls { color: #5EEAD4; } .c-fn { color: #FFD166; }
.c-str { color: #A0E89B; } .c-num { color: #F7A1A1; } .c-comment { color: #6B708F; font-style: italic; }
.c-self { color: #E8A0FF; } .c-deco { color: #FF8FAB; } .c-bool { color: #F7A1A1; }
.cursor-blink {
  display: inline-block; width: 7px; height: 14px; background: var(--c-teal-bright);
  margin-left: 2px; animation: blink 1s steps(1) infinite; vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============================================
   Modules pills
   ============================================ */
.module-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.module-pills span {
  font-family: var(--f-mono); font-size: 0.88rem; padding: 11px 20px;
  border-radius: 100px; border: 1px solid var(--c-line); background: var(--c-ink-card);
  color: var(--c-text); transition: 0.25s var(--ease); cursor: default;
}
.module-pills span:hover {
  border-color: transparent; color: #0B0D17; transform: translateY(-3px);
  background: var(--grad-primary);
  box-shadow: 0 8px 20px rgba(108,111,245,0.35);
}

/* ============================================
   Process rail
   ============================================ */
.process-rail {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  position: relative; margin-top: 50px;
}
.process-rail::before {
  content: ''; position: absolute; top: 19px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-line-bright) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-index {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-primary-diag); color: #0B0D17;
  font-family: var(--f-display); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 18px;
  box-shadow: 0 0 0 4px var(--c-ink), 0 4px 16px rgba(108,111,245,0.4);
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 0.4em; }
.process-step p { font-size: 0.88rem; }

/* ============================================
   Industries
   ============================================ */
.industries-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.industry-chip {
  background: var(--c-ink-card); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 20px 16px; text-align: center; font-weight: 600; font-size: 0.92rem;
  transition: 0.25s var(--ease); color: var(--c-text);
}
.industry-chip:hover {
  border-color: rgba(45,212,191,0.4); color: var(--c-teal-bright);
  box-shadow: var(--shadow-card), 0 0 24px rgba(45,212,191,0.15);
  transform: translateY(-3px);
}

/* ============================================
   Pricing
   ============================================ */
.pricing-card { display: flex; flex-direction: column; position: relative; }
.pricing-card h3 { font-size: 1.15rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.price span {
  font-family: var(--f-display); font-size: 2.2rem; font-weight: 700;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price small { color: var(--c-text-faint); font-size: 0.85rem; }
.price-sub { font-size: 0.88rem; margin-bottom: 22px; }
.price-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex-grow: 1; }
.price-list li {
  font-size: 0.9rem; padding-left: 26px; position: relative; color: var(--c-text-dim);
}
.price-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--c-teal-bright); font-weight: 700;
}

.pricing-featured {
  border-color: rgba(108,111,245,0.5);
  box-shadow: 0 0 0 1px rgba(108,111,245,0.5), var(--shadow-card-hover), 0 0 50px rgba(108,111,245,0.18);
  overflow: visible;
}
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-primary-diag); color: #0B0D17; font-size: 0.74rem; font-weight: 700;
  padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-ink-card); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: border-color 0.25s ease;
}
.faq-item:hover { border-color: var(--c-line-bright); }
.faq-item summary {
  font-weight: 600; font-size: 1rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--c-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--c-violet-bright); font-weight: 400; flex-shrink: 0; margin-left: 16px;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; font-size: 0.93rem; }

/* ============================================
   Contact
   ============================================ */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-details { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-details li { font-size: 0.95rem; color: var(--c-text-dim); }
.contact-details a { color: var(--c-teal-bright); font-weight: 600; }

.contact-form {
  background: var(--c-ink-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--c-text); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--f-body); font-size: 0.95rem;
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 12px 14px; background: rgba(255,255,255,0.03); color: var(--c-text);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--c-text-faint); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--c-violet-bright); background: rgba(108,111,245,0.06);
}
.form-row select option { background: var(--c-ink-card); }
.form-row textarea { resize: vertical; }
.form-note { text-align: center; font-size: 0.88rem; margin: 14px 0 0; min-height: 1.2em; color: var(--c-teal-bright); font-weight: 600; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--c-ink-soft); color: var(--c-text-dim); padding: 70px 0 0; border-top: 1px solid var(--c-line); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 50px; border-bottom: 1px solid var(--c-line);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h3 { color: var(--c-text); font-family: var(--f-display); font-size: 0.92rem; margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.88rem; color: var(--c-text-dim); transition: color 0.18s ease; }
.footer-col a:hover { color: var(--c-teal-bright); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; }
.footer-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-tags span {
  font-family: var(--f-mono); font-size: 0.74rem; padding: 5px 12px;
  border: 1px solid var(--c-line-bright); border-radius: 100px; color: var(--c-text-dim);
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { fill: white; }
.whatsapp-fab::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #25D366; opacity: 0;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* ============================================
   Scroll-reveal
   ============================================ */
.reveal-init { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .why-grid, .hero-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .process-rail { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-rail::before { display: none; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header-actions .btn-primary { display: none; }

  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .process-rail { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
  .bg-orb { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-violet-bright); outline-offset: 2px;
}

/* ============================================
   Navigation — dropdown mega menus
   ============================================ */
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 6px 0;
  font-size: 0.93rem; font-weight: 500; color: var(--c-text-dim);
  transition: color 0.18s ease;
}
.nav-trigger:hover, .nav-item.open .nav-trigger { color: var(--c-text); }
.nav-trigger svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.25s var(--ease); }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }
.main-nav a.is-current, .nav-item.is-current .nav-trigger { color: var(--c-text); }

.mega {
  position: absolute; top: 100%; left: 50%; z-index: 120;
  width: 640px; padding-top: 14px;
  --mx: -50%;
  transform: translate(var(--mx), 8px); opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.25s var(--ease), visibility 0.2s;
}
.mega-inner {
  background: var(--c-ink-card); border: 1px solid var(--c-line-bright);
  border-radius: var(--radius); box-shadow: var(--shadow-card-hover);
  padding: 12px;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.main-nav .mega-link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: var(--radius-sm);
  transition: background 0.18s ease;
}
.main-nav .mega-link::after { display: none; }
.mega-link:hover { background: rgba(108,111,245,0.1); }
.mega-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(108,111,245,0.18), rgba(45,212,191,0.14));
  border: 1px solid rgba(108,111,245,0.25);
}
.mega-icon svg { width: 18px; height: 18px; stroke: var(--c-violet-bright); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mega-text { display: flex; flex-direction: column; gap: 2px; }
.mega-text strong { font-size: 0.9rem; font-weight: 600; color: var(--c-text); }
.mega-text small { font-size: 0.78rem; color: var(--c-text-faint); line-height: 1.4; }
.main-nav .mega-all {
  display: block; margin-top: 8px; padding: 12px; border-top: 1px solid var(--c-line);
  font-size: 0.85rem; font-weight: 600; color: var(--c-teal-bright);
}
.main-nav .mega-all::after { display: none; }
.main-nav .mega-all:hover { color: var(--c-text); }

@media (min-width: 1081px) and (hover: hover) {
  .nav-item:hover:not(.dismissed) .mega { opacity: 1; visibility: visible; transform: translate(var(--mx), 0); }
}
@media (min-width: 1081px) {
  .nav-item.open .mega { opacity: 1; visibility: visible; transform: translate(var(--mx), 0); }
  /* First menu sits near the logo: anchor it left so it never runs off-screen */
  .nav-item:first-of-type .mega { left: 0; --mx: 0; }
}

/* Mobile / tablet navigation drawer */
@media (max-width: 1080px) {
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    z-index: 99;
    background: var(--c-ink); opacity: 0;
    flex-direction: column; padding: 24px 28px 40px; gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
    align-items: stretch;
  }
  .main-nav.open { transform: translateX(0); opacity: 1; visibility: visible; }
  .main-nav > a, .nav-trigger {
    width: 100%; justify-content: space-between;
    padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid var(--c-line); color: var(--c-text);
  }
  .main-nav > a::after { display: none; }
  .mega {
    position: static; width: auto; padding: 8px 0 12px; transform: none;
    opacity: 1; visibility: visible; display: none;
  }
  .nav-item.open .mega { display: block; }
  .mega-inner { background: transparent; border: none; box-shadow: none; padding: 0; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; z-index: 101; position: relative; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-phone { display: none !important; }
}
body.nav-open { overflow: hidden; }
body.nav-open .whatsapp-fab { display: none; }

/* ============================================
   Inner pages
   ============================================ */
.page-hero { padding: 56px 0 72px; position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 0.4em; }
.page-hero .hero-lead { max-width: 640px; }
.page-hero.center { text-align: center; }
.page-hero.center .hero-lead { margin-left: auto; margin-right: auto; }
.page-hero.center .hero-cta { justify-content: center; margin-bottom: 0; }

.breadcrumb { margin-bottom: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-family: var(--f-mono); font-size: 0.78rem; color: var(--c-text-faint); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--c-text-faint); }
.breadcrumb a { color: var(--c-text-dim); }
.breadcrumb a:hover { color: var(--c-teal-bright); }
.page-hero.center .breadcrumb ol { justify-content: center; }

.glance-card h2 { font-size: 1rem; font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-teal-bright); margin-bottom: 18px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; font-size: 0.93rem; color: var(--c-text-dim); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(45,212,191,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EEAD4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.section-head { margin-bottom: 48px; }
.section-head .section-lead { margin-bottom: 0; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.feature-card h3 { font-size: 1.08rem; margin-bottom: 0.4em; position: relative; z-index: 1; padding-right: 32px; }
.feature-card p { font-size: 0.93rem; margin: 0; position: relative; z-index: 1; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.steps { counter-reset: step; display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 38px 1fr; gap: 16px; }
.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-primary-diag); color: #0B0D17;
  font-family: var(--f-display); font-weight: 700; font-size: 0.95rem;
}
.steps h3 { font-size: 1.02rem; margin: 6px 0 4px; }
.steps p { font-size: 0.9rem; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  font-family: var(--f-mono); font-size: 0.82rem; padding: 8px 16px;
  border-radius: 100px; border: 1px solid var(--c-line); background: var(--c-ink-card); color: var(--c-text);
}
.chips.center { justify-content: center; }

/* Service link cards (home + hub + related) */
.service-link { display: flex; flex-direction: column; color: inherit; }
.service-link p { flex-grow: 1; }
.card-more {
  margin-top: 20px; font-size: 0.88rem; font-weight: 600; color: var(--c-teal-bright);
  position: relative; z-index: 1; display: inline-flex; gap: 6px; align-items: center;
}
.card-more::after { content: '→'; transition: transform 0.25s var(--ease); }
.service-link:hover .card-more::after { transform: translateX(4px); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-4 .card { padding: 28px 24px; }
.services-group + .services-group { margin-top: 72px; }
.services-group-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.services-group-head h3 { font-size: 1.5rem; margin: 0; }
.services-group-head p { margin: 6px 0 0; max-width: 560px; }
.link-arrow { font-weight: 600; color: var(--c-teal-bright); white-space: nowrap; }
.link-arrow:hover { color: var(--c-text); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 24px; padding: 56px;
  background: linear-gradient(135deg, rgba(108,111,245,0.22), rgba(45,212,191,0.12));
  border: 1px solid rgba(108,111,245,0.35);
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.3em; }
.cta-band p { margin: 0; max-width: 560px; color: var(--c-text-dim); }
.cta-band .hero-cta { margin: 0; }

/* Technologies */
.tech-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-group h2 { font-size: 1.1rem; margin-bottom: 6px; position: relative; z-index: 1; }
.tech-group p { font-size: 0.88rem; margin-bottom: 18px; position: relative; z-index: 1; }
.tech-group .chips { position: relative; z-index: 1; }
.tech-group .chips span { font-size: 0.78rem; padding: 6px 12px; background: rgba(255,255,255,0.03); }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; }
.stat strong { display: block; font-family: var(--f-display); font-size: 2rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 0.85rem; color: var(--c-text-faint); }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { font-size: 0.97rem; color: var(--c-text-dim); }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--c-teal-bright); text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound-code { font-family: var(--f-display); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; margin-bottom: 16px; }

/* Contact page */
.contact-aside .card + .card { margin-top: 20px; }
.contact-aside h3 { font-size: 1.05rem; position: relative; z-index: 1; }

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--c-violet-bright); color: #0B0D17; font-weight: 600;
  padding: 10px 16px; border-radius: var(--radius-sm); transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

@media (max-width: 1024px) {
  .page-hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-4, .tech-groups { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band { padding: 40px 32px; }
}
@media (max-width: 760px) {
  .grid-4, .tech-groups { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 40px 0 56px; }
  .cta-band { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* Form legal note, pricing note, misc */
.form-legal { text-align: center; font-size: 0.78rem; color: var(--c-text-faint); margin: 10px 0 0; }
.form-legal a { color: var(--c-text-dim); text-decoration: underline; text-underline-offset: 2px; }
.pricing-note { text-align: center; margin: 40px auto 0; max-width: 640px; font-size: 0.93rem; }
.pricing-note a { color: var(--c-teal-bright); font-weight: 600; white-space: nowrap; }
.footer-brand .contact-details { margin-top: 18px; gap: 6px; }
.footer-brand .contact-details li { font-size: 0.88rem; }
.contact-aside .steps { margin-top: 16px; position: relative; z-index: 1; }
.contact-aside .steps h3 { font-size: 0.98rem; }
.contact-aside .contact-details { position: relative; z-index: 1; }
.service-link h3 { padding-right: 28px; }
