/* ============================================================
   NYX Studio — design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #07080d;
  --bg-soft: #0b0d15;
  --bg-card: rgba(19, 22, 33, 0.72);
  --ink: #eef0f8;
  --ink-dim: #c2c7da;
  --muted: #8d94ac;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --violet: #7c5cff;
  --violet-soft: #a48dff;
  --cyan: #37e1cf;
  --amber: #ffc266;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 26px 70px -30px rgba(0, 0, 0, 0.9);
  --font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 620px at 78% -12%, rgba(124, 92, 255, 0.24), transparent 62%),
    radial-gradient(820px 600px at 2% 2%, rgba(64, 84, 255, 0.12), transparent 62%),
    radial-gradient(640px 460px at 16% 34%, rgba(55, 225, 207, 0.045), transparent 60%),
    radial-gradient(700px 900px at 50% 110%, rgba(124, 92, 255, 0.09), transparent 65%);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

::selection {
  background: rgba(124, 92, 255, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout ---------- */

.wrap {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.narrow {
  width: min(760px, calc(100% - 44px));
  margin-inline: auto;
}

section {
  position: relative;
  padding: clamp(64px, 8vw, 116px) 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), transparent);
}

h2.section-title {
  font-size: clamp(28px, 4vw, 44px);
  text-wrap: balance;
}

.section-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
}

/* ---------- buttons ---------- */

.btn {
  --btn-bg: transparent;
  background: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(135deg, #8a6bff, #6a4bf6 55%, #5b3ce6);
  color: #fff;
  box-shadow: 0 14px 34px -16px rgba(124, 92, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -16px rgba(124, 92, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn--outline:hover {
  border-color: rgba(164, 141, 255, 0.6);
  background: rgba(124, 92, 255, 0.1);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--ink-dim);
  border-color: var(--line);
  font-size: 13px;
  padding: 10px 16px;
}

.btn--ghost:hover {
  color: #fff;
  border-color: var(--line-strong);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 13px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none !important;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 8, 13, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.nav.is-stuck {
  background: rgba(7, 8, 13, 0.86);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, #8f74ff, #4a2fe0);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px -10px rgba(124, 92, 255, 0.9);
}

.brand__mark svg {
  width: 16px;
  height: 16px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-dim);
}

.nav__links a {
  position: relative;
  transition: color 0.2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--violet-soft);
  transition: width 0.28s var(--ease);
}

.nav__links a:hover {
  color: #fff;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav__burger span::before,
.nav__burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: currentColor;
}

.nav__burger span::before {
  top: -5px;
}

.nav__burger span::after {
  top: 5px;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(50px, 7vw, 84px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 0.1);
  font-size: 12.5px;
  color: #d6ccff;
  margin-bottom: 24px;
}

.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(55, 225, 207, 0.16);
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(55, 225, 207, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(55, 225, 207, 0.03); }
}

h1.hero__title {
  font-size: clamp(34px, 4.9vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

h1.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #b7a5ff 0%, #7c5cff 42%, #37e1cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--ink-dim);
  max-width: 54ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- agent console mock ---------- */

.console {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, rgba(24, 27, 41, 0.95), rgba(11, 13, 21, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.9s var(--ease);
}

.console:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(0deg);
}

.console::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(124, 92, 255, 0.5), transparent 38%, transparent 62%, rgba(55, 225, 207, 0.28));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: 0.7;
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.console__dots {
  display: flex;
  gap: 6px;
}

.console__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.console__dots i:first-child { background: #ff5f57; opacity: 0.75; }
.console__dots i:nth-child(2) { background: #febc2e; opacity: 0.75; }
.console__dots i:nth-child(3) { background: #28c840; opacity: 0.75; }

.console__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.console__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.console__live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

.console__body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-height: 320px;
}

.msg {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn 0.5s var(--ease) forwards;
}

@keyframes msgIn {
  to { opacity: 1; transform: none; }
}

.msg--in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--ink-dim);
}

.msg--out {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.32), rgba(91, 60, 230, 0.22));
  border: 1px solid rgba(124, 92, 255, 0.34);
  border-bottom-right-radius: 5px;
  color: #efeaff;
}

