/* ============================================================
   Intake Studio — premium dark design system
   Cyan / violet neon on deep space, glass panels, particle bg.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg: #050914;
  --bg-2: #07101C;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: #0B1420;
  --border: rgba(151, 166, 188, 0.14);
  --border-2: rgba(151, 166, 188, 0.26);
  --text: #F2F7FC;
  --muted: #8B9AAF;
  --dim: #5C6B85;
  --cyan: #00E5FF;
  --cyan-soft: rgba(0, 229, 255, 0.15);
  --blue: #1677FF;
  --blue-soft: rgba(22, 119, 255, 0.16);
  --violet: #7C3AED;
  --violet-soft: rgba(124, 58, 237, 0.18);
  --magenta: #FF2BD6;
  --magenta-soft: rgba(255, 43, 214, 0.14);
  --green: #34D399;
  --red: #F87171;
  --grad: linear-gradient(120deg, #00E5FF, #1677FF 55%, #7C3AED);
  --radius: 18px;
  --font-display: "Unbounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main, footer { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(0, 229, 255, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1A2332; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #26313F; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 880px; }

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  padding: 12px 18px; border-radius: 10px;
  background: var(--text); color: #04060A; font-weight: 700; text-decoration: none;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 14px; }

/* ---------- background layers ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* deep layer: cyberpunk city silhouette */
.bg__city {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 44vh;
  background: url("/city.svg") center bottom / cover no-repeat;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 96%);
  mask-image: linear-gradient(to top, #000 30%, transparent 96%);
  animation: cityDrift 60s linear infinite alternate;
}
@keyframes cityDrift { to { transform: translateX(-1.5%); } }

/* perspective floor grid */
.bg__floor {
  position: absolute; left: -40%; right: -40%; bottom: -12%; height: 58vh;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.055) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.055) 1.5px, transparent 1.5px);
  background-size: 68px 68px;
  transform: perspective(640px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 72%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 72%);
  animation: gridScroll 22s linear infinite;
}
@keyframes gridScroll { to { background-position: 0 68px; } }

/* vertical holographic grid (midground) */
.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(151, 166, 188, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 166, 188, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, #000 0%, transparent 72%);
}

/* data streams — thin vertical neon lines */
.bg__stream {
  position: absolute; top: -40%; width: 1px; height: 26vh;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.55), rgba(22, 119, 255, 0.5), transparent);
  opacity: 0.7; filter: blur(0.3px);
  animation: streamFall 8s linear infinite;
}
@keyframes streamFall { to { transform: translateY(190vh); } }

/* subtle light rain */
.bg__rain {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(97deg, transparent 0 9px, rgba(150, 220, 255, 0.028) 9px 10px),
    repeating-linear-gradient(82deg, transparent 0 14px, rgba(150, 220, 255, 0.02) 14px 15px);
  animation: rainFall 1.6s linear infinite;
}
@keyframes rainFall { to { background-position: -30px 26px, 22px 34px; } }

