/* ==========================================================================
   منیس‌تک — Midnight Aurora
   Hand-written CSS · RTL-first (logical properties) · no frameworks
   ========================================================================== */

:root {
  --bg: #060913;
  --bg-2: #0B1024;
  --bg-3: #111838;
  --surface: rgba(148, 163, 255, .045);
  --surface-2: rgba(148, 163, 255, .08);
  --line: rgba(160, 174, 230, .14);
  --line-2: rgba(160, 174, 230, .24);

  --text: #EEF1FA;
  --text-2: #BAC3DC;
  --text-3: #919CBB;

  --violet: #8B5CF6;
  --violet-2: #A78BFA;
  --blue: #3B82F6;
  --blue-2: #60A5FA;
  --cyan: #22D3EE;
  --emerald: #34D399;

  --grad: linear-gradient(120deg, #C4B5FD 0%, #93C5FD 45%, #67E8F9 100%);
  --grad-btn: linear-gradient(135deg, #7C3AED 0%, #4F46E5 52%, #2563EB 100%);
  --hairline: linear-gradient(140deg, rgba(167, 139, 250, .55), rgba(96, 165, 250, .14) 38%, rgba(34, 211, 238, .08) 62%, rgba(34, 211, 238, .45));

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: Vazirmatn, Tahoma, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, "Courier New", monospace;
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 50% 120%, rgba(59, 130, 246, .08), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
bdi { unicode-bidi: isolate; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }

:focus-visible {
  outline: 2px solid #7DD3FC;
  outline-offset: 3px;
  border-radius: 8px;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 12px;
  background: #fff;
  color: #0B1024;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
#main { scroll-margin-top: var(--header-h); }

/* Icons */
.ic {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-g { stroke: url(#ig); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Background FX (aurora + dot grid) ---------- */
.bg-fx {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1150px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(186, 196, 255, .16) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 32%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 32%, #000 25%, transparent 78%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.b1 {
  width: 820px; height: 620px;
  top: -260px; inset-inline-end: -180px;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .42), rgba(139, 92, 246, 0));
  animation: drift-a 18s ease-in-out infinite alternate;
}
.b2 {
  width: 760px; height: 560px;
  top: 40px; inset-inline-start: -220px;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .36), rgba(59, 130, 246, 0));
  animation: drift-b 22s ease-in-out infinite alternate;
}
.b3 {
  width: 560px; height: 420px;
  top: 320px; inset-inline-start: 18%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .22), rgba(34, 211, 238, 0));
  animation: drift-c 26s ease-in-out infinite alternate;
}
.b4 {
  width: 420px; height: 320px;
  top: 120px; inset-inline-end: 34%;
  background: radial-gradient(closest-side, rgba(52, 211, 153, .12), rgba(52, 211, 153, 0));
  animation: drift-b 30s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a { to { transform: translate3d(-120px, 90px, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(140px, -60px, 0) scale(1.08); } }
@keyframes drift-c { to { transform: translate3d(-90px, -110px, 0) scale(1.18); } }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px;
  --pad-x: 22px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: var(--pad-y) var(--pad-x);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
}
.btn .ic { width: 20px; height: 20px; }
.btn-sm { min-height: 42px; --pad-y: 8px; --pad-x: 18px; font-size: .95rem; }
.btn-lg { min-height: 56px; --pad-y: 14px; --pad-x: 28px; font-size: 1.05rem; }

.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, .35) inset,
    0 10px 30px -8px rgba(124, 58, 237, .7),
    0 0 40px -6px rgba(59, 130, 246, .55);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, .5) inset,
    0 16px 40px -10px rgba(124, 58, 237, .85),
    0 0 60px -4px rgba(59, 130, 246, .7);
}
.btn-primary:hover .ic { transform: translateX(-3px); }
.btn-primary .ic { transition: transform .3s var(--ease); }

.btn-ghost {
  color: var(--text);
  background: rgba(148, 163, 255, .07);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(148, 163, 255, .12);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .5) inset, 0 10px 30px -12px rgba(139, 92, 246, .6);
}
.btn:active { transform: translateY(0); }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.6;
  color: #D6CCFE;
  background: rgba(139, 92, 246, .1);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .28) inset;
}
.section { position: relative; padding-block: clamp(64px, 7.5vw, 108px); scroll-margin-top: calc(var(--header-h) + 8px); }
.section-head { max-width: 720px; margin-block-end: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  margin-block: 18px 16px;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.45;
  text-wrap: balance;
}
.nowrap { white-space: nowrap; } /* keeps a short phrase on one line so a heading does not break mid-phrase */
.section-lead {
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  color: var(--text-2);
  line-height: 2;
  text-wrap: pretty;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(7, 10, 22, .78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(0, 0, 0, .8);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  border-radius: 12px;
}
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 6px 18px rgba(124, 58, 237, .45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-fa { font-size: 1.28rem; font-weight: 800; color: #fff; }
.brand-en {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--text-3);
  text-align: end;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline-start: auto;
}
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  position: relative;
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: .98rem;
  color: var(--text-2);
  transition: color .25s, background-color .25s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.nav-list a:hover { color: #fff; }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: #fff; }

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(148, 163, 255, .08);
  box-shadow: 0 0 0 1px var(--line-2) inset;
  cursor: pointer;
  place-items: center;
}
.nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle-bars i {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 6px; inset-inline-start: 6px; }
.nav-toggle-bars i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 84px) clamp(64px, 8vw, 110px);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { animation: rise .8s var(--ease) both; }
.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--emerald);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

