/* ═══════════════════════════════════════════════════
   WOZIQ LANDING — Design System + Styles
   ═══════════════════════════════════════════════════ */

/* === 0. TOKENS === */
:root {
  --midnight:    #060816;
  --deep-navy:   #0B1030;
  --woz-white:   #F7F8FC;
  --gray-50:     #F8F9FB;
  --gray-100:    #EFF1F5;
  --gray-400:    #9AA2B8;
  --gray-600:    #64748B;
  --gray-800:    #1E2435;
  --purple:      #A52CF4;
  --magenta:     #EA168C;
  --coral:       #FF5C58;
  --orange:      #FF8A4C;
  --ig:          linear-gradient(90deg, #A52CF4 0%, #EA168C 40%, #FF5C58 72%, #FF8A4C 100%);
  --surface-d:   rgba(247,248,252,0.04);
  --surface-d2:  rgba(247,248,252,0.07);
  --border-d:    rgba(247,248,252,0.09);
  --border-l:    rgba(0,0,0,0.08);
  --text-muted-d: rgba(247,248,252,0.52);
  --font-display: 'Manrope', -apple-system, sans-serif;
  --font-ui:      'Inter', -apple-system, sans-serif;
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   .22s cubic-bezier(.4,0,.2,1);
  --shadow-card:  0 2px 20px rgba(0,0,0,.18);
}

/* === 1. BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--midnight);
  background: var(--midnight);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* === 2. UTILITIES === */
.grad-text {
  background: var(--ig);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-border {
  position: relative;
}
.grad-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--ig);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

.section-eyebrow.dark { color: var(--purple); }
.section-eyebrow.light { color: var(--purple); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* === 3. LOGO === */
.woziq-logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.logo-woz { color: var(--woz-white); }
.logo-iq {
  background: var(--ig);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-descriptor {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted-d);
  display: block;
  margin-top: 2px;
}

/* === 4. HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(6,8,22,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-d);
}
.header-logo { font-size: 22px; flex-shrink: 0; }
.header-logo .logo-descriptor { display: none; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(247,248,252,.6);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.header-nav a:hover { color: var(--woz-white); background: rgba(247,248,252,.07); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-login {
  font-size: 13px;
  font-weight: 600;
  color: rgba(247,248,252,.6);
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-d);
  transition: color var(--transition), border-color var(--transition);
}
.btn-login:hover { color: var(--woz-white); border-color: rgba(247,248,252,.2); }

.btn-demo {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 9px 22px;
  border-radius: 8px;
  background: var(--ig);
  transition: opacity var(--transition), transform var(--transition);
}
.btn-demo:hover { opacity: .9; transform: translateY(-1px); }

.nav-mobile-toggle {
  display: none;
  color: var(--woz-white);
  font-size: 22px;
  padding: 4px 8px;
  margin-left: auto;
}

/* === 5. HERO === */
.hero {
  min-height: 100svh;
  background: var(--midnight);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}

.hero-glow {
  position: absolute;
  pointer-events: none;
}
.hero-glow-1 {
  bottom: -120px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 400px;
  background: radial-gradient(ellipse, rgba(165,44,244,.14) 0%, rgba(234,22,140,.07) 40%, transparent 70%);
  filter: blur(40px);
}
.hero-glow-2 {
  top: 20%; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(165,44,244,.08) 0%, transparent 65%);
  filter: blur(60px);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted-d);
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ig);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--woz-white);
  letter-spacing: -.02em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-h1 em { font-style: normal; }

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted-d);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-primary {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  background: var(--ig);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(165,44,244,.35);
}
.cta-primary:hover { opacity: .92; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(165,44,244,.4); }