.msg__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 5px;
}

.console__foot {
  border-top: 1px solid var(--line);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.console__foot .pill-mini {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(55, 225, 207, 0.1);
  color: var(--cyan);
  letter-spacing: 0.06em;
}

/* ---------- marquee ---------- */

.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  padding: 20px 0;
  overflow: hidden;
}

.strip__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 14px;
}

.marquee {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: rgba(238, 240, 248, 0.42);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 44px;
}

.marquee span::after {
  content: '◆';
  font-size: 7px;
  color: rgba(124, 92, 255, 0.6);
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ---------- cards / grids ---------- */

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(164, 141, 255, 0.3);
}

.card--pack .card__kicker {
  padding-right: 96px;
}

.card__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--violet-soft);
  margin-bottom: 12px;
}

.card__title {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.card__tagline {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.2), rgba(55, 225, 207, 0.1));
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.card__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--violet-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- problem → solution ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.017);
}

.panel--dark {
  background: linear-gradient(165deg, rgba(124, 92, 255, 0.11), rgba(255, 255, 255, 0.012) 60%);
  border-color: rgba(124, 92, 255, 0.26);
}

.panel h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.panel__sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 15px;
}

.panel li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-dim);
}

.panel li svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel--dark li svg { stroke: var(--cyan); }
.panel:not(.panel--dark) li svg { stroke: rgba(255, 120, 120, 0.8); }

.panel li strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card--pack {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
}

.card--featured {
  border-color: rgba(124, 92, 255, 0.5);
  background: linear-gradient(170deg, rgba(124, 92, 255, 0.14), rgba(19, 22, 33, 0.9) 45%);
  box-shadow: 0 24px 60px -34px rgba(124, 92, 255, 0.8);
}

.pill {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 999px;
}

.pill--hot {
  background: rgba(255, 194, 102, 0.14);
  color: var(--amber);
  border: 1px solid rgba(255, 194, 102, 0.3);
}

.price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price__amount {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.price__unit {
  font-size: 12.5px;
  color: var(--muted);
}

.card__recurring {
  font-size: 12.5px;
  color: var(--violet-soft);
  margin-top: 4px;
}

.card__duration {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: grid;
  gap: 11px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.5;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(55, 225, 207, 0.14);
}

.ticks li::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(-45deg);
}

.ticks--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
}

.card__actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.card--custom {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.012);
}

.card--custom .price__amount {
  font-size: 26px;
  color: var(--ink);
}

.custom-offer {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
}

.custom-offer h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.custom-offer p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 70ch;
}

.pay-note {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
}

.pay-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pay-note svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
}

/* ---------- process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--violet-soft);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 9px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 34px 0;
  border-block: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff, #b3a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- quotes ---------- */

.quote {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote p {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.6;
}

.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  background: linear-gradient(140deg, rgba(124, 92, 255, 0.5), rgba(55, 225, 207, 0.3));
  color: #fff;
}

.quote footer strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq__item[open] {
  border-color: rgba(124, 92, 255, 0.32);
  background: rgba(124, 92, 255, 0.06);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-family: var(--font-display);
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--violet-soft);
  transition: transform 0.3s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__body {
  padding: 0 22px 21px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 78ch;
}

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.contact__aside h2 {
  font-size: clamp(27px, 3.6vw, 40px);
  max-width: 16ch;
}

.contact__aside p {
  margin-top: 18px;
  color: var(--muted);
  max-width: 40ch;
}

.contact__direct {
  margin-top: 30px;
  display: grid;
  gap: 14px;
  font-size: 14.5px;
}

.contact__direct a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-dim);
  transition: color 0.2s;
}

