/* Shaar — award-grade dark luxury system · zero dependencies */

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/vazirmatn-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/vazirmatn-bold.woff2") format("woff2");
}

:root {
  --bg: #09090b;
  --bg-elevated: #111113;
  --bg-alt: #0c0c0f;
  --bg-subtle: #141418;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --glass: rgba(9, 9, 11, 0.72);
  --glass-strong: rgba(9, 9, 11, 0.88);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --text-muted: rgba(250, 250, 250, 0.62);
  --text-subtle: rgba(250, 250, 250, 0.38);
  --brand: #4ade80;
  --brand-deep: #166534;
  --brand-hover: #22c55e;
  --brand-subtle: rgba(74, 222, 128, 0.1);
  --brand-muted: rgba(74, 222, 128, 0.22);
  --brand-glow: rgba(74, 222, 128, 0.15);
  --gold: #c9a84c;
  --gold-muted: rgba(201, 168, 76, 0.2);
  --success: #4ade80;
  --success-bg: rgba(74, 222, 128, 0.08);
  --success-border: rgba(74, 222, 128, 0.25);
  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, 0.1);
  --warning-border: rgba(251, 191, 36, 0.25);
  --danger: #f87171;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px var(--brand-glow);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.2s var(--ease-out);
  --header-h: 68px;
  --max-w: 1120px;
  --display: clamp(2.25rem, 5.5vw, 3.75rem);
  --section-pad: clamp(5rem, 10vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--brand-muted);
  color: #fff;
}

body {
  font-family: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 0.9375rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

main { position: relative; z-index: 1; }

.skip-link {
  position: absolute;
  top: -100%;
  right: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--brand-deep);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--gold));
  box-shadow: 0 0 12px var(--brand-glow);
  transition: width 0.08s linear;
}

/* Live HUD — signature product moment */
.live-hud {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 80;
  width: 11rem;
  padding: 0.85rem;
  background: var(--glass-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}

.live-hud--visible {
  opacity: 1;
  transform: translateY(0);
}

.live-hud__header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.live-hud__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  animation: pulse-dot 2s ease-in-out infinite;
}

.live-hud__title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.live-hud__tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.live-hud__table {
  padding: 0.45rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.625rem;
  color: var(--text-subtle);
}

.live-hud__table span {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.live-hud__table strong {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  text-align: right;
  color: var(--brand);
  font-size: 0.6875rem;
}

.live-hud__table--active {
  border-color: var(--brand-muted);
  background: var(--brand-subtle);
}

.live-hud__table--reserved {
  border-color: var(--warning-border);
  background: var(--warning-bg);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Header */
.header {
  position: fixed;
  top: 2px;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.header .logo,
.header .logo__mark { color: #fff; }

.header .logo__text::after { background: rgba(255, 255, 255, 0.3); }

.header .nav__link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
}

.header .nav__link:hover,
.header .nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header .nav__link--active {
  color: var(--brand);
  background: var(--brand-subtle);
}

.header .nav__link--cta {
  background: #fff;
  color: var(--bg);
  font-weight: 700;
}

.header .nav__link--cta:hover,
.header .nav__link--cta:focus-visible {
  background: rgba(255, 255, 255, 0.92);
}

.header .nav-toggle span { background: #fff; }

.header--scrolled {
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}

.header--scrolled .logo,
.header--scrolled .logo__mark { color: #fff; }

.header--scrolled .nav__link { color: rgba(255, 255, 255, 0.72); }

.header--scrolled .nav__link:hover,
.header--scrolled .nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header--scrolled .nav__link--cta {
  background: var(--brand);
  color: var(--bg);
}

.header--scrolled .nav__link--cta:hover { background: var(--brand-hover); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo__mark { color: var(--brand); }

.logo__text { position: relative; }

.logo__text::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--brand-muted);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { display: flex; align-items: center; gap: 0.15rem; }

.nav__link {
  padding: 0.45rem 0.8rem;
  font-weight: 500;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--brand);
  color: var(--bg);
  box-shadow: 0 4px 20px var(--brand-glow);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--brand-hover);
  box-shadow: 0 8px 28px var(--brand-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--block { width: 100%; }

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero__image {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 35%;
  transform: translateY(var(--hero-parallax, 0px));
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.55) 0%, rgba(9, 9, 11, 0.15) 42%, rgba(9, 9, 11, 0.75) 100%),
    linear-gradient(to left, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.35) 50%, rgba(9, 9, 11, 0.1) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
  padding-block: calc(var(--header-h) + 3rem) 6rem;
  min-height: 100svh;
}

.hero__content { max-width: 42rem; }

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  animation: hero-scroll-bounce 2.4s ease-in-out infinite;
  transition: color var(--transition), border-color var(--transition);
}

.hero__scroll:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}

.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.hero__title {
  font-size: var(--display);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -0.035em;
  color: #fff;
}

.hero .text-accent { color: var(--brand); }

.hero .text-accent::after {
  background: rgba(74, 222, 128, 0.18);
  height: 0.3em;
}

.text-accent {
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}

.text-accent::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0.08em;
  height: 0.32em;
  background: var(--brand-subtle);
  z-index: -1;
  border-radius: 3px;
}