.cta-secondary {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: rgba(247,248,252,.75);
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid var(--border-d);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.cta-secondary:hover { color: var(--woz-white); border-color: rgba(247,248,252,.2); background: var(--surface-d); }

/* ═══════════════════════════════════════
   HERO VISUAL — Intelligence Dashboard
═══════════════════════════════════════ */
.hero-visual {
  position: relative;
  padding-top: 52px;
  padding-bottom: 44px;
}

/* ── Floating cards ── */
.hv-float {
  position: absolute;
  background: var(--deep-navy);
  border: 1px solid var(--border-d);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
  animation: hvc-fadein .5s ease both;
  z-index: 2;
}

/* Float 1: opportunity (top-right) */
.hv-fc1 {
  top: 4px;
  right: -6px;
  padding: 14px 16px;
  min-width: 192px;
  animation-delay: 1.4s;
  background: linear-gradient(135deg, rgba(165,44,244,.14), rgba(234,22,140,.06));
  border-color: rgba(165,44,244,.28);
}
.hv-fc1-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--ig);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.hv-fc1-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--woz-white);
  letter-spacing: -.02em;
  line-height: 1;
}
.hv-fc1-per { font-size: 12px; font-weight: 500; color: rgba(247,248,252,.4); }
.hv-fc1-sub { font-size: 10px; color: rgba(247,248,252,.45); margin-top: 4px; line-height: 1.4; }
.hv-fc1-tag {
  margin-top: 10px;
  padding: 3px 8px;
  background: rgba(165,44,244,.18);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  color: #C97AF5;
  letter-spacing: .1em;
  text-transform: uppercase;
  width: fit-content;
}

/* Float 2: automation (bottom-left) */
.hv-fc2 {
  bottom: 4px;
  left: -6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  animation-delay: 1.8s;
}
.hv-fc2-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(165,44,244,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.hv-fc2-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--woz-white);
  letter-spacing: -.01em;
  line-height: 1;
}
.hv-fc2-lbl { font-size: 10px; color: rgba(247,248,252,.45); margin-top: 2px; }

/* ── Main panel grid ── */
.hv-panel {
  display: grid;
  grid-template-columns: 1fr 188px;
  grid-template-areas:
    "ph ph"
    "za zb"
    "ks zb"
    "ib ib";
  background: var(--deep-navy);
  border: 1px solid var(--border-d);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(165,44,244,.12);
}

/* Panel header */
.hv-panel-hd {
  grid-area: ph;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-d);
}
.hv-ph-left { display: flex; align-items: center; gap: 8px; }
.hv-ph-name { font-size: 11px; font-weight: 700; color: var(--woz-white); letter-spacing: .04em; }
.hv-ph-sep { color: rgba(247,248,252,.2); }
.hv-ph-period { font-size: 10px; color: rgba(247,248,252,.38); }

.hv-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #34D399;
  flex-shrink: 0;
}
.hv-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  position: relative;
}
.hv-live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #34D399;
  animation: hv-pulse 2s ease-out infinite;
}
@keyframes hv-pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Zone A: main chart */
.hv-zone-a {
  grid-area: za;
  padding: 16px 20px 0;
}

.hv-hero-metric { margin-bottom: 12px; }
.hv-hm-top { display: flex; align-items: flex-end; gap: 20px; }
.hv-hm-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,248,252,.35);
  margin-bottom: 4px;
}
.hv-hm-val {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--woz-white);
  letter-spacing: -.03em;
  line-height: 1;
}
.hv-hm-delta-block { padding-bottom: 4px; }
.hv-hm-delta {
  font-size: 14px;
  font-weight: 700;
  color: #34D399;
  line-height: 1;
}
.hv-hm-delta-sub {
  font-size: 9.5px;
  color: rgba(247,248,252,.32);
  margin-top: 3px;
}

.hv-main-chart-wrap { position: relative; }
.hv-main-svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Chart animations */
.hvc-line2 {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: hvc-draw 2s cubic-bezier(.4,0,.2,1) .4s forwards;
}
.hvc-area2 {
  opacity: 0;
  animation: hvc-fadein .9s ease .9s forwards;
}
.hvc-prev {
  opacity: 0;
  animation: hvc-fadein .6s ease 1.1s forwards;
}
.hvc-marker2 {
  opacity: 0;
  animation: hvc-fadein .4s ease 1.6s forwards;
}
@keyframes hvc-draw { to { stroke-dashoffset: 0; } }
@keyframes hvc-fadein { to { opacity: 1; } }