.bg__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.bg__glow--a {
  width: 640px; height: 640px; top: -260px; right: -160px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.13), rgba(22, 119, 255, 0.07) 45%, transparent 70%);
  animation: glowDrift 18s ease-in-out infinite alternate;
}
.bg__glow--b {
  width: 760px; height: 760px; bottom: -360px; left: -240px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14), rgba(255, 43, 214, 0.04) 45%, transparent 70%);
  animation: glowDrift 24s ease-in-out infinite alternate-reverse;
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 100;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.55);
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 14px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--primary {
  position: relative; overflow: hidden;
  color: #04070D;
  background: var(--grad);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.22), 0 4px 14px rgba(124, 58, 237, 0.2);
}
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
}
.btn--primary:hover::after { left: 130%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(0, 229, 255, 0.3), 0 6px 18px rgba(124, 58, 237, 0.28); }
.btn--primary:active { transform: scale(0.98); }
.btn--ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--border-2); }
.btn--ghost:hover { color: var(--cyan); border-color: rgba(0, 229, 255, 0.45); transform: translateY(-2px); box-shadow: 0 0 24px rgba(0, 229, 255, 0.12); }
.btn--ghost:active { transform: scale(0.98); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 13.5px; border-radius: 11px; }
.btn--xs { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
.btn--lg { height: 58px; padding: 0 36px; font-size: 16px; border-radius: 16px; }
.btn--wide { flex: 1; }
.btn:disabled { opacity: 0.6; cursor: default; pointer-events: none; }

.btn--primary:focus-visible, .btn--ghost:focus-visible, .chip:focus-visible,
.lang:focus-visible, .burger:focus-visible, .faq__btn:focus-visible,
.nav a:focus-visible, .to-top:focus-visible, .card--svc:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 2px;
}

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-scrolled {
  background: rgba(5, 9, 20, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(0, 229, 255, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; transition: height 0.3s var(--ease); }
.header.is-scrolled .header__in { height: 60px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center;
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.45));
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.7)); }
.brand__mark svg { width: 21px; height: 21px; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 14.5px;
  letter-spacing: 0.14em; color: var(--text); display: inline-flex; align-items: baseline; gap: 6px;
}
.brand__intake { color: var(--text); }
.brand__studio {
  font-weight: 500; font-size: 13px; letter-spacing: 0.14em; color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__cta { color: var(--text) !important; background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.25); }
.nav__cta:hover { background: rgba(0, 229, 255, 0.16) !important; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  min-width: 46px; height: 38px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); font-weight: 800; font-size: 13px; letter-spacing: 0.06em;
  transition: all 0.25s var(--ease);
}
.lang:hover { color: var(--cyan); border-color: rgba(0, 229, 255, 0.45); }

