/* ==========================================================================
   Argenst Labs — dark secure AI infrastructure with violet intelligence glow
   ========================================================================== */

:root {
  --midnight: #101020;
  --graphite: #202030;
  --steel: #303050;
  --violet: #8F7CFF;
  --lavender: #CFC8FF;
  --white: #F4F4FA;
  --muted: #A7A9BD;

  --grad-brand: linear-gradient(135deg, #101020 0%, #202040 55%, #303060 100%);
  --grad-glow: linear-gradient(120deg, #8F7CFF 0%, #CFC8FF 100%);
  --grad-text: linear-gradient(120deg, #F4F4FA 0%, #DCD8FF 100%);

  --border: rgba(143, 124, 255, 0.16);
  --border-strong: rgba(143, 124, 255, 0.34);
  --panel: rgba(32, 32, 48, 0.66);
  --panel-solid: #1a1a2c;

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;

  --shadow-glow: 0 0 0 1px rgba(143,124,255,0.12), 0 24px 60px -28px rgba(143,124,255,0.55);
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient background: layered violet glows + hex grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(143,124,255,0.16), transparent 60%),
    radial-gradient(50% 45% at 92% 12%, rgba(207,200,255,0.10), transparent 55%),
    radial-gradient(70% 60% at 50% 120%, rgba(48,48,96,0.55), transparent 60%),
    var(--midnight);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(143,124,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,124,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lavender);
  font-weight: 600;
}
.eyebrow .idx { color: var(--violet); opacity: 0.85; }
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--grad-glow);
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.violet-text {
  background: var(--grad-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 12px; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--grad-glow);
  color: #14122b;
  box-shadow: 0 16px 40px -16px rgba(143,124,255,0.9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 52px -14px rgba(143,124,255,1); }
.btn-ghost {
  background: rgba(143,124,255,0.06);
  border-color: var(--border-strong);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(143,124,255,0.14); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* Inline text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--lavender);
  transition: gap 0.2s ease, color 0.2s ease;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.arrow-link:hover { color: var(--white); gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(16,16,32,0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(143,124,255,0.55)); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand-name span { color: var(--violet); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.nav a:hover { color: var(--white); }
.header-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px;
  color: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Section base ---------- */
.section { padding: 66px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 54px 0 58px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13px;
  color: var(--lavender);
  margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 18px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stats .stat .num { font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.hero-stats .stat .lbl { font-size: 13px; color: var(--muted); }

/* Hero visual: hex node network */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; }
.hex-core {
  position: relative;
  width: 300px;
  height: 300px;
  display: grid;
  place-items: center;
}
.hex-core .ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-strong);
  border-radius: 40px;
  transform: rotate(15deg);
  animation: spinSlow 26s linear infinite;
}
.hex-core .ring.r2 { inset: 34px; border-color: var(--border); animation-duration: 20s; animation-direction: reverse; border-radius: 32px; }
.hex-core .ring.r3 { inset: 70px; border-color: rgba(207,200,255,0.22); animation-duration: 34s; border-radius: 26px; }
@keyframes spinSlow { to { transform: rotate(375deg); } }
.hex-core .logo-glow {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 30px rgba(143,124,255,0.85));
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.92; } 50% { transform: scale(1.06); opacity: 1; } }
.hero-visual .node {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 16px var(--violet);
}
.hero-visual .node.n1 { top: 8%; left: 20%; }
.hero-visual .node.n2 { top: 22%; right: 8%; }
.hero-visual .node.n3 { bottom: 14%; left: 6%; }
.hero-visual .node.n4 { bottom: 6%; right: 22%; }
.hero-visual .chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 12.5px;
  font-family: var(--font-head);
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
}
.hero-visual .chip svg { width: 15px; height: 15px; color: var(--violet); }
.hero-visual .chip.c1 { top: 2%; right: -6%; animation: float 6s ease-in-out infinite; }
.hero-visual .chip.c2 { bottom: 4%; left: -10%; animation: float 7s ease-in-out infinite 0.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Trusted marquee */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-bar .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust-bar .label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.trust-bar .items { display: flex; gap: 38px; flex-wrap: wrap; justify-content: center; }
.trust-bar .items span { font-family: var(--font-head); font-weight: 600; color: var(--lavender); opacity: 0.7; font-size: 15px; }

/* ==========================================================================
   Card grids (square: 2x2 / 3x3)
   ========================================================================== */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
}
.card::after {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(143,124,255,0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.card:hover::after { opacity: 1; }
.card .ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(143,124,255,0.10);
  border: 1px solid var(--border);
  color: var(--violet);
  margin-bottom: 14px;
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
  opacity: 0.85;
}

/* Industry card variant (compact, hex accent) */
.industry {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.industry .hex {
  width: 40px; height: 44px;
  display: grid; place-items: center;
  color: var(--violet);
}
.industry .hex svg { width: 40px; height: 44px; }
.industry h3 { font-size: 17px; }
.industry p { font-size: 14px; }

/* ==========================================================================
   Split blocks (two visual parts)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  backdrop-filter: blur(6px);
}
.split > div { padding: 34px; }
.split .split-left { border-right: 1px solid var(--border); }
.split .split-visual {
  background:
    radial-gradient(70% 70% at 70% 20%, rgba(143,124,255,0.14), transparent 60%),
    linear-gradient(160deg, rgba(48,48,80,0.5), rgba(16,16,32,0.4));
  position: relative;
}

/* How it works — pipeline steps */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 13px 0;
  position: relative;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px; top: 50px; bottom: -10px;
  width: 1px;
  background: linear-gradient(var(--border-strong), transparent);
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  background: rgba(143,124,255,0.10);
  border: 1px solid var(--border-strong);
  color: var(--lavender);
}
.step h4 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Multi-agent node diagram */
.agent-flow { display: grid; gap: 16px; place-content: center; height: 100%; }
.flow-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-glow);
}
.flow-node .avatar {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad-glow);
  color: #14122b;
}
.flow-node .avatar svg { width: 20px; height: 20px; }
.flow-node .meta strong { font-family: var(--font-head); font-size: 15px; display: block; }
.flow-node .meta span { font-size: 12.5px; color: var(--muted); }
.flow-connector { width: 1px; height: 16px; background: var(--border-strong); margin: 0 auto; }
.flow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Security split lists */
.sec-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: 6px; }
.sec-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.sec-list li .chk {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(143,124,255,0.12);
  border: 1px solid var(--border-strong);
  color: var(--violet);
  margin-top: 2px;
}
.sec-list li .chk svg { width: 14px; height: 14px; }
.sec-list li strong { font-family: var(--font-head); font-weight: 600; display: block; font-size: 15.5px; }
.sec-list li span { color: var(--muted); font-size: 14px; }

