/* ==========================================================================
   Nexus AI Automation Academy — Design System
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg-0: #06070c;
  --bg-1: #0b0d15;
  --bg-2: #10131e;
  --bg-3: #161a28;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f2f4f9;
  --text-2: #b7bfd2;
  --text-3: #7f8899;

  /* Accents */
  --blue: #3b7bff;
  --blue-bright: #5b95ff;
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --cyan: #22d3ee;
  --grad: linear-gradient(115deg, #3b7bff 0%, #7c5cff 52%, #a855f7 100%);
  --grad-soft: linear-gradient(115deg, rgba(59,123,255,.16), rgba(168,85,247,.16));

  /* Feedback */
  --green: #34d399;
  --amber: #fbbf24;

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1220px;
  --nav-h: 74px;

  /* Shadow */
  --sh-sm: 0 2px 10px rgba(0, 0, 0, .3);
  --sh-md: 0 14px 40px rgba(0, 0, 0, .45);
  --sh-lg: 0 30px 80px rgba(0, 0, 0, .6);
  --sh-glow: 0 18px 50px -12px rgba(76, 106, 255, .55);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip; /* clip does not break position:sticky */
}

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
}

/* Decorative blur glows must never create horizontal scroll */
section:has(> .glow) { overflow: hidden; }
.hero, .page-hero, .cta-band { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: rgba(124, 92, 255, .35); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #262b3d; border-radius: 8px; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: #343b52; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.05rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); letter-spacing: -0.033em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.06rem; }
p { color: var(--text-2); }

.grad-text {
  background: linear-gradient(100deg, #8fb4ff 0%, #b79bff 48%, #e3c9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  color: var(--text-2);
  line-height: 1.72;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .715rem;
  font-weight: 650;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--purple-bright);
  padding: 7px 15px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: var(--r-pill);
  background: rgba(139, 92, 246, .08);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 10px var(--purple-bright);
}
.eyebrow.blue { color: #8fb4ff; border-color: rgba(59,123,255,.32); background: rgba(59,123,255,.09); }
.eyebrow.blue::before { background: #8fb4ff; box-shadow: 0 0 10px #8fb4ff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.wrap-sm { max-width: 880px; }
.wrap-xs { max-width: 620px; }

section { position: relative; }
.sec { padding: clamp(64px, 8.5vw, 118px) 0; }
.sec-sm { padding: clamp(48px, 6vw, 78px) 0; }

.sec-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head p { margin-top: 16px; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

.bg-alt { background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-0)); }
.bg-panel { background: var(--bg-1); }

/* Glow decorations */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}
.glow.b { background: rgba(59, 123, 255, .3); }
.glow.p { background: rgba(139, 92, 246, .27); }
.wrap, .sec > .wrap { position: relative; z-index: 1; }

/* Grid helpers */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.g-auto-sm { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 27px;
  border-radius: var(--r-pill);
  font-weight: 620;
  font-size: .95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s, background .22s, border-color .22s, opacity .2s;
  white-space: nowrap;
  text-align: center;
  background: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--sh-glow);
}
.btn-primary:hover { box-shadow: 0 22px 60px -12px rgba(96, 110, 255, .72); }

.btn-ghost {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); }

.btn-outline { border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--blue-bright); color: #fff; background: rgba(59,123,255,.09); }

.btn-lg { padding: 17px 34px; font-size: 1.01rem; }
.btn-sm { padding: 10px 19px; font-size: .855rem; }
.btn-block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-bright);
  font-weight: 600;
  font-size: .93rem;
  transition: gap .2s, color .2s;
}
.link-arrow:hover { gap: 12px; color: var(--purple-bright); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform .28s cubic-bezier(.2,.8,.3,1), border-color .28s, background .28s, box-shadow .28s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--sh-md);
}
.card:hover::before { opacity: 1; }
.card h3, .card h4 { margin-bottom: 10px; }
.card p { font-size: .945rem; }
.card-flat:hover { transform: none; }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(139,92,246,.22);
  margin-bottom: 19px;
  color: var(--purple-bright);
  flex-shrink: 0;
}
.card-icon svg { width: 23px; height: 23px; }

.num-badge {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-weight: 750;
  font-size: 1.05rem;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px -6px rgba(96,110,255,.6);
}
.num-badge.ghost {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-strong);
  color: var(--purple-bright);
  box-shadow: none;
}