.burger {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border); background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 140px; padding-bottom: 60px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38vh; pointer-events: none;
  background: linear-gradient(to top, var(--bg), rgba(5, 9, 20, 0.72) 55%, transparent);
}
.hero__in {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  min-height: 74vh;
}
.hero__content { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px; margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-2);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulseLed 2.2s ease-in-out infinite;
}
@keyframes pulseLed {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  50% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero__title-hi {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); max-width: 54ch; line-height: 1.7;
  margin-bottom: 30px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px;
}
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hero__trust-item span { color: var(--cyan); font-weight: 800; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px);
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border);
}
.hero__stat { display: flex; flex-direction: column; gap: 6px; }
.hero__stat-value {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stat-label { font-size: 13px; color: var(--muted); }

/* hero entrance animation */
.hero__badge { animation: fadeUp 0.7s var(--ease) 0.05s both; }
.hero__title { animation: fadeUp 0.8s var(--ease) 0.15s both; }
.hero__sub { animation: fadeUp 0.8s var(--ease) 0.28s both; }
.hero__actions { animation: fadeUp 0.8s var(--ease) 0.4s both; }
.hero__trust { animation: fadeUp 0.8s var(--ease) 0.52s both; }
.hero__stats { animation: fadeUp 0.8s var(--ease) 0.64s both; }
.hero__media { animation: mediaIn 1s var(--ease) 0.2s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes mediaIn { from { opacity: 0; transform: scale(0.9) translateY(12px); } to { opacity: 1; transform: none; } }

/* hero AI orb */
.hero__media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.orb {
  position: relative; width: min(360px, 76vw); aspect-ratio: 1;
  transform: rotateX(var(--ox, 0deg)) rotateY(var(--oy, 0deg));
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.orb::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14), transparent 70%);
  animation: orbPulse 3.6s ease-in-out infinite;
}
.orb::after {
  content: ""; position: absolute; left: 50%; top: 100%; translate: -50% 0;
  width: 130%; height: 46%;
  background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(0, 229, 255, 0.16), rgba(124, 58, 237, 0.08) 55%, transparent 75%);
  filter: blur(12px);
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}
.orb__ring { position: absolute; border-radius: 50%; }
.orb__ring--1 { inset: 6%; border: 1px dashed rgba(0, 229, 255, 0.28); animation: spin 30s linear infinite; }
.orb__ring--2 { inset: 17%; border: 1px solid rgba(124, 58, 237, 0.34); animation: spin 20s linear infinite reverse; }
.orb__ring--3 { inset: 28%; border: 1px solid rgba(0, 229, 255, 0.16); }
.orb__ring--1::after, .orb__ring--2::after {
  content: ""; position: absolute; top: -5px; left: 50%; translate: -50% 0;
  width: 10px; height: 10px; border-radius: 50%;
}
.orb__ring--1::after { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orb__ring--2::after { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.orb__dot {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--magenta); box-shadow: 0 0 12px var(--magenta);
  top: 44%; left: -1.5%;
}
.orb__core {
  position: absolute; inset: 33%; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff, rgba(0, 229, 255, 0.45) 42%, rgba(124, 58, 237, 0.65) 100%);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.45), 0 0 140px rgba(124, 58, 237, 0.35);
  display: grid; place-content: center; text-align: center; color: #04070D;
}
.orb__core-glyph { font-size: 22px; line-height: 1; }
.orb__core-label { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: 0.02em; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__chip {
  position: absolute; padding: 9px 15px; border-radius: 999px;
  background: rgba(11, 16, 24, 0.75);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--border-2);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: floatY 5s ease-in-out infinite;
}
.hero__chip--1 { top: 9%; left: -4%; }
.hero__chip--2 { top: 42%; right: -6%; animation-delay: 0.7s; }
.hero__chip--3 { bottom: 26%; left: -2%; animation-delay: 1.4s; }
.hero__chip--4 { bottom: 5%; right: 8%; animation-delay: 2.1s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- sections ---------- */
.section { padding: 110px 0; scroll-margin-top: 72px; }
.section--alt {
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.03), transparent 40%),
    linear-gradient(0deg, rgba(124, 58, 237, 0.03), transparent 40%);
}
.section--form {
  background:
    radial-gradient(820px 420px at 12% 0%, rgba(0, 229, 255, 0.06), transparent),
    radial-gradient(820px 420px at 95% 100%, rgba(124, 58, 237, 0.08), transparent);
}
.section--cta { padding-top: 60px; }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.section__title { font-family: var(--font-display); font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.section__sub { color: var(--muted); font-size: 16px; line-height: 1.65; }
.section__head--left { text-align: left; align-items: flex-start; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--portfolio { grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* cards */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border); border-radius: var(--radius);
}

/* spotlight hover */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 255, 0.1), transparent 65%);
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none;
}
.spot:hover::before, .spot.is-hot::before { opacity: 1; }

/* skeleton */
.skeleton {
  height: 200px; border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.03) 60%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- services ---------- */
.card--svc { padding: 26px; cursor: pointer; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); overflow: hidden; }
.card--svc::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 40%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(0, 229, 255, 0.06), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.card--svc:hover::before { left: 135%; }
.card--svc:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 18px 50px rgba(0, 229, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.4); }
.card--svc > * { position: relative; z-index: 1; }
.card__num {
  position: absolute; top: 20px; right: 22px; z-index: 1;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--dim);
}
.card--svc:hover .card__num { color: var(--cyan); text-shadow: 0 0 12px rgba(0, 229, 255, 0.5); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan-soft), var(--violet-soft));
  border: 1px solid var(--border-2);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card--svc:hover .card__icon { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 28px rgba(0, 229, 255, 0.2); }
.card__icon svg { width: 25px; height: 25px; }
.card__title { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.card__text { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--cyan); transition: gap 0.3s var(--ease); }
.card--svc:hover .card__cta { gap: 11px; }

/* ---------- advantages ---------- */
.adv {
  position: relative; padding: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.adv::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transform: scaleX(0.3); transform-origin: left;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.adv:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.32); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), 0 0 30px rgba(124, 58, 237, 0.06); }