.hero__tagline {
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.hero__desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.hero .btn--primary { box-shadow: 0 8px 32px rgba(74, 222, 128, 0.25); }

.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__stats {
  display: flex;
  gap: 2.75rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stats li { display: flex; flex-direction: column; gap: 0.2rem; }

.hero__stats strong {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero__stats span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }

/* Chapters */
.chapter {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.chapter::before {
  content: attr(data-chapter);
  position: absolute;
  top: var(--section-pad);
  left: max(1rem, calc(50% - var(--max-w) / 2 - 5rem));
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  letter-spacing: -0.05em;
}

.chapter--spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--brand-glow), transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

/* Trust */
.trust {
  position: relative;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.75rem;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}

.trust__item:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.trust__item svg {
  flex-shrink: 0;
  color: var(--brand);
}

/* Sections */
.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section--alt { background: var(--bg-alt); }

.section--contact { padding-bottom: 7rem; }

.section__header {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* Proof */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.proof-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), border-color var(--transition), box-shadow var(--transition);
}

.proof-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-muted);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.proof-card::before {
  content: "«";
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-subtle);
  font-weight: 700;
  pointer-events: none;
}

.proof-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.proof-card__club { font-size: 1rem; font-weight: 700; }

.proof-card__meta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-subtle);
  border: 1px solid var(--brand-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
}

.proof-card__quote {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-right: 2px solid var(--brand-muted);
  padding-right: 1rem;
  flex: 1;
}

.proof-card__author { font-size: 0.8125rem; color: var(--text-subtle); }

.proof-card__metrics { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.metric-chip {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-subtle);
  border: 1px solid var(--brand-muted);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

/* ROI */
.roi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

.roi-stat {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.roi-stat:hover { border-color: var(--brand-muted); }

.roi-stat__value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.roi-stat__value--text { font-size: 1.375rem; }

.roi-stat__label { font-size: 0.75rem; color: var(--text-muted); }

.roi-footnote {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.roi-chart-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Features */
.features-grid,
.features-grid--8 {
  display: grid;
  gap: 1rem;
}

.features-grid { grid-template-columns: repeat(3, 1fr); }
.features-grid--8 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-out), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-muted);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-subtle);
  border: 1px solid var(--brand-muted);
  border-radius: var(--radius);
  color: var(--brand);
  margin-bottom: 1rem;
  transition: transform 0.35s var(--ease-out);
}

.feature-card:hover .feature-card__icon { transform: scale(1.06); }

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.feature-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* On-prem */
.onprem-pillars {
  padding-block: var(--section-pad);
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.onprem-pillars__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.onprem-pillars__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.onprem-pillars__list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.onprem-pillars__list li {
  padding-right: 1.25rem;
  border-right: 2px solid var(--brand-muted);
}

.onprem-pillars__list strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.onprem-pillars__list span { font-size: 0.875rem; color: var(--text-muted); }

/* Compare */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--bg-subtle);
  font-weight: 700;
  font-size: 0.8125rem;
}

.compare-table tbody th {
  text-align: right;
  font-weight: 600;
  background: var(--bg-alt);
}

.compare-table__highlight {
  background: var(--brand-subtle);
}

.compare-yes { color: var(--brand); font-weight: 700; }
.compare-no { color: var(--text-subtle); font-weight: 700; }

/* CTA bands */
.cta-band {
  padding-block: 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  border-block: 1px solid var(--border);
  text-align: center;
}