.contact__direct a:hover { color: #fff; }

.contact__direct svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--violet-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.form {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.6);
  background: rgba(124, 92, 255, 0.07);
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form__note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.form__status {
  font-size: 13.5px;
  padding: 11px 14px;
  border-radius: 10px;
  display: none;
}

.form__status.is-ok {
  display: block;
  background: rgba(55, 225, 207, 0.1);
  border: 1px solid rgba(55, 225, 207, 0.28);
  color: #9df3ea;
}

.form__status.is-err {
  display: block;
  background: rgba(255, 110, 110, 0.1);
  border: 1px solid rgba(255, 110, 110, 0.28);
  color: #ffb3b3;
}

.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 34px;
  font-size: 14px;
  color: var(--muted);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 38px;
}

.footer__brand p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 13.5px;
}

.footer ul a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(141, 148, 172, 0.8);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 200;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(124, 92, 255, 0.4);
  background: rgba(18, 20, 32, 0.96);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 13.5px;
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  max-width: min(440px, calc(100% - 32px));
  text-align: center;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- legal pages ---------- */

.legal-page {
  padding: clamp(48px, 6vw, 84px) 0 100px;
}

.legal-page h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 10px;
}

.legal-page .updated {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 34px;
}

.legal-page h2 {
  font-size: 19px;
  margin: 34px 0 10px;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.7;
}

.legal-page p + p {
  margin-top: 12px;
}

.legal-page ul {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14px;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  color: var(--ink-dim);
}

.legal-page th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-weight: 500;
}

.legal-page .todo {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 194, 102, 0.14);
  border: 1px solid rgba(255, 194, 102, 0.3);
  color: var(--amber);
  font-size: 12px;
}

/* ---------- success ---------- */

.thanks {
  min-height: 74vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 90px 0;
}

.thanks__badge {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  background: rgba(55, 225, 207, 0.12);
  border: 1px solid rgba(55, 225, 207, 0.32);
}

.thanks__badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.thanks p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}

.thanks__recap {
  margin: 28px auto 0;
  max-width: 380px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
  display: grid;
  gap: 8px;
  text-align: left;
}

.thanks__recap div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.thanks__recap strong {
  color: var(--ink);
  font-weight: 500;
}

.thanks__actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__actions .btn--outline { display: none; }

  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 22px 22px;
    background: rgba(9, 10, 16, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .nav__links.is-open a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
  }

  .hero__grid { grid-template-columns: 1fr; }
  .console { transform: none; }
  .split { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .card--custom {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.012);
}

.card--custom .price__amount {
  font-size: 26px;
  color: var(--ink);
}

.custom-offer { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .pricing-grid,
  .grid--3,
  .grid--2,
  .steps,
  .stats,
  .footer__top {
    grid-template-columns: 1fr;
  }
  .field--row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .card--pack { padding: 24px 20px 20px; }
  .pill { top: 14px; right: 14px; }
}


/* ---------- canaux de contact ---------- */

.channels {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.017);
}

.channels__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--violet-soft);
  margin-bottom: 12px;
}

.channels ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}

.channels strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- bandeau Telegram ---------- */

.tg-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4vw, 52px);
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
  border: 1px solid rgba(56, 165, 233, 0.28);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(56, 165, 233, 0.16), transparent 65%),
    linear-gradient(165deg, rgba(124, 92, 255, 0.09), rgba(255, 255, 255, 0.012) 55%);
}

.tg-band h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  max-width: 20ch;
}

.tg-band__intro > p:not(.eyebrow):not(.tg-band__note) {
  margin-top: 16px;
  color: var(--ink-dim);
  font-size: 15px;
  max-width: 52ch;
}

.tg-band__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.tg-band__note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.tg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.tg-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.45);
}

.tg-list__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(56, 165, 233, 0.12);
  border: 1px solid rgba(56, 165, 233, 0.24);
}

.tg-list__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #6fc3f7;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tg-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 3px;
}

.tg-list p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .tg-band { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
}