.adv:hover::before { opacity: 1; transform: scaleX(1); }
.adv__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.adv__num { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; color: var(--dim); }
.adv__status { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; color: var(--green); }
.adv__status i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  animation: statusPulse 2.4s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.adv__title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.adv__text { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- portfolio ---------- */
.card--pf {
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border); border-radius: 20px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card--pf:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 229, 255, 0.06); }
.card--pf__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card--pf__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card--pf:hover .card--pf__media img { transform: scale(1.06); }
.card--pf__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 9, 20, 0.9)); }
.card--pf__media::before {
  content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 30%; z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.12), transparent);
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.card--pf:hover .card--pf__media::before { opacity: 1; animation: pfScan 1.1s var(--ease) infinite; }
@keyframes pfScan { to { top: 115%; } }
.card--pf__meta {
  display: flex; align-items: center; gap: 10px;
}
.card--pf__num {
  font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--cyan); text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
.card--pf__cat {
  font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--dim);
}
.card--pf__badge {
  margin-left: auto;
  padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  color: #04070D; background: var(--grad); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.card--pf__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card--pf__block h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--dim); font-weight: 800; margin-bottom: 8px; }
.card--pf__stack { display: flex; flex-wrap: wrap; gap: 6px; }
.card--pf__stack li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--muted); }
.card--pf__result { font-size: 14px; color: var(--text); padding: 10px 14px; border-left: 2px solid var(--cyan); border-radius: 0 10px 10px 0; background: linear-gradient(90deg, rgba(0, 229, 255, 0.07), rgba(124, 58, 237, 0.07)); }
.card--pf__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-tag { font-size: 11px; font-weight: 700; color: var(--cyan); background: var(--cyan-soft); padding: 3px 9px; border-radius: 6px; }
.card--pf__actions { padding: 0 24px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card--pf__actions .btn { width: 100%; }
.card--pf__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--cyan); text-decoration: none;
  padding: 10px 2px; transition: gap 0.3s var(--ease), color 0.3s;
}
.card--pf__link:hover { gap: 13px; color: var(--text); }
.card--pf__link svg { width: 16px; height: 16px; }

/* ---------- how we work ---------- */
.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; top: 40px; bottom: 40px; left: 27px; width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue), var(--violet));
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.4s var(--ease) 0.2s;
}
.js-reveal .reveal.is-visible .steps::before { transform: scaleY(1); }
.steps__item {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  padding: 22px 0;
}
.steps__node {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-2);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--cyan);
  box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.05), 0 0 24px rgba(0, 229, 255, 0.12);
  transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.js-reveal .reveal.is-visible .steps__node {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.08), 0 0 34px rgba(0, 229, 255, 0.4);
}
.steps__body h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.steps__body p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 60ch; }

/* ---------- form ---------- */
.form__layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: start; }
.form__aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 28px; }
.form__card {
  position: relative; padding: 32px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
#form-card.is-sending::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.05) 47%, rgba(0, 229, 255, 0.16) 50%, rgba(0, 229, 255, 0.05) 53%, transparent);
  animation: scanY 1.1s linear infinite;
}

.form__tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  border-radius: 14px; margin-bottom: 24px;
}
.form__tab {
  padding: 11px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted);
  border: 1px solid transparent; transition: all 0.3s var(--ease);
}
.form__tab.is-on {
  color: var(--text);
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.14), rgba(124, 58, 237, 0.14));
  border-color: var(--border-2); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.form__hint { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }

.fstep { border: none; margin: 0; padding: 0; min-width: 0; }
.fstep legend { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.field input, .field textarea, .track input {
  width: 100%; background: #05080D; border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; font-size: 14px; color: var(--text); font-family: var(--font-body);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder, .track input::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .track input:focus {
  outline: none; border-color: rgba(0, 229, 255, 0.55); background: #070B11;
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.field__err { min-height: 16px; margin-top: 6px; font-size: 12.5px; color: var(--red); }
.form__global {
  margin-top: 16px; padding: 12px 14px; border-radius: 10px;
  background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--red); font-size: 13.5px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip {
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  color: var(--muted); font-size: 13px; font-weight: 600;
  transition: all 0.25s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-1px); }
.chip.on {
  color: var(--cyan); font-weight: 700;
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.18), rgba(124, 58, 237, 0.18));
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12);
}
.chips--cards .chip { padding: 12px 16px; border-radius: 12px; text-align: left; }