/* X-axis labels row */
.hv-x-labels {
  display: flex;
  justify-content: space-between;
  padding: 5px 0 14px;
}
.hv-x-labels span {
  font-size: 9px;
  color: rgba(247,248,252,.26);
  font-weight: 600;
  letter-spacing: .05em;
}

/* KPI strip with sparklines */
.hv-kpi-strip {
  grid-area: ks;
  display: flex;
  border-top: 1px solid var(--border-d);
}
.hv-ks-item {
  flex: 1;
  padding: 11px 14px;
  min-width: 0;
}
.hv-ks-sep {
  width: 1px;
  background: var(--border-d);
  align-self: stretch;
  flex-shrink: 0;
}
.hv-ks-v {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--woz-white);
  letter-spacing: -.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hv-ks-l {
  font-size: 8.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(247,248,252,.3);
  margin-top: 3px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv-ks-spark { display: block; width: 100%; height: 18px; }

/* Zone B: right sidebar */
.hv-zone-b {
  grid-area: zb;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-d);
}
.hv-mini-card {
  flex: 1;
  padding: 12px 13px;
  border-bottom: 1px solid var(--border-d);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.hv-mini-card:last-child { border-bottom: none; }
.hv-mc-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(247,248,252,.36);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hv-badge {
  background: rgba(52,211,153,.14);
  color: #34D399;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 8.5px;
  font-weight: 700;
}

/* Donut chart */
.hv-seg-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex: 1;
  justify-content: center;
}
.hv-donut-svg {
  width: 64px; height: 64px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.hv-seg-legend { width: 100%; }
.hv-sl-i {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}
.hv-sl-i:last-child { margin-bottom: 0; }
.hv-sl-dot { width: 6px; height: 6px; border-radius: 2px; flex-shrink: 0; }
.hv-sl-name { font-size: 9px; color: rgba(247,248,252,.55); flex: 1; }
.hv-sl-pct { font-size: 9px; font-weight: 700; color: var(--woz-white); font-variant-numeric: tabular-nums; }

/* Funnel mini */
.hv-funnel-rows { display: flex; flex-direction: column; gap: 7px; flex: 1; justify-content: center; }
.hv-fr { display: flex; flex-direction: column; gap: 3px; }
.hv-fr-info { display: flex; justify-content: space-between; align-items: center; }
.hv-fr-lbl { font-size: 8.5px; color: rgba(247,248,252,.38); }
.hv-fr-v { font-size: 9px; font-weight: 700; color: rgba(247,248,252,.72); font-variant-numeric: tabular-nums; }
.hv-fr-bar {
  height: 4px;
  border-radius: 2px;
  width: var(--w);
  background: var(--c);
  opacity: .75;
}

/* Automation mini bar chart */
.hv-auto-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--woz-white);
  letter-spacing: -.02em;
  line-height: 1;
}
.hv-auto-sub { font-size: 9.5px; color: rgba(247,248,252,.38); margin-top: 2px; margin-bottom: 10px; }
.hv-auto-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  flex-shrink: 0;
}
.hv-ab {
  flex: 1;
  background: rgba(165,44,244,.28);
  border-radius: 2px 2px 0 0;
}
.hv-ab-active {
  height: 100% !important;
  background: linear-gradient(to top, #A52CF4, #EA168C);
}

/* Insight bar */
.hv-insight-bar {
  grid-area: ib;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: rgba(165,44,244,.07);
  border-top: 1px solid rgba(165,44,244,.16);
}
.hv-ib-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #A52CF4;
  flex-shrink: 0;
  position: relative;
}
.hv-ib-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #A52CF4;
  animation: hv-pulse 2.5s ease-out infinite;
}
.hv-ib-body { flex: 1; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hv-ib-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--ig);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.hv-ib-txt { font-size: 10px; color: rgba(247,248,252,.52); line-height: 1.4; }
.hv-ib-action {
  font-size: 10px;
  font-weight: 700;
  color: rgba(165,44,244,.75);
  flex-shrink: 0;
  white-space: nowrap;
}