.tag {
  display: inline-block;
  font-size: .715rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(59,123,255,.13);
  border: 1px solid rgba(59,123,255,.26);
  color: #8fb4ff;
}
.tag.purple { background: rgba(139,92,246,.13); border-color: rgba(139,92,246,.28); color: var(--purple-bright); }
.tag.green { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.26); color: var(--green); }
.tag.muted { background: rgba(255,255,255,.05); border-color: var(--border); color: var(--text-3); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Feature list */
.flist { display: grid; gap: 11px; }
.flist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .935rem;
  color: var(--text-2);
  line-height: 1.55;
}
.flist li::before {
  content: '';
  flex-shrink: 0;
  width: 19px; height: 19px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(52,211,153,.14);
  border: 1px solid rgba(52,211,153,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.flist.dots li::before {
  background: rgba(139,92,246,.5);
  border: none;
  background-image: none;
  width: 6px; height: 6px;
  margin-top: 9px;
  margin-left: 6px;
  margin-right: 6px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(6, 7, 12, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(6, 7, 12, .93); border-bottom-color: rgba(255,255,255,.1); }
.nav .wrap { display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: .97rem; font-weight: 730; letter-spacing: -0.03em; color: #fff; }
.brand-text span { font-size: .615rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 0; margin-left: auto; min-width: 0; }
.nav-links a {
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: .875rem;
  font-weight: 520;
  color: var(--text-2);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--grad);
}
.nav-cta { margin-left: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: .28s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: .28s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  bottom: 0;
  background: rgba(6,7,12,.985);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 26px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .26s ease, transform .26s cubic-bezier(.2,.8,.3,1), visibility .26s;
  display: none;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  display: block;
  padding: 15px 4px;
  font-size: 1.08rem;
  font-weight: 570;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--text-2);
}
.mobile-menu a:hover, .mobile-menu a.active { color: #fff; }
.mobile-menu .btn { margin-top: 26px; }

/* Sticky mobile apply bar */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgba(6,7,12,.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.09);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 8vw, 108px);
  overflow: hidden;
  isolation: isolate;
}
.hero-video, .video-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: .42;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 520px at 72% 12%, rgba(59,123,255,.20), transparent 62%),
    radial-gradient(760px 460px at 12% 78%, rgba(139,92,246,.19), transparent 62%),
    linear-gradient(180deg, rgba(6,7,12,.62) 0%, rgba(6,7,12,.80) 55%, var(--bg-0) 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 85% 68% at 50% 42%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 68% at 50% 42%, #000 35%, transparent 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(30px, 4.5vw, 62px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero-note {
  margin-top: 22px;
  font-size: .855rem;
  color: var(--text-3);
  display: flex; align-items: flex-start; gap: 9px;
  max-width: 52ch;
}
.hero-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--text-3); }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: clamp(48px, 6.5vw, 86px) 0 clamp(38px, 5vw, 58px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(760px 380px at 78% 0%, rgba(59,123,255,.16), transparent 65%),
    radial-gradient(620px 340px at 8% 100%, rgba(139,92,246,.14), transparent 65%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.3vw, 3.2rem); margin-bottom: 18px; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--blue-bright); }
.crumbs span { opacity: .5; }

/* ---------- Automation visual (hero right) ---------- */
.viz {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(20,24,38,.92), rgba(10,12,20,.94));
  box-shadow: var(--sh-lg);
  padding: 22px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.viz::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(59,123,255,.5), transparent 42%, transparent 62%, rgba(168,85,247,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.viz-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.viz-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c3245; display: block; }
.viz-bar b {
  margin-left: auto;
  font-size: .655rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.viz-flow { display: grid; gap: 11px; }
.viz-node {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(255,255,255,.037);
  border: 1px solid rgba(255,255,255,.08);
  animation: nodeIn .6s cubic-bezier(.2,.8,.3,1) backwards;
}
.viz-node:nth-child(1) { animation-delay: .05s; }
.viz-node:nth-child(3) { animation-delay: .22s; }
.viz-node:nth-child(5) { animation-delay: .39s; }
.viz-node:nth-child(7) { animation-delay: .56s; }
.viz-node:nth-child(9) { animation-delay: .73s; }
@keyframes nodeIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.viz-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--grad-soft);
  border: 1px solid rgba(139,92,246,.2);
  color: var(--purple-bright);
}
.viz-ico svg { width: 17px; height: 17px; }
.viz-ico.blue { color: #8fb4ff; border-color: rgba(59,123,255,.25); }
.viz-ico.green { color: var(--green); border-color: rgba(52,211,153,.25); background: rgba(52,211,153,.09); }
.viz-node b { font-size: .875rem; font-weight: 600; color: #eef1f8; display: block; }
.viz-node small { font-size: .735rem; color: var(--text-3); display: block; }
.viz-node .st {
  margin-left: auto;
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--green);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(52,211,153,.11);
  border: 1px solid rgba(52,211,153,.24);
}
.viz-link {
  width: 2px;
  height: 17px;
  margin-left: 32px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(139,92,246,.65), rgba(59,123,255,.2));
  position: relative;
  overflow: hidden;
}
.viz-link::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, #a78bfa, transparent);
  animation: pulseDown 2.4s linear infinite;
}
.viz-link:nth-of-type(2)::after { animation-delay: .5s; }
.viz-link:nth-of-type(3)::after { animation-delay: 1s; }
.viz-link:nth-of-type(4)::after { animation-delay: 1.5s; }
@keyframes pulseDown { 0% { top: -100%; } 100% { top: 200%; } }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.trust-strip > div {
  background: var(--bg-1);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: background .25s;
}
.trust-strip > div:hover { background: var(--bg-2); }
.trust-strip svg { width: 22px; height: 22px; color: var(--blue-bright); }
.trust-strip b { font-size: .93rem; font-weight: 620; color: #fff; letter-spacing: -0.015em; }

/* ---------- Video section ---------- */
.video-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  background: var(--bg-2);
  aspect-ratio: 16 / 9;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card .vc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,7,12,.15) 0%, rgba(6,7,12,.72) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3.4vw, 38px);
  pointer-events: none;
}
.video-card .vc-overlay b { font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 690; color: #fff; letter-spacing: -0.025em; }
.video-card .vc-overlay span { font-size: .9rem; color: var(--text-2); margin-top: 6px; max-width: 54ch; }
.video-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(6,7,12,.66);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  font-size: .705rem; font-weight: 640; letter-spacing: .13em; text-transform: uppercase; color: #fff;
}
.video-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #ff5b6e; box-shadow: 0 0 9px #ff5b6e;
  animation: blink 1.9s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Learning grid ---------- */
