/* =========================================================================
   iOrder.AI — stylesheet
   Rebuilt from the Claude Design export. All visual values (colors, fonts,
   spacing, shadows) mirror the original; style-hover attributes from the
   export are reproduced here as real :hover rules.
   ========================================================================= */

:root {
  --blue: #2f5bf6;
  --violet: #7c3aed;
  --ink: #0c1222;
  --ink-soft: #2b3346;
  --slate: #3a4256;
  --body: #5b6576;
  --muted: #6b7488;
  --muted-2: #8a93a6;
  --muted-3: #9aa3b4;
  --line: #edeff5;
  --line-2: #e6e8f0;
  --line-3: #eef0f6;
  --tint: #eef2ff;
  --tint-violet: #f1edfd;
  --green: #16a34a;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
::selection { background: rgba(47, 91, 246, .16); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Keyframes (from export) -------------------------------------------- */
@keyframes floaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes pulse   { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes dashmove { to { stroke-dashoffset: -14; } }
@keyframes dashflow { to { stroke-dashoffset: -17; } }
@keyframes blobshift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-18px) scale(1.08); } }

/* ---- Layout primitives -------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { max-width: var(--maxw); margin: 0 auto; padding: 96px 32px 40px; }
.section--tight { padding: 24px 32px 0; }
.section--tight-b { padding: 24px 32px 40px; }
.section--lead-top { padding: 40px 32px 0; }
.section--split { display: flex; flex-wrap: wrap; gap: 56px; }
.section--split.center { align-items: center; }
.col { flex: 1 1 420px; min-width: 300px; }
.grad-text {
  background: linear-gradient(95deg, #2f5bf6 0%, #6d3df0 55%, #a855f7 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Typography --------------------------------------------------------- */
.eyebrow {
  font: 700 13px/1.4 var(--font);
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.h-display {
  margin: 20px 0 0;
  font: 800 clamp(34px, 4.6vw, 56px)/1.05 var(--font);
  letter-spacing: -.03em; color: var(--ink);
}
.lead {
  margin: 24px 0 0; max-width: 460px;
  font: 400 17px/1.7 var(--font); color: var(--body);
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font: 700 17px/1 var(--font); padding: 18px 28px; border-radius: 14px;
  transition: transform .25s, box-shadow .25s; cursor: pointer; border: none;
}
.btn--sm { font-size: 16px; padding: 15px 24px; border-radius: 13px; }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(47, 91, 246, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -10px rgba(47, 91, 246, .7); }
.btn-ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px -10px rgba(13, 18, 40, .18);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(13, 18, 40, .22); }
.btn .play-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff;
}

/* ---- Header / nav ------------------------------------------------------- */
header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(255, 255, 255, .78); border-bottom: 1px solid rgba(13, 18, 40, .06);
  transition: box-shadow .45s ease, background .45s ease;
}
header.scrolled { box-shadow: 0 10px 34px -14px rgba(13, 18, 40, .20); background: rgba(255, 255, 255, .88); }
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px; height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { font: 800 26px/1 var(--font); letter-spacing: -.025em; color: var(--ink); display: inline-flex; align-items: center; }
.brand .accent, .brand span { color: var(--blue); }
.brand-logo { height: 46px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 42px; font: 600 16px/1 var(--font); }
.nav-links a { color: var(--slate); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; font: 700 16px/1 var(--font); padding: 15px 24px; border-radius: 13px; box-shadow: 0 10px 24px -8px rgba(47, 91, 246, .6); transition: transform .25s, box-shadow .25s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(47, 91, 246, .7); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-burger { display: none; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; border-radius: 10px; transition: background .2s; }

/* ---- Language switcher -------------------------------------------------- */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
  padding: 9px 12px; font: 600 15px/1 var(--font); color: var(--slate);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lang-switch__btn:hover { border-color: #d7dbe8; box-shadow: 0 8px 20px -12px rgba(13, 18, 40, .25); }
.lang-flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(13, 18, 40, .08); display: block; }
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-switch__label { white-space: nowrap; }
.lang-switch__chev { color: var(--muted-3); transition: transform .25s ease; }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; min-width: 210px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 8px;
  box-shadow: 0 24px 50px -22px rgba(13, 18, 40, .32);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px;
  font: 600 15px/1 var(--font); color: var(--slate); cursor: pointer; transition: background .18s, color .18s;
}
.lang-switch__item:hover { background: var(--tint); color: var(--ink); }
.lang-switch__item.is-active { color: var(--blue); background: rgba(47, 91, 246, .07); }
.lang-switch__item.is-soon { cursor: default; color: var(--muted-3); }
.lang-switch__item.is-soon:hover { background: none; }
.lang-switch__item.is-soon .lang-flag { opacity: .55; }
.lang-switch__soon { margin-left: auto; font: 500 12px/1 var(--font); font-style: normal; color: var(--muted-3); }
/* mobile variant sits inside the hamburger menu; the list flows in-page so it
   is never clipped by the menu's overflow/max-height (it expands the menu). */