/* ==========================================================================
   Benefits (2x2) with big numbers
   ========================================================================== */
.benefit {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}
.benefit:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.benefit .big {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.benefit h3 { font-size: 18px; margin-bottom: 7px; }
.benefit p { color: var(--muted); font-size: 14.5px; }

/* CTA banner used mid-page */
.cta-inline {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(143,124,255,0.18), transparent 60%),
    var(--panel);
  flex-wrap: wrap;
}
.cta-inline h3 { font-size: 22px; }
.cta-inline p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info .info-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-info .info-item .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(143,124,255,0.10);
  border: 1px solid var(--border);
  color: var(--violet);
}
.contact-info .info-item .ic svg { width: 22px; height: 22px; }
.contact-info .info-item strong { font-family: var(--font-head); display: block; font-size: 15px; }
.contact-info .info-item span { color: var(--muted); font-size: 14.5px; }
.assurance {
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background: rgba(143,124,255,0.05);
  font-size: 14px;
  color: var(--muted);
}

.form-panel {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(8px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 15px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-family: var(--font-head); font-weight: 600; color: var(--lavender); letter-spacing: 0.02em; }
.field label .req { color: var(--violet); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(16,16,32,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 15px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6a6c82; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(143,124,255,0.18);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238F7CFF' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field select option { background: var(--panel-solid); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(143,124,255,0.10);
  color: var(--white);
  font-size: 15px;
  margin-top: 18px;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--violet); flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16,16,32,0.2), rgba(24,24,44,0.7));
  padding: 52px 0 30px;
  margin-top: 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 280px; }
.footer-brand .x-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-brand .x-link:hover { background: rgba(143,124,255,0.12); transform: translateY(-2px); }
.footer-brand .x-link svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-bottom .loc { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .loc svg { width: 15px; height: 15px; color: var(--violet); }

/* ==========================================================================
   Sub-page (legal/support/pricing) styles
   ========================================================================== */
.page-hero {
  padding: 56px 0 34px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero h1 { font-size: clamp(30px, 4.2vw, 46px); margin: 14px 0 10px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; }
.page-hero .meta { margin-top: 18px; font-size: 13px; color: var(--muted); }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; }
.toc h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lavender); margin-bottom: 16px; }
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.toc a { color: var(--muted); font-size: 14px; transition: color 0.2s ease; }
.toc a:hover { color: var(--white); }

.doc { max-width: 760px; }
.doc section { margin-bottom: 40px; }
.doc h2 { font-size: 24px; margin-bottom: 14px; scroll-margin-top: 96px; }
.doc h3 { font-size: 18px; margin: 20px 0 10px; }
.doc p { color: var(--muted); margin-bottom: 14px; }
.doc ul { color: var(--muted); margin: 0 0 14px 20px; display: flex; flex-direction: column; gap: 8px; }
.doc .lead { color: var(--white); font-size: 17px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.plan.featured {
  border-color: var(--border-strong);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(143,124,255,0.16), transparent 60%),
    var(--panel);
  box-shadow: var(--shadow-glow);
}
.plan .badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-head); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #14122b; background: var(--grad-glow);
  padding: 5px 11px; border-radius: 999px; font-weight: 700;
}
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan .price { font-family: var(--font-head); font-size: 34px; font-weight: 700; margin: 14px 0 4px; }
.plan .price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 18px 0 22px; }
.plan ul li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: var(--white); }
.plan ul li svg { width: 16px; height: 16px; color: var(--violet); margin-top: 3px; }
.plan .btn { margin-top: auto; }

.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.faq .card h3 { font-size: 17px; }

/* Support cards */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; margin-top: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .pricing-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(16,16,32,0.98);
    border-bottom: 1px solid var(--border-strong);
    padding: 10px 28px 22px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .split-left { border-right: none; border-bottom: 1px solid var(--border); }
  .split > div { padding: 34px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .flow-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section { padding: 48px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .split > div { padding: 28px 20px; }
  .form-panel { padding: 26px 20px; }
}
