/* ============================================================
   HXIQ Landing — futuristic dark canvas, brand gradient flow
   ============================================================ */

:root {
  /* Brand */
  --hxiq-primary: #2563EB;
  --hxiq-primary-deep: #1E40AF;
  --hxiq-accent: #22D3EE;
  --hxiq-accent-bright: #67E8F9;
  --hxiq-gradient: linear-gradient(135deg, #2563EB 0%, #22D3EE 100%);
  --hxiq-glow: 0 0 40px rgba(34, 211, 238, 0.35);

  /* Surfaces (dark canvas) */
  --surface: #0A1628;
  --surface-soft: #0F172A;
  --surface-elevated: #1E293B;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);

  /* Ink */
  --text: #F8FAFC;
  --text-soft: #CBD5E1;
  --text-muted: #94A3B8;
  --text-faint: #64748B;

  /* Spacing & rhythm */
  --space-section: clamp(5rem, 4rem + 6vw, 9rem);
  --radius-card: 18px;
  --radius-pill: 999px;
  --radius-btn: 10px;

  /* Type scale */
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  --text-4xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --text-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);
  --dur-fast: 180ms;
  --dur-mid: 360ms;
  --dur-slow: 720ms;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  letter-spacing: -0.005em;
  /* clip (not hidden) — hidden makes body a scroll container and breaks position:sticky on the nav */
  overflow-x: clip;
}

body {
  min-height: 100vh;
  position: relative;
}

::selection {
  background: var(--hxiq-accent);
  color: var(--surface);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Atmosphere — gradient mesh, orbs, grain, grid
   ============================================================ */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 35% at 18% 20%, rgba(37, 99, 235, 0.32), transparent 60%),
    radial-gradient(ellipse 40% 30% at 82% 30%, rgba(34, 211, 238, 0.22), transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 90%, rgba(99, 102, 241, 0.18), transparent 60%);
  filter: blur(20px);
  animation: meshDrift 24s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  mix-blend-mode: screen;
}
.orb-1 { width: 480px; height: 480px; left: -8%; top: 8%;  background: radial-gradient(circle at 30% 30%, #2563EB, transparent 65%); animation: orbA 22s ease-in-out infinite alternate; }
.orb-2 { width: 380px; height: 380px; right: -6%; top: 22%; background: radial-gradient(circle at 30% 30%, #22D3EE, transparent 65%); animation: orbB 18s ease-in-out infinite alternate; }
.orb-3 { width: 520px; height: 520px; left: 35%;  top: 78%; background: radial-gradient(circle at 30% 30%, #67E8F9, transparent 70%); opacity: 0.32; animation: orbC 28s ease-in-out infinite alternate; }

@keyframes orbA { to { transform: translate(80px, 60px); } }
@keyframes orbB { to { transform: translate(-60px, 40px); } }
@keyframes orbC { to { transform: translate(40px, -80px); } }

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grid-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(148, 163, 184, 0.06);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: backdrop-filter var(--dur-mid), background var(--dur-mid), border-color var(--dur-mid);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(10, 22, 40, 0.65);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: 40px; height: 20px; }
.brand-word {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.brand-word.small { font-size: 0.95rem; }

.nav-links {
  justify-self: center;
  display: flex;
  gap: 4px;
  padding: 6px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--text-soft);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-links a:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-cta { justify-self: end; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out),
    background var(--dur-fast),
    border-color var(--dur-fast);
  white-space: nowrap;
}
.btn-lg {
  padding: 14px 22px;
  font-size: 0.95rem;
  border-radius: 12px;
}

.btn-primary {
  background: var(--hxiq-gradient);
  color: #fff;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 8px 30px rgba(34, 211, 238, 0.18);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 12px 40px rgba(34, 211, 238, 0.32);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.55);
  border-color: var(--border);
  color: var(--text-soft);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(30, 41, 59, 0.7);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 4vw, 6rem) 28px clamp(4rem, 6vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

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

.hero-inner { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  /* Constrain to parent so text wraps inside the pill on narrow screens */
  max-width: 100%;
  text-align: left;
}
.eyebrow > span:not(.pulse) {
  /* allow the label text to wrap inside the pill instead of overflowing */
  white-space: normal;
  line-height: 1.35;
}
@media (max-width: 480px) {
  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    padding: 7px 12px;
    gap: 8px;
  }
}
.eyebrow-static {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--hxiq-accent);
  background: transparent;
  border: none;
  padding: 0;
  display: inline-block;
  margin-bottom: 14px;
}

.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hxiq-accent-bright);
  box-shadow: 0 0 12px var(--hxiq-accent-bright);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.78); }
}

