/* ==========================================================
   FLOR — dark, conversion-focused theme
   ========================================================== */
:root {
  --bg: #06060B;
  --bg-2: #0A0A12;
  --card: #0F0F19;
  --card-2: #141422;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #F4F4F8;
  --muted: #9C9CB2;
  --dim: #6E6E86;
  --brand: #5B50F0;
  --brand-hi: #7A71FF;
  --brand-soft: rgba(91, 80, 240, 0.14);
  --brand-glow: rgba(91, 80, 240, 0.45);
  --gold: #F0C977;
  --tg: #2AABEE;
  --ok: #3DDC97;
  --err: #FF8A7A;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --head: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[id] { scroll-margin-top: 88px; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 560px) { .wrap { padding: 0 20px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15.5px/1 var(--body); padding: 17px 26px; border-radius: 12px; border: 0; cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s, border-color .2s;
  white-space: nowrap; touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--brand-hi); box-shadow: 0 14px 40px -10px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { background: #3CB8F7; }
.btn-lg { padding: 19px 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 6, 11, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 21px/1 var(--head); letter-spacing: -0.02em; }
.brand-icon { width: 30px; height: 30px; flex: none; }
.main-nav { display: flex; gap: 28px; margin-right: auto; }
.nav-link { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s;
}
.icon-btn:hover { background: rgba(42,171,238,.16); }
.icon-btn svg { width: 20px; height: 20px; }
.header-actions .btn { padding: 13px 18px; font-size: 14.5px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--text); margin: 2.5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-row { gap: 12px; height: 64px; }
  .brand { margin-right: auto; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 20px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 820px; pointer-events: none;
  background:
    radial-gradient(520px 360px at 72% 38%, rgba(91,80,240,.30), transparent 70%),
    radial-gradient(420px 300px at 18% 8%, rgba(42,171,238,.10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(42,171,238,.1); box-shadow: inset 0 0 0 1px rgba(42,171,238,.28);
  font-size: 13.5px; font-weight: 600; color: #BFE6FB; margin-bottom: 26px;
}
.pill i { width: 24px; height: 24px; border-radius: 50%; background: var(--tg); display: grid; place-items: center; }
.pill i svg { width: 13px; height: 13px; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: .98; margin-bottom: 24px; }
.hero .lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: #C9C9D8; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; flex: none; }

/* Hero demo: site form → Telegram */
.demo { position: relative; height: 470px; }
.demo-caption { position: absolute; left: 2px; top: 0; font-size: 12.5px; color: var(--dim); }
.demo-site {
  position: absolute; left: 0; top: 26px; width: 60%;
  background: #F6F6FA; color: #16161F; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
}
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 11px 12px; background: #E9E9F1; }
.demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9C9D6; flex: none; }
.demo-bar span { margin-left: 8px; flex: 1; min-width: 0; font-size: 11.5px; color: #6A6A7C; background: #fff; border-radius: 6px; padding: 4px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-body { padding: 20px 20px 22px; }
.demo-body h4 { font: 700 19px/1.15 var(--head); letter-spacing: -0.02em; margin-bottom: 4px; color: #16161F; }
.demo-body p { font-size: 12.5px; color: #6A6A7C; margin-bottom: 12px; }
.f-label { display: block; font-size: 11.5px; font-weight: 600; color: #6A6A7C; margin: 10px 0 5px; }
.f-input { height: 38px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #DCDCE6; padding: 0 12px; display: flex; align-items: center; font-size: 13.5px; color: #16161F; white-space: nowrap; overflow: hidden; }
.f-input.typing::after { content: ""; width: 1.5px; height: 17px; background: var(--brand); margin-left: 1px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.f-btn { margin-top: 16px; height: 42px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; transition: transform .12s, background .2s; }
.f-btn.pressed { transform: scale(.97); background: #473CD9; }
.f-btn.sent { background: #1E9E68; }

.demo-tg {
  position: absolute; right: 0; top: 124px; width: 52%;
  background: #17212B; border-radius: 16px; overflow: visible;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08);
}
.tg-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1F2C38; border-radius: 16px 16px 0 0; }
.tg-ava { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--tg)); display: grid; place-items: center; flex: none; }
.tg-ava svg { width: 20px; height: 20px; }
.tg-head b { display: block; font-size: 13.5px; line-height: 1.3; }
.tg-head span { font-size: 12px; color: #7F95A8; }
.tg-body { padding: 16px 12px 18px; min-height: 236px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; border-radius: 0 0 16px 16px;
  background: radial-gradient(circle at 20% 20%, rgba(91,80,240,.12), transparent 60%), #0E1621; }
.tg-msg { align-self: flex-start; max-width: 96%; background: #182533; border-radius: 14px 14px 14px 4px; padding: 9px 11px 7px; font-size: 13px; line-height: 1.5; color: #E6EEF5; }
.tg-msg b { color: #fff; }
.tg-msg .k { color: #7F95A8; }
.tg-time { display: block; text-align: right; font-size: 11px; color: #6D8398; margin-top: 2px; }
.tg-old { opacity: .5; }
.tg-new { opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom left; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.tg-new.show { opacity: 1; transform: none; }
.tg-toast {
  position: absolute; right: 14px; bottom: -15px; z-index: 2; background: var(--ok); color: #05301E; font-size: 12.5px; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
  box-shadow: 0 10px 24px -8px rgba(61,220,151,.6);
}
.tg-toast.show { opacity: 1; transform: none; }
.replay { position: absolute; left: 0; bottom: 0; font-size: 13px; color: var(--muted); background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 0; }
.replay:hover { color: var(--text); }
.replay svg { width: 15px; height: 15px; }

@media (max-width: 1000px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .demo { max-width: 560px; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 56px; }
  .hero-cta .btn { width: 100%; }
  .demo { height: auto; padding-bottom: 36px; }
  .demo-caption { position: static; display: block; margin-bottom: 10px; }
  .demo-site { position: relative; top: 0; width: auto; margin-right: 10%; }
  .demo-tg { position: relative; top: 0; width: auto; margin: -12px 0 0 12%; }
  .tg-body { min-height: 0; }
  .checks { flex-direction: column; gap: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 54px); margin-bottom: 16px; }
.sec-head p { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); }
.sec-foot { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sec-foot span { color: var(--dim); font-size: 14.5px; }
@media (max-width: 700px) { .section { padding: 76px 0; } .sec-head { margin-bottom: 36px; } }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 24px; }
.benefit .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); margin-bottom: 22px; }
.benefit .ic svg { width: 22px; height: 22px; }
.benefit .ic.tg { background: rgba(42,171,238,.14); }
.benefit h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; line-height: 1.15; }
.benefit p { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Work (portfolio cards) ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.works.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; transition: border-color .25s, transform .25s;
}
.work:hover { border-color: var(--line-2); transform: translateY(-3px); }
.work-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.work-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.work-top span { margin-left: 8px; font-size: 12px; color: var(--dim); }
.work-top em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--dim); }
.work-shot { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #111; }
/* If a preview image is missing, show the site name instead of a broken image */
.work.no-shot .work-shot img { display: none; }
.work.no-shot .work-shot { background: radial-gradient(420px 220px at 30% 20%, rgba(91,80,240,.28), transparent 70%), var(--card-2); }
.work.no-shot .work-shot::after { content: attr(data-name); position: absolute; inset: 0; display: grid; place-items: center; font: 800 30px/1 var(--head); letter-spacing: -0.02em; color: rgba(244,244,248,.82); }
.works.two .work-shot { aspect-ratio: 16 / 10; }
.work-shot img { position: absolute; top: 0; left: 0; width: 100%; height: auto; max-width: none; transform: translateY(0); will-change: transform; }
.work.live .work-shot img { animation: livePan var(--dur, 22s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
.work.live.paused .work-shot img { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .work.live:hover .work-shot img { animation-play-state: paused; } }
@keyframes livePan {
  0%, 6% { transform: translateY(0); }
  58%, 66% { transform: translateY(calc(var(--pan, 0px) * -1)); }
  90%, 100% { transform: translateY(0); }
}
.live-pill {
  position: absolute; z-index: 2; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 9px; border-radius: 999px; background: rgba(6,6,11,.74); color: #fff;
  font: 700 12px/1 var(--body); letter-spacing: .01em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 6px 18px -6px rgba(0,0,0,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none;
}
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.65); } 70%, 100% { box-shadow: 0 0 0 7px rgba(61,220,151,0); } }
.work-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.work-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12.5px; }
.tag { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #C9C9D8; font-weight: 600; }
.tag.concept { background: var(--brand-soft); color: #B9B4FF; }
.work h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 8px; }
.work p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.feats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.feats li { list-style: none; font-size: 12.5px; color: #C9C9D8; padding: 5px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); }
.work-open { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--brand-hi); }
.work-open svg { width: 16px; height: 16px; transition: transform .2s; }
.work:hover .work-open svg { transform: translate(2px, -2px); }
@media (max-width: 1000px) { .works { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .works, .works.two { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 26px; display: flex; flex-direction: column; }
.service .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); margin-bottom: 22px; }
.service .ic svg { width: 22px; height: 22px; }
.service h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.service ul { list-style: none; margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 7px; }
.service li { font-size: 14px; color: #C9C9D8; display: flex; gap: 8px; }
.service li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-hi); margin-top: 9px; flex: none; }
.service .from { margin-top: 18px; font-size: 14px; color: var(--muted); }
.service .from b { color: var(--gold); font-weight: 700; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 20px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  font: 700 15px/1 var(--head); background: var(--brand); color: #fff;
}
.steps .when { display: block; font-size: 12.5px; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
.steps h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured {
  background: linear-gradient(180deg, rgba(91,80,240,.16), rgba(91,80,240,.04) 40%), var(--card);
  border-color: rgba(122,113,255,.55); box-shadow: 0 30px 80px -40px var(--brand-glow);
}
.ribbon { position: absolute; top: -13px; left: 30px; background: var(--gold); color: #2A2008; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .for { font-size: 14.5px; color: var(--muted); min-height: 46px; }
.price { font: 800 44px/1 var(--head); letter-spacing: -0.03em; margin: 22px 0 4px; }
.price small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; margin-right: 4px; }
.price-note { font-size: 13.5px; color: var(--dim); margin-bottom: 22px; }
.plan ul { list-style: none; flex: 1; margin-bottom: 28px; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 11px; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #D6D6E2; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font: 600 19px/1.35 var(--head); letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 28px; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 720px; }

/* ---------- Order form ---------- */
.order { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.order > * { min-width: 0; }
.order-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 40px; }
.order-card h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 10px; }
.order-card > p { color: var(--muted); margin-bottom: 28px; }
.order-card > .form-msg, .order-card > .form-fine { margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: #C9C9D8; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: 400 16px var(--body); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 15px 16px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%239C9CB2' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field select:invalid { color: var(--dim); }
.field select option { background: var(--bg-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-hi); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.send-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.form-msg { margin-top: 16px; font-size: 14.5px; border-radius: 12px; padding: 13px 16px; display: none; }
.form-msg.error { display: block; background: rgba(255,138,122,.1); color: var(--err); }
.form-msg.ok { display: block; background: rgba(61,220,151,.1); color: var(--ok); }
.form-fine { margin-top: 14px; font-size: 13px; color: var(--dim); }
.form-fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-fine a:hover { color: var(--text); }

/* Reply channel chips */
fieldset.field { border: 0; min-width: 0; }
.reply-via legend { font-size: 13.5px; font-weight: 600; color: #C9C9D8; margin-bottom: 7px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: block; padding: 11px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: #C9C9D8; transition: background .2s, box-shadow .2s, color .2s;
}
.chips input:checked + span { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand-hi); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--brand-hi); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send-btn { margin-top: 20px; }
.send-btn.is-sending { opacity: .75; cursor: progress; }
.send-btn.is-sending svg { animation: sendPulse 1s ease-in-out infinite; }
@keyframes sendPulse { 50% { transform: translateX(4px); opacity: .5; } }
.form-msg.error .msg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-msg.error .msg-actions .btn { padding: 13px 18px; font-size: 14.5px; }

/* Success state */
.order-card.is-done > :not(.form-done) { display: none; }
.form-done { text-align: center; padding: 18px 0 6px; outline: none; }
.form-done .done-ic { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(61,220,151,.14); color: var(--ok); animation: pop .6s cubic-bezier(.2,.8,.2,1) both; }
.form-done .done-ic svg { width: 30px; height: 30px; }
.form-done h2 { margin-bottom: 12px; }
.form-done p { color: var(--muted); max-width: 440px; margin: 0 auto; }
.form-done p b { color: var(--text); overflow-wrap: anywhere; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
@media (max-width: 560px) { .done-actions .btn { width: 100%; } }

.next { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 34px; display: flex; flex-direction: column; }
.next h3 { font-size: 24px; margin-bottom: 24px; }
.next ol { list-style: none; counter-reset: n; display: grid; gap: 22px; margin-bottom: 30px; }
.next li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.next li::before { counter-increment: n; content: counter(n); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--head); background: var(--brand-soft); color: #B9B4FF; }
.next li b { display: block; font-size: 16px; margin-bottom: 2px; }
.next li span { font-size: 14.5px; color: var(--muted); }
.contacts { margin-top: auto; border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 12px; }
.contacts a { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #D6D6E2; }
.contacts a:hover { color: #fff; }
.contacts svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 960px) { .order { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .order-card, .next { padding: 28px 20px; border-radius: 20px; }
  .form-grid, .send-row { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px;
  background: radial-gradient(600px 300px at 85% 0%, rgba(122,113,255,.45), transparent 70%), linear-gradient(135deg, #2A2380, #15124A);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  border: 1px solid rgba(122,113,255,.4);
}
.cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 10px; max-width: 640px; }
.cta-band p { color: #CFCBFF; font-size: 17px; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: #1B1664; box-shadow: none; }
.cta-band .btn-primary:hover { background: #ECEBFF; }
@media (max-width: 600px) { .cta-band { padding: 36px 24px; } .cta-band .actions, .cta-band .btn { width: 100%; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 88px 0 56px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 600px; pointer-events: none; background: radial-gradient(500px 280px at 30% 60%, rgba(91,80,240,.22), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 68px); font-weight: 800; letter-spacing: -0.04em; max-width: 900px; margin-bottom: 18px; }
.page-hero p { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 640px; }
.page-hero .hero-cta { margin-top: 30px; margin-bottom: 0; }
@media (max-width: 560px) { .page-hero { padding: 56px 0 40px; } }

.note-bar { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 32px; color: #C9C9D8; font-size: 15px; }
.note-bar svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-grid > * { min-width: 0; }
.about-grid h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.about-grid p { color: var(--muted); font-size: 17px; }
.about-grid p + p { margin-top: 14px; }
.team { display: grid; gap: 14px; }
.team-row { display: grid; grid-template-columns: 46px 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.team-row .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); }
.team-row .ic svg { width: 22px; height: 22px; }
.team-row h3 { font-size: 19px; margin-bottom: 4px; letter-spacing: -0.02em; }
.team-row p { font-size: 15px; color: var(--muted); }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 22px; }
.promise b { display: block; font: 800 38px/1 var(--head); letter-spacing: -0.03em; margin-bottom: 10px; }
.promise span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .promises { grid-template-columns: 1fr; } }

/* ---------- Compare table (pricing page) ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 17px var(--head); background: var(--card-2); }
.compare tbody th { font-weight: 500; color: #D6D6E2; }
.compare td { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .col-feat { background: rgba(91,80,240,.07); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid p { font-size: 14.5px; max-width: 320px; margin-top: 14px; }
.footer-grid h4 { font: 700 14px var(--body); letter-spacing: 0; color: var(--text); margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.footer-links a:hover { color: var(--text); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }




/* ==========================================================
   Motion
   ========================================================== */
@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wordUp { from { translate: 0 110%; } to { translate: 0 0; } }
@keyframes slideL { from { opacity: 0; translate: -36px 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes slideR { from { opacity: 0; translate: 36px 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-7%, 5%, 0) scale(1.1); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pop { 0% { scale: .3; opacity: 0; } 70% { scale: 1.15; opacity: 1; } 100% { scale: 1; opacity: 1; } }
@keyframes toastIn { 0% { opacity: 0; translate: 0 10px; scale: .85; } 60% { opacity: 1; translate: 0 -3px; scale: 1.05; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes menuIn { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }

/* Hero entrance: one orchestrated sequence */
.hero::before { animation: drift 18s ease-in-out infinite alternate; }
.hero .pill { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead { animation: rise .8s .55s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-cta { animation: rise .8s .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .checks { animation: rise .8s .85s cubic-bezier(.2,.7,.2,1) both; }
.demo-caption { animation: fadeIn .8s .6s both; }
.demo-site { animation: slideL 1s .35s cubic-bezier(.2,.7,.2,1) both, floatY 7s 1.8s ease-in-out infinite; }
.demo-tg { animation: slideR 1s .6s cubic-bezier(.2,.7,.2,1) both, floatY 7s 2.6s ease-in-out infinite; }
.tg-toast.show { animation: toastIn .55s cubic-bezier(.2,.8,.2,1) both; }
.page-hero p { animation: rise .8s .45s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .hero-cta { animation: rise .8s .6s cubic-bezier(.2,.7,.2,1) both; }

/* Headlines reveal word by word (JS wraps words in .w > span) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em .04em; margin: 0 -.06em -.14em -.04em; }
.split .w > span { display: inline-block; animation: wordUp .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 45ms + 80ms); }

/* Scroll reveal (JS adds .rv, then .in when the element enters the screen) */
.rv:not(.in) { opacity: 0; }
.rv.in { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
.steps li.rv.in::before { animation: pop .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0ms) + 250ms); }

/* Card hover: lift + spotlight that follows the cursor */
.ic { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(122,113,255,.16), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .benefit, .service, .promise, .team-row, .steps li, .plan, .addon { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s; }
  .benefit:hover, .service:hover, .promise:hover, .steps li:hover, .addon:hover { transform: translateY(-4px); border-color: rgba(122,113,255,.38); }
  .team-row:hover { transform: translateX(4px); border-color: rgba(122,113,255,.38); }
  .plan:hover { transform: translateY(-6px); }
  .benefit:hover .ic, .service:hover .ic, .team-row:hover .ic { transform: scale(1.1) rotate(-6deg); }
}

/* Buttons: light sweep on hover */
.btn-primary, .btn-tg { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-tg::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-20deg);
  transition: left .75s cubic-bezier(.2,.7,.2,1);
}
.btn-primary:hover::after, .btn-tg:hover::after { left: 135%; }

.price, .addon b { font-variant-numeric: tabular-nums; }

/* Header gets a solid edge once you scroll */
.site-header { transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(6,6,11,.9); box-shadow: 0 12px 30px -22px rgba(0,0,0,.9); }

/* Mobile menu CTA (hidden on desktop) */
.main-nav .nav-cta { display: none; }

/* ---------- Industries marquee ---------- */
.marquee { padding: 30px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee-head { font-size: 13.5px; font-weight: 600; color: var(--dim); margin-bottom: 14px; }
.marquee-viewport { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; display: flex; flex: none; min-width: 100%; animation: marquee 38s linear infinite; }
.marquee-track li { display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font: 700 clamp(24px, 3vw, 38px)/1.1 var(--head); letter-spacing: -0.02em; color: #E4E4EE; }
.marquee-track li::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--brand-hi); transform: rotate(45deg); flex: none; }
.marquee-track li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(228,228,238,.45); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Add-ons (pricing) ---------- */
.addons-title { font-size: 22px; margin: 44px 0 16px; letter-spacing: -0.02em; }
.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.addon { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.addon h4 { font: 700 17px/1.25 var(--head); letter-spacing: -0.01em; margin-bottom: 6px; }
.addon p { font-size: 14px; color: var(--muted); }
.addon b { font: 800 24px/1 var(--head); color: var(--gold); letter-spacing: -0.02em; }
.addon b small { font: 500 13px var(--body); color: var(--muted); letter-spacing: 0; }
@media (max-width: 1000px) { .addons { grid-template-columns: 1fr 1fr; } }

/* Service card price line */
.service .from { display: flex; flex-direction: column; gap: 2px; }
.service .from b { font: 800 22px/1.1 var(--head); letter-spacing: -0.02em; color: var(--gold); }
.service .from span { font-size: 13.5px; color: var(--muted); }
.service .from span::first-letter { text-transform: uppercase; }

/* Compare table: first column stays put while the table scrolls sideways */
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg-2); }
.compare thead th:first-child { background: var(--card-2); }

/* ---------- Phones ---------- */
.snap-dots { display: none; }
@media (max-width: 960px) {
  .plan.featured { order: -1; margin-top: 12px; }
}
@media (max-width: 900px) {
  .main-nav.open { animation: menuIn .28s cubic-bezier(.2,.7,.2,1) both; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
  .main-nav.open > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
  .main-nav.open > :nth-child(2) { animation-delay: .04s; }
  .main-nav.open > :nth-child(3) { animation-delay: .08s; }
  .main-nav.open > :nth-child(4) { animation-delay: .12s; }
  .main-nav.open > :nth-child(5) { animation-delay: .16s; }
  .main-nav.open > :nth-child(6) { animation-delay: .2s; }
  .main-nav .nav-cta { display: flex; margin-top: 18px; padding: 16px; }
}
@media (max-width: 700px) {
  .snap {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -32px; padding: 4px 32px 6px; scroll-padding-inline: 32px;
  }
  .snap::-webkit-scrollbar { display: none; }
  .snap > * { flex: 0 0 82%; scroll-snap-align: start; }
  .steps.snap > *, .addons.snap > * { flex-basis: 70%; }
  .snap-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .snap-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: width .3s, background .3s; }
  .snap-dots i.on { width: 20px; background: var(--brand-hi); }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-foot { margin-top: 24px; }
  .marquee { padding: 20px 0 24px; }
}
@media (max-width: 560px) {
  .snap { margin: 0 -20px; padding: 4px 20px 6px; scroll-padding-inline: 20px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 37px; }
  .page-hero h1 { font-size: 34px; }
  .sec-head h2 { font-size: 29px; }
  .demo-body p, .tg-old, .lead-more { display: none; }
  .demo-body { padding: 14px 16px 16px; }
  .demo-body h4 { margin-bottom: 6px; }
  .tg-body { padding: 12px 10px 14px; }
  .faq summary { font-size: 17px; padding: 18px 40px 18px 0; }
  .faq summary::after { top: 22px; }
  .faq details[open] summary::after { top: 28px; }
  .price { font-size: 40px; }
  .benefit, .service { padding: 24px 20px; }
  .cta-band h2 { font-size: 27px; }
  .footer-grid { gap: 28px; }
}

/* Reduced motion: everything is shown in its final state */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .work .work-shot img, .marquee-track, .live-pill i { animation: none !important; }
  .rv:not(.in) { opacity: 1; }
}
@media (max-width: 600px) {
  table.compare { min-width: 560px; font-size: 14px; }
  .compare th, .compare td { padding: 13px 14px; }
  .compare td { white-space: nowrap; }
  .compare tbody th { width: 150px; }
}