.mobile-menu__lang { margin-top: 16px; }
.lang-switch--mobile { display: none; }
.lang-switch--mobile .lang-switch__btn { width: 100%; justify-content: space-between; }
.lang-switch--mobile .lang-switch__menu {
  position: static; inset: auto; width: 100%; min-width: 0;
  margin-top: 8px; transform: none; box-shadow: none;
  opacity: 1; visibility: visible; display: none;
}
.lang-switch--mobile.is-open .lang-switch__menu { display: block; }
.lang-switch--mobile .lang-switch__item { padding: 14px 12px; }
@media (max-width: 880px) {
  .lang-switch--desktop { display: none; }
  .lang-switch--mobile { display: block; }
}
.nav-burger:hover { background: rgba(47, 91, 246, .08); }
.mobile-menu {
  overflow: hidden; max-height: 0;
  transition: max-height .45s cubic-bezier(.16, 1, .3, 1);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(13, 18, 40, .06);
}
.mobile-menu .inner { display: flex; flex-direction: column; gap: 2px; padding: 8px 24px 22px; font: 600 17px/1 var(--font); }
.mobile-menu a { padding: 15px 8px; color: var(--slate); border-bottom: 1px solid #f0f1f6; }
.mobile-menu a.active { color: var(--blue); }
.mobile-menu a.cta { margin-top: 16px; padding: 16px 8px; text-align: center; color: #fff; background: var(--blue); border-radius: 13px; box-shadow: 0 10px 24px -8px rgba(47, 91, 246, .6); border-bottom: none; }
@media (max-width: 880px) { .nav-links { display: none !important; } .nav-burger { display: inline-flex !important; } }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; width: 100%; padding: 48px clamp(28px, 5vw, 110px);
  min-height: calc(100svh - 78px); display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: clamp(28px, 4vw, 72px);
  background: linear-gradient(170deg, #f3f2fb 0%, #f7f8fe 46%, #fff 80%); overflow: hidden;
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.hero__blob--1 { top: -40px; left: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(124, 58, 237, .10), transparent 65%); animation: blobshift 14s ease-in-out infinite; }
.hero__blob--2 { top: 120px; right: -80px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(47, 91, 246, .10), transparent 65%); animation: blobshift 18s ease-in-out infinite; }
.hero__copy { flex: 0 1 480px; min-width: 300px; position: relative; z-index: 2; }
.hero__eyebrow { font: 700 13px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.hero h1 { margin: 22px 0 0; font: 800 clamp(48px, 6.4vw, 82px)/1.0 var(--font); letter-spacing: -.035em; color: var(--ink); }
.hero__lead { margin: 28px 0 0; max-width: 480px; font: 400 18px/1.7 var(--font); color: var(--body); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__trust { margin-top: 46px; }
.hero__trust-label { font: 600 15px/1 var(--font); color: var(--muted-3); }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font: 600 14px/1 var(--font); color: var(--slate); background: #fff; }

.hero__stage { flex: 0 0 auto; width: 720px; max-width: 100%; min-width: 340px; position: relative; height: 600px; z-index: 1; zoom: .6; }
@media (max-width: 820px)  { .hero__stage { zoom: .46; } }
@media (min-width: 1100px) { .hero__stage { zoom: .72; } }
@media (min-width: 1400px) { .hero__stage { zoom: .9; } }
@media (min-width: 1700px) { .hero__stage { zoom: 1; } }
.hero__wires { position: absolute; left: 0; bottom: 0; width: 100%; height: 300px; z-index: 2; pointer-events: none; }
.hero__photo { position: absolute; left: 48px; top: 6px; width: 300px; height: 560px; border-radius: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(102deg, transparent 0%, #000 22%, #000 90%, transparent 100%); mask-image: linear-gradient(102deg, transparent 0%, #000 22%, #000 90%, transparent 100%); box-shadow: 0 44px 90px -46px rgba(13, 18, 40, .34); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.hero__panel { position: absolute; right: 0; top: 18px; width: 420px; background: #fff; border: 1px solid var(--line-3); border-radius: 20px; box-shadow: 0 34px 80px -30px rgba(13, 18, 40, .32); padding: 18px 18px 20px; z-index: 3; }
.hero__floats { position: absolute; left: 0; bottom: 54px; display: flex; flex-direction: column; gap: 14px; z-index: 4; }
.float-chip { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-3); border-radius: 14px; padding: 13px 22px 13px 14px; box-shadow: 0 16px 36px -18px rgba(13, 18, 40, .30); font: 700 15px/1 var(--font); }
.hero__ai { position: absolute; left: 312px; bottom: 24px; width: 96px; height: 96px; border-radius: 22px; background: linear-gradient(150deg, #f4f1ff, #fff); border: 1px solid #ece8fb; box-shadow: 0 22px 44px -20px rgba(124, 58, 237, .45); display: flex; align-items: center; justify-content: center; z-index: 4; }
.hero__ai span { font: 800 38px/1 var(--font); background: linear-gradient(135deg, #2f5bf6, #a855f7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__chip-r { position: absolute; right: 0; bottom: 58px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-3); border-radius: 14px; padding: 12px 20px 12px 13px; box-shadow: 0 16px 36px -18px rgba(13, 18, 40, .30); font: 700 15px/1 var(--font); z-index: 4; }

/* mini dashboard inside hero panel */
.mini-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-kpi { border: 1px solid var(--line-3); border-radius: 11px; padding: 9px 9px 10px; }
.mini-kpi .k { font: 600 9px/1.2 var(--font); color: var(--muted-2); }
.mini-kpi .v { font: 800 19px/1 var(--font); margin-top: 5px; }
.mini-kpi .d { font: 700 8px/1 var(--font); color: var(--green); margin-top: 5px; }

/* ---- Solution diagram (suppliers → iOrder → stores) --------------------- */
.sol-stage { flex: 1 1 520px; min-width: 320px; position: relative; height: 480px; }
.sol-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sol-col { position: absolute; top: 0; width: 200px; display: flex; flex-direction: column; gap: 14px; z-index: 1; }
.sol-col--suppliers { left: 0; }
.sol-col--stores { right: 0; }
.sol-colhead { font: 700 11px/1 var(--font); letter-spacing: .14em; color: var(--muted-3); margin-bottom: 2px; }
.sol-colhead--right { text-align: right; }
.sol-node { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 13px 14px; box-shadow: 0 10px 26px -18px rgba(13, 18, 40, .3); }
.sol-node span { font: 600 14px/1 var(--font); }
.sol-node--more { justify-content: center; background: #f6f7fb; box-shadow: none; }
.sol-node--more span { color: var(--muted); }
.sol-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 158px; z-index: 1; background: #fff; border: 1px solid #ece8fb; border-radius: 22px; box-shadow: 0 24px 50px -24px rgba(124, 58, 237, .4); padding: 24px 16px; text-align: center; }
.sol-center__ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: linear-gradient(150deg, #f4f1ff, #eef2ff); display: flex; align-items: center; justify-content: center; }
/* Mobile: stop the absolute columns overlapping — stack them vertically. */
@media (max-width: 720px) {
  .sol-stage { height: auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
  .sol-wires { display: none; }
  .sol-col { position: static; width: 100%; }
  .sol-col--suppliers { order: 1; }
  .sol-center { position: static; transform: none; width: 100%; max-width: 220px; margin: 2px auto; order: 2; }
  .sol-col--stores { order: 3; }
  .sol-colhead--right { text-align: left; }
}

/* ---- Check lists -------------------------------------------------------- */
.check-list { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.check-list--compact { gap: 15px; margin-top: 28px; }
.check-item { display: flex; align-items: center; gap: 14px; }
.check-item span { font: 600 16px/1.4 var(--font); color: var(--ink-soft); }
.check-list--compact .check-item span { font-size: 15px; }

/* ---- Stats bar ---------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px 48px; }
.stat { display: flex; align-items: center; gap: 18px; }
.stat__ic { flex: none; width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.stat__v { font: 800 28px/1 var(--font); color: var(--ink); }
.stat__l { font: 500 15px/1.4 var(--font); color: var(--muted); margin-top: 7px; }

/* ---- Generic white card grid (problem cards) ---------------------------- */
.card-grid { flex: 1 1 540px; min-width: 320px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 24px 28px;
  box-shadow: 0 1px 2px rgba(13, 18, 40, .04), 0 18px 40px -24px rgba(13, 18, 40, .16);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -24px rgba(13, 18, 40, .22); }
.card__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.card__title { font: 700 18px/1.3 var(--font); color: var(--ink); }
.card__desc { font: 400 15px/1.6 var(--font); color: var(--muted); margin-top: 14px; }

/* ---- Feature bar (soft gradient) ---------------------------------------- */
.feature-bar {
  background: linear-gradient(180deg, #fbfbfe, #f6f7fc); border: 1px solid var(--line);
  border-radius: 24px; padding: 34px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--min, 230px), 1fr)); gap: 36px;
}
.feature-item { display: flex; gap: 16px; }
.feature-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.feature-title { font: 700 16px/1.3 var(--font); color: var(--ink); }
.feature-desc { font: 400 14px/1.55 var(--font); color: var(--muted); margin-top: 8px; }
.feature-bar--sm .feature-ic { width: 44px; height: 44px; border-radius: 12px; }
.feature-bar--sm .feature-title { font-size: 15px; }
.feature-bar--sm .feature-desc { font-size: 13px; line-height: 1.5; margin-top: 6px; }

/* ---- Result bar (centered round icons in a row) ------------------------- */
.result-bar {
  background: linear-gradient(180deg, #fbfbfe, #f6f7fc); border: 1px solid var(--line);
  border-radius: 24px; padding: 32px 40px;
  display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 36px; align-items: center;
}
.result-bar__label { font: 700 13px/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); max-width: 90px; }
.result-item { display: flex; gap: 14px; align-items: center; }
.result-item .ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.result-item .t { font: 700 15px/1.3 var(--font); }
.result-item .d { font: 400 13px/1.5 var(--font); color: var(--muted); margin-top: 5px; }
/* Let the text wrap instead of forcing the column wider than the card. */
.result-item > div { min-width: 0; }
@media (max-width: 900px) {
  .result-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-bar__label { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .result-bar { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; gap: 24px; }
}

/* ---- How it works ------------------------------------------------------- */
.how-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 24px; }
.how-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(13, 18, 40, .04), 0 18px 44px -26px rgba(13, 18, 40, .2); }
.how-card img { width: 100%; height: 150px; object-fit: cover; }
.how-card__body { padding: 20px 20px 24px; }
.how-card__head { display: flex; align-items: center; gap: 12px; }
.how-card__num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--tint-violet); display: flex; align-items: center; justify-content: center; font: 800 17px/1 var(--font); color: var(--violet); }
.how-card__title { font: 800 18px/1.2 var(--font); color: var(--ink); }
.how-card__desc { font: 400 14px/1.6 var(--font); color: var(--muted); margin: 14px 0 16px; }
.how-checks { display: flex; flex-direction: column; gap: 10px; }
.how-check { display: flex; align-items: center; gap: 9px; }
.how-check span { font: 500 13px/1.4 var(--font); color: var(--slate); }

/* ---- Hover utilities (from export) -------------------------------------- */
.hov-img { overflow: hidden; }
.hov-img img { transition: transform .65s cubic-bezier(.16, 1, .3, 1); }
.hov-img:hover img { transform: scale(1.07); }
.hov-lift { transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease; }
.hov-lift:hover { transform: translateY(-10px); box-shadow: 0 34px 64px -28px rgba(13, 18, 40, .28); }

/* ---- Benefits tilt cards ------------------------------------------------ */
.tilt-grid { perspective: 1100px; flex: 1 1 560px; min-width: 320px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.tilt-card { position: relative; border-radius: 22px; padding: 26px 24px 30px; transform-style: preserve-3d; will-change: transform; cursor: default; transition: transform .42s cubic-bezier(.16, 1, .3, 1), box-shadow .42s ease; }
.tilt-card > * { transition: transform .42s cubic-bezier(.16, 1, .3, 1); }
.tilt-num { position: absolute; top: 24px; right: 24px; font: 800 22px/1 var(--font); color: rgba(255, 255, 255, .88); }
.tilt-ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; }
.tilt-title { font: 800 20px/1.25 var(--font); color: #fff; margin-top: 24px; }
.tilt-desc { font: 400 14px/1.6 var(--font); color: rgba(255, 255, 255, .9); margin-top: 12px; }
.tilt-rule { width: 46px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .72); margin-top: 22px; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 60%); mix-blend-mode: soft-light; }
@media (hover: none) { .tilt-card { transform: none !important; } .tilt-card > * { transform: none !important; } }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font: 700 17px/1 var(--font); color: var(--blue); }
.link-arrow .ring { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1.6px solid var(--blue); }

/* ---- Side cards (security / support badges) ----------------------------- */
.side-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line-3); border-radius: 18px; padding: 18px 20px; box-shadow: 0 20px 44px -24px rgba(13, 18, 40, .3); }
.side-card .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--tint-violet); display: flex; align-items: center; justify-content: center; }
.side-card .t { font: 700 16px/1.3 var(--font); }
.side-card .d { font: 400 14px/1.55 var(--font); color: var(--muted); margin-top: 6px; }

/* trust grid (security tail) */
.trust-grid { margin-top: 40px; background: linear-gradient(180deg, #fbfbfe, #f6f7fc); border: 1px solid var(--line); border-radius: 24px; padding: 34px 40px; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 30px; align-items: center; }
.trust-intro { max-width: 280px; }
.trust-intro .d { font: 400 14px/1.6 var(--font); color: var(--muted); margin-top: 12px; }
.trust-cell .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.trust-cell .t { font: 700 15px/1.3 var(--font); }
.trust-cell .d { font: 400 13px/1.5 var(--font); color: var(--muted); margin-top: 6px; }
.trust-cell { min-width: 0; }
@media (max-width: 960px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-intro { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; gap: 24px; }
}

/* ---- Image with floating badge ------------------------------------------ */
.media { flex: 1 1 480px; min-width: 300px; position: relative; border-radius: 20px; }
.media img { width: 100%; border-radius: 20px; box-shadow: 0 30px 70px -40px rgba(13, 18, 40, .5); }
.media__badge { position: absolute; display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 13px 18px; }
.media__badge.left { left: 18px; bottom: 18px; background: #0d1330; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.media__badge.left .t { font: 700 13px/1.2 var(--font); color: #fff; }
.media__badge.left .d { font: 500 11px/1.2 var(--font); color: rgba(255, 255, 255, .6); margin-top: 4px; }
.media__badge.left .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(124, 140, 255, .18); display: flex; align-items: center; justify-content: center; }
.media__badge.right { right: 18px; bottom: 18px; background: #fff; border: 1px solid var(--line-3); box-shadow: 0 18px 40px -18px rgba(13, 18, 40, .35); }
.media__badge.right .ic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--violet); display: flex; align-items: center; justify-content: center; }
.media__badge.right .t { font: 700 13px/1.2 var(--font); color: var(--ink); }
.media__badge.right .d { font: 500 11px/1.3 var(--font); color: var(--muted); margin-top: 4px; }

/* ---- Dashboard mockups -------------------------------------------------- */
.mock { background: #fff; border: 1px solid var(--line-3); border-radius: 22px; box-shadow: 0 40px 90px -50px rgba(13, 18, 40, .4); overflow: hidden; display: flex; font-size: 11px; }
.mock__aside { flex: none; width: 172px; border-right: 1px solid #f0f1f6; padding: 18px 14px; display: flex; flex-direction: column; justify-content: space-between; }
.mock__brand { font: 800 16px/1 var(--font); padding: 4px 6px 16px; }
.mock__nav { display: flex; flex-direction: column; gap: 3px; }
.mock__nav-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; color: var(--muted); }
.mock__nav-item.active { background: var(--tint); color: var(--blue); font-weight: 700; }
.mock__user { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border-top: 1px solid #f0f1f6; margin-top: 14px; }
.mock__user .av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #2f5bf6); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 10px/1 var(--font); }
.mock__main { flex: 1; min-width: 0; padding: 18px 20px 22px; }
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mock__title { font: 700 15px/1 var(--font); color: var(--ink); display: flex; align-items: center; gap: 6px; }
.mock__tools { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.mock__chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 9px; }
.mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.mock__kpi { border: 1px solid var(--line-3); border-radius: 11px; padding: 11px; }
.mock__kpi .k { color: var(--muted-2); font-weight: 600; font-size: 10px; }
.mock__kpi .v { font: 800 20px/1 var(--font); margin-top: 5px; }
.mock__kpi .d { color: var(--green); font-weight: 700; font-size: 9px; margin-top: 4px; }
.mock__row { display: grid; gap: 12px; margin-top: 12px; }
.mock__panel { border: 1px solid var(--line-3); border-radius: 12px; padding: 13px; position: relative; }
.mock__panel-title { font-weight: 700; color: var(--ink); font-size: 11px; display: flex; align-items: center; gap: 5px; }

/* ---- Promo -------------------------------------------------------------- */
.promo { max-width: 1100px; margin: 0 auto; padding: 96px 32px 0; text-align: center; }
.promo .eyebrow, .promo .h-display, .promo .lead { margin-left: auto; margin-right: auto; }
.promo .lead { max-width: 580px; }
.promo .h-display { font-size: clamp(34px, 4.6vw, 54px); }
.promo__card { position: relative; margin-top: 40px; border-radius: 26px; overflow: hidden; padding: 54px 56px; background: linear-gradient(115deg, #3a5bf3 0%, #3f7fd6 45%, #2bb3a3 100%); text-align: left; box-shadow: 0 50px 100px -50px rgba(47, 91, 246, .7); }
.promo__card-dots { position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: radial-gradient(circle, #fff 1px, transparent 1.4px); background-size: 26px 26px; }
.promo__card-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 30px; justify-content: space-between; }
.promo__lead { flex: 1 1 280px; min-width: 240px; }
.promo__brand { font: 800 40px/1 var(--font); color: #fff; }
.promo__sub { font: 600 19px/1.45 var(--font); color: rgba(255, 255, 255, .92); margin-top: 18px; }
.promo__rule { width: 64px; height: 4px; border-radius: 3px; background: #7defcf; margin-top: 22px; }
.promo__play-wrap { flex: none; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; }
.promo__play { width: 84px; height: 84px; border: none; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .4); transition: transform .25s; }
.promo__play:hover { transform: scale(1.07); }
.promo__features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 44px; text-align: left; }
.promo__feature { display: flex; gap: 14px; }
.promo__feature .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.promo__feature .t { font: 700 15px/1.3 var(--font); }
.promo__feature .d { font: 400 13px/1.5 var(--font); color: var(--muted); margin-top: 6px; }
.promo__caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; }
.promo__caption span { font: 600 22px/1 'Caveat', cursive; color: #22b39a; }

/* ---- CTA banners -------------------------------------------------------- */
.cta-light { background: linear-gradient(120deg, #efeafd, #e9eefd); border: 1px solid #e4e2f6; border-radius: 22px; padding: 26px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-light .t { font: 800 24px/1.2 var(--font); color: var(--ink); }
.cta-light .s { font: 400 15px/1.5 var(--font); color: var(--body); margin-top: 6px; }
.cta-dark { position: relative; overflow: hidden; border-radius: 26px; padding: 48px 56px; background: radial-gradient(120% 160% at 100% 0, #3b3a9e 0%, #1e2462 45%, #10153b 100%); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-dark .t { font: 800 28px/1.2 var(--font); color: #fff; }
.cta-dark .s { font: 400 16px/1.5 var(--font); color: rgba(255, 255, 255, .72); margin-top: 8px; }
.cta-dark__svg { position: absolute; right: 0; top: 0; height: 100%; opacity: .25; pointer-events: none; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Footer ------------------------------------------------------------- */
footer { margin-top: 96px; border-top: 1px solid var(--line); background: #fbfbfe; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 56px 32px 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr; gap: 36px; }
.footer-brand .name { font: 800 24px/1 var(--font); }
.footer-logo { height: 42px; width: auto; display: block; }
.footer-brand .tag { font: 400 14px/1.6 var(--font); color: var(--muted); margin-top: 16px; max-width: 230px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--blue); transition: background .2s, transform .2s; }
.footer-social a:hover { background: #e2e8ff; transform: translateY(-2px); }
.footer-col .head { font: 700 12px/1 var(--font); letter-spacing: .12em; color: var(--muted-3); text-transform: uppercase; }
.footer-col .links { display: flex; flex-direction: column; gap: 13px; margin-top: 18px; font: 500 14px/1 var(--font); color: var(--body); }
.footer-col .links a { transition: color .2s; }
.footer-col .links a:hover { color: var(--blue); }
.footer-news .desc { font: 400 14px/1.6 var(--font); color: var(--muted); margin-top: 18px; }
.footer-news form { display: flex; gap: 8px; margin-top: 14px; }
.footer-news input { flex: 1; min-width: 0; border: 1px solid var(--line-2); border-radius: 11px; padding: 12px 14px; font: 400 14px/1 var(--font); color: var(--ink); background: #fff; outline: none; }
.footer-news input:focus { border-color: var(--blue); }
.footer-news button { flex: none; width: 46px; border: none; border-radius: 11px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.footer-news button:hover { background: #2348d6; }
.footer-bottom { max-width: var(--maxw); margin: 36px auto 0; padding: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-bottom .copy { font: 400 13px/1 var(--font); color: var(--muted-3); }
.footer-bottom .legal { display: flex; gap: 24px; font: 500 13px/1 var(--font); color: var(--muted); }
.footer-bottom .legal a { transition: color .2s; }
.footer-bottom .legal a:hover { color: var(--blue); }
@media (max-width: 920px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; } .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; } .footer-bottom .legal { flex-wrap: wrap; gap: 12px 18px; } }

/* ---- Contact form (real PHP form) --------------------------------------- */
.contact-form { background: #fff; border: 1px solid var(--line-3); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 460px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { font: 600 13px/1.4 var(--font); color: var(--slate); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 11px; padding: 12px 14px; font: 400 14px/1.4 var(--font); color: var(--ink); background: #fff; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.form-note { grid-column: 1 / -1; font: 500 14px/1.5 var(--font); padding: 12px 14px; border-radius: 11px; }
.form-note.ok { background: #e8f7ef; color: #15803d; border: 1px solid #bbe7cc; }
.form-note.err { background: #fdecec; color: #b91c1c; border: 1px solid #f3c4c4; }

/* ---- Reveal animation base (JS-driven) ---------------------------------- */
[data-reveal] { will-change: opacity, transform, filter; }

/* video lightbox */
.video-overlay { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 5vmin; opacity: 0; visibility: hidden; pointer-events: none; background: rgba(8, 11, 22, .86); backdrop-filter: blur(6px) saturate(115%); -webkit-backdrop-filter: blur(6px) saturate(115%); transition: opacity .3s ease; }
.video-frame { position: relative; width: min(1040px, 94vw); aspect-ratio: 16 / 9; max-height: 80vh; opacity: 0; transform: scale(.93) translateY(18px); border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .7); }
.video-frame .video-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-close { position: absolute; top: clamp(14px, 4vmin, 40px); right: clamp(14px, 4vmin, 48px); width: 42px; height: 42px; border: none; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease; z-index: 2; }
.video-close:hover { background: rgba(255, 255, 255, .24); }

/* =========================================================================
   AI Hero (top of page). 1:1 reproduction of hero/Hero.dc.html. Namespaced
   `.nhero`. Full-viewport section; the composition uses the exact DC design
   coordinates, anchored to the top-left of the right column. The AI-chip
   subgroup (.nhero__chipgroup) is re-fit at runtime by fitHeroChip() (main.js).
   ========================================================================= */
@keyframes hfloaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hfloaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes hbob     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes haura    { 0%,100% { opacity: .45; transform: scale(1); } 50% { opacity: .85; transform: scale(1.06); } }
@keyframes hring    { 0% { transform: scale(.85); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes hdash    { to { stroke-dashoffset: -300; } }

.nhero {
  position: relative; width: 100%;
  height: 100svh; min-height: 720px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1200px 820px at 72% 38%, rgba(96, 165, 250, .22), rgba(96, 165, 250, 0) 62%),
    radial-gradient(900px 600px at 12% 18%, rgba(219, 233, 255, .7), rgba(219, 233, 255, 0) 60%),
    linear-gradient(178deg, #fff 0%, #eef4fd 58%, #e7f0fc 100%);
}
.nhero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1560px; height: 100%; margin: 0 auto; min-width: 0;
  display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(28px, 4vw, 56px);
}
.nhero__glow { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; z-index: 0; opacity: .65; }
.nhero__glow--1 { top: -120px; right: 8%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(59, 130, 246, .30), rgba(59, 130, 246, 0) 70%); }
.nhero__glow--2 { bottom: -160px; right: 24%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(125, 211, 252, .28), rgba(125, 211, 252, 0) 70%); }

.nhero__copy { flex: 0 1 460px; max-width: 460px; min-width: 340px; position: relative; z-index: 2; }
.nhero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(37, 99, 235, .08); border: 1px solid rgba(37, 99, 235, .16); color: #2563EB; font: 600 13px/1 var(--font); white-space: nowrap; margin-bottom: clamp(16px, 2.4vh, 30px); }
.nhero__h1 { font: 800 clamp(46px, 4.4vw, 67px)/1.02 var(--font); letter-spacing: -.025em; color: #0B1B3F; margin: 0 0 clamp(14px, 2vh, 26px); }
.nhero__accent { color: #2563EB; }
.nhero__lead { font: 400 18px/1.62 var(--font); color: #5b6577; max-width: 430px; margin: 0 0 clamp(18px, 2.6vh, 34px); }
.nhero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(28px, 4.5vh, 54px); }
.nhero__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 12px; font: 700 15px/1 var(--font); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.nhero__btn--primary { background: #2563EB; color: #fff; box-shadow: 0 12px 26px rgba(37, 99, 235, .32); }
.nhero__btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 99, 235, .42); }
.nhero__btn--ghost { gap: 11px; padding: 15px 24px; background: #fff; color: #0B1B3F; border: 1px solid #e2e8f4; box-shadow: 0 6px 16px rgba(15, 31, 61, .05); }
.nhero__btn--ghost:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15, 31, 61, .1); }
.nhero__play { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #eef3ff; color: #2563EB; font-size: 11px; }
.nhero__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 440px; }
.nhero__feat-ic { width: 46px; height: 46px; border-radius: 12px; background: #eef3ff; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.nhero__feat-t { font: 700 15px/1 var(--font); color: #0B1B3F; margin-bottom: 5px; }
.nhero__feat-d { font: 400 13px/1.45 var(--font); color: #7a8499; }

/* RIGHT: composition — DC design space, anchored top-left in the column */
.nhero__stagewrap { flex: 1 1 0; min-width: 0; height: 100%; position: relative; overflow: visible; z-index: 1; }
.nhero__stagewrap video, .nhero__stagewrap img { display: block; }

/* stacked (<=1180): copy on top, composition scaled below */
@media (max-width: 1180px) {
  .nhero { height: auto; min-height: 0; }
  .nhero__inner { flex-direction: column; height: auto; align-items: center; gap: 8px; padding-top: 28px; padding-bottom: 40px; }
  .nhero__copy { flex: 0 0 auto; max-width: 560px; min-width: 0; text-align: center; }
  .nhero__lead, .nhero__actions, .nhero__features { margin-left: auto; margin-right: auto; }
  .nhero__actions { justify-content: center; }
  .nhero__stagewrap { flex: 0 0 auto; width: 990px; height: 780px; transform: scale(.60); transform-origin: top center; margin-bottom: -300px; }
}
@media (max-width: 760px) {
  .nhero__h1 { font-size: clamp(32px, 8.6vw, 46px); }
  .nhero__lead { font-size: 16px; }
  .nhero__features { gap: 12px; }
  .nhero__feat-t { font-size: 13.5px; }
  .nhero__feat-d { font-size: 12px; }
  .nhero__stagewrap { transform: scale(.42); margin-bottom: -450px; }
}
@media (max-width: 470px) { .nhero__stagewrap { transform: scale(.30); margin-bottom: -545px; } }