/* === 6. INTELLIGENCE FLOW === */
.section-flow {
  background: #F0F2FA;
  padding: 130px 48px;
  position: relative;
  overflow: hidden;
}
.section-flow::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(165,44,244,.07) 0%, rgba(234,22,140,.03) 45%, transparent 70%);
  pointer-events: none;
}
.section-flow-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.section-flow h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.section-flow .flow-sub {
  font-size: 21px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 90px;
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}

/* Side columns */
.flow-col-inputs, .flow-col-outputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-width: 210px;
}
.flow-col-inputs { align-items: flex-end; padding-right: 32px; }
.flow-col-outputs { align-items: flex-start; padding-left: 32px; }

.flow-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.flow-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-600);
  background: #fff;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 8px;
  padding: 7px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.flow-tag:hover {
  border-color: rgba(165,44,244,.3);
  color: var(--purple);
  box-shadow: 0 2px 12px rgba(165,44,244,.1);
  transform: translateX(-2px);
}
.flow-col-outputs .flow-tag:hover { transform: translateX(2px); }

.flow-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  flex-shrink: 0;
  opacity: .5;
}

/* Horizontal connectors from tags to chain */
.flow-connector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  position: relative;
  align-items: center;
}
.flow-conn-lines {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 28px 0;
}
.flow-conn-line {
  height: 1px;
  width: 28px;
  background: linear-gradient(to right, rgba(165,44,244,.0), rgba(165,44,244,.3));
}
.flow-col-outputs .flow-conn-line {
  background: linear-gradient(to left, rgba(165,44,244,.0), rgba(165,44,244,.3));
}

/* Central chain */
.flow-chain {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.flow-node {
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 12px;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-800);
  min-width: 160px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.flow-node.woziq-node {
  background: var(--deep-navy);
  color: var(--woz-white);
  padding: 18px 40px;
  border-radius: 14px;
  border: none;
  position: relative;
  box-shadow: 0 0 0 1.5px transparent, 0 8px 40px rgba(165,44,244,.4), 0 0 60px rgba(165,44,244,.15);
  animation: woziq-pulse 3s ease-in-out infinite;
  font-size: 20px;
  letter-spacing: -.01em;
  text-transform: none;
}
.flow-node.woziq-node::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: var(--ig);
  z-index: -1;
  opacity: .9;
}
.flow-node.woziq-node .logo-iq {
  background: var(--ig);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated arrows */
.flow-arrow {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(165,44,244,.3), rgba(234,22,140,.3));
  position: relative;
  overflow: visible;
}
.flow-arrow::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid rgba(165,44,244,.5);
}

.flow-dot-anim {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  box-shadow: 0 0 8px rgba(165,44,244,.8);
  animation: dot-travel 2.2s ease-in-out infinite;
}
.flow-arrow:nth-of-type(2) .flow-dot-anim { animation-delay: .55s; }
.flow-arrow:nth-of-type(3) .flow-dot-anim { animation-delay: 1.1s; }
.flow-arrow:nth-of-type(4) .flow-dot-anim { animation-delay: 1.65s; }

@keyframes dot-travel {
  0%   { top: -3px; opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: calc(100% + 3px); opacity: 0; }
}
@keyframes woziq-pulse {
  0%, 100% { box-shadow: 0 8px 40px rgba(165,44,244,.4), 0 0 60px rgba(165,44,244,.15); }
  50%       { box-shadow: 0 8px 50px rgba(165,44,244,.6), 0 0 80px rgba(165,44,244,.25); }
}