.hero-title {
  margin-block: 22px 22px;
  font-size: clamp(2rem, 1.05rem + 3.1vw, 3.35rem);
  font-weight: 900;
  line-height: 1.38;
  color: #fff;
  text-wrap: balance;
  animation: rise .9s .08s var(--ease) both;
}
.hero-title .grad-text { display: inline-block; white-space: nowrap; padding-block-end: .08em; }
.hero-lead {
  max-width: 560px;
  font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem);
  line-height: 2.05;
  color: var(--text-2);
  animation: rise .9s .16s var(--ease) both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-start: 34px;
  animation: rise .9s .24s var(--ease) both;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-block-start: 30px;
  color: var(--text-2);
  font-size: .96rem;
  animation: rise .9s .32s var(--ease) both;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ic { width: 18px; height: 18px; color: var(--violet-2); }
.hero-meta a { font-weight: 700; color: var(--text); border-radius: 6px; }
.hero-meta a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(167, 139, 250, .6); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Hero visual (layered mockups) ---------- */
.hero-visual {
  position: relative;
  container-type: inline-size;
  animation: rise 1.1s .2s var(--ease) both;
}
.stage {
  position: relative;
  aspect-ratio: 100 / 88;
  font-size: 2.15cqi;
}
.stage-glow {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 40% 45%, rgba(139, 92, 246, .5), transparent),
    radial-gradient(closest-side at 65% 60%, rgba(34, 211, 238, .28), transparent);
  opacity: .9;
}
.stage-tilt {
  position: absolute;
  inset: 0;
  transform: perspective(1600px) rotateY(12deg) rotateX(6deg) rotateZ(-1deg);
  transform-origin: 60% 50%;
}

.mock {
  position: absolute;
  border-radius: 1.15em;
  color: #E4E9F7;
  line-height: 1.6;
  background: linear-gradient(180deg, rgba(24, 31, 66, .94), rgba(12, 17, 40, .96));
  box-shadow:
    0 2.4em 4.5em -1.2em rgba(0, 0, 0, .75),
    0 0 0 1px rgba(160, 174, 255, .08),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}
.mock::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--hairline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.float { animation: float 7s ease-in-out infinite; }
.f2 { animation-duration: 8s; animation-delay: -2s; }
.f3 { animation-duration: 9s; animation-delay: -4s; }
.f4 { animation-duration: 7.5s; animation-delay: -1s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -0.9em; } }