.hero-title {
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 22px 0 24px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title em.grad {
  font-style: normal;
  background: var(--hxiq-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.25));
}

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

.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 0 32px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta strong {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.005em;
}
.hero-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 5/4;
  min-height: 360px;
}

.loop-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.2));
}

.visual-card {
  position: absolute;
  top: 8%;
  right: 4%;
  width: min(360px, 78%);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(10, 22, 40, 0.85));
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(34, 211, 238, 0.06);
  z-index: 2;
  animation: cardFloat 8s ease-in-out infinite alternate;
}
@keyframes cardFloat {
  to { transform: translate3d(-6px, -10px, 0); }
}

.vc-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.vc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
}
.vc-dot:nth-child(1) { background: #ef4444aa; }
.vc-dot:nth-child(2) { background: #f59e0baa; }
.vc-dot:nth-child(3) { background: #22c55eaa; }
.vc-label {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.vc-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }

.vc-row {
  display: grid;
  grid-template-columns: 86px 1fr 38px;
  align-items: center;
  gap: 10px;
}
.vc-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.vc-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text);
  text-align: right;
}
.vc-bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}
.vc-bar i {
  display: block;
  height: 100%;
  width: var(--p);
  background: var(--hxiq-gradient);
  border-radius: 4px;
  box-shadow: var(--hxiq-glow);
  animation: barIn 1.6s var(--ease-out) both;
}
@keyframes barIn { from { width: 0; } }

.vc-quote {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
  padding: 12px 14px;
  margin-top: 6px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 10px;
  position: relative;
}
.vc-quote .q {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  color: var(--hxiq-accent);
  position: absolute;
  top: -2px; left: 8px;
  line-height: 1;
}
.vc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.tag-warn {
  background: rgba(245, 158, 11, 0.1);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.3);
}

/* ============================================================
   Trust strip
   ============================================================ */

.trust {
  position: relative;
  z-index: 1;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.5);
}
.trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 48px;
}
.trust-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.trust-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 44px;
}
.trust-marks span {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  color: var(--text-soft);
  opacity: 0.55;
  transition: opacity var(--dur-fast), color var(--dur-fast);
}
.trust-marks span:hover { opacity: 1; color: var(--text); }

/* ============================================================
   Section heads
   ============================================================ */

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-section-bottom, 56px);
  text-align: center;
}
.section-head h2 {
  font-size: var(--text-4xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: var(--text-lg);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   Bento grid
   ============================================================ */

.bento {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}

.card {
  position: relative;
  grid-column: span 2;
  padding: 24px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(10, 22, 40, 0.75));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-mid), box-shadow var(--dur-mid);
  isolation: isolate;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, -100%) var(--my, -100%), rgba(34, 211, 238, 0.16), transparent 40%);
  opacity: 0;
  transition: opacity var(--dur-mid);
  pointer-events: none;
  z-index: -1;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
}
.card:hover::before { opacity: 1; }
.card-tall { grid-row: span 2; }
.card-wide { grid-column: span 4; }

.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--hxiq-accent);
  margin-bottom: 4px;
}
.card h3 {
  margin: 0;
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-weight: 600;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 2; }
  .card-tall { grid-row: auto; }
  .card-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .card, .card-wide { grid-column: 1; }
}

/* Card visual elements */
.slider-demo { margin-top: auto; padding-top: 12px; }
.slider-track {
  position: relative;
  height: 6px;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}