/* === 7. SOLUTIONS === */
.section-solutions {
  background: #fff;
  padding: 120px 48px;
}
.section-solutions-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-solutions h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -.02em;
  margin-bottom: 64px;
  max-width: 680px;
  text-wrap: balance;
}
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sol-card {
  background: #fff;
  border: 1.5px solid var(--border-l);
  border-radius: 16px;
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.sol-card:hover {
  border-color: rgba(165,44,244,.25);
  box-shadow: 0 8px 40px rgba(165,44,244,.08);
  transform: translateY(-3px);
}
.sol-icon-wrap {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(165,44,244,.1), rgba(234,22,140,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.sol-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.sol-desc { font-size: 14px; line-height: 1.6; color: var(--gray-600); }
.sol-mini {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-50);
  border: 1px solid var(--border-l);
  padding: 12px;
  min-height: 60px;
}

/* Mini viz components */
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.mini-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(165,44,244,.6), rgba(234,22,140,.3));
  border-radius: 3px 3px 0 0;
}
.mini-profile {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mini-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(165,44,244,.3), rgba(234,22,140,.2));
  flex-shrink: 0;
}
.mini-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mini-line {
  height: 7px; border-radius: 3px;
  background: var(--border-l);
}
.mini-line.accent { background: linear-gradient(90deg, rgba(165,44,244,.4), rgba(234,22,140,.2)); }

/* Customer Intelligence mini viz */
.mini-ci-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mini-ci-name { font-size: 10px; font-weight: 700; color: var(--gray-700); line-height: 1; }
.mini-ci-seg { font-size: 9px; color: rgba(165,44,244,.7); margin-top: 2px; font-weight: 600; }
.mini-ci-metrics { display: flex; flex-direction: column; gap: 5px; }
.mini-ci-row { display: flex; align-items: center; gap: 6px; }
.mini-ci-lbl { font-size: 8.5px; color: var(--gray-500); width: 54px; flex-shrink: 0; }
.mini-ci-bar-wrap { flex: 1; height: 5px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.mini-ci-bar { height: 100%; border-radius: 3px; opacity: .8; }
.mini-ci-val { font-size: 8.5px; font-weight: 700; color: var(--gray-600); width: 34px; text-align: right; flex-shrink: 0; font-variant-numeric: tabular-nums; }

.mini-chat { display: flex; flex-direction: column; gap: 6px; }
.mini-msg {
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 8px;
  line-height: 1.3;
  max-width: 85%;
}
.mini-msg.bot { background: rgba(165,44,244,.12); color: var(--gray-600); align-self: flex-start; }
.mini-msg.user { background: var(--gray-100); color: var(--gray-600); align-self: flex-end; }
.mini-segments { display: flex; gap: 4px; flex-wrap: wrap; }
.mini-seg {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.mini-seg.a { background: rgba(165,44,244,.12); color: var(--purple); }
.mini-seg.b { background: rgba(234,22,140,.1); color: var(--magenta); }
.mini-seg.c { background: rgba(255,92,88,.1); color: var(--coral); }
.mini-seg.d { background: rgba(255,138,76,.12); color: var(--orange); }
.mini-workflow {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-wf-node {
  flex: 1;
  height: 22px;
  border-radius: 4px;
  background: var(--border-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--gray-600);
}
.mini-wf-node.active { background: rgba(165,44,244,.15); color: var(--purple); }
.mini-wf-arrow { font-size: 9px; color: var(--gray-400); }
.mini-channels { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mini-ch {
  font-size: 9px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-l);
  color: var(--gray-600);
}
.mini-ch.live { border-color: rgba(52,211,153,.4); color: #059669; background: rgba(52,211,153,.08); }

/* === 8. PRODUCT INTELLIGENCE === */
.section-product {
  background: var(--midnight);
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}
.section-product::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(165,44,244,.1) 0%, transparent 65%);
  pointer-events: none;
}
.section-product-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-product h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  color: var(--woz-white);
  letter-spacing: -.02em;
  margin-bottom: 8px;
  text-wrap: balance;
}
.section-product .prod-sub {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: var(--text-muted-d);
  margin-bottom: 64px;
}
.prod-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.prod-dash {
  background: var(--deep-navy);
  border: 1px solid var(--border-d);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.prod-dash-header {
  background: rgba(247,248,252,.03);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-d);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prod-dash-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(247,248,252,.6);
  letter-spacing: .05em;
}
.prod-dash-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(165,44,244,.15);
  color: var(--purple);
}
.prod-dash-body { padding: 20px; }
.prod-chart-area {
  background: rgba(247,248,252,.03);
  border: 1px solid var(--border-d);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  height: 140px;
  position: relative;
  overflow: hidden;
}
.prod-chart-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247,248,252,.35);
  margin-bottom: 8px;
}
.prod-chart-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--woz-white);
}
.prod-chart-delta {
  font-size: 12px;
  font-weight: 600;
  color: #34D399;
  margin-top: 2px;
}
.prod-chart-svg {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  opacity: .5;
}
.prod-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.prod-kpi {
  background: rgba(247,248,252,.04);
  border: 1px solid var(--border-d);
  border-radius: 8px;
  padding: 10px;
}
.prod-kpi-l { font-size: 10px; color: rgba(247,248,252,.4); margin-bottom: 3px; }
.prod-kpi-v { font-size: 16px; font-weight: 700; color: var(--woz-white); }
.prod-kpi-d { font-size: 10px; font-weight: 600; }
.prod-kpi-d.up { color: #34D399; }
.prod-kpi-d.down { color: var(--coral); }

.prod-insights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.insight-float {
  background: var(--deep-navy);
  border: 1px solid var(--border-d);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
}
.insight-float::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 12px 0 0 12px;
  background: var(--ig);
}
.insight-float-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--ig);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}
.insight-float-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--woz-white);
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.insight-float-text { font-size: 12px; color: var(--text-muted-d); line-height: 1.4; }