.dots { display: inline-flex; gap: .38em; }
.dots i { width: .62em; height: .62em; border-radius: 50%; background: #F87171; }
.dots i:nth-child(2) { background: #FBBF24; }
.dots i:nth-child(3) { background: #34D399; }

/* Dashboard */
.mock-dash {
  top: 9%;
  inset-inline-end: 1%;
  width: 84%;
  z-index: 1;
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: .8em 1.1em;
  border-bottom: 1px solid rgba(160, 174, 255, .1);
  background: rgba(255, 255, 255, .02);
}
.mock-title { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1em; }
.mini-logo { width: 1.1em; height: 1.1em; border-radius: .35em; background: var(--grad-btn); box-shadow: 0 0 .8em rgba(139, 92, 246, .7); }
.mock-search {
  flex: 1;
  height: 1.9em;
  border-radius: 999px;
  background: rgba(148, 163, 255, .07);
  box-shadow: 0 0 0 1px rgba(160, 174, 255, .1) inset;
  position: relative;
}
.mock-search i { position: absolute; inset-inline-start: .8em; top: 50%; width: 30%; height: .38em; margin-top: -.19em; border-radius: 1em; background: rgba(186, 196, 255, .2); }
.dash { display: grid; grid-template-columns: 3.6em 1fr; }
.dash-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9em;
  padding: 1.1em 0;
  border-inline-end: 1px solid rgba(160, 174, 255, .08);
  background: rgba(255, 255, 255, .015);
}
.dash-side i { width: 1.7em; height: 1.7em; border-radius: .55em; background: rgba(148, 163, 255, .09); }
.dash-side i.on { background: linear-gradient(135deg, rgba(139, 92, 246, .85), rgba(59, 130, 246, .85)); box-shadow: 0 0 1em rgba(139, 92, 246, .55); }
.dash-main { padding: 1em 1.1em 1.2em; min-width: 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8em; }
.dash-head b { font-size: 1.12em; font-weight: 800; }
.chip { font-size: .78em; padding: .15em .8em; border-radius: 999px; background: rgba(148, 163, 255, .1); color: #C8D0EA; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; margin-bottom: .8em; }
.kpi {
  display: flex;
  flex-direction: column;
  padding: .65em .8em;
  border-radius: .8em;
  background: rgba(148, 163, 255, .06);
  box-shadow: 0 0 0 1px rgba(160, 174, 255, .08) inset;
}
.kpi span { font-size: .78em; color: #AAB4D2; }
.kpi b { font-size: 1.55em; font-weight: 800; line-height: 1.35; color: #fff; }
.kpi em { font-style: normal; font-size: .72em; font-weight: 700; }
.kpi .up { color: #6EE7B7; }
.kpi .down { color: #FCA5A5; }
.dash-charts { display: grid; grid-template-columns: 1.55fr 1fr; gap: .7em; }
.panel {
  position: relative;
  padding: .7em .8em .6em;
  border-radius: .8em;
  background: rgba(148, 163, 255, .05);
  box-shadow: 0 0 0 1px rgba(160, 174, 255, .08) inset;
  min-width: 0;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; font-size: .8em; color: #B7C0DC; margin-bottom: .35em; }
.legend { width: 2.2em; height: .35em; border-radius: 1em; background: linear-gradient(90deg, #22D3EE, #A78BFA); }
.line-chart { width: 100%; height: 6.6em; overflow: visible; }
.grid-lines path { stroke: rgba(160, 174, 255, .12); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; fill: none; }
.line-chart .line { stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.2s .6s var(--ease) forwards; }
.line-chart .area { opacity: 0; animation: fade-in 1.4s 1.2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.chart-dot {
  position: absolute;
  right: .45em;
  top: 3.05em;
  width: .7em;
  height: .7em;
  border-radius: 50%;
  background: #C4B5FD;
  box-shadow: 0 0 0 .3em rgba(167, 139, 250, .25), 0 0 1em rgba(167, 139, 250, .9);
}
.bars { display: flex; align-items: flex-end; justify-content: space-between; gap: .35em; height: 5.9em; padding-top: .3em; }
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: .35em .35em .15em .15em;
  background: linear-gradient(180deg, #67E8F9, rgba(59, 130, 246, .35));
  transform-origin: bottom;
  animation: bar 4.5s ease-in-out infinite;
}
.bars i:nth-child(2n) { background: linear-gradient(180deg, #C4B5FD, rgba(139, 92, 246, .35)); animation-delay: -1.5s; }
.bars i:nth-child(3n) { animation-delay: -3s; }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.82); } }
.bar-labels { display: flex; justify-content: space-between; font-size: .66em; color: #8F9ABA; margin-top: .3em; padding-inline: .15em; }

/* Code card */
.mock-code {
  top: 0;
  left: 0;
  width: 42%;
  z-index: 3;
  padding: 0 0 .9em;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 20, 44, .97), rgba(9, 12, 28, .98));
  text-align: left;
}
.code-top { display: flex; align-items: center; gap: .9em; padding: .7em 1em; border-bottom: 1px solid rgba(160, 174, 255, .1); }
.code-tab { font-family: var(--mono); font-size: .78em; color: #AFB9D8; padding: .1em .7em; border-radius: .4em; background: rgba(148, 163, 255, .08); }
.mock-code pre {
  margin: 0;
  padding: .8em 1.1em 0;
  font-family: var(--mono);
  font-size: .82em;
  line-height: 1.75;
  color: #D5DBF0;
  white-space: pre;
  overflow: hidden;
}
.t-k { color: #C4B5FD; }
.t-f { color: #67E8F9; }
.t-s { color: #86EFAC; }
.t-b { color: #FDBA74; }
.caret { display: inline-block; width: .5em; height: 1.1em; margin-left: .15em; vertical-align: -.2em; background: #A78BFA; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Order card */
.mock-order {
  bottom: 6%;
  left: 2%;
  width: 38%;
  z-index: 4;
  padding: 1em 1.1em 1.05em;
}
.order-top { display: flex; align-items: center; gap: .7em; }
.order-ico {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: .75em;
  background: linear-gradient(135deg, rgba(52, 211, 153, .25), rgba(34, 211, 238, .18));
  box-shadow: 0 0 0 1px rgba(110, 231, 183, .3) inset;
  color: #A7F3D0;
}
.order-ico .ic { width: 1.4em; height: 1.4em; }
.order-title { display: flex; flex-direction: column; line-height: 1.35; flex: 1; min-width: 0; }
.order-title b { font-size: .98em; }
.order-title small { font-size: .74em; color: #A3AECB; }
.pill-ok { font-size: .7em; font-weight: 700; padding: .2em .7em; border-radius: 999px; color: #A7F3D0; background: rgba(52, 211, 153, .14); box-shadow: 0 0 0 1px rgba(110, 231, 183, .3) inset; white-space: nowrap; }
.order-items { display: flex; align-items: center; gap: .4em; margin-top: .85em; }
.order-items i { width: 2em; height: 2em; border-radius: .6em; background: linear-gradient(135deg, rgba(167, 139, 250, .5), rgba(96, 165, 250, .25)); box-shadow: 0 0 0 1px rgba(196, 181, 253, .25) inset; }
.order-items i:nth-child(2) { background: linear-gradient(135deg, rgba(34, 211, 238, .45), rgba(59, 130, 246, .25)); }
.order-items i:nth-child(3) { background: linear-gradient(135deg, rgba(251, 191, 36, .4), rgba(248, 113, 113, .2)); }
.order-items span { margin-inline-start: auto; font-size: .78em; color: #C1C9E2; }
.order-progress { height: .4em; margin-top: .9em; border-radius: 1em; background: rgba(148, 163, 255, .1); overflow: hidden; }
.order-progress span { display: block; height: 100%; width: 66%; border-radius: inherit; background: linear-gradient(270deg, #34D399, #22D3EE); animation: progress 5s ease-in-out infinite alternate; transform-origin: right; }
@keyframes progress { from { transform: scaleX(.55); } to { transform: scaleX(1); } }
.order-note { display: block; margin-top: .45em; font-size: .72em; color: #9FAACA; }

/* Chat card */
.mock-chat {
  bottom: 0;
  inset-inline-start: -2%;
  width: 47%;
  z-index: 5;
  padding: 1em 1.05em 1.1em;
  background: linear-gradient(180deg, rgba(30, 27, 75, .96), rgba(14, 17, 44, .97));
}
.chat-head { display: flex; align-items: center; gap: .65em; padding-bottom: .75em; margin-bottom: .75em; border-bottom: 1px solid rgba(160, 174, 255, .1); }
.ai-avatar {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #8B5CF6, #3B82F6, #22D3EE, #8B5CF6);
  box-shadow: 0 0 1.2em rgba(139, 92, 246, .7);
}
.ai-avatar svg { width: 1.25em; height: 1.25em; fill: #fff; }
.chat-name { display: flex; flex-direction: column; line-height: 1.35; }
.chat-name b { font-size: .95em; }
.chat-name small { display: inline-flex; align-items: center; gap: .35em; font-size: .72em; color: #A7F3D0; }
.live { width: .5em; height: .5em; border-radius: 50%; background: #34D399; box-shadow: 0 0 .5em #34D399; }
.bubble {
  width: fit-content;
  max-width: 88%;
  padding: .55em .85em;
  margin-top: .5em;
  font-size: .8em;
  line-height: 1.75;
  border-radius: 1em;
}
.bubble.me {
  margin-inline-start: auto;
  border-end-end-radius: .3em;
  color: #fff;
  background: linear-gradient(135deg, #6D28D9, #2563EB);
}
.bubble.ai {
  border-end-start-radius: .3em;
  background: rgba(148, 163, 255, .1);
  box-shadow: 0 0 0 1px rgba(160, 174, 255, .1) inset;
  color: #DDE3F5;
}
.bubble.typing { display: flex; gap: .3em; padding: .75em .9em; }
.bubble.typing i { width: .45em; height: .45em; border-radius: 50%; background: #C4B5FD; animation: typing 1.3s infinite ease-in-out; }
.bubble.typing i:nth-child(2) { animation-delay: .18s; }
.bubble.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-.3em); opacity: 1; } }

/* ---------- Ribbon ---------- */
.ribbon {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(139, 92, 246, .06), rgba(59, 130, 246, .04), rgba(34, 211, 238, .06));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ribbon-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon ul { display: flex; flex: none; }
.ribbon li {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-inline-end: 22px;
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  font-weight: 700;
  color: #C9D0E6;
  white-space: nowrap;
}
.ribbon li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--grad);
  box-shadow: 0 0 12px rgba(139, 92, 246, .8);
}
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Services (bento) ---------- */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(139, 92, 246, .09), transparent 70%),
    radial-gradient(700px 500px at 10% 80%, rgba(34, 211, 238, .06), transparent 70%);
  pointer-events: none;
}
.services .container { position: relative; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.services-grid > li { display: flex; min-width: 0; }
.services-grid > li.wide { grid-column: span 2; }
/* Wide cards: the icon/number row spans the card (same top row as the other cards), then copy | art below it */
.service-card.has-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  grid-template-rows: auto 1fr;
  column-gap: 26px;
}
.service-card.has-art > .card-top { grid-column: 1 / -1; }
.card-copy { position: relative; z-index: 1; min-width: 0; }
.card-art { position: relative; z-index: 1; align-self: center; justify-self: center; width: 100%; max-width: 252px; }
.art-svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45)); }
.ap-ring { transition: stroke-dashoffset 1.6s .3s var(--ease); }
.js li:not(.is-in) .ap-ring { stroke-dashoffset: 94.3; }
.ap-bars rect { transform-box: fill-box; transform-origin: bottom; animation: bar 4s ease-in-out infinite; }
.ap-bars rect:nth-child(2) { animation-delay: -1.3s; }
.ap-bars rect:nth-child(3) { animation-delay: -2.6s; }
.nn-flow { stroke-dasharray: 26 200; animation: flow 3.2s linear infinite; }
.nn-flow-2 { animation-delay: -1.6s; }
@keyframes flow { from { stroke-dashoffset: 226; } to { stroke-dashoffset: 0; } }
.gauge-fg { transition: stroke-dashoffset 1.8s .3s var(--ease); }
.gauge-needle { transform-origin: 120px 124px; transform: rotate(61deg); transition: transform 1.8s .3s var(--ease); }
.js li:not(.is-in) .gauge-fg { stroke-dashoffset: 100; }
.js li:not(.is-in) .gauge-needle { transform: rotate(-90deg); }
.gauge-label { font-family: var(--font); font-size: 12px; font-weight: 700; fill: #A3AECB; }
.service-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(148, 163, 255, .06), rgba(148, 163, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 20px 50px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(196, 181, 253, .95), transparent 60%),
    linear-gradient(160deg, rgba(167, 139, 250, .32), rgba(96, 165, 250, .1) 40%, rgba(160, 174, 230, .08) 70%, rgba(34, 211, 238, .22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(139, 92, 246, .22), rgba(59, 130, 246, .08) 40%, transparent 65%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 60px -30px rgba(76, 29, 149, .7); }
.service-card:hover::after { opacity: 1; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-block-end: 22px; position: relative; z-index: 1; }
.icon-chip {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(139, 92, 246, .2), rgba(34, 211, 238, .07));
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .3) inset, 0 10px 30px -10px rgba(139, 92, 246, .6);
}
.icon-chip .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.card-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(186, 196, 230, .38);
  font-variant-numeric: tabular-nums;
}
.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.75;
  color: #fff;
  margin-block-end: 10px;
  text-wrap: balance;
}
.service-card p { position: relative; z-index: 1; color: var(--text-2); font-size: .98rem; line-height: 1.95; }

/* ---------- Why ---------- */
.why { overflow: clip; }
.why::before {
  content: "";
  position: absolute;
  inset-inline-start: -10%;
  top: 10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .12), transparent);
  pointer-events: none;
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.orb {
  position: relative;
  width: min(300px, 70%);
  aspect-ratio: 1;
  margin-block-start: 48px;
}
.orb-core {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E9D5FF, #8B5CF6 38%, #1E3A8A 80%);
  box-shadow: 0 0 60px rgba(139, 92, 246, .75), 0 0 120px rgba(59, 130, 246, .4);
}
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, .28);
  animation: spin 18s linear infinite;
}
.orb-ring i {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #67E8F9;
  box-shadow: 0 0 14px #22D3EE;
}
.orb-ring.r2 { inset: 13%; border-color: rgba(96, 165, 250, .3); animation-duration: 12s; animation-direction: reverse; }
.orb-ring.r2 i { background: #C4B5FD; box-shadow: 0 0 14px #8B5CF6; }
.orb-ring.r3 { inset: 24%; border-style: dashed; border-color: rgba(34, 211, 238, .25); animation-duration: 26s; }
.orb-ring.r3 i { background: #6EE7B7; box-shadow: 0 0 12px #34D399; width: 8px; height: 8px; margin-left: -4px; top: -4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.why-list { display: grid; gap: 18px; }
.why-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(148, 163, 255, .06), rgba(148, 163, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
  transition: transform .45s var(--ease);
}
.why-item::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--hairline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.why-item:hover { transform: translateX(-6px); }
.why-num {
  position: absolute;
  inset-inline-end: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(167, 139, 250, .22);
  pointer-events: none;
  user-select: none;
}
.why-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 25%, rgba(139, 92, 246, .35), rgba(59, 130, 246, .1) 70%);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .35) inset, 0 0 30px -6px rgba(139, 92, 246, .6);
}
.why-icon .ic { width: 30px; height: 30px; }
.why-body { position: relative; padding-inline-end: 64px; }
.why-body h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); font-weight: 800; line-height: 1.75; color: #fff; margin-block-end: 8px; text-wrap: balance; }
.why-body p { color: var(--text-2); line-height: 1.95; }

/* ---------- Process ---------- */
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 50% 60%, rgba(139, 92, 246, .1), transparent 70%);
  pointer-events: none;
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  inset-inline: 12.5%;
  height: 2px;
  background: linear-gradient(270deg, rgba(167, 139, 250, .9), rgba(96, 165, 250, .7), rgba(34, 211, 238, .9));
  box-shadow: 0 0 18px rgba(139, 92, 246, .5);
  opacity: .7;
}
.steps::after {
  content: "";
  position: absolute;
  top: 33px;
  inset-inline: 12.5%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #fff 50%, transparent) no-repeat;
  background-size: 140px 100%;
  filter: drop-shadow(0 0 6px #A78BFA);
  animation: travel 4.5s linear infinite;
  pointer-events: none;
}
@keyframes travel { from { background-position: calc(100% + 140px) 0; } to { background-position: -140px 0; } }
.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.step-node {
  position: relative;
  z-index: 1; /* above the travelling highlight (.steps::after), which the dark ring then masks */
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 26px;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #2A2F6B, #0D1230 75%);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, .5) inset,
    0 0 0 8px rgba(6, 9, 19, .95),
    0 0 0 9px rgba(160, 174, 230, .16),
    0 0 36px rgba(139, 92, 246, .55);
}
.step h3 { font-size: 1.14rem; font-weight: 800; line-height: 1.7; margin-block-end: 8px; color: #fff; }
.step p { color: var(--text-2); font-size: .98rem; line-height: 1.95; max-width: 260px; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.faq-intro .section-lead { margin-block-end: 28px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(148, 163, 255, .055), rgba(148, 163, 255, .02));
  box-shadow: 0 0 0 1px var(--line) inset;
  transition: box-shadow .3s, background-color .3s;
}
.faq-item[open] {
  background: linear-gradient(180deg, rgba(139, 92, 246, .1), rgba(59, 130, 246, .03));
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .4) inset, 0 20px 50px -30px rgba(124, 58, 237, .6);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.8;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq-item summary > span:first-child { text-wrap: balance; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(148, 163, 255, .08);
  box-shadow: 0 0 0 1px var(--line-2) inset;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: #D6CCFE;
  transition: transform .35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--grad-btn); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--text-2); line-height: 2; }

/* ---------- Contact ---------- */
.contact { padding-block-end: clamp(64px, 8vw, 110px); }
.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(26px, 5vw, 64px);
  border-radius: clamp(24px, 3vw, 36px);
  background: linear-gradient(160deg, rgba(20, 24, 58, .92), rgba(8, 11, 28, .96));
  box-shadow: 0 40px 100px -40px rgba(76, 29, 149, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
  isolation: isolate;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(167, 139, 250, .7), rgba(96, 165, 250, .15) 35%, rgba(160, 174, 230, .08) 60%, rgba(34, 211, 238, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 2;
}
.contact-aurora {
  position: absolute;
  inset: -30% -20% auto auto;
  width: 90%;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(closest-side at 70% 30%, rgba(139, 92, 246, .38), transparent),
    radial-gradient(closest-side at 35% 55%, rgba(34, 211, 238, .16), transparent);
  animation: drift-c 20s ease-in-out infinite alternate;
  pointer-events: none;
}
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(186, 196, 255, .12) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%);
  mask-image: linear-gradient(200deg, #000, transparent 60%);
  pointer-events: none;
}
.contact-title {
  margin-block: 18px 12px;
  font-size: clamp(1.7rem, 1.1rem + 2.3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.5;
  color: #fff;
  text-wrap: balance;
}
.contact-sub { color: var(--text-2); font-size: 1.05rem; }
.big-phone {
  display: inline-block;
  margin-block-start: 26px;
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.4;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 26px rgba(139, 92, 246, .35));
  border-radius: 12px;
  transition: filter .3s;
}
.big-phone:hover { filter: drop-shadow(0 6px 30px rgba(34, 211, 238, .5)); }
.intl-phone { color: var(--text-3); font-size: .98rem; font-weight: 600; margin-block-start: 2px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }
.address-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-block-start: 30px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(148, 163, 255, .06);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.address-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139, 92, 246, .14);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .3) inset;
}
.address-label { font-size: .85rem; color: var(--text-3); }
.address-card address { font-size: 1.12rem; font-weight: 700; color: #fff; line-height: 1.8; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 4px;
  font-weight: 700;
  color: #A5D8FF;
  border-radius: 6px;
}
.map-link .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.map-link:hover { color: #fff; }
.map-link:hover .ic { transform: translate(-2px, 2px); }

/* Composer form */
.composer {
  position: relative;
  padding: clamp(22px, 3.2vw, 34px);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(6, 9, 19, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.composer-head { margin-block-end: 20px; }
.composer-head h3 { font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1.6; }
.composer-head p { color: var(--text-2); font-size: .96rem; }
.field { margin-block-end: 14px; }
.field label { display: block; margin-block-end: 6px; font-weight: 600; font-size: .95rem; color: #DCE2F3; }
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(148, 163, 255, .07);
  box-shadow: 0 0 0 1px rgba(160, 174, 230, .22) inset;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  transition: box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder,
.field textarea::placeholder { color: #8591B2; opacity: 1; }
.field input:hover,
.field select:hover,
.field textarea:hover { box-shadow: 0 0 0 1px rgba(167, 139, 250, .45) inset; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: rgba(139, 92, 246, .08);
  box-shadow: 0 0 0 1.5px #A78BFA inset, 0 0 0 4px rgba(139, 92, 246, .22);
}
.field [aria-invalid="true"] { box-shadow: 0 0 0 1.5px #F87171 inset; background: rgba(248, 113, 113, .06); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 1.5px #F87171 inset, 0 0 0 4px rgba(248, 113, 113, .22); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #C4B5FD;
  border-bottom: 2px solid #C4B5FD;
  transform: rotate(45deg);
  pointer-events: none;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 44px;
  cursor: pointer;
}
.field select option { background: #0E1430; color: var(--text); }
.field-error { min-height: 0; font-size: .88rem; color: #FCA5A5; line-height: 1.7; }
.field-error:not(:empty) { margin-block-start: 6px; }
.composer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 20px; }
.composer-actions .btn { flex: 1 1 180px; }
.composer-status { min-height: 0; margin-block-start: 10px; font-size: .92rem; color: #A7F3D0; }
.composer-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-block-start: 12px;
  font-size: .86rem;
  line-height: 1.9;
  color: var(--text-3);
}
.composer-note .ic { width: 17px; height: 17px; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-block: 64px 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 16, 36, .6), var(--bg));
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .8), rgba(34, 211, 238, .8), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: 40px;
}
.footer-desc { margin-block-start: 16px; color: var(--text-2); max-width: 360px; line-height: 1.95; }
.footer-title { font-size: 1rem; font-weight: 800; color: #fff; margin-block-end: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--text-2); border-radius: 6px; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.footer-contact .ic { width: 18px; height: 18px; color: var(--violet-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: 48px;
  padding-block-start: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: .9rem;
}
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); border-radius: 6px; }
.to-top .ic { width: 16px; height: 16px; }
.to-top:hover { color: #fff; }
.footer-mark {
  margin-block-start: 40px;
  font-size: clamp(3.6rem, 1rem + 13vw, 12rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  background: linear-gradient(180deg, rgba(167, 139, 250, .3), rgba(96, 165, 250, .08) 60%, rgba(34, 211, 238, 0) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
}

.site-header.menu-open {
  background: #080B1A;
  box-shadow: 0 1px 0 var(--line);
}

/* The composer only builds a WhatsApp/SMS link in JS. Without JS a native submit would put the
   visitor's name and description into a GET query on this host, so the form is hidden instead;
   the call / SMS / WhatsApp buttons above it still work. */
html:not(.js) .composer { display: none; }
/* Without JS the scroll listener never adds .is-scrolled, so the sticky header needs its backdrop up front. */
html:not(.js) .site-header {
  background: rgba(7, 10, 22, .82);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
}
html:not(.js) .contact-panel { grid-template-columns: minmax(0, 1fr); }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Reveal (JS only) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 760px; margin-inline: auto; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { max-width: 680px; width: 100%; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid > li.wide { grid-column: auto; }
  .services-grid > li:first-child { grid-column: 1 / -1; }
  .services-grid > li:not(:first-child) .card-art { display: none; }
  .services-grid > li:not(:first-child) .service-card.has-art { display: flex; }
}

/* Narrow two-column contact panel: three buttons no longer fit on one row */
@media (min-width: 961px) and (max-width: 1100px) {
  .contact-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .contact-actions .btn:first-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, #0F1433, #0A0E21);
    box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 60px -20px rgba(0, 0, 0, .8);
    margin: 0;
  }
  .js .site-nav {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 12px 16px; font-size: 1.05rem; color: var(--text); }
  .nav-list a:hover, .nav-list a.is-active { background: rgba(148, 163, 255, .08); }
  .nav-list a::after { display: none; }
  .nav-cta { width: 100%; min-height: 50px; }

  /* no-JS fallback: nav always visible under the header */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { height: auto; position: relative; background: rgba(7, 10, 22, .6); }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { position: static; width: 100%; background: transparent; box-shadow: none; padding: 0; }
  html:not(.js) .nav-list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 2px; }
  html:not(.js) .nav-list a { padding: 4px 7px; font-size: .92rem; }
  html:not(.js) .nav-cta { display: none; }

  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-intro { position: relative; top: 0; }
  .orb { display: none; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }

  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 44px; }
  .steps::before, .steps::after { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 88px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-fa { font-size: 1.15rem; }

  .hero { padding-block: 22px 56px; }
  .hero-copy { text-align: start; }
  .hero-actions, .hero-meta { justify-content: flex-start; }
  .hero-title { margin-block: 18px 16px; }
  .hero-actions { gap: 10px; margin-block-start: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { margin-block-start: 22px; gap: 8px 20px; font-size: .92rem; }
  .hero-visual { margin-block-start: 8px; }
  .stage-tilt { transform: perspective(1200px) rotateY(8deg) rotateX(4deg); }
  .stage { font-size: 2.35cqi; aspect-ratio: 100 / 96; }
  .mock-dash { width: 92%; inset-inline-end: 0; top: 11%; }
  .mock-code { width: 50%; }
  .mock-order { width: 44%; left: 0; bottom: 3%; }
  .mock-chat { width: 54%; inset-inline-start: 0; }
  .mock-chat .bubble.ai:not(.typing) { display: none; }

  .ribbon { padding-block: 14px; }

  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .services-grid .card-art { display: none; }
  .services-grid .service-card.has-art { display: flex; }
  .service-card { padding: 24px 20px 26px; }
  .card-top { margin-block-end: 16px; }
  .icon-chip { width: 50px; height: 50px; border-radius: 14px; }
  .icon-chip .ic { width: 25px; height: 25px; }
  .service-card h3 { font-size: 1.1rem; }

  .why-item { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 20px; border-radius: 24px; }
  .why-icon { width: 52px; height: 52px; border-radius: 16px; }
  .why-num { top: 26px; transform: none; font-size: 5.2rem; inset-inline-end: 18px; }
  .why-body { padding-inline-end: 0; }
  .why-item:hover { transform: none; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .steps::before {
    display: block;
    top: 30px;
    bottom: 30px;
    inset-inline-start: 29px;
    inset-inline-end: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(167, 139, 250, .9), rgba(96, 165, 250, .7), rgba(34, 211, 238, .9));
  }
  .step {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 18px;
    text-align: start;
    padding: 0 0 30px;
  }
  .step:last-child { padding-bottom: 0; }
  .step-node { grid-row: 1 / span 2; width: 60px; height: 60px; margin: 0; font-size: 1.35rem; }
  .step h3 { align-self: end; margin-block: 6px 4px; }
  .step p { max-width: none; margin: 0; }

  .faq-item summary { padding: 16px 18px; font-size: 1rem; gap: 12px; }
  .faq-answer { padding: 0 18px 18px; }
  .faq-icon { width: 30px; height: 30px; }

  .contact-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .contact-actions .btn:first-child { grid-column: 1 / -1; }
  .contact-actions .btn { --pad-x: 14px; }
  .address-card { padding: 16px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .dock {
    position: fixed;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    z-index: 55;
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(10, 14, 32, .88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 0 1px var(--line-2) inset, 0 18px 40px -12px rgba(0, 0, 0, .9), 0 0 30px -10px rgba(139, 92, 246, .6);
    transform: translateX(-50%);
    transition: transform .4s var(--ease), opacity .3s, visibility 0s;
  }
  /* visibility (delayed until the slide-out ends) takes the links out of the tab order and the a11y tree */
  .dock.is-hidden { transform: translate(-50%, 140%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s; }
  .dock-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    color: #fff;
    background: rgba(148, 163, 255, .1);
  }
  .dock-btn .ic { width: 20px; height: 20px; }
  .dock-wa { background: linear-gradient(135deg, #047857, #0E7490); }
}

@media (max-width: 480px) {
  .contact-panel { padding: 26px 18px; }
  .composer { padding: 22px 16px; }
  .address-card { gap: 12px; padding: 16px 14px; }
}

@media (max-width: 380px) {
  .hero-meta { font-size: .88rem; }
  .contact-actions .btn { --pad-x: 16px; }
  .composer-actions .btn { flex-basis: 100%; }
}

@media (min-width: 1600px) {
  .container { width: min(1320px, 100% - 2 * var(--gutter)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ribbon-track, .steps::after { animation: none; }
  .steps::after { display: none; }
  .blob, .float, .orb-ring, .contact-aurora { animation: none !important; }
  .service-card:hover, .btn:hover, .why-item:hover { transform: none; }
}