.slider-track::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 65%;
  background: var(--hxiq-gradient);
  border-radius: 3px;
}
.stop {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  position: relative;
  z-index: 1;
}
.stop.active {
  width: 16px; height: 16px;
  background: var(--hxiq-accent-bright);
  border: 2px solid #fff;
  box-shadow: var(--hxiq-glow);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.slider-labels .hot { color: var(--hxiq-accent); }

.code {
  margin: auto 0 0;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-soft);
  white-space: pre;
  overflow-x: auto;
}
.c-key { color: var(--hxiq-accent); }
.c-op  { color: #f472b6; }
.c-num { color: #fbbf24; }
.c-str { color: #a7f3d0; }

.wave {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 2px;
}
.wave span {
  flex: 1;
  background: var(--hxiq-gradient);
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite alternate;
  transform-origin: bottom;
}
.wave span:nth-child(odd)   { animation-duration: 1.6s; }
.wave span:nth-child(3n)    { animation-duration: 1.1s; }
.wave span:nth-child(4n)    { animation-duration: 1.9s; }
.wave span:nth-child(5n)    { animation-duration: 1.3s; }
.wave span:nth-child(7n)    { animation-duration: 0.9s; }
@keyframes wave {
  from { transform: scaleY(0.15); opacity: 0.3; }
  to   { transform: scaleY(1); opacity: 1; }
}

.cadence {
  margin-top: auto;
  position: relative;
  height: 36px;
}
.cadence-line {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.cadence .dot {
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--hxiq-accent-bright);
  box-shadow: 0 0 12px var(--hxiq-accent-bright);
}
.cadence .d1 { left: 8%; }
.cadence .d2 { left: 32%; opacity: 0.7; }
.cadence .d3 { left: 60%; opacity: 0.5; }
.cadence .d4 { left: 88%; opacity: 0.3; }

.kpis {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kpis li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.kpis strong {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  background: var(--hxiq-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kpis span {
  font-size: 0.72rem;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
}

.pdf-stack {
  margin-top: auto;
  position: relative;
  height: 180px;
}
.pdf {
  position: absolute;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.6);
}
.pdf.p1 { left: 10%; bottom: 0; width: 80%; height: 80%; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.pdf.p2 { left: 14%; bottom: 8px; width: 72%; height: 72%; opacity: 0.5; }
.pdf.p3 { left: 18%; bottom: 16px; width: 64%; height: 64%; opacity: 0.25; }
.pdf-bar { width: 28%; height: 4px; background: var(--hxiq-gradient); border-radius: 2px; }
.pdf-line { width: 80%; height: 6px; background: #cbd5e1; border-radius: 2px; }
.pdf-line.s { width: 60%; }
.pdf-chart {
  margin-top: auto;
  width: 100%;
  height: 60%;
  background:
    linear-gradient(180deg, transparent 60%, rgba(34, 211, 238, 0.2) 60%, transparent 80%),
    linear-gradient(90deg, #2563EB22, #22D3EE22);
  border-radius: 6px;
  position: relative;
}
.pdf-chart::after {
  content: '';
  position: absolute;
  inset: 12px 12px auto 12px;
  height: 2px;
  background: var(--hxiq-gradient);
  border-radius: 1px;
  transform: skewY(-8deg);
}

/* ============================================================
   Flow / steps
   ============================================================ */

.flow {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(10, 22, 40, 0.7));
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--hxiq-gradient);
  transform-origin: left;
  transform: scaleX(0);
  animation: stepLine 1.2s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
.step:nth-child(1) { --d: 0.1s; }
.step:nth-child(2) { --d: 0.3s; }
.step:nth-child(3) { --d: 0.5s; }
.step:nth-child(4) { --d: 0.7s; }
@keyframes stepLine { to { transform: scaleX(1); } }

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--hxiq-accent);
  letter-spacing: 0.08em;
}
.step h3 {
  margin: 8px 0 6px;
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   Stats
   ============================================================ */

.stats {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { text-align: left; }
.stat-num {
  font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--hxiq-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 200px;
  line-height: 1.45;
}

@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

/* ============================================================
   Story
   ============================================================ */

.story {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}
.story-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.story h2 {
  font-size: var(--text-4xl);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 8px 0 16px;
}
.story p {
  font-size: var(--text-lg);
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 36px;
}
.pull {
  margin: 0;
  padding: 32px 28px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-left: 3px solid var(--hxiq-accent);
  border-radius: 14px;
  text-align: left;
  backdrop-filter: blur(12px);
}
.pull p {
  font-size: var(--text-xl);
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.pull footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pull footer span {
  color: var(--text);
  font-weight: 600;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}
.cta-card {
  position: relative;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 211, 238, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(10, 22, 40, 0.95));
  border: 1px solid var(--border-strong);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.5), rgba(37, 99, 235, 0.0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.cta-card h2 {
  margin: 0 0 12px;
  font-size: var(--text-4xl);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
}
.cta-card p {
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: var(--text-lg);
}
.cta-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.cta-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.cta-form input::placeholder { color: var(--text-faint); }
.cta-form input:focus {
  border-color: var(--hxiq-accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}

/* Honeypot — hidden from real users, visible to dumb bots */
.honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Button label state machine */
.cta-form .t-sending,
.cta-form .t-sent,
.cta-form .t-error { display: none; }

.cta-form.sending .t-default,
.cta-form.sending .t-sent,
.cta-form.sending .t-error { display: none; }
.cta-form.sending .t-sending { display: inline; }
.cta-form.sending button { pointer-events: none; }
.cta-form.sending button svg {
  animation: spin 1s linear infinite;
  transform-origin: center;
}

.cta-form.sent .t-default,
.cta-form.sent .t-sending,
.cta-form.sent .t-error { display: none; }
.cta-form.sent .t-sent { display: inline; }
.cta-form.sent input { opacity: 0.6; pointer-events: none; }
.cta-form.sent button { pointer-events: none; }

.cta-form.error .t-default,
.cta-form.error .t-sending,
.cta-form.error .t-sent { display: none; }
.cta-form.error .t-error { display: inline; }
.cta-form.error button {
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 30px rgba(239, 68, 68, 0.18);
}

/* Foot copy state machine */
.cta-foot .cta-sending,
.cta-foot .cta-sent,
.cta-foot .cta-error { display: none; }
.cta-form.sent ~ .cta-foot .cta-default,
.cta-form.error ~ .cta-foot .cta-default { display: none; }
.cta-form.sent ~ .cta-foot .cta-sent { display: inline; }
.cta-form.error ~ .cta-foot .cta-error { display: inline; }
.cta-foot .cta-error a { color: var(--hxiq-accent); text-decoration: underline; text-underline-offset: 2px; }

.cta-foot {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.6);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 28px 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.5;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-cols h4 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-cols a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 4px 0;
  transition: color var(--dur-fast);
}
.footer-cols a:hover { color: var(--text); }

.footer-base {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-base { flex-direction: column; gap: 6px; }
}

/* ============================================================
   Reveal animations
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.hero .reveal:nth-child(1) { transition-delay: 0ms; }
.hero .reveal:nth-child(2) { transition-delay: 80ms; }
.hero .reveal:nth-child(3) { transition-delay: 160ms; }
.hero .reveal:nth-child(4) { transition-delay: 240ms; }
.hero .reveal:nth-child(5) { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mesh, .orb, .pulse, .wave span, .visual-card, .cadence .dot, .step::before { animation: none !important; }
  .loop-svg circle[fill="#67E8F9"] { display: none; }
}

/* ============================================================
   Industries
   ============================================================ */

.industries {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1080px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .industry-grid { grid-template-columns: 1fr; } }

.industry {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(10, 22, 40, 0.75));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-mid), box-shadow var(--dur-mid);
  overflow: hidden;
  isolation: isolate;
}
.industry::after {
  content: '';
  position: absolute;
  inset: -40% -40% auto auto;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
  transform: translate3d(0,0,0);
  transition: transform var(--dur-slow) var(--ease-out);
}
.industry:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}
.industry:hover::after { transform: translate3d(-30px, 30px, 0); }

.industry-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.18);
  color: var(--hxiq-accent-bright);
}
.industry h3 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.industry > p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.industry-stats {
  list-style: none;
  margin: 8px 0 0;
  padding: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--border);
}
.industry-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.industry-stats strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  background: var(--hxiq-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.industry-stats span {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.industry-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* ============================================================
   Intel — AI deep dive
   ============================================================ */

.intel {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}

.intel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) {
  .intel-grid { grid-template-columns: 1fr; }
}

.intel-text h2 {
  font-size: var(--text-4xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 8px 0 18px;
}
.intel-text > p {
  color: var(--text-soft);
  font-size: var(--text-lg);
  line-height: 1.55;
  margin: 0 0 28px;
}

.intel-caps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}
@media (max-width: 560px) { .intel-caps { grid-template-columns: 1fr; } }

.intel-caps li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}
.intel-caps li svg {
  margin-top: 4px;
  color: var(--hxiq-accent);
  background: rgba(34, 211, 238, 0.12);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  padding: 4px;
  box-sizing: border-box;
}
.intel-caps li div { display: flex; flex-direction: column; gap: 2px; }
.intel-caps strong { font-size: 0.95rem; font-weight: 600; color: var(--text); letter-spacing: -0.005em; }
.intel-caps span { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }

/* Pipeline visual */
.intel-visual {
  padding: 28px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65), rgba(10, 22, 40, 0.85));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
}
.pipeline {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 0;
}
@media (max-width: 720px) {
  .pipeline { grid-template-columns: 1fr; gap: 16px; }
  .pipe-arrow { transform: rotate(90deg); height: 24px; width: 100%; }
}