.learn-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 19px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .25s, background .25s, transform .25s;
}
.learn-item:hover { border-color: rgba(139,92,246,.35); background: rgba(139,92,246,.055); transform: translateY(-2px); }
.learn-item svg { width: 19px; height: 19px; color: var(--purple-bright); flex-shrink: 0; margin-top: 2px; }
.learn-item span { font-size: .93rem; font-weight: 540; color: var(--text); line-height: 1.5; }

/* ---------- Step cards ---------- */
.steps { counter-reset: st; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: transform .28s, border-color .28s, box-shadow .28s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(59,123,255,.35); box-shadow: var(--sh-md); }
.step .stn {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  display: block;
  opacity: .95;
}
.step h3 { font-size: 1.14rem; margin-bottom: 9px; }
.step p { font-size: .925rem; }

/* ---------- Modules ---------- */
.mod-list { display: grid; gap: 16px; }
.mod {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .28s, background .28s;
}
.mod:hover { border-color: var(--border-strong); background: var(--surface-2); }
.mod-num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.mod-num b {
  display: block;
  font-family: var(--font);
  font-size: 2.05rem;
  line-height: 1;
  margin-top: 5px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}
.mod h3 { font-size: 1.22rem; margin-bottom: 8px; }
.mod-meta { display: grid; gap: 16px; margin-top: 18px; }
.mod-meta > div { }
.mod-meta h4 {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 640;
  margin-bottom: 9px;
}
.mod-meta p { font-size: .92rem; }

/* ---------- Project cards ---------- */
.proj {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform .28s, border-color .28s, box-shadow .28s;
}
.proj:hover { transform: translateY(-5px); border-color: rgba(59,123,255,.35); box-shadow: var(--sh-md); }
.proj-top {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(59,123,255,.09), rgba(139,92,246,.06));
  display: flex; align-items: center; gap: 14px;
}
.proj-top .pn {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .1em;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  white-space: nowrap;
}
.proj-body { padding: 24px; display: grid; gap: 16px; flex: 1; }
.proj-body h3 { font-size: 1.14rem; }
.proj-row h4 {
  font-size: .665rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-3); font-weight: 640; margin-bottom: 7px;
}
.proj-row p { font-size: .9rem; }
.proj-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .8rem; color: var(--text-3);
}

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); align-items: start; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(255,255,255,.042), rgba(255,255,255,.012));
  transition: transform .3s cubic-bezier(.2,.8,.3,1), border-color .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--sh-md); }
.price-card.featured {
  border-color: rgba(124,92,255,.55);
  background: linear-gradient(170deg, rgba(124,92,255,.14), rgba(59,123,255,.055) 55%, rgba(255,255,255,.015));
  box-shadow: 0 26px 70px -22px rgba(124,92,255,.55);
  transform: scale(1.035);
  z-index: 2;
}
.price-card.featured:hover { transform: scale(1.035) translateY(-6px); }
.pop-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 7px 20px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  font-size: .665rem;
  font-weight: 720;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 26px -8px rgba(124,92,255,.85);
}
.price-name { font-size: 1.32rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.price-sub { font-size: .875rem; color: var(--text-3); margin-top: 5px; }
.price-amt {
  display: flex; align-items: flex-start; gap: 4px;
  margin: 22px 0 4px;
}
.price-amt .cur { font-size: 1.3rem; font-weight: 600; color: var(--text-2); margin-top: 8px; }
.price-amt .val { font-size: 3.1rem; font-weight: 750; line-height: 1; letter-spacing: -0.045em; color: #fff; }
.price-amt .per { font-size: .82rem; color: var(--text-3); align-self: flex-end; margin-bottom: 8px; margin-left: 4px; }
.price-inst {
  font-size: .845rem;
  color: var(--text-3);
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);
  margin: 14px 0 22px;
  line-height: 1.55;
}
.price-inst b { color: var(--text-2); font-weight: 620; }
.price-card .flist { margin-bottom: 26px; }
.price-card .btn { margin-top: auto; }
.price-desc { font-size: .9rem; color: var(--text-2); margin: 16px 0 20px; line-height: 1.62; }
.price-incl-head {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-3); font-weight: 640; margin-bottom: 13px;
}

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); -webkit-overflow-scrolling: touch; }
.cmp { min-width: 720px; font-size: .9rem; background: var(--bg-1); }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp thead th {
  position: sticky; top: 0;
  background: var(--bg-2);
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-3); font-weight: 650;
  border-bottom: 1px solid var(--border-strong);
  z-index: 2;
}
.cmp thead th.pkg { color: #fff; font-size: 1rem; text-transform: none; letter-spacing: -0.02em; }
.cmp thead th.pkg small { display: block; font-size: .8rem; color: var(--text-3); font-weight: 500; margin-top: 3px; letter-spacing: 0; }
.cmp thead th.rec { background: linear-gradient(180deg, rgba(124,92,255,.2), rgba(124,92,255,.07)); }
.cmp tbody tr:hover { background: rgba(255,255,255,.024); }
.cmp td:first-child { color: var(--text); font-weight: 540; }
.cmp td.col-rec { background: rgba(124,92,255,.05); }
.cmp td.center, .cmp th.center { text-align: center; }
.cmp .yes { color: var(--green); font-weight: 600; }
.cmp .no { color: #4b5266; }
.cmp .val { color: var(--text-2); font-size: .87rem; }
.rec-flag {
  display: inline-block; margin-top: 7px;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 720;
  padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--grad); color: #fff;
}

/* ---------- Accordion / FAQ ---------- */
.acc { display: grid; gap: 12px; }
.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.acc-item.open { border-color: rgba(124,92,255,.4); background: rgba(124,92,255,.05); }
.acc-q {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 19px 22px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-size: 1rem; font-weight: 590; color: #fff;
  line-height: 1.45;
}
.acc-q:hover { color: var(--purple-bright); }
.acc-q .ic {
  margin-left: auto; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  transition: transform .3s, background .3s;
  position: relative;
}
.acc-q .ic::before, .acc-q .ic::after {
  content: ''; position: absolute;
  background: var(--purple-bright); border-radius: 2px;
  transition: opacity .3s, transform .3s;
}
.acc-q .ic::before { width: 11px; height: 2px; }
.acc-q .ic::after { width: 2px; height: 11px; }
.acc-item.open .acc-q .ic::after { opacity: 0; transform: rotate(90deg); }
.acc-item.open .acc-q .ic { background: rgba(139,92,246,.2); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.acc-a > div { padding: 0 22px 22px; font-size: .945rem; color: var(--text-2); line-height: 1.72; }
.acc-a p + p { margin-top: 11px; }
.acc-a ul { display: grid; gap: 8px; margin-top: 11px; }
.acc-a ul li { padding-left: 18px; position: relative; }
.acc-a ul li::before { content: '—'; position: absolute; left: 0; color: var(--purple-bright); }

/* ---------- Forms ---------- */
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--sh-md);
}
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .855rem; font-weight: 580; color: var(--text); }
.field label .req { color: #ff7b8a; margin-left: 3px; }
.field .hint { font-size: .79rem; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.035);
  color: var(--text);
  font-size: .945rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f8899' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 40px;
  cursor: pointer;
}
.field select option { background: #10131e; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #5c6478; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(59,123,255,.06);
  box-shadow: 0 0 0 3px rgba(59,123,255,.16);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: rgba(255,123,138,.55); }

