/* ============================================================
   Cloog — Marketing Site Design System
   ============================================================ */

:root {
  /* Brand */
  --brand-50:  #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --accent:    #06b6d4;
  --violet:    #7c3aed;

  /* Ink & surfaces */
  --ink:       #0b1526;
  --ink-soft:  #3d4a5f;
  --muted:     #64748b;
  --line:      #e2e8f0;
  --bg:        #ffffff;
  --bg-soft:   #f6f9fd;
  --bg-dark:   #070d1c;
  --bg-dark-2: #0b1630;
  --card-dark: rgba(255, 255, 255, 0.05);
  --line-dark: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: 'Sora', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: 1180px;
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 72px;

  --shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.05), 0 2px 8px rgba(11, 21, 38, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 21, 38, 0.06), 0 12px 32px rgba(11, 21, 38, 0.08);
  --shadow-lg: 0 12px 24px rgba(11, 21, 38, 0.08), 0 32px 64px rgba(11, 21, 38, 0.12);
  --shadow-brand: 0 8px 24px rgba(37, 99, 235, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--brand-600); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Utilities ---------- */
.grad-text {
  background: linear-gradient(100deg, var(--brand-400), var(--brand-600) 45%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent));
}
.section { padding: 104px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #e6edf7; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.section--dark .section-head p { color: #9fb0c9; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 15.5px;
  border: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn svg { transition: transform 0.35s var(--ease-spring); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  box-shadow: var(--shadow-brand);
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37, 99, 235, 0.45); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--brand-400); color: var(--brand-600); box-shadow: var(--shadow-sm); }
.section--dark .btn--ghost { color: #e6edf7; border-color: var(--line-dark); }
.section--dark .btn--ghost:hover { color: #fff; border-color: var(--brand-400); }
.btn--white { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-md); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, height 0.35s ease;
}
.nav.scrolled {
  height: 62px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(11,21,38,0.06), 0 8px 30px rgba(11, 21, 38, 0.07);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.nav-logo img, .nav-logo svg { width: 34px; height: 34px; transition: transform 0.5s var(--ease-spring); }
.nav-logo:hover svg, .nav-logo:hover img { transform: rotate(-8deg) scale(1.08); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: var(--brand-600); background: var(--brand-50); }
.nav-links a.active { color: var(--brand-600); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent));
}
.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 14.5px; }
.nav-burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  padding: 10px 24px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out), color 0.25s ease;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--brand-600); }
.mobile-menu .btn { margin-top: 16px; opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease 0.25s, transform 0.4s var(--ease-out) 0.25s; }
.mobile-menu.open .btn { opacity: 1; transform: translateY(0); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(6, 182, 212, 0.10), transparent 60%),
    radial-gradient(900px 520px at 10% 0%, rgba(59, 130, 246, 0.12), transparent 60%),
    var(--bg);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 30%, transparent 75%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blob-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.blob--1 { width: 480px; height: 480px; top: -160px; left: -120px; background: radial-gradient(circle, rgba(59,130,246,0.5), transparent 65%); }
.blob--2 { width: 420px; height: 420px; top: 10%; right: -140px; background: radial-gradient(circle, rgba(6,182,212,0.45), transparent 65%); animation-delay: -6s; }
.blob--3 { width: 380px; height: 380px; bottom: -180px; left: 35%; background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 65%); animation-delay: -12s; }
@keyframes blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-inner > * { min-width: 0; }
.hero-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 8px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero-copy .badge .dot-pill {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 99px;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 800;
  margin-bottom: 24px;
}
.hero-rotator {
  display: inline-grid;
  grid-auto-flow: row;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.24em;
  margin-bottom: -0.09em;
}
.hero-rotator span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease;
  white-space: nowrap;
}
.hero-rotator span.current { opacity: 1; transform: translateY(0); }
.hero-rotator span.leaving { opacity: 0; transform: translateY(-110%); }
.hero-copy p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-ticks { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }
.hero-ticks li { display: flex; align-items: center; gap: 8px; }
.hero-ticks svg { color: var(--brand-500); flex: none; }