.pipe-stage {
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  min-height: 130px;
  justify-content: center;
}
.ps-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--hxiq-accent);
  text-transform: uppercase;
}

.ps-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.ps-tokens span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-soft);
  border: 1px solid var(--border);
}

.pipe-arrow {
  width: 100%;
  height: 24px;
  align-self: center;
}

.pipe-core {
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.15), rgba(15, 23, 42, 0.6) 70%);
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.18) inset;
}
.core-ring {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--hxiq-gradient);
  display: grid;
  place-items: center;
  box-shadow: var(--hxiq-glow);
}
.core-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(34, 211, 238, 0.4);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.core-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff;
}
.core-mod {
  position: absolute;
  bottom: -22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
}
.core-meta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.core-meta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  color: var(--text-muted);
}

.ps-out { display: flex; flex-direction: column; gap: 6px; align-self: stretch; }
.ps-out-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-soft);
  padding: 6px 10px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.dotc {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hxiq-accent-bright);
  box-shadow: 0 0 8px var(--hxiq-accent-bright);
}

.intel-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}
.if-key { color: var(--text-faint); letter-spacing: 0.04em; text-transform: uppercase; }
.if-val { color: var(--text-soft); }

/* ============================================================
   Integrations
   ============================================================ */

.integrations {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}