.checkbox {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.024);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.checkbox:hover { border-color: var(--border-strong); background: rgba(255,255,255,.04); }
.checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1.6px solid var(--border-strong);
  background: rgba(255,255,255,.05);
  -webkit-appearance: none; appearance: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  position: relative;
}
.checkbox input[type="checkbox"]:checked {
  background: var(--grad);
  border-color: transparent;
}
.checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checkbox input[type="checkbox"]:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.checkbox span { font-size: .875rem; color: var(--text-2); line-height: 1.6; }
.checkbox a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 2px; }
.checkbox-group { display: grid; gap: 11px; }

.radio-cards { display: grid; gap: 12px; }
.radio-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.024);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.radio-card:hover { border-color: var(--border-strong); }
.radio-card input[type="radio"] {
  width: 19px; height: 19px; flex-shrink: 0;
  -webkit-appearance: none; appearance: none;
  border: 1.6px solid var(--border-strong);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: border-color .2s;
}
.radio-card input[type="radio"]:checked { border-color: var(--purple-bright); }
.radio-card input[type="radio"]:checked::after {
  content: '';
  position: absolute; inset: 3.5px;
  border-radius: 50%;
  background: var(--grad);
}
.radio-card:has(input:checked) { border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.07); }
.radio-card .rc-main { flex: 1; }
.radio-card .rc-main b { display: block; font-size: .93rem; font-weight: 600; color: #fff; }
.radio-card .rc-main small { font-size: .81rem; color: var(--text-3); }
.radio-card .rc-price { font-weight: 680; color: #fff; font-size: 1rem; white-space: nowrap; }

.form-note {
  font-size: .82rem;
  color: var(--text-3);
  line-height: 1.65;
  padding: 15px 17px;
  border-radius: var(--r-sm);
  background: rgba(59,123,255,.055);
  border: 1px solid rgba(59,123,255,.18);
}
.form-legend {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--purple-bright); font-weight: 660;
  padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  grid-column: 1 / -1;
}

.alert {
  display: none;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(52,211,153,.32);
  background: rgba(52,211,153,.08);
  margin-bottom: 26px;
}
.alert.show { display: flex; }
.alert svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 1px; }
.alert b { display: block; color: #fff; margin-bottom: 4px; font-size: .98rem; }
.alert p { font-size: .89rem; margin: 0; }

/* ---------- Login ---------- */
.auth-shell {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 50px 0 70px;
  position: relative;
  overflow: hidden;
}
.auth-card {
  width: 100%;
  max-width: 452px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.014));
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(10px);
}
.auth-card h1 { font-size: 1.72rem; margin-bottom: 8px; }
.form-row-split { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mini-check { display: inline-flex; align-items: center; gap: 9px; font-size: .855rem; color: var(--text-2); cursor: pointer; }
.mini-check input {
  width: 17px; height: 17px; border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  background: rgba(255,255,255,.05);
  -webkit-appearance: none; appearance: none; cursor: pointer; position: relative;
}
.mini-check input:checked { background: var(--grad); border-color: transparent; }
.mini-check input:checked::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.secure-note {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-size: .8rem; color: var(--text-3);
  margin-top: 22px;
}
.secure-note svg { width: 15px; height: 15px; color: var(--green); }

/* ---------- Store / cart ---------- */
.store-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.cart-layout { display: grid; grid-template-columns: 1.35fr .85fr; gap: 30px; align-items: start; }
.summary {
  position: sticky;
  top: calc(var(--nav-h) + 22px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  padding: 28px;
}
.summary h3 { font-size: 1.14rem; margin-bottom: 20px; }
.sum-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: .91rem; color: var(--text-2); border-bottom: 1px solid var(--border); }
.sum-row:last-of-type { border-bottom: none; }
.sum-row b { color: #fff; font-weight: 600; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--border-strong); }
.sum-total span { font-size: .93rem; color: var(--text-2); }
.sum-total b { font-size: 1.85rem; font-weight: 740; color: #fff; letter-spacing: -0.035em; }

.mini-item { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.mini-item .mi-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); border: 1px solid rgba(139,92,246,.22); display: grid; place-items: center; color: var(--purple-bright); flex-shrink: 0; }
.mini-item .mi-ic svg { width: 21px; height: 21px; }
.mini-item b { display: block; font-size: .93rem; color: #fff; }
.mini-item small { font-size: .8rem; color: var(--text-3); }

.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay-badges span {
  font-size: .715rem; font-weight: 600; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 7px;
  border: 1px solid var(--border); background: rgba(255,255,255,.04);
  color: var(--text-3);
}

/* Product page */
.product-layout { display: grid; grid-template-columns: 1.25fr .9fr; gap: 42px; align-items: start; }
.buy-box {
  position: sticky;
  top: calc(var(--nav-h) + 22px);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.014));
  padding: 30px;
  box-shadow: var(--sh-md);
}
.buy-box.featured { border-color: rgba(124,92,255,.5); box-shadow: 0 26px 70px -26px rgba(124,92,255,.6); }

.spec-block { display: grid; gap: 26px; }
.spec-block > section { padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.spec-block > section:last-child { border-bottom: none; padding-bottom: 0; }
.spec-block h2 { font-size: 1.42rem; margin-bottom: 15px; }

/* Confirmation */
.confirm-ico {
  width: 82px; height: 82px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 26px;
  background: rgba(52,211,153,.12);
  border: 1px solid rgba(52,211,153,.34);
  animation: popIn .55s cubic-bezier(.2,1.3,.4,1) backwards;
}
.confirm-ico svg { width: 38px; height: 38px; color: var(--green); }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

.order-box {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  overflow: hidden;
  text-align: left;
}
.order-box .ob-head { padding: 18px 24px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.025); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.order-box .ob-head b { font-size: .95rem; }
.order-box .ob-body { padding: 6px 24px 20px; }
.order-box .sum-row:last-child { border-bottom: none; }

/* ---------- Certificate ---------- */
.cert-panel {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(150deg, rgba(59,123,255,.09), rgba(139,92,246,.07) 55%, rgba(255,255,255,.012));
  position: relative;
  overflow: hidden;
}
.cert-visual {
  aspect-ratio: 1.42 / 1;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(160deg, #12162408, #0a0c14);
  background-color: #0d1018;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  position: relative;
  box-shadow: var(--sh-md);
}
.cert-visual::before {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
}
.cert-visual .cv-in { position: relative; }
.cert-visual .cv-seal {
  width: 54px; height: 54px; margin: 0 auto 16px;
  display: grid; place-items: center;
}
.cert-visual .cv-seal img { width: 54px; height: 54px; object-fit: contain; }
.cert-visual b { display: block; font-size: 1rem; color: #fff; letter-spacing: -0.02em; }
.cert-visual small { display: block; font-size: .74rem; color: var(--text-3); margin-top: 7px; letter-spacing: .09em; text-transform: uppercase; }
.cert-visual .cv-line { height: 1px; background: var(--border); margin: 16px auto; width: 65%; }
.cert-visual .cv-name { font-size: .82rem; color: var(--text-2); }

/* ---------- Disclaimer / legal ---------- */
.notice {
  padding: 20px 24px;
  border-radius: var(--r-md);
  border: 1px solid rgba(251,191,36,.26);
  background: rgba(251,191,36,.06);
  font-size: .89rem;
  color: var(--text-2);
  line-height: 1.7;
}
.notice b { color: #fcd34d; display: block; margin-bottom: 6px; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
.notice.neutral { border-color: var(--border); background: rgba(255,255,255,.03); }
.notice.neutral b { color: var(--text); }

.placeholder-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px dashed rgba(251,191,36,.45);
  background: rgba(251,191,36,.05);
  color: #fcd34d;
  font-size: .82rem;
  font-family: var(--mono);
  font-weight: 500;
}

.legal { max-width: 820px; }
.legal h2 { font-size: 1.42rem; margin: 38px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 10px; }
.legal p { margin-bottom: 14px; font-size: .955rem; line-height: 1.78; }
.legal ul { display: grid; gap: 9px; margin: 0 0 16px; }
.legal ul li { position: relative; padding-left: 22px; font-size: .955rem; color: var(--text-2); line-height: 1.7; }
.legal ul li::before {
  content: ''; position: absolute; left: 4px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--purple-bright);
}
.legal a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 2px; }
.legal .updated { font-size: .85rem; color: var(--text-3); padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }

.toc {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 22px 24px;
  margin-bottom: 34px;
}
.toc h2 { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 13px; }
.toc ol { display: grid; gap: 8px; counter-reset: t; }
.toc li { counter-increment: t; font-size: .9rem; }
.toc li::before { content: counter(t) '. '; color: var(--text-3); }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--blue-bright); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(38px, 5.5vw, 68px) clamp(26px, 4vw, 56px);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(124,92,255,.28);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(124,92,255,.22), transparent 70%),
    linear-gradient(165deg, rgba(59,123,255,.11), rgba(139,92,246,.09) 60%, rgba(255,255,255,.012));
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact-block {
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  gap: 12px;
}
.contact-block .cb-ic {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-soft); border: 1px solid rgba(139,92,246,.2);
  display: grid; place-items: center; color: var(--purple-bright);
}
.contact-block .cb-ic svg { width: 20px; height: 20px; }
.contact-block h3 { font-size: 1.06rem; margin: 0; }
.contact-block p { font-size: .9rem; }
.contact-block .cb-val { font-size: .9rem; color: var(--blue-bright); font-weight: 550; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, var(--bg-0), #04050a);
  padding: clamp(48px, 6vw, 74px) 0 30px;
  margin-top: 0;
}
.foot-top { display: grid; grid-template-columns: 1.35fr .85fr .85fr .85fr 1.35fr; gap: 34px; padding-bottom: 44px; }
.foot-brand p { font-size: .885rem; margin: 16px 0 20px; max-width: 34ch; line-height: 1.7; }
.foot-col h2 {
  font-size: .705rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-3); font-weight: 640; margin-bottom: 16px;
}
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { font-size: .875rem; color: var(--text-2); transition: color .2s; }
.foot-col a:hover { color: var(--blue-bright); }
.foot-contact { display: grid; gap: 9px; font-size: .845rem; color: var(--text-3); }
.foot-contact .ph { color: #fcd34d; font-family: var(--mono); font-size: .8rem; }
.socials { display: flex; gap: 9px; margin-top: 4px; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  color: var(--text-3);
  transition: all .2s;
}
.socials a:hover { color: #fff; border-color: var(--border-strong); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

.foot-legal {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: grid;
  gap: 18px;
}
.foot-legal .fl-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-legal .fl-links a { font-size: .81rem; color: var(--text-3); }
.foot-legal .fl-links a:hover { color: var(--text-2); }
.foot-disclaimer { font-size: .775rem; color: #6b7386; line-height: 1.75; max-width: 100%; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--text-3); padding-top: 12px; border-top: 1px solid rgba(255,255,255,.05); }

/* ---------- Inline icon sizing guards ---------- */
.form-note svg,
.proj-foot svg,
.link-arrow svg,
.legal svg,
.notice svg,
.acc-a svg {
  width: 16px; height: 16px;
  display: inline-block;
  vertical-align: -3px;
  flex-shrink: 0;
}
.form-note svg { color: var(--blue-bright); margin-right: 7px; }
.proj-foot svg { color: var(--purple-bright); margin-right: 3px; }
.link-arrow svg { width: 15px; height: 15px; margin-left: 1px; }
.placeholder-chip svg { width: 14px; height: 14px; flex-shrink: 0; }
.mini-item .placeholder-chip { margin-top: 6px; }


/* ---------- WhatsApp chat button ---------- */
.wa-btn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 9px;
  border-radius: var(--r-pill);
  background: rgba(11, 13, 21, .82);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
  color: var(--text);
  font-size: .885rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform .24s cubic-bezier(.2,.8,.3,1), border-color .24s, box-shadow .24s, background .24s;
}
.wa-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, .5);
  background: rgba(11, 13, 21, .95);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .6), 0 0 0 1px rgba(37, 211, 102, .18);
}
.wa-btn:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; }
.wa-ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  color: #06070c;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -2px rgba(37, 211, 102, .6);
}
.wa-ico svg { width: 20px; height: 20px; }
.wa-txt { white-space: nowrap; }