/* Hero visual — layered app mock */
.hero-visual { position: relative; perspective: 1400px; }
.mock-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  animation: mock-float 7s ease-in-out infinite alternate;
}
.hero-visual:hover .mock-window { transform: rotateY(-3deg) rotateX(1deg); }
@keyframes mock-float {
  from { translate: 0 0; }
  to   { translate: 0 -14px; }
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar i:nth-child(1) { background: #fca5a5; }
.mock-bar i:nth-child(2) { background: #fcd34d; }
.mock-bar i:nth-child(3) { background: #86efac; }
.mock-bar .mock-url {
  margin-left: 12px; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  font-size: 11.5px; color: var(--muted); padding: 4px 12px;
}
.mock-window { max-width: 100%; }
.mock-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 360px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; background: var(--bg-soft); }
.mock-side i {
  height: 26px; border-radius: 8px; background: #e8eef8;
  animation: pulse-soft 3s ease-in-out infinite;
}
.mock-side i.on { background: linear-gradient(120deg, var(--brand-500), var(--brand-700)); }
.mock-side i:nth-child(2) { animation-delay: 0.3s; }
.mock-side i:nth-child(3) { animation-delay: 0.6s; }
.mock-side i:nth-child(4) { animation-delay: 0.9s; }
.mock-side i:nth-child(5) { animation-delay: 1.2s; }
.mock-side i:nth-child(6) { animation-delay: 1.5s; }
@keyframes pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock-kpi { min-width: 0; overflow: hidden; }
.mock-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mock-kpi b { display: block; font-size: 17px; font-family: var(--font-display); }
.mock-kpi span { font-size: 10.5px; color: var(--muted); }
.mock-kpi em { display: inline-block; font-style: normal; font-size: 10px; font-weight: 700; color: #059669; background: #d1fae5; border-radius: 99px; padding: 1px 7px; margin-left: 6px; }
.mock-chart {
  flex: 1;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px;
  display: flex; align-items: flex-end; gap: 8px;
  min-height: 130px;
}
.mock-chart i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  transform-origin: bottom;
  animation: bar-grow 1.2s var(--ease-out) both;
}
.mock-chart i:nth-child(odd) { background: linear-gradient(180deg, #67e8f9, var(--accent)); }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.mock-rows i { height: 12px; border-radius: 6px; background: #eef2f9; }
.mock-rows i:nth-child(1) { width: 90%; }
.mock-rows i:nth-child(2) { width: 72%; }
.mock-rows i:nth-child(3) { width: 81%; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  animation: chip-float 5.5s ease-in-out infinite alternate;
}
.float-chip .ic {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
}
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.float-chip--1 { top: 6%; left: -34px; animation-delay: -1.5s; }
.float-chip--2 { bottom: 20%; left: -54px; animation-delay: -3s; }
.float-chip--3 { bottom: -20px; right: 4%; animation-delay: -4.5s; }
.float-chip--2 .ic { background: linear-gradient(120deg, #06b6d4, #0891b2); }
.float-chip--3 .ic { background: linear-gradient(120deg, #10b981, #059669); }
@keyframes chip-float {
  from { transform: translateY(-8px); }
  to   { transform: translateY(10px); }
}

/* ---------- Marquee ---------- */
.marquee-band { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee li svg { color: var(--brand-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

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

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 220px at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: var(--shadow-brand);
  margin-bottom: 20px;
  transition: transform 0.45s var(--ease-spring);
}
.card:hover .ic { transform: scale(1.1) rotate(-6deg); }
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-weight: 600; font-size: 14.5px; color: var(--brand-600);
}
.card .card-link svg { transition: transform 0.3s var(--ease-spring); }
.card:hover .card-link svg { transform: translateX(5px); }

.tint-cyan .ic { background: linear-gradient(135deg, #22d3ee, #0891b2); box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35); }
.tint-violet .ic { background: linear-gradient(135deg, #a78bfa, #6d28d9); box-shadow: 0 8px 24px rgba(109, 40, 217, 0.35); }
.tint-emerald .ic { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35); }
.tint-amber .ic { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35); }
.tint-rose .ic { background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35); }
.tint-sky .ic { background: linear-gradient(135deg, #38bdf8, #0284c7); box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35); }

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 800;
  background: linear-gradient(120deg, var(--brand-300), #fff 60%, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: #9fb0c9; font-size: 15px; font-weight: 500; }

/* ---------- Feature detail rows (zigzag) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 56px 0;
}
.feature-row + .feature-row { border-top: 1px dashed var(--line); }
.feature-row.flip .feature-media { order: 2; }
.feature-row h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.feature-row > div > p { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.check-list li svg { flex: none; margin-top: 3px; color: var(--brand-500); }
.check-list li b { color: var(--ink); font-weight: 600; }

.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--brand-50), #ecfeff);
  border: 1px solid var(--line);
  padding: 32px;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.feature-media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37,99,235,0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}

/* ---------- Feature index page ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 80px;
  background:
    radial-gradient(900px 420px at 80% -20%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(800px 480px at 15% -10%, rgba(59, 130, 246, 0.14), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin-bottom: 20px; max-width: 800px; }
.page-hero p.lead { font-size: 19px; color: var(--muted); max-width: 660px; }
.page-hero .hero-actions { margin: 32px 0 0; }

.module-nav {
  position: sticky;
  top: 62px;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.module-nav ul {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 24px;
  max-width: var(--container);
  margin: 0 auto;
  scrollbar-width: none;
}
.module-nav ul::-webkit-scrollbar { display: none; }
.module-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.module-nav a:hover { background: var(--brand-50); color: var(--brand-600); }
.module-nav a.active { background: linear-gradient(120deg, var(--brand-500), var(--brand-700)); color: #fff; }

.module-block { padding: 88px 0 40px; }
.module-block:nth-of-type(even) { background: var(--bg-soft); }
.module-head { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
.module-head .ic {
  width: 64px; height: 64px; flex: none;
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: var(--shadow-brand);
}
.module-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.module-head p { color: var(--muted); font-size: 16.5px; max-width: 680px; }
.module-head .count {
  margin-left: auto;
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 6px 14px;
  border-radius: 99px;
}
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.f-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}
.f-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.f-item .fi {
  width: 38px; height: 38px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-50);
  color: var(--brand-600);
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-spring);
}
.f-item:hover .fi { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; transform: scale(1.08); }
.f-item b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.f-item span { font-size: 13.5px; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Tabs (industries) ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn {
  padding: 11px 22px;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab-btn:hover { border-color: var(--brand-300); color: var(--brand-600); transform: translateY(-2px); }
.tab-btn.active {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panel-in 0.5s var(--ease-out); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  counter-increment: step;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step::before {
  content: "0" counter(step);
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Big CTA ---------- */
.cta-wrap { padding: 104px 0; }
.cta-panel {
  position: relative;
  border-radius: 32px;
  padding: 80px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(6, 182, 212, 0.4), transparent 60%),
    radial-gradient(700px 380px at 85% 100%, rgba(124, 58, 237, 0.35), transparent 60%),
    linear-gradient(130deg, #0d1b3e, var(--brand-800) 55%, var(--brand-700));
}
.cta-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.cta-panel h2 { position: relative; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin-bottom: 18px; }
.cta-panel p { position: relative; font-size: 18px; color: #c8d6ee; max-width: 560px; margin: 0 auto 36px; }
.cta-panel .hero-actions { position: relative; justify-content: center; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #93a5c1; padding: 80px 0 36px; position: relative; overflow: hidden; }
.footer::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.18), transparent);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; position: relative; }
.footer-brand .nav-logo { color: #fff; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  position: relative;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: flex-start; }
.contact-info .card { margin-bottom: 18px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.contact-info .card .ic { margin: 0; width: 46px; height: 46px; border-radius: 13px; }
.contact-info .card h3 { font-size: 16.5px; margin-bottom: 4px; }
.contact-info .card p { font-size: 14.5px; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  background: var(--bg-soft);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.show { display: block; animation: panel-in 0.5s var(--ease-out); }
.form-success .ok-ring {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.4);
  animation: pop-in 0.6s var(--ease-spring);
}
@keyframes pop-in { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- Accordion (FAQ style) ---------- */
.accordion { display: grid; gap: 14px; max-width: 800px; margin: 0 auto; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.acc-item.open { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600; font-size: 16.5px; text-align: left;
}
.acc-head .chev { flex: none; transition: transform 0.35s var(--ease-out); color: var(--brand-600); }
.acc-item.open .chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out); }
.acc-body > div { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- Values / about ---------- */
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.3s ease;
}
.pill:hover {
  border-color: transparent;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-brand);
}
.section--dark .pill { background: var(--card-dark); border-color: var(--line-dark); color: #c8d6ee; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--scale { transform: scale(0.92); }
.reveal--left.in-view, .reveal--right.in-view, .reveal--scale.in-view { transform: none; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-500), var(--accent));
  z-index: 200;
  transition: width 0.1s linear;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-spring);
  z-index: 90;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 640px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .feature-row { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-copy h1 { font-size: clamp(26px, 7.4vw, 44px); }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; padding: 40px 0; }
  .feature-row.flip .feature-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .float-chip--1 { left: 8px; }
  .float-chip--2 { left: 8px; }
  .cta-panel { padding: 56px 24px; }
  .module-head { flex-wrap: wrap; }
  .module-head .count { margin-left: 0; }
  .value-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 92px minmax(0, 1fr); min-height: 300px; }
  .mock-kpi b { font-size: 14px; }
  .float-chip { padding: 8px 12px; font-size: 12px; }
  .float-chip--3 { right: 0; }
  .feature-media { padding: 24px 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
