/* ==========================================================================
   Fintrix Technology — Global Stylesheet
   Design system: light, minimal, professional fintech. Indigo = brand,
   teal = "AI layer" accent used consistently for anything LLM/AI-generated.
   ========================================================================== */

:root{
  /* colour tokens */
  --bg:            #ffffff;
  --bg-soft:       #f7f9fc;
  --bg-soft-2:     #eef1f8;
  --ink:           #12162a;
  --ink-soft:      #4c5468;
  --ink-faint:     #8891a3;
  --line:          #e6eaf2;
  --line-strong:   #d7ddea;

  --brand:         #3654ff;
  --brand-dark:    #2540d6;
  --brand-soft:    #eef1ff;
  --brand-glow:    rgba(54,84,255,0.18);

  --ai:            #14b8a6;
  --ai-dark:       #0e8f81;
  --ai-soft:       #e8faf7;
  --ai-glow:       rgba(20,184,166,0.20);

  --amber:         #d97706;

  --panel:         #0f1524;
  --panel-2:       #161d33;

  /* type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  /* shape / motion */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.6s;

  --shadow-sm: 0 1px 2px rgba(18,22,42,0.06), 0 1px 1px rgba(18,22,42,0.04);
  --shadow-md: 0 12px 32px -12px rgba(18,22,42,0.18);
  --shadow-lg: 0 24px 60px -20px rgba(18,22,42,0.28);

  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas{ display:block; max-width:100%; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input, textarea{ font-family:inherit; }
h1,h2,h3,h4,p{ margin:0; }

::selection{ background: var(--ai-glow); color: var(--ink); }

/* ---------- type scale ---------- */
h1,h2,h3,h4{ font-weight: 700; letter-spacing: -0.02em; line-height:1.08; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow::before{
  content:''; width:6px; height:6px; border-radius:50%; background: var(--ai);
  box-shadow: 0 0 0 4px var(--ai-glow);
}
.lede{ font-size: 19px; line-height:1.6; color: var(--ink-soft); }

/* ---------- layout ---------- */
.wrap{ max-width: 1220px; margin: 0 auto; padding: 0 32px; }
section{ position: relative; }
.section{ padding: 112px 0; }
.section-tight{ padding: 72px 0; }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px, 3.6vw, 42px); margin-top:14px; }
.section-head .lede{ margin-top:14px; }

.bg-soft{ background: var(--bg-soft); }
.bg-panel{ background: var(--panel); color:#f4f6ff; }
.bg-panel .ink-soft{ color: rgba(244,246,255,0.66); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space:nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn-primary{ background: var(--brand); color:#fff; box-shadow: 0 10px 24px -8px var(--brand-glow); }
.btn-primary:hover{ background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 32px -10px var(--brand-glow); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover{ border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light{ background:#fff; color: var(--ink); }
.btn-light:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-on-dark{ background: rgba(255,255,255,0.08); color:#fff; border-color: rgba(255,255,255,0.22); }
.btn-on-dark:hover{ background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-sm{ padding: 10px 18px; font-size: 13.5px; }
.btn svg{ width:16px; height:16px; stroke: currentColor; transition: transform var(--dur) var(--ease); }
.btn:hover svg.arrow{ transform: translateX(3px); }

/* ---------- top nav ---------- */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 200;
  height: var(--header-h);
  display:flex; align-items:center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: height var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}
.nav.is-scrolled{ height: 64px; border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.92); }
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; width:100%; }

.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; letter-spacing:-0.01em; }
.brand .mark{ width:32px; height:32px; }
.brand .mark rect{ fill: var(--brand); }
.brand .mark path{ stroke:#fff; }
.brand small{ display:block; font-size:9.5px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color: var(--ink-faint); margin-top:1px; }

.nav-links{ display:flex; align-items:center; gap:4px; }
.nav-links > li{ position:relative; }
.nav-links a{
  display:flex; align-items:center; gap:6px;
  padding: 10px 16px; border-radius: 999px; font-size:14.5px; font-weight:600; color: var(--ink-soft);
  transition: color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}
.nav-links a:hover, .nav-links a.active{ color: var(--brand); background: var(--brand-soft); }
.nav-links svg.chev{ width:12px; height:12px; stroke: currentColor; transition: transform var(--dur) var(--ease-soft); }
.has-dropdown:hover svg.chev{ transform: rotate(180deg); }

.dropdown{
  position:absolute; top:100%; left:50%; transform: translateX(-50%);
  width: 620px; padding-top: 10px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity var(--dur) var(--ease-soft), visibility var(--dur);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{
  opacity:1; visibility:visible; pointer-events:auto;
}
.dropdown-panel{
  padding: 18px; background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display:grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transform: translateY(8px);
  transition: transform var(--dur) var(--ease-soft);
}
.has-dropdown:hover .dropdown-panel, .has-dropdown:focus-within .dropdown-panel{
  transform: translateY(0);
}
.dropdown a{ display:flex; align-items:flex-start; gap:12px; padding:12px; border-radius:10px; }
.dropdown a:hover{ background: var(--bg-soft); }
.dropdown .ic{ width:36px; height:36px; flex:none; border-radius:9px; background: var(--brand-soft); display:flex; align-items:center; justify-content:center; }
.dropdown .ic svg{ width:18px; height:18px; stroke: var(--brand); }
.dropdown .tt{ display:flex; flex-direction:column; gap:2px; }
.dropdown .tt b{ font-size:13.5px; color:var(--ink); font-weight:700; }
.dropdown .tt span{ font-size:12px; color: var(--ink-faint); font-weight:500; line-height:1.4; }

.nav-cta{ display:flex; align-items:center; gap:8px; }
.nav-burger{ display:none; width:40px; height:40px; border-radius:10px; border:1px solid var(--line-strong); align-items:center; justify-content:center; background:#fff; }
.nav-burger svg{ width:18px; height:18px; stroke: var(--ink); }

/* ---------- hero ---------- */
.hero{ position:relative; padding: calc(var(--header-h) + 76px) 0 88px; overflow:hidden; }
.hero-canvas-wrap{ position:absolute; inset:0; z-index:0; }
.hero-canvas-wrap canvas{ width:100% !important; height:100% !important; }
.hero-fade{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(60% 55% at 74% 30%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 60%, #fff 100%);
}
.hero .wrap{ position:relative; z-index:2; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:56px; align-items:center; }
.hero-copy h1{ font-size: clamp(38px, 4.6vw, 60px); margin-top:18px; }
.hero-copy h1 .hl{ color: var(--brand); }
.hero-copy h1 .hl-ai{ color: var(--ai-dark); }
.hero-copy .lede{ margin-top: 20px; max-width: 520px; }
.hero-actions{ display:flex; align-items:center; gap:14px; margin-top: 34px; flex-wrap:wrap; }
.hero-proof{ display:flex; align-items:center; gap:22px; margin-top:44px; flex-wrap:wrap; }
.hero-proof .item{ display:flex; flex-direction:column; }
.hero-proof .item b{ font-size:22px; font-weight:800; letter-spacing:-0.02em; }
.hero-proof .item span{ font-size:12px; color: var(--ink-faint); font-weight:600; }
.hero-proof .div{ width:1px; height:30px; background: var(--line-strong); }

/* ---------- scroll reveal ---------- */
[data-reveal]{ opacity:0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in{ opacity:1; transform:none; }
[data-reveal="fade"]{ transform:none; }
[data-reveal-group] [data-reveal]{ transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1; transform:none; transition:none; }
  *{ scroll-behavior:auto !important; animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

/* ==========================================================================
   Exploded UI-mockup card — the signature interactive element
   ========================================================================== */
.showcase{
  perspective: 1600px;
  position:relative;
}
.showcase-stage{
  position:relative; width:100%; aspect-ratio: 4.2 / 4;
}
.xcard{
  position:absolute; inset:0;
  border-radius: var(--radius-lg);
  transform-style: flat;
  backface-visibility: hidden;
  transition: transform 0.85s var(--ease), box-shadow 0.85s var(--ease), opacity 0.85s var(--ease);
  will-change: transform;
}
/* layer order back->front in markup: output, ai, input */
.xcard[data-layer="output"]{ background:#fff; border:1px solid var(--line); box-shadow: var(--shadow-md); z-index:1; transform: translateZ(-46px) translateY(26px) scale(0.94); }
.xcard[data-layer="ai"]{ background: var(--panel); border:1px solid #232c47; box-shadow: var(--shadow-md); z-index:2; transform: translateZ(-16px) translateY(10px) scale(0.985); opacity:0; }
.xcard[data-layer="input"]{ background:#fff; border:1px solid var(--line); box-shadow: var(--shadow-lg); z-index:3; transform: translateZ(0) translateY(0) scale(1); }

.showcase.is-open .xcard[data-layer="output"]{ transform: translateZ(-90px) translateX(38px) translateY(130px) rotateX(4deg) rotateZ(4deg) scale(0.87); }
.showcase.is-open .xcard[data-layer="ai"]{ transform: translateZ(-10px) translateX(-8px) translateY(-8px) rotateX(1deg) rotateZ(-1deg) scale(1.05); opacity:1; z-index:4; }
.showcase.is-open .xcard[data-layer="input"]{ transform: translateZ(40px) translateX(-38px) translateY(-122px) rotateX(-4deg) rotateZ(-4deg) scale(0.87); box-shadow: var(--shadow-lg), 0 40px 80px -20px rgba(18,22,42,0.25); }

.xcard-bar{ display:flex; align-items:center; justify-content:space-between; padding: 14px 18px; border-bottom:1px solid var(--line); }
.xcard[data-layer="ai"] .xcard-bar{ border-color: #232c47; }
.xcard-dots{ display:flex; gap:6px; }
.xcard-dots span{ width:9px; height:9px; border-radius:50%; background: var(--line-strong); }
.xcard-title{ font-size:12.5px; font-weight:700; color: var(--ink-soft); display:flex; align-items:center; gap:7px; }
.xcard[data-layer="ai"] .xcard-title{ color: var(--ai); }
.xcard-title .dot{ width:6px; height:6px; border-radius:50%; background: var(--ai); box-shadow:0 0 0 3px var(--ai-glow); }
.xcard-live{ font-size:10.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color: var(--ai-dark); background: var(--ai-soft); padding:4px 9px; border-radius:999px; }

.xcard-body{ padding: 14px 18px 18px; height: calc(100% - 47px); overflow:hidden; }

/* input layer: table-style rows */
.xrow{
  display:grid; grid-template-columns: 1.5fr 1fr 1fr 0.9fr; gap:10px;
  padding: 10px 6px; border-bottom:1px dashed var(--line); font-size:12.5px; align-items:center;
}
.xrow.head{ font-weight:700; color: var(--ink-faint); text-transform:uppercase; font-size:10.5px; letter-spacing:0.05em; border-bottom:1px solid var(--line-strong); }
.xrow .num{ font-variant-numeric: tabular-nums; font-family: var(--font-mono); color: var(--ink-soft); transition: color 0.3s; }
.xrow .num.flash{ color: var(--brand); }
.xrow .tag{ display:inline-flex; font-size:10px; font-weight:700; padding:2px 8px; border-radius:999px; background: var(--ai-soft); color: var(--ai-dark); }

/* ai layer: token / log stream */
.xai-visual{ display:flex; align-items:center; gap:14px; margin-bottom: 14px; }
.xai-orb{ position:relative; width:44px; height:44px; flex:none; }
.xai-orb svg{ width:100%; height:100%; }
.xai-orb circle.ring{ fill:none; stroke: var(--ai); stroke-width:1.4; opacity:0.5; }
.xai-bars{ display:flex; align-items:flex-end; gap:3px; height:20px; }
.xai-bars span{ width:3px; background: var(--ai); border-radius:2px; animation: xbars 1.1s ease-in-out infinite; }
.xai-bars span:nth-child(1){ animation-delay: 0s; }
.xai-bars span:nth-child(2){ animation-delay: 0.12s; }
.xai-bars span:nth-child(3){ animation-delay: 0.24s; }
.xai-bars span:nth-child(4){ animation-delay: 0.36s; }
.xai-bars span:nth-child(5){ animation-delay: 0.48s; }
@keyframes xbars{ 0%,100%{ height:4px; } 50%{ height:20px; } }
.xai-label{ font-size:12px; color: rgba(244,246,255,0.6); font-weight:600; }
.xai-label b{ display:block; color:#fff; font-size:13.5px; }

.xai-log{ font-family: var(--font-mono); font-size:11.8px; color: var(--ai); height: 178px; overflow:hidden; }
.xai-log .ln{
  opacity:0; transform: translateY(6px);
  display:flex; align-items:baseline; gap:7px;
  padding: 5.5px 0; border-bottom: 1px solid rgba(20,184,166,0.1);
}
.xai-log .ln.show{ animation: xline 0.4s var(--ease) forwards; }
.xai-log .ln .msg{ flex:none; white-space:nowrap; color: rgba(20,184,166,0.85); }
.xai-log .ln.done .msg{ color: var(--ai); }
.xai-log .ln .leader{
  flex:1 1 auto; height:0; min-width:14px; align-self:center;
  border-bottom: 1px dotted rgba(20,184,166,0.35);
}
.xai-log .ln .pct{
  flex:none; width:38px; text-align:right; font-variant-numeric:tabular-nums;
  color: rgba(20,184,166,0.55); transition: color 0.2s;
}
.xai-log .ln.done .pct{ color: var(--ai); font-weight:600; }
@keyframes xline{ to{ opacity:1; transform:none; } }

.typing-caret::after{
  content:''; display:inline-block; width:6px; height:1em; margin-left:2px;
  background: currentColor; vertical-align:-2px; animation: caret-blink 0.85s steps(1) infinite;
}
@keyframes caret-blink{ 0%,100%{ opacity:1; } 50%{ opacity:0; } }

/* output layer */
.xout-row{ display:flex; align-items:center; justify-content:space-between; padding:10px 6px; border-bottom:1px dashed var(--line); font-size:12.5px; }
.xout-row .ok{ display:flex; align-items:center; gap:7px; font-weight:600; color: var(--ink); }
.xout-row .ok svg{ width:15px; height:15px; stroke: var(--ai-dark); }
.xout-row .status{ font-size:11px; font-weight:700; color: var(--ai-dark); background: var(--ai-soft); padding:3px 9px; border-radius:999px; }

.showcase-hint{
  display:flex; align-items:center; gap:8px; justify-content:center; margin-top:22px;
  font-size:12.5px; font-weight:600; color: var(--ink-faint);
}
.showcase-hint svg{ width:14px; height:14px; stroke: currentColor; }

/* chat-style layer variant (sales agent page) */
.xchat{ display:flex; flex-direction:column; gap:10px; }
.xbubble{ max-width:82%; padding:9px 13px; border-radius:14px; font-size:12.5px; line-height:1.45; opacity:0; transform: translateY(6px); }
.xbubble.show{ animation: xline 0.5s var(--ease) forwards; }
.xbubble.in{ align-self:flex-start; background: var(--bg-soft); border-bottom-left-radius:4px; }
.xbubble.out{ align-self:flex-end; background: var(--brand-soft); color: var(--brand-dark); border-bottom-right-radius:4px; font-weight:600; }

.xbubble.typing-indicator{ display:flex; align-items:center; gap:4px; padding:12px 15px; }
.xbubble.typing-indicator span{ width:6px; height:6px; border-radius:50%; background: var(--brand); opacity:0.45; animation: typing-bounce 1s ease-in-out infinite; }
.xbubble.typing-indicator span:nth-child(2){ animation-delay:0.15s; }
.xbubble.typing-indicator span:nth-child(3){ animation-delay:0.3s; }
@keyframes typing-bounce{ 0%,60%,100%{ transform:translateY(0); opacity:0.45; } 30%{ transform:translateY(-4px); opacity:1; } }

/* ==========================================================================
   Stat counters
   ========================================================================== */
.stat-bar{ display:grid; grid-template-columns: repeat(4, 1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.stat{ padding: 40px 24px; text-align:center; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat .num{ font-size: clamp(30px, 3.4vw, 44px); font-weight:800; letter-spacing:-0.02em; color: var(--ink); }
.stat .num .suffix{ color: var(--ai-dark); }
.stat .lbl{ margin-top:6px; font-size:13px; color: var(--ink-faint); font-weight:600; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid{ display:grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .ic{ width:46px; height:46px; border-radius:12px; background: var(--brand-soft); display:flex; align-items:center; justify-content:center; margin-bottom:18px; transition: background var(--dur), transform var(--dur); }
.card .ic svg{ width:22px; height:22px; stroke: var(--brand); }
.card:hover .ic{ background: var(--brand); transform: scale(1.08) rotate(-4deg); }
.card:hover .ic svg{ stroke:#fff; }
.card h3{ font-size:17.5px; margin-bottom:8px; }
.card p{ font-size:14.5px; color: var(--ink-soft); line-height:1.6; }

.solution-card{ position:relative; overflow:hidden; }
.solution-card .tag{ position:absolute; top:24px; right:24px; font-size:10.5px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color: var(--ai-dark); background: var(--ai-soft); padding:5px 10px; border-radius:999px; }
.solution-card .more{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-size:13.5px; font-weight:700; color: var(--brand); }
.solution-card .more svg{ width:14px; height:14px; stroke: currentColor; transition: transform var(--dur) var(--ease); }
.solution-card:hover .more svg{ transform: translateX(4px); }

/* pain-point list */
.pain-list{ display:flex; flex-direction:column; gap:18px; }
.pain-item{ display:flex; gap:16px; padding:20px; border:1px solid var(--line); border-radius: var(--radius); background:#fff; }
.pain-item .ic{ flex:none; width:38px; height:38px; border-radius:10px; background:#fdf2e9; display:flex; align-items:center; justify-content:center; }
.pain-item .ic svg{ width:18px; height:18px; stroke: var(--amber); }
.pain-item h4{ font-size:15px; margin-bottom:5px; }
.pain-item p{ font-size:13.8px; color: var(--ink-soft); line-height:1.55; }

/* ---------- step flow ---------- */
.steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap:0; position:relative; }
.step{ position:relative; padding: 0 20px; }
.step .idx{
  width:46px; height:46px; border-radius:50%; background:#fff; border:2px solid var(--brand);
  color: var(--brand); font-weight:800; display:flex; align-items:center; justify-content:center;
  margin-bottom:20px; position:relative; z-index:2; font-size:16px;
}
.step::after{
  content:''; position:absolute; top:23px; left:calc(50% + 23px); width:calc(100% - 46px); height:2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
}
.step:last-child::after{ display:none; }
.step h4{ font-size:16px; margin-bottom:8px; }
.step p{ font-size:13.8px; color: var(--ink-soft); line-height:1.6; }

/* ---------- CTA banner ---------- */
.cta-banner{
  position:relative; overflow:hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--panel) 0%, #1a2140 60%, #142a3d 100%);
  color:#fff; padding: 64px; text-align:center;
}
.cta-banner::before{
  content:''; position:absolute; inset:-40%; opacity:0.5;
  background: radial-gradient(closest-side, var(--ai-glow), transparent), radial-gradient(closest-side, var(--brand-glow), transparent);
  background-position: 15% 20%, 85% 80%; background-repeat:no-repeat; background-size: 55% 55%, 50% 50%;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift{ to{ transform: translate(3%, -3%) scale(1.06); } }
.cta-banner > *{ position:relative; z-index:1; }
.cta-banner h2{ font-size: clamp(26px, 3.2vw, 38px); }
.cta-banner p{ margin-top:14px; color: rgba(244,246,255,0.7); font-size:16px; }
.cta-actions{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top:30px; flex-wrap:wrap; }

/* ---------- footer ---------- */
.footer{ background: var(--panel); color: rgba(244,246,255,0.85); padding: 76px 0 28px; }
.footer .brand{ color:#fff; }
.footer .brand small{ color: rgba(244,246,255,0.4); }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-about p{ margin-top:16px; font-size:14px; line-height:1.7; color: rgba(244,246,255,0.55); max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; transition: background var(--dur), border-color var(--dur), transform var(--dur); }
.footer-social a:hover{ background: var(--ai); border-color: var(--ai); transform: translateY(-3px); }
.footer-social svg{ width:15px; height:15px; stroke:#fff; }
.footer h5{ font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color: rgba(244,246,255,0.45); margin-bottom:18px; }
.footer ul{ display:flex; flex-direction:column; gap:12px; }
.footer a.flink{ font-size:14px; color: rgba(244,246,255,0.75); transition: color var(--dur); }
.footer a.flink:hover{ color: var(--ai); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding-top:26px; font-size:13px; color: rgba(244,246,255,0.4); flex-wrap:wrap; gap:12px; }

/* ---------- misc shared blocks ---------- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center; }
.split.reverse{ direction: rtl; } .split.reverse > *{ direction: ltr; }
.check-list{ display:flex; flex-direction:column; gap:14px; margin-top:22px; }
.check-list li{ display:flex; align-items:flex-start; gap:12px; font-size:15px; color: var(--ink-soft); }
.check-list svg{ flex:none; width:20px; height:20px; stroke: var(--ai-dark); margin-top:1px; }
.check-list b{ color: var(--ink); }

.pill-row{ display:flex; flex-wrap:wrap; gap:10px; }
.pill-row span{ font-size:13px; font-weight:600; padding:8px 16px; border-radius:999px; border:1px solid var(--line-strong); color: var(--ink-soft); background:#fff; }

.quote-block{ border-left:3px solid var(--ai); padding-left:22px; }
.quote-block p{ font-size:20px; line-height:1.6; color: var(--ink); font-weight:500; }
.quote-block footer{ margin-top:14px; font-size:13.5px; color: var(--ink-faint); font-weight:600; }

/* ---------- contact form ---------- */
.form-field{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.form-field label{ font-size:13px; font-weight:700; color: var(--ink-soft); }
.form-field input, .form-field textarea{
  border:1px solid var(--line-strong); border-radius:10px; padding:13px 15px; font-size:14.5px; color:var(--ink);
  background:#fff; transition: border-color var(--dur), box-shadow var(--dur);
}
.form-field input:focus, .form-field textarea:focus{ outline:none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-note{ font-size:12.5px; color: var(--ink-faint); margin-top:10px; }
.form-note.show{ color: var(--ai-dark); font-weight:700; }
.info-card{ display:flex; gap:16px; padding:20px; border:1px solid var(--line); border-radius: var(--radius); }
.info-card .ic{ flex:none; width:42px; height:42px; border-radius:11px; background: var(--ai-soft); display:flex; align-items:center; justify-content:center; }
.info-card .ic svg{ width:19px; height:19px; stroke: var(--ai-dark); }
.info-card h4{ font-size:14.5px; margin-bottom:4px; }
.info-card p{ font-size:13.8px; color: var(--ink-soft); }

/* ---------- timeline (about) ---------- */
.timeline{ position:relative; padding-left:32px; border-left:2px solid var(--line); display:flex; flex-direction:column; gap:40px; }
.timeline-item{ position:relative; }
.timeline-item::before{ content:''; position:absolute; left:-38px; top:2px; width:12px; height:12px; border-radius:50%; background: var(--brand); box-shadow:0 0 0 4px var(--brand-soft); }
.timeline-item h4{ font-size:16px; margin-bottom:6px; }
.timeline-item p{ font-size:14px; color: var(--ink-soft); line-height:1.6; max-width:520px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px){
  .hero-grid{ grid-template-columns:1fr; }
  .showcase-stage{ max-width:520px; margin:0 auto; }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .stat-bar{ grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3){ border-left:none; }
  .steps{ grid-template-columns:1fr 1fr; gap:32px 0; }
  .step::after{ display:none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap:36px; }
  .split{ grid-template-columns:1fr; gap:40px; }
  .split.reverse{ direction:ltr; }
}
@media (max-width: 720px){
  .nav-links, .nav-cta .btn-ghost{ display:none; }
  .nav-burger{ display:flex; }
  .wrap{ padding:0 20px; }
  .section{ padding:76px 0; }
  .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .stat-bar{ grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd){ border-left:none; }
  .steps{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap:32px; }
  .cta-banner{ padding:44px 24px; }
  .form-row{ grid-template-columns:1fr; }
  .hero{ padding-top: calc(var(--header-h) + 44px); }
  .hero-proof{ gap:16px; }
}

/* ---------- mobile nav panel ---------- */
.mobile-panel{
  position:fixed; inset: var(--header-h) 0 0 0; z-index:190; background:#fff;
  transform: translateY(-8px); opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft), visibility var(--dur);
  overflow-y:auto; padding: 24px 20px 40px;
}
.mobile-panel.open{ opacity:1; visibility:visible; transform:none; pointer-events:auto; }
.mobile-panel a{ display:block; padding:16px 6px; font-size:17px; font-weight:700; border-bottom:1px solid var(--line); }
.mobile-panel .sub a{ font-size:15px; font-weight:600; color: var(--ink-soft); padding-left:16px; }
.mobile-panel .btn{ width:100%; margin-top:20px; }