@media (max-width: 720px) {
  .wa-btn { bottom: 84px; right: 16px; padding: 8px; }
  .wa-txt { display: none; }
}


/* ---------- Team ---------- */
.team-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 940px;
  margin-inline: auto;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124,92,255,.4);
  box-shadow: var(--sh-md);
}
.team-photo {
  position: relative;
  aspect-ratio: 720 / 700;
  overflow: hidden;
  background: var(--bg-1);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: saturate(.96) contrast(1.02);
}
.team-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,13,21,.55) 82%, var(--bg-1) 100%);
  pointer-events: none;
}
.team-body { padding: 26px 28px 30px; flex: 1; }
.team-role {
  display: inline-block;
  font-size: .68rem;
  font-weight: 680;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--purple-bright);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.26);
  margin-bottom: 13px;
}
.team-body h3 { font-size: 1.42rem; margin-bottom: 11px; letter-spacing: -.03em; }
.team-body p { font-size: .93rem; line-height: 1.68; }

.cert-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.cert-block h4 {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 640;
  margin-bottom: 13px;
}
.cert-list { display: grid; gap: 10px; }
.cert-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .89rem;
  color: var(--text-2);
  line-height: 1.5;
}
.cert-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  background: rgba(251,191,36,.13);
  border: 1px solid rgba(251,191,36,.34);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}