.cta-band__title {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-band__desc { color: var(--text-muted); margin-bottom: 1.75rem; }

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-section {
  padding-block: 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, var(--brand-glow), transparent),
    var(--bg-alt);
  border-block: 1px solid var(--border);
  text-align: center;
}

.cta-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.cta-section__desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* Steps */
.steps {
  max-width: 42rem;
  margin-inline: auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding-block: 2rem;
  position: relative;
}

.step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-subtle);
  border: 1px solid var(--brand-muted);
  border-radius: 50%;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.875rem;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 4.5rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--brand-muted), transparent);
}

.step__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.35rem; }
.step__text { color: var(--text-muted); font-size: 0.9375rem; }

/* License */
.license-card {
  max-width: 34rem;
  margin-inline: auto;
  padding: 2.25rem;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.license-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--gold));
}

.license-card__badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--brand-subtle);
  color: var(--brand);
  border: 1px solid var(--brand-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.license-card__name { font-size: 1.0625rem; font-weight: 700; margin-bottom: 1rem; }

.license-card__amount {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--brand);
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
  letter-spacing: -0.03em;
}

.license-card__currency { font-size: 1rem; color: var(--text-muted); margin-right: 0.35rem; }
.license-card__period { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.license-card__list { text-align: right; margin-bottom: 1.5rem; }

.license-card__list li {
  padding: 0.55rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.license-card__list li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

.license-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.license-card__fineprint { font-size: 0.75rem; color: var(--text-subtle); line-height: 1.65; }

/* FAQ */
.faq {
  max-width: 42rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item[open] { border-color: var(--brand-muted); }

.faq__question {
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--transition);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--text-subtle);
  transition: transform var(--transition), color var(--transition);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
  color: var(--brand);
}

.faq__question:hover { background: var(--surface-hover); }

.faq__answer {
  padding: 0 1.35rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.contact-info .section__header,
.contact-info .section__title,
.contact-info .section__desc {
  text-align: right;
  margin-inline: 0;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--brand);
  transition: color var(--transition);
}

.contact-details a:hover { color: var(--brand-hover); }

.contact-form {
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.15rem; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-status { margin-top: 1rem; font-size: 0.875rem; text-align: center; min-height: 1.4em; }
.form-status--success { color: var(--brand); }
.form-status--error { color: var(--danger); }

.form-group--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  background: var(--bg-elevated);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__tagline { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.5rem; }

.footer__nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.footer__nav a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--text); }

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-subtle);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* Reveal */
.hero .reveal { opacity: 1; transform: none; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

/* Sticky CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  gap: 0.65rem;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
}

.sticky-cta--visible { transform: translateY(0); }

.sticky-cta__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  background: var(--surface);
}

.sticky-cta__btn { flex: 1; padding: 0.75rem 1rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow::before,
  .live-hud__dot,
  .hero__scroll { animation: none; }
  .hero__image { transform: none; transition: none; }
  .feature-card:hover,
  .proof-card:hover { transform: none; }
}

@media (max-width: 1100px) {
  .features-grid--8 { grid-template-columns: repeat(2, 1fr); }
  .live-hud { display: none; }
}

@media (max-width: 960px) {
  .chapter::before { display: none; }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.65) 0%, rgba(9, 9, 11, 0.45) 55%, rgba(9, 9, 11, 0.78) 100%);
  }

  .hero__inner {
    align-items: center;
    text-align: center;
    min-height: auto;
    padding-block: calc(var(--header-h) + 2rem) 6rem;
  }

  .hero__content { max-width: none; }
  .hero__desc,
  .hero__tagline { margin-inline: auto; }
  .hero__actions,
  .hero__stats { justify-content: center; }

  .features-grid,
  .features-grid--8,
  .proof-grid { grid-template-columns: 1fr; max-width: 28rem; margin-inline: auto; }
  .features-grid--8 { max-width: 36rem; }

  .roi-layout,
  .onprem-pillars__inner { grid-template-columns: 1fr; }
  .roi-chart-wrap { order: -1; }

  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info .section__title,
  .contact-info .section__desc { text-align: center; }
  .contact-details { align-items: center; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 2px);
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav--open { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav__link { width: 100%; text-align: center; padding: 0.85rem; }
  .nav__link--cta { margin-right: 0; }

  .trust__inner { grid-template-columns: 1fr; }
  .trust__item { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }

  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
}
