/* =========================================================
   AlphAdaptive — site styles
   ========================================================= */
:root {
  --navy-950: #070f20;
  --navy-900: #0b1730;
  --navy-800: #10213f;
  --navy-700: #173a66;
  --blue-600: #1e6fc0;
  --blue-500: #1e86d0;
  --blue-400: #3aa0f0;
  --blue-300: #8fd0ff;
  --cyan: #2fd4c4;
  --amber: #ffb547;
  --rose: #ff6b8b;

  --ink: #0f1d33;
  --ink-2: #44526b;
  --ink-3: #7a879c;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 51, .06), 0 2px 8px rgba(15, 29, 51, .05);
  --shadow: 0 10px 30px -12px rgba(15, 29, 51, .22), 0 2px 6px rgba(15, 29, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(7, 15, 32, .45);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #dbe6f7; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--blue-300); }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { font-size: 18px; color: var(--ink-2); }
.section--dark .section-head p { color: #a9b8d0; }

.grad-text {
  background: linear-gradient(100deg, var(--blue-300), var(--blue-400) 40%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn i { transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn--primary { background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); color: #fff; box-shadow: 0 10px 24px -8px rgba(30, 134, 208, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(30, 134, 208, .8); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-arrow { color: var(--blue-500); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(9, 19, 40, .95);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 21px; color: #fff; letter-spacing: -.02em; }
.brand img { width: 38px; height: auto; }
.brand span { color: var(--blue-300); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  color: #c8d5ea; font-weight: 500; font-size: 15px; background: none; border: 0;
  transition: color .2s, background .2s;
}
.nav-links > li > a:hover, .nav-drop > button:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-drop { position: relative; }
.nav-drop > button i { font-size: 11px; transition: transform .25s; }
.nav-drop.open > button i { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  width: 340px; padding: 10px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-drop.open .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) { .nav-drop:hover .drop-menu { opacity: 1; visibility: visible; transform: none; } }
.drop-menu a { display: flex; gap: 14px; padding: 12px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.drop-menu a:hover { background: var(--bg-soft); }
.drop-menu .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); }
.drop-menu strong { display: block; font-size: 15px; }
.drop-menu small { color: var(--ink-3); font-size: 13px; line-height: 1.4; display: block; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.lang-toggle button { border: 0; background: none; color: #a9b8d0; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; transition: .2s; }
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font-size: 18px; }

@media (max-width: 960px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px 28px; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .08);
    max-height: calc(100dvh - 76px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s var(--ease);
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-open .site-header { background: var(--navy-900); }
  .nav-links > li > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .drop-menu { position: static; translate: none; width: auto; box-shadow: none; background: rgba(255, 255, 255, .04); display: none; opacity: 1; visibility: visible; transform: none; margin-top: 4px; }
  .nav-drop.open .drop-menu { display: block; }
  .drop-menu a { color: #dbe6f7; }
  .drop-menu a:hover { background: rgba(255, 255, 255, .06); }
  .drop-menu small { color: #8a9bb8; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dbe6f7;
  background: radial-gradient(1200px 600px at 80% -10%, #1b4a8a 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #0f3b6e 0%, transparent 60%),
              var(--navy-950);
  padding: 160px 0 110px;
}
.hero::before { /* grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(143, 208, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 208, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.hero .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero .orb-1 { width: 420px; height: 420px; background: #1e86d0; top: -120px; right: 8%; animation: drift 14s ease-in-out infinite; }
.hero .orb-2 { width: 300px; height: 300px; background: #2fd4c4; bottom: -120px; left: 30%; opacity: .25; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 50% { transform: translate(40px, 30px) scale(1.08); } }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); color: #fff; margin-bottom: 22px; }
.hero .lead { font-size: 19px; color: #a9b8d0; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; color: #8a9bb8; font-size: 14px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges i { color: var(--cyan); }

.page-hero { padding: 150px 0 90px; }
.page-hero .hero-grid { grid-template-columns: 1.1fr 1fr; }
.page-hero.centered { text-align: center; }
.page-hero.centered .lead { margin-inline: auto; }
.page-hero.centered .hero-actions { justify-content: center; }

/* ---------- Mock app windows (illustrations) ---------- */
.window {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06);
  color: var(--ink); font-size: 12px; line-height: 1.4;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar .url { margin-left: 12px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 10px; color: var(--ink-3); font-size: 11px; white-space: nowrap; overflow: hidden; }
.app { display: grid; grid-template-columns: 54px 1fr; min-height: 340px; }
.app-side { background: var(--navy-900); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.app-side img { width: 26px; margin-bottom: 8px; }
.app-side span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #6f84a6; font-size: 13px; }
.app-side span.on { background: rgba(58, 160, 240, .18); color: var(--blue-300); }
.app-main { padding: 16px 18px; background: #f7f9fd; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-head b { font-family: var(--font-head); font-size: 15px; }
.app-head .chip { background: #e6f2fc; color: var(--blue-600); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.kpi small { color: var(--ink-3); display: block; font-size: 10.5px; }
.kpi strong { font-family: var(--font-head); font-size: 17px; display: block; margin: 2px 0; }
.kpi em { font-style: normal; font-size: 10.5px; color: #12a37f; font-weight: 600; }
.kpi em.down { color: #e2506f; }
.panel { background: #fff; border-radius: 10px; padding: 12px; box-shadow: var(--shadow-sm); }
.app-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; padding-top: 8px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--blue-400), var(--blue-600)); height: var(--h); transform-origin: bottom; }
.bars span:nth-child(even) { background: linear-gradient(180deg, #a6d8ff, #5fb3f3); }
.in-view .bars span, .no-js .bars span { animation: grow 1.1s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes grow { from { transform: scaleY(0); } }
.panel-title { font-weight: 600; font-size: 11.5px; margin-bottom: 4px; display: flex; justify-content: space-between; }
.panel-title small { color: var(--ink-3); font-weight: 400; }
.donut { width: 92px; height: 92px; margin: 8px auto; border-radius: 50%; background: conic-gradient(var(--blue-500) 0 46%, var(--cyan) 0 72%, var(--amber) 0 88%, #dbe6f7 0); display: grid; place-items: center; }
.donut::after { content: ""; width: 58px; height: 58px; border-radius: 50%; background: #fff; }
.legend { display: grid; gap: 4px; font-size: 10.5px; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--c); }
.rows { margin-top: 10px; }
.row { display: grid; grid-template-columns: 1.3fr 1fr .8fr .9fr; gap: 8px; align-items: center; padding: 7px 4px; border-bottom: 1px solid #eef2f8; font-size: 11px; }
.row:last-child { border-bottom: 0; }
.row.head { color: var(--ink-3); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.chip.ok { background: #e3f7f0; color: #0f8a6a; }
.chip.wait { background: #fff4e0; color: #b87508; }
.chip.info { background: #e6f2fc; color: var(--blue-600); }
.chip.done { background: #ece9ff; color: #5b47d6; }

.hero-visual { position: relative; }
.hero-visual .window { transform: perspective(1600px) rotateY(-9deg) rotateX(4deg); transition: transform .6s var(--ease); }
.hero-visual:hover .window { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow-lg); font-size: 12.5px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card small { color: var(--ink-3); display: block; }
.float-card.fc-1 { top: -22px; left: -34px; }
.float-card.fc-2 { bottom: 54px; right: -14px; animation-delay: -2s; }
.float-card.fc-3 { bottom: -26px; left: 40px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee-wrap { background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .06); padding: 26px 0; overflow: hidden; }
.marquee-label { text-align: center; color: #8a9bb8; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.marquee { display: flex; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; gap: 14px; padding-right: 14px; }
.marquee li {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 20px; border-radius: 999px; color: #dbe6f7; font-weight: 500;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.marquee li i { color: var(--blue-300); }
.marquee-mask { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

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

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 21px;
  color: #fff; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--c1, var(--blue-400)), var(--c2, var(--blue-600)));
  box-shadow: 0 10px 20px -10px var(--c2, var(--blue-600));
}
.icon-box.teal { --c1: #3fe0cf; --c2: #149b8e; }
.icon-box.amber { --c1: #ffc76b; --c2: #e08a10; }
.icon-box.violet { --c1: #9d8cff; --c2: #5b47d6; }
.icon-box.rose { --c1: #ff8fa8; --c2: #d63d63; }
.icon-box.navy { --c1: #3b5e93; --c2: #10213f; }

.offer-card { padding: 36px; display: flex; flex-direction: column; overflow: hidden; }
.offer-card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 160, 240, .14), transparent 70%); transition: transform .5s var(--ease);
}
.offer-card:hover::after { transform: scale(1.4); }
.offer-card ul { margin: 18px 0 26px; display: grid; gap: 9px; }
.offer-card li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.offer-card li i { color: var(--blue-500); margin-top: 5px; font-size: 13px; }
.offer-card .link-arrow { margin-top: auto; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue-600); background: #e6f2fc; border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split + .split { margin-top: 120px; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); }
.split .lead { font-size: 18px; color: var(--ink-2); }
.section--dark .split .lead { color: #a9b8d0; }
.checks { display: grid; gap: 14px; margin: 26px 0 32px; }
.checks li { display: flex; gap: 14px; }
.checks li > i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #e6f2fc; color: var(--blue-600); font-size: 12px; margin-top: 2px; }
.section--dark .checks li > i { background: rgba(58, 160, 240, .16); color: var(--blue-300); }
.checks strong { display: block; }
.checks span { color: var(--ink-2); font-size: 15px; }
.section--dark .checks span { color: #a9b8d0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.chips span { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.chips span i { color: var(--blue-500); }

/* ---------- Container optimizer illustration ---------- */
.stage {
  position: relative; border-radius: 22px; padding: 26px; overflow: hidden;
  background: radial-gradient(600px 300px at 70% 0%, #1b4a8a, transparent 70%), var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(143, 208, 255, .12) 1px, transparent 1px); background-size: 22px 22px; }
.stage svg { position: relative; width: 100%; height: auto; overflow: visible; }
.stage .hud { position: relative; display: flex; justify-content: space-between; gap: 12px; color: #a9b8d0; font-size: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.stage .hud b { color: #fff; font-family: var(--font-head); font-size: 18px; display: block; }
.stage .meter { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); margin-top: 14px; overflow: hidden; }
.stage .meter span { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--cyan), var(--blue-400)); border-radius: 6px; transition: width .3s linear; }
.iso-box { transition: transform .55s cubic-bezier(.25, 1.4, .5, 1), opacity .3s; }
.iso-box.pending { transform: translateY(-70px); opacity: 0; }

/* ---------- Portal illustration ---------- */
.portal .app-main { background: #f7f9fd; }
.portal .row { grid-template-columns: .9fr 1.4fr 1fr .9fr; }
.portal .row .pdf { color: #e2506f; }
.timeline { display: flex; gap: 6px; margin-top: 12px; }
.timeline div { flex: 1; text-align: center; font-size: 10px; color: var(--ink-3); }
.timeline div::before { content: ""; display: block; height: 4px; border-radius: 4px; background: #dbe6f7; margin-bottom: 6px; }
.timeline div.on::before { background: linear-gradient(90deg, var(--blue-400), var(--cyan)); }
.timeline div.on { color: var(--ink); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(143, 208, 255, .35), transparent); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .num {
  width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  box-shadow: 0 0 0 8px rgba(58, 160, 240, .12), 0 12px 24px -10px var(--blue-500);
}
.step h3 { font-size: 19px; }
.step p { color: #a9b8d0; font-size: 15px; }
.section:not(.section--dark) .step p { color: var(--ink-2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.stat b { display: block; font-family: var(--font-head); font-size: 44px; line-height: 1; color: #fff; margin-bottom: 8px; }
.stat span { color: #a9b8d0; font-size: 15px; }

/* ---------- Tech ---------- */
.tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tech span {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); transition: .3s var(--ease);
}
.tech span:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tech i { font-size: 20px; color: var(--c, var(--blue-500)); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px;
  background: radial-gradient(500px 260px at 90% 10%, rgba(47, 212, 196, .35), transparent 70%),
              radial-gradient(600px 300px at 0% 100%, rgba(58, 160, 240, .45), transparent 70%),
              var(--navy-900);
  color: #dbe6f7; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.cta-band p { color: #a9b8d0; font-size: 18px; margin: 0; }
.cta-band .mark-bg { position: absolute; right: -40px; bottom: -70px; width: 300px; opacity: .07; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue-500); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; }
.contact-card .icon-box { margin: 0; flex: none; }
.contact-card h3 { font-size: 17px; margin-bottom: 4px; }
.contact-card a { color: var(--blue-600); font-weight: 600; }
.form { padding: 36px; }
.form h2 { font-size: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(58, 160, 240, .15); }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.map { margin-top: 70px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Values / team ---------- */
.value { text-align: left; }
.quote {
  font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; color: #fff; letter-spacing: -.01em;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.quote::before { content: "“"; display: block; font-size: 80px; line-height: .6; color: var(--blue-400); margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8a9bb8; padding: 80px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 16px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--blue-300); margin-top: 5px; width: 16px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #c8d5ea; transition: .25s; }
.socials a:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.from-left { transform: translateX(-36px); }
.js .reveal.from-right { transform: translateX(36px); }
.js .reveal.zoom { transform: scale(.94); }
.js .reveal.in-view { opacity: 1; transform: none; }

.hero .reveal-up { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* scroll progress (progressive enhancement) */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--blue-400)); }
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden] { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .section { padding: 84px 0; }
  .hero { padding: 130px 0 90px; }
  .hero-grid, .page-hero .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .split.reverse > :first-child { order: 0; }
  .split + .split { margin-top: 90px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .hero-visual .window { transform: none; }
  .float-card.fc-1 { left: -6px; }
  .float-card.fc-2 { right: -6px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .grid-3, .grid-2, .grid-4, .stats, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .card, .offer-card, .form { padding: 26px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:nth-child(3) { display: none; }
  .app-cols { grid-template-columns: 1fr; }
  .app-cols .panel:nth-child(2) { display: none; }
  .app { grid-template-columns: 42px 1fr; }
  .row { grid-template-columns: 1.3fr 1fr .9fr; }
  .row > :nth-child(3) { display: none; }
  .portal .row { grid-template-columns: .9fr 1.4fr 1fr; }
  .float-card { font-size: 11px; padding: 8px 10px; }
  .float-card.fc-3 { display: none; }
  .float-card.fc-1 { left: 0; top: -30px; }
  .float-card.fc-2 { right: 0; }
  .stat b { font-size: 36px; }
  .map iframe { height: 300px; }
}