/* === 9. INTEGRATIONS === */
.section-integrations {
  background: var(--gray-50);
  padding: 120px 48px;
}
.section-integrations-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.section-integrations h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-integrations .int-sub {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 580px;
  margin: 0 auto 64px;
  line-height: 1.65;
}
.int-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.int-card {
  background: #fff;
  border: 1.5px solid var(--border-l);
  border-radius: 16px;
  padding: 32px 36px;
  text-align: center;
  min-width: 200px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.int-card:hover:not(.int-card-coming) {
  border-color: rgba(165,44,244,.25);
  box-shadow: 0 8px 32px rgba(165,44,244,.06);
}
.int-card-coming { opacity: .45; }
.int-card-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.int-card-logo.ps { background: rgba(223,0,103,.08); }
.int-card-logo.future { background: var(--gray-100); font-size: 20px; }
.int-card-name { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.int-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(165,44,244,.1);
  color: var(--purple);
}
.int-card-badge.soon {
  background: var(--gray-100);
  color: var(--gray-400);
}
.int-woziq-layer {
  max-width: 640px;
  margin: 48px auto 0;
  background: var(--deep-navy);
  border-radius: 14px;
  border: 1px solid var(--border-d);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}
.int-woziq-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted-d);
  margin-bottom: 4px;
}
.int-woziq-desc { font-size: 13px; color: rgba(247,248,252,.5); line-height: 1.5; }

/* === 10. DEMO FORM === */
.section-demo {
  background: var(--midnight);
  padding: 120px 48px;
  position: relative;
}
.section-demo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--ig);
  opacity: .2;
}
.section-demo-inner {
  max-width: 900px;
  margin: 0 auto;
}
.demo-header { max-width: 600px; margin-bottom: 56px; }
.demo-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--woz-white);
  letter-spacing: -.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.demo-header p { font-size: 16px; line-height: 1.65; color: var(--text-muted-d); }

.demo-form-wrap {
  background: var(--deep-navy);
  border: 1px solid var(--border-d);
  border-radius: 20px;
  padding: 40px 44px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 500; color: rgba(247,248,252,.6); }
.form-input, .form-select {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--woz-white);
  background: rgba(247,248,252,.05);
  border: 1px solid var(--border-d);
  border-radius: 9px;
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.form-input::placeholder { color: rgba(247,248,252,.25); }
.form-input:focus, .form-select:focus {
  border-color: rgba(165,44,244,.5);
  background: rgba(247,248,252,.07);
}
.form-select option { background: var(--deep-navy); color: var(--woz-white); }
.form-select { appearance: none; cursor: pointer; }