.stepper { display: flex; gap: 8px; margin-bottom: 26px; }
.stepper span { height: 4px; flex: 1; border-radius: 99px; background: rgba(255, 255, 255, 0.08); transition: background 0.3s; }
.stepper span.on { background: var(--grad); box-shadow: 0 0 10px rgba(0, 229, 255, 0.4); }

.form__actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* AI analysis terminal card */
.ai-card {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: #070B12;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.ai-card__head {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02);
}
.ai-card__led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulseLed 2s ease-in-out infinite; }
.ai-card__title { font-size: 11px; color: var(--dim); letter-spacing: 0.05em; }
.ai-card__body { position: relative; padding: 18px 16px 26px; font-size: 12.5px; color: #9FE8F5; line-height: 1.9; }
.ai-card__line { opacity: 0; }
.ai-card__line b { color: var(--cyan); }
.ai-card__line--1 { animation: lineIn 7s infinite; }
.ai-card__line--2 { animation: lineIn 7s infinite 1.6s; }
.ai-card__line--3 { animation: lineIn 7s infinite 3.2s; }
.ai-card__cursor { display: inline-block; width: 8px; height: 15px; margin-left: 2px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.ai-card__scan {
  position: absolute; left: 0; right: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.05) 45%, rgba(0, 229, 255, 0.12) 50%, rgba(0, 229, 255, 0.05) 55%, transparent);
  animation: scanY 4.5s linear infinite;
}
.ai-card.is-sending {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(0, 229, 255, 0.16);
}
.ai-card.is-sending .ai-card__led { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulseLed 0.9s ease-in-out infinite; }
.ai-card.is-sending .ai-card__scan { animation-duration: 1.1s; }
@keyframes lineIn {
  0%, 12% { opacity: 0; transform: translateX(-6px); }
  30%, 82% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes scanY { from { transform: translateY(-110%); } to { transform: translateY(480%); } }

.form__points { display: flex; flex-direction: column; gap: 12px; }
.form__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.6; }
.form__points li > span:first-child { color: var(--cyan); font-weight: 800; }

/* ---------- success screen ---------- */
.success { position: relative; text-align: center; padding: 26px 10px 10px; }
.success__check { width: 96px; height: 96px; margin: 0 auto 22px; position: relative; }
.success__check::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.35);
  opacity: 0;
}
.success.is-shown .success__check::before { animation: ringOut 1.3s var(--ease) 0.15s; }
@keyframes ringOut {
  0% { opacity: 0.8; transform: scale(0.55); }
  100% { opacity: 0; transform: scale(1.35); }
}
.success__check svg { filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.5)); }
.success__check circle { stroke-dasharray: 148; stroke-dashoffset: 148; }
.success__check path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.success.is-shown .success__check circle { animation: draw 0.7s var(--ease) 0.1s forwards; }
.success.is-shown .success__check path { animation: draw 0.45s var(--ease) 0.55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.success__text { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 46ch; margin: 0 auto 22px; }
.success__ref { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.success__ref-label { font-size: 13px; color: var(--dim); }
.success__ref code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #05080D; border: 1px dashed rgba(0, 229, 255, 0.4); color: var(--cyan);
  padding: 8px 14px; border-radius: 10px; font-size: 15px; letter-spacing: 0.08em;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12);
}
.success__next {
  text-align: left; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px; margin-bottom: 22px;
}
.success__next h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--dim); font-weight: 800; margin-bottom: 12px; }
.success__next ol { display: flex; flex-direction: column; gap: 10px; }
.success__next li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.success__step-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--cyan); background: var(--cyan-soft); }
.success__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.success.is-shown .success__title,
.success.is-shown .success__text,
.success.is-shown .success__ref,
.success.is-shown .success__next,
.success.is-shown .success__actions {
  opacity: 0; transform: translateY(14px);
  animation: successIn 0.7s var(--ease) forwards;
}
.success.is-shown .success__title { animation-delay: 0.45s; }
.success.is-shown .success__text { animation-delay: 0.58s; }
.success.is-shown .success__ref { animation-delay: 0.72s; }
.success.is-shown .success__next { animation-delay: 0.86s; }
.success.is-shown .success__actions { animation-delay: 1s; }
@keyframes successIn { to { opacity: 1; transform: none; } }