.cert-list.focus li::before {
  background: rgba(139,92,246,.14);
  border-color: rgba(139,92,246,.36);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3C/svg%3E");
  background-size: 12px;
}

@media (max-width: 720px) {
  .team-body { padding: 22px 22px 26px; }
  .team-body h3 { font-size: 1.28rem; }
}


/* ---------- Partner referral banner ---------- */
.ref-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  margin-bottom: 20px;
  border-radius: var(--r-pill);
  background: rgba(52, 211, 153, .09);
  border: 1px solid rgba(52, 211, 153, .32);
  color: var(--text-2);
  font-size: .86rem;
  font-weight: 550;
}
.ref-banner svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.ref-banner b { color: #fff; font-weight: 680; font-family: var(--mono); font-size: .84rem; letter-spacing: .02em; }
.ref-banner[hidden] { display: none; }


/* ---------- Shareable link example ---------- */
.link-example {
  margin: 24px auto 0;
  max-width: 620px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(59,123,255,.4);
  background: rgba(59,123,255,.06);
}
.link-example .le-label {
  display: block;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 650;
  margin-bottom: 11px;
}
.link-example code {
  font-family: var(--mono);
  font-size: .92rem;
  color: var(--blue-bright);
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.link-example code b { color: var(--purple-bright); font-weight: 700; }
@media (max-width: 560px) { .link-example code { font-size: .8rem; } }


/* ---------- Form error ---------- */
.form-error {
  grid-column: 1 / -1;
  padding: 15px 18px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,123,138,.35);
  background: rgba(255,123,138,.08);
  color: #ffb3bc;
  font-size: .88rem;
  line-height: 1.6;
}


/* ---------- Founder Accelerator band ---------- */
.founder-band {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(251,191,36,.28);
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(251,191,36,.10), transparent 65%),
    linear-gradient(150deg, rgba(139,92,246,.10), rgba(59,123,255,.06) 55%, rgba(255,255,255,.012));
  position: relative;
  overflow: hidden;
}
.founder-band .eyebrow { color: #fcd34d; border-color: rgba(251,191,36,.34); background: rgba(251,191,36,.08); }
.founder-band .eyebrow::before { background: #fcd34d; box-shadow: 0 0 10px #fcd34d; }
.fb-side {
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: rgba(6,7,12,.55);
  backdrop-filter: blur(8px);
}
@media (max-width: 860px) { .founder-band { grid-template-columns: 1fr; } }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .nav-links a { padding: 9px 9px; font-size: .84rem; }
  .foot-top { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: 34px; }
}

@media (max-width: 1180px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu { display: block; }
  .hero-layout { grid-template-columns: 1fr; }
  .product-layout, .cart-layout, .store-hero-grid { grid-template-columns: 1fr; }
  .buy-box, .summary { position: static; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card.featured { transform: none; order: -1; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .cert-panel { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .mod { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .mod-num { display: flex; align-items: baseline; gap: 10px; }
  .mod-num b { margin-top: 0; font-size: 1.5rem; }
  .sticky-cta { display: block; }
  body { padding-bottom: 74px; }
  .card { padding: 24px; }
  .btn-row .btn { width: 100%; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .price-card { padding: 28px 24px; }
  .price-amt .val { font-size: 2.7rem; }
  .hero { padding-top: 40px; }
  .cta-band { padding: 34px 22px; }
  .trust-strip { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 360px) {
  .brand-text span { display: none; }
  .acc-q { font-size: .94rem; padding: 16px 18px; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .sticky-cta, .mobile-menu, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Live contact values ---------- */
.live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(59,123,255,.3);
  background: rgba(59,123,255,.07);
  color: var(--blue-bright);
  font-size: .85rem;
  font-weight: 550;
  transition: border-color .2s, background .2s, color .2s;
  overflow-wrap: anywhere;
}
.live-chip:hover { border-color: rgba(59,123,255,.55); background: rgba(59,123,255,.13); color: #fff; }
.foot-contact .ph-val { color: var(--text-2); font-size: .845rem; transition: color .2s; overflow-wrap: anywhere; }
.foot-contact .ph-val:hover { color: var(--blue-bright); }

/* ---------- Contact chooser ---------- */
.cc-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(4, 5, 9, .72);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.cc-overlay.open { opacity: 1; visibility: visible; }
.cc-panel {
  width: 100%; max-width: 470px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(170deg, #12151f, #0a0c14);
  box-shadow: var(--sh-lg);
  padding: 28px;
  transform: translateY(14px) scale(.98);
  transition: transform .26s cubic-bezier(.2,.8,.3,1);
}
.cc-overlay.open .cc-panel { transform: none; }
.cc-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.cc-head h3 { font-size: 1.24rem; margin-bottom: 5px; letter-spacing: -.03em; }
.cc-head p { font-size: .89rem; margin: 0; }
.cc-close {
  margin-left: auto; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(255,255,255,.05);
  color: var(--text-2); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.cc-close:hover { background: rgba(255,255,255,.11); color: #fff; }
.cc-close svg { width: 16px; height: 16px; }
.cc-list { display: grid; gap: 11px; }
.cc-opt {
  display: flex; align-items: center; gap: 15px;
  padding: 15px 17px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  transition: border-color .2s, background .2s, transform .2s;
}
.cc-opt:hover { border-color: var(--border-strong); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.cc-opt .cc-ic {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(139,92,246,.22); color: var(--purple-bright);
}
.cc-opt .cc-ic svg { width: 19px; height: 19px; }
.cc-opt.wa .cc-ic { background: rgba(37,211,102,.13); border-color: rgba(37,211,102,.3); color: #25D366; }
.cc-opt.wa:hover { border-color: rgba(37,211,102,.45); }
.cc-opt b { display: block; font-size: .96rem; font-weight: 620; color: #fff; }
.cc-opt small { display: block; font-size: .82rem; color: var(--text-3); margin-top: 2px; }
.cc-opt .cc-go { margin-left: auto; color: var(--text-3); flex-shrink: 0; }
.cc-opt .cc-go svg { width: 17px; height: 17px; }
.cc-opt:hover .cc-go { color: var(--blue-bright); }
.cc-note { margin-top: 20px; font-size: .8rem; color: var(--text-3); text-align: center; line-height: 1.6; }
body.cc-lock { overflow: hidden; }
@media (max-width: 480px) { .cc-panel { padding: 22px 20px; } .cc-opt { padding: 13px 14px; gap: 12px; } }

/* ---------- Footer contact: keep addresses readable ---------- */
.foot-contact { font-size: .8rem; }
.foot-contact a, .foot-contact span { word-break: normal; overflow-wrap: break-word; hyphens: none; }
.foot-contact .ph-val { font-size: .8rem; line-height: 1.55; display: inline-block; }

/* ---------- Brand mark ---------- */
.footer .brand-mark { width: 38px; height: 38px; }
.cert-visual .cv-seal img { width: 34px; height: 34px; object-fit: contain; }

/* ---------- Limited monthly enrollment ---------- */
.seat-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #ffd7a1; background: rgba(255, 168, 76, .11);
  border: 1px solid rgba(255, 168, 76, .32);
  margin-bottom: 12px;
}
.seat-chip svg { width: 13px; height: 13px; flex: none; }
.seat-note {
  display: flex; gap: 11px; align-items: flex-start;
  margin-top: 14px; padding: 13px 15px; border-radius: 12px;
  background: rgba(255, 168, 76, .06);
  border: 1px solid rgba(255, 168, 76, .2);
  font-size: .84rem; line-height: 1.6; color: var(--text-2);
}
.seat-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #ffb765; }

/* seat badge sits on the card edge like the popular badge, so cards stay aligned */
.seat-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
  padding: 6px 15px; border-radius: var(--r-pill);
  font-size: .625rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase;
  color: #ffd7a1;
  background: #241a10;
  border: 1px solid rgba(255, 168, 76, .42);
}
.seat-badge svg { width: 12px; height: 12px; flex: none; }
.price-card .seat-note { margin-top: 14px; margin-bottom: 0; }
@media (max-width: 560px) { .seat-badge { font-size: .58rem; padding: 5px 11px; } }

.pricing { align-items: stretch; }
.price-card .seat-note a { color: #ffd7a1; text-decoration: underline; text-underline-offset: 2px; }

/* keep the button block together at the card foot */
.pricing .price-card .flist { margin-bottom: auto; padding-bottom: 26px; }
.pricing .price-card .btn { margin-top: 0; }
.pricing .price-card .btn + .btn { margin-top: 10px; }

/* ---------- Footer: link to the agency ---------- */
.foot-agency { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 5px; }
.foot-agency > span { font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.foot-agency a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .95rem; font-weight: 650; color: #fff; width: fit-content;
  transition: color .2s;
}
.foot-agency a:hover { color: var(--blue-bright); }
.foot-agency a svg { width: 13px; height: 13px; flex: none; opacity: .75; }
.foot-agency small { font-size: .78rem; color: var(--text-3); line-height: 1.5; }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  margin-left: 14px; padding: 3px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
}
.lang-switch a, .lang-switch span {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  color: var(--text-3); transition: color .2s, background .2s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch .on { background: var(--grad); color: #fff; }
@media (max-width: 1180px) { .lang-switch { display: none; } }

/* header fits at every width: the row must never exceed the content column */
.nav .wrap { gap: 0; }
.nav-links a { padding: 9px 8px; }
.lang-switch { margin-left: 10px; }
@media (max-width: 1320px) {
  .nav-links a { padding: 9px 6px; font-size: .795rem; }
  .lang-switch { margin-left: 6px; padding: 2px; }
  .lang-switch a, .lang-switch span { padding: 4px 8px; }
  .nav-cta { padding-left: 14px; padding-right: 14px; font-size: .795rem; }
}

/* a confirmed value, not an unfilled placeholder */
.val-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04);
  color: var(--text); font-size: .86rem; font-weight: 600;
}
/* tag grids size to their own text instead of stretching to the tallest card */
.g-auto-sm, .g-auto { align-items: start; }

/* touch targets: every footer link gets at least a 24px tall hit area (WCAG 2.5.8) */
.foot-col a, .foot-contact a, .foot-legal a, .fl-links a {
  display: inline-block;
  padding-top: 4px; padding-bottom: 4px;
}
.foot-col ul { gap: 3px; }
.crumbs a { display: inline-block; padding-top: 3px; padding-bottom: 3px; }
.toc a { display: inline-block; padding-top: 4px; padding-bottom: 4px; }
.toc ol { gap: 3px; }
.flist li > a:only-child { display: inline-block; padding-top: 3px; padding-bottom: 3px; }
.foot-contact { gap: 3px; }

/* ---------- Application form: consent block and helpers ---------- */
.form-sec-head {
  font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px;
}
.consent-block {
  margin: 26px 0 20px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.028);
}
.consent-main span { font-size: .95rem; line-height: 1.65; color: var(--text); }
.consent-links { margin-top: 12px; padding-left: 30px; font-size: .86rem; }
.consent-links a { color: var(--blue-bright); }
.consent-links span { margin: 0 8px; color: var(--text-3); }
.field .opt { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.form-foot { margin-top: 14px; font-size: .84rem; color: var(--text-3); text-align: center; }
.form-error {
  margin: 0 0 16px; padding: 13px 16px; border-radius: var(--r-sm);
  border: 1px solid rgba(248,113,113,.4); background: rgba(248,113,113,.08);
  color: #fca5a5; font-size: .88rem; line-height: 1.6;
}
.form-error[hidden] { display: none; }

/* Legal pages — reviewer note */
.legal .note, p.note, span.note {
  font-size: 13px;
  color: var(--text-3);
  font-style: italic;
}