.form-submit-wrap { margin-top: 8px; }
.btn-form-submit {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 14px 40px;
  border-radius: 10px;
  background: var(--ig);
  width: 100%;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 24px rgba(165,44,244,.3);
}
.btn-form-submit:hover { opacity: .9; transform: translateY(-1px); }
.btn-form-submit:disabled { opacity: .5; transform: none; cursor: not-allowed; }

.form-micro {
  text-align: center;
  font-size: 12px;
  color: rgba(247,248,252,.3);
  margin-top: 14px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.visible { display: block; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--woz-white);
  margin-bottom: 12px;
}
.form-success p { font-size: 15px; color: var(--text-muted-d); line-height: 1.6; }
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(52,211,153,.12);
  border: 1px solid rgba(52,211,153,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

/* === 11. FOOTER === */
.site-footer {
  background: var(--deep-navy);
  border-top: 1px solid var(--border-d);
  padding: 64px 48px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo { font-size: 24px; margin-bottom: 10px; }
.footer-brand-desc {
  font-size: 13px;
  color: var(--text-muted-d);
  margin-top: 6px;
  line-height: 1.5;
  max-width: 240px;
}
.footer-claim {
  font-size: 12px;
  font-style: italic;
  color: rgba(247,248,252,.3);
  margin-top: 12px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,248,252,.5);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(247,248,252,.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(247,248,252,.85); }
.footer-bottom {
  border-top: 1px solid var(--border-d);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 12px;
  color: rgba(247,248,252,.3);
}

/* === 12. KEYFRAMES === */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}
@keyframes grad-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes float-in-l {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float-in-r {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes count-up { from { opacity: 0; } to { opacity: 1; } }

/* === 13. MOBILE NAV === */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--midnight);
  flex-direction: column;
  padding: 80px 32px 40px;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: rgba(247,248,252,.7);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-d);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--woz-white); }
.mobile-nav .mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 28px;
  color: var(--woz-white);
  background: none;
  border: none;
  cursor: pointer;
}

/* === 14. RESPONSIVE === */
@media (max-width: 1024px) {
  .site-header { padding: 18px 32px; }
  .hero { padding: 110px 32px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-h1 { font-size: 44px; }
  .hero-sub { max-width: 100%; }
  .hero-visual { max-width: 600px; }
  .hv-fc1 { right: 0; top: 0; min-width: 176px; }
  .hv-fc2 { left: 0; bottom: 0; }
  .hv-panel { grid-template-columns: 1fr 160px; }
  .prod-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-flow, .section-solutions, .section-product,
  .section-integrations, .section-demo { padding: 80px 32px; }
}

@media (max-width: 768px) {
  .site-header { padding: 16px 20px; }
  .header-nav, .btn-login, .btn-demo { display: none; }
  .nav-mobile-toggle { display: block; }
  .header-actions .btn-demo { display: none; }

  .hero { padding: 100px 20px 60px; }
  .hero-inner { gap: 40px; }
  .hero-h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; }
  .cta-primary, .cta-secondary { text-align: center; }

  .section-flow, .section-solutions, .section-product,
  .section-integrations, .section-demo { padding: 64px 20px; }

  .flow-diagram { flex-direction: column; align-items: center; gap: 24px; }
  .flow-col-inputs, .flow-col-outputs {
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    align-items: center;
  }
  .flow-col-inputs .flow-tag:hover { transform: none; }
  .flow-col-outputs .flow-tag:hover { transform: none; }

  .sol-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .demo-form-wrap { padding: 24px 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .site-footer { padding: 48px 20px 32px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 30px; }
  .hv-fc1, .hv-fc2 { display: none; }
  .hv-panel { grid-template-columns: 1fr; grid-template-areas: "ph" "za" "ks" "ib"; }
  .hv-zone-b { display: none; }
  .hv-kpi-strip { overflow-x: auto; }
  .hv-ks-item { min-width: 80px; }
}