.int-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.int-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(10, 22, 40, 0.6));
  border: 1px solid var(--border);
}
@media (max-width: 720px) {
  .int-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; }
}
.int-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--hxiq-accent);
}
.int-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.int-mark {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border);
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.int-mark:hover {
  color: var(--text);
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-1px);
}

/* ============================================================
   Testimonials
   ============================================================ */

.testimonials {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px)  { .t-grid { grid-template-columns: 1fr; } }

.t-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(10, 22, 40, 0.8));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  transition: border-color var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.t-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.t-card-feature {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 211, 238, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(10, 22, 40, 0.95));
  border-color: rgba(34, 211, 238, 0.28);
}

.t-badge {
  position: absolute;
  top: -10px;
  left: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--hxiq-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.32);
}

.t-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.005em;
  position: relative;
}
.t-card blockquote::before {
  content: '"';
  position: absolute;
  top: -20px; left: -8px;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--hxiq-accent);
  opacity: 0.4;
  line-height: 1;
}
.t-card blockquote p { margin: 0; }

.t-card figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--hxiq-gradient);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  box-shadow: var(--hxiq-glow);
}
.t-meta { display: flex; flex-direction: column; gap: 1px; }
.t-name { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.t-role { font-size: 0.78rem; color: var(--text-muted); }
.t-co   { font-size: 0.74rem; color: var(--text-faint); font-family: 'JetBrains Mono', monospace; }

/* ============================================================
   Story — meta line
   ============================================================ */

.story-meta {
  list-style: none;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.story-meta strong { color: var(--text); font-weight: 600; }
.story-meta span { display: inline-flex; gap: 6px; align-items: baseline; }

/* ============================================================
   Security & compliance
   ============================================================ */

.security {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}

.security-card {
  padding: 36px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(10, 22, 40, 0.85));
  border: 1px solid var(--border-strong);
}
@media (max-width: 720px) {
  .security-card { padding: 24px; }
}

.sec-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 880px) { .sec-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sec-badges { grid-template-columns: 1fr; } }