.confetti { position: absolute; top: -10px; z-index: 6; border-radius: 2px; pointer-events: none; animation-name: confettiFall; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(360px) rotate(720deg); opacity: 0; }
}

/* ---------- track status ---------- */
.track {
  max-width: 640px; margin: 0 auto; padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border); border-radius: 20px;
}
.track__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.track__row { display: flex; gap: 10px; }
.track__row input {
  flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
}
.track__result { max-width: 640px; margin: 18px auto 0; }
.track__result.ok { padding: 18px; border-radius: 16px; background: rgba(52, 211, 153, 0.06); border: 1px solid rgba(52, 211, 153, 0.28); }
.track__result.err { padding: 18px; border-radius: 16px; text-align: center; color: var(--red); background: rgba(248, 113, 113, 0.06); border: 1px solid rgba(248, 113, 113, 0.28); }
.track__title { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.track__meta { display: block; margin-top: 12px; font-size: 12px; color: var(--dim); }

.timeline__steps { display: flex; justify-content: space-between; gap: 6px; }
.timeline__steps li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 11.5px; color: var(--dim); line-height: 1.35; }
.timeline__steps li::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: rgba(255, 255, 255, 0.08); }
.timeline__steps li:first-child::before { display: none; }
.timeline__steps li.is-done::before { background: var(--grad); }
.timeline__dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-2); border: 2px solid rgba(255, 255, 255, 0.18); }
.timeline__steps li.is-done .timeline__dot { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 12px rgba(0, 229, 255, 0.6); }
.timeline__steps li.is-done { color: var(--text); }
.timeline__steps li.is-current .timeline__dot {
  border-color: var(--cyan); background: var(--bg-2);
  box-shadow: 0 0 0 5px rgba(0, 229, 255, 0.15), 0 0 20px rgba(0, 229, 255, 0.6);
}
.timeline__steps li.is-current .timeline__dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--cyan);
  animation: currentBlink 1.6s ease-in-out infinite;
}
@keyframes currentBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.timeline__steps li.is-current { color: var(--text); }
.timeline__banner { color: var(--red); font-size: 14px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.faq__item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq__item.is-open { border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 0 30px rgba(0, 229, 255, 0.06); }
.faq__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--text); }
.faq__btn:hover { color: var(--cyan); }
.faq__chev { flex: none; color: var(--muted); transition: transform 0.35s var(--ease), color 0.35s; }
.faq__item.is-open .faq__chev { transform: rotate(180deg); color: var(--cyan); }
.faq__a { padding: 0 20px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.7; animation: fadeIn 0.4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; text-align: center; overflow: hidden;
  padding: 70px 40px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.09), rgba(0, 229, 255, 0.05)), var(--surface);
  border: 1px solid var(--border);
}
.cta__glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16), transparent 65%);
  top: -280px; left: 50%; translate: -50% 0; filter: blur(20px);
}
.cta .section__head, .cta__actions { position: relative; z-index: 1; }
.cta .section__head { margin-bottom: 34px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.03)); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer__col--brand p { margin-top: 16px; }
.footer__text { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 32ch; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--dim); font-weight: 800; margin-bottom: 16px; }
.footer__links-col { display: flex; flex-direction: column; gap: 10px; }
.footer__links-col a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s, translate 0.2s; }
.footer__links-col a:hover { color: var(--cyan); translate: 4px 0; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--dim); }