.sec-badge {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 18px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
}
.sec-badge svg {
  grid-row: span 2;
  width: 44px; height: 44px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.18);
  color: var(--hxiq-accent-bright);
}
.sec-badge strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}
.sec-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sec-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
}
@media (max-width: 720px) { .sec-meta { grid-template-columns: 1fr; } }
.sec-meta > div { display: flex; flex-direction: column; gap: 2px; }
.sm-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sm-val {
  font-size: 0.86rem;
  color: var(--text-soft);
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   Pricing
   ============================================================ */

.pricing {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 980px) { .price-grid, .price-grid-2 { grid-template-columns: 1fr; } }

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 28px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65), rgba(10, 22, 40, 0.8));
  border: 1px solid var(--border);
  transition: border-color var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.price:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.price-feature {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(10, 22, 40, 0.95));
  border-color: rgba(34, 211, 238, 0.32);
  box-shadow: 0 30px 60px -30px rgba(34, 211, 238, 0.32);
}

.price-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--hxiq-gradient);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.32);
}

.price-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.price-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hxiq-accent);
}
.price-fig {
  display: baseline;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-fig strong {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--hxiq-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-fig span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.price-head p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.price-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-feats li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.price-feats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--hxiq-gradient);
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.5);
}
.price-feats li.dim {
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--text-faint);
}
.price-feats li.dim::before {
  background: var(--text-faint);
  box-shadow: none;
  opacity: 0.4;
}

.price-cta {
  width: 100%;
  justify-content: center;
}

.price-foot {
  text-align: center;
  margin: 28px auto 0;
  max-width: 720px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: var(--space-section) 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.q {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(10, 22, 40, 0.7));
  overflow: hidden;
  transition: border-color var(--dur-mid);
}
.q[open] {
  border-color: rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(ellipse 60% 100% at 0% 0%, rgba(34, 211, 238, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(10, 22, 40, 0.85));
}

.q summary {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.q summary::-webkit-details-marker { display: none; }

.q-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--hxiq-accent);
  letter-spacing: 0.04em;
}
.q-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.q-icon {
  position: relative;
  width: 16px; height: 16px;
}
.q-icon::before, .q-icon::after {
  content: '';
  position: absolute;
  background: var(--text-soft);
  border-radius: 1px;
  transition: transform var(--dur-mid) var(--ease-out), background var(--dur-fast);
}
.q-icon::before { top: 7px; left: 0;  width: 16px; height: 2px; }
.q-icon::after  { top: 0;  left: 7px; width: 2px;  height: 16px; }
.q[open] .q-icon::after { transform: rotate(90deg); }
.q[open] .q-icon::before, .q[open] .q-icon::after { background: var(--hxiq-accent); }

.q-body {
  padding: 0 22px 22px 72px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.q-body p { margin: 0; }
.q-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--hxiq-accent);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 560px) {
  .q summary { grid-template-columns: 28px 1fr 20px; padding: 16px 18px; gap: 10px; }
  .q-body { padding: 0 18px 18px 56px; }
}

/* ============================================================
   Reduced motion overrides for new sections
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .core-ring::before { animation: none !important; }
}