/* ---------- to-top / toast ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 110;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: var(--text);
  background: rgba(11, 16, 24, 0.9); border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.to-top.is-show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 20px rgba(0, 229, 255, 0.25); }

.toast {
  position: fixed; bottom: 24px; left: 50%; translate: -50% 16px; z-index: 120;
  padding: 12px 20px; border-radius: 12px;
  background: rgba(11, 16, 24, 0.92); border: 1px solid var(--border-2);
  color: var(--text); font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s var(--ease), translate 0.3s var(--ease);
}
.toast.is-show { opacity: 1; translate: -50% 0; }

/* ---------- reveal on scroll ---------- */
.js-reveal .reveal .section__head,
.js-reveal .reveal .card,
.js-reveal .reveal .adv,
.js-reveal .reveal .steps__item,
.js-reveal .reveal .faq__item,
.js-reveal .reveal .track,
.js-reveal .reveal .ai-card,
.js-reveal .reveal .form__points li,
.js-reveal .reveal .form__card,
.js-reveal .reveal .cta__actions {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.8s var(--ease) var(--d, 0s);
}
.js-reveal .reveal.is-visible .section__head,
.js-reveal .reveal.is-visible .card,
.js-reveal .reveal.is-visible .adv,
.js-reveal .reveal.is-visible .steps__item,
.js-reveal .reveal.is-visible .faq__item,
.js-reveal .reveal.is-visible .track,
.js-reveal .reveal.is-visible .ai-card,
.js-reveal .reveal.is-visible .form__points li,
.js-reveal .reveal.is-visible .form__card,
.js-reveal .reveal.is-visible .cta__actions {
  opacity: 1; transform: none;
}

/* ---------- custom cursor (desktop fine-pointer only) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 300;
  border-radius: 50%; pointer-events: none; will-change: transform;
  translate: -50% -50%;
}
.cursor-dot { width: 6px; height: 6px; background: var(--cyan); box-shadow: 0 0 10px rgba(0, 229, 255, 0.8); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(0, 229, 255, 0.45);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.cursor-ring.is-hover { width: 54px; height: 54px; border-color: rgba(0, 229, 255, 0.85); }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .form__layout { grid-template-columns: 1fr; gap: 40px; }
  .form__aside { position: static; }
}
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .hero__media { order: -1; min-height: 300px; margin-bottom: 10px; }
  .hero { padding-top: 120px; }
  .grid--portfolio { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 920px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 72px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(7, 11, 17, 0.96); border: 1px solid var(--border); border-radius: 18px;
    padding: 14px;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(-16px); opacity: 0; pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 16px; font-size: 15px; }
  .nav__cta { text-align: center; }
}
@media (max-width: 680px) {
  .section { padding: 84px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .form__card { padding: 24px 18px; }
  .track__row { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .cta { padding: 52px 24px; }
  .timeline__steps { flex-direction: column; gap: 12px; }
  .timeline__steps li { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; gap: 12px; }
  .timeline__steps li::before { left: 8px; top: -50%; width: 2px; height: 100%; }
  .to-top { right: 16px; bottom: 16px; }
  .bg__city { height: 32vh; opacity: 0.38; }
  .bg__rain { display: none; }
  .bg__floor { bottom: -8%; height: 42vh; }
  .hero__chip--2, .hero__chip--4 { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .bg__city, .bg__floor, .bg__stream, .bg__rain { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none; }
  .orb { transform: none; transition: none; }
  .js-reveal .reveal .section__head,
  .js-reveal .reveal .card,
  .js-reveal .reveal .adv,
  .js-reveal .reveal .steps__item,
  .js-reveal .reveal .faq__item,
  .js-reveal .reveal .track,
  .js-reveal .reveal .ai-card,
  .js-reveal .reveal .form__points li,
  .js-reveal .reveal .form__card,
  .js-reveal .reveal .cta__actions,
  .hero__badge, .hero__title, .hero__sub, .hero__actions, .hero__trust, .hero__stats, .hero__media {
    opacity: 1 !important; transform: none !important;
  }
}
