/* ============================================================
   AI ADVOKAT V3 — Premium Redesign
   Inter (display + body) + IBM Plex Mono (technical accents)
   Liquid Glass · Aurora Mesh · Gradient text · Magnetic CTA
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  /* palette — dark surfaces */
  --bg-deep:          #050814;
  --bg-base:          #0A0F1F;
  --bg-elevated:      #0F1629;
  --navy-base:        #0A0F1F; /* alias for backward compat */
  --navy-deep:        #050814;

  /* palette — accents */
  --royal-blue:       #1e5ae8;
  --royal-blue-deep:  #0a2570;
  --cyan-glow:        #00d4ff;
  --accent-blue:      #3B82F6;
  --accent-cyan:      #06B6D4;
  --accent-violet:    #6366F1;

  /* palette — light surfaces */
  --off-white:        #FAFAF9;
  --soft-light-blue:  #f0f5ff;
  --premium-gold:     #C9A961;

  /* borders/grid for dark */
  --grid-line:        rgba(148, 163, 184, 0.045);

  /* text */
  --text-on-light:    #0a1226;
  --text-on-dark:     #FAFAF9;
  --text-muted-light: rgba(10, 18, 38, 0.6);
  --text-muted-dark:  rgba(250, 250, 249, 0.7);

  /* borders */
  --border-soft:      rgba(10, 18, 38, 0.08);
  --border-dark:      rgba(255, 255, 255, 0.10);
  --border-glass:     rgba(255, 255, 255, 0.18);

  /* glass */
  --glass-bg:         rgba(255, 255, 255, 0.72);
  --glass-bg-dark:    rgba(255, 255, 255, 0.06);

  /* gold */
  --gold-soft:        rgba(201, 169, 97, 0.40);

  /* gradients */
  --grad-brand:       linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan-glow) 100%);

  /* shadows */
  --shadow-soft:      0 8px 24px rgba(10, 18, 38, 0.06);
  --shadow-lift:      0 16px 48px rgba(10, 18, 38, 0.12);
  --shadow-glow-blue: 0 12px 40px rgba(30, 90, 232, 0.32), 0 0 0 1px rgba(30, 90, 232, 0.25);
  --shadow-glow-cyan: 0 0 32px rgba(0, 212, 255, 0.28);
  --shadow-gold:      0 0 0 1px rgba(201, 169, 97, 0.42), 0 0 30px rgba(201, 169, 97, 0.15);

  /* radii */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 999px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* layout */
  --container: 1280px;
  --container-narrow: 880px;
  --header-h: 70px;

  /* font stacks */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-on-light);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- TYPOGRAPHY ---------- */
.h1,
.h2,
h3 {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
  max-width: 100%;
}
.h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 6.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 20px;
}
.eyebrow--dark { color: var(--text-muted-dark); }

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted-light);
  max-width: 640px;
  text-wrap: pretty;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.section--light {
  background: var(--off-white);
  color: var(--text-on-light);
}
/* Paper-grain texture — SVG noise via data URI (zero HTTP requests) */
.section--light::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' /></svg>");
  background-size: 200px 200px;
}

/* Hairline divider only where two light sections meet — "page-break" feel */
.section--light + .section--light {
  border-top: 1px solid rgba(10, 18, 38, 0.08);
}

/* Soft blue radial glows bleeding in from both sides (ambient light) */
.section--light::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 480px 540px at -5% 50%, rgba(30, 90, 232, 0.09), transparent 65%),
    radial-gradient(ellipse 480px 540px at 105% 50%, rgba(30, 90, 232, 0.09), transparent 65%);
}
.section--tint {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--soft-light-blue) 100%);
}
.section--dark {
  background: var(--bg-base);
  color: var(--text-on-dark);
}
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at center, #000 35%, transparent 80%);
}
.section--dark .eyebrow { color: var(--text-muted-dark); }
.section--dark .lede { color: var(--text-muted-dark); }

.section__head {
  max-width: 880px;
  margin-bottom: 64px;
}

/* ---------- LIQUID GLASS ---------- */
.glass-dark {
  background: linear-gradient(180deg, rgba(15, 22, 41, 0.55), rgba(15, 22, 41, 0.35));
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 40px rgba(0, 0, 0, 0.40);
}

/* ---------- AURORA GRADIENT MESH ---------- */
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  will-change: transform;
}
.aurora__blob--1 {
  width: 620px; height: 620px;
  top: -12%; left: -10%;
  background: var(--accent-blue);
  opacity: 0.18;
  animation: breathe-1 28s ease-in-out infinite alternate;
}
.aurora__blob--2 {
  width: 680px; height: 680px;
  bottom: -18%; right: -10%;
  background: var(--accent-violet);
  opacity: 0.14;
  filter: blur(130px);
  animation: breathe-2 32s ease-in-out infinite alternate;
}
.aurora__blob--3 {
  width: 780px; height: 780px;
  top: 25%; left: 22%;
  background: var(--accent-blue);
  opacity: 0.10;
  filter: blur(150px);
  animation: drift-3 60s ease-in-out infinite alternate;
}
.aurora__blob--4 {
  width: 420px; height: 420px;
  top: 5%; right: 15%;
  background: var(--accent-violet);
  opacity: 0.22;
  filter: blur(120px);
  animation: drift-1 48s ease-in-out infinite alternate-reverse;
}
.aurora__blob--5 {
  width: 360px; height: 360px;
  bottom: 8%; left: 12%;
  background: var(--accent-cyan);
  opacity: 0.16;
  filter: blur(100px);
  animation: drift-2 42s ease-in-out infinite alternate-reverse;
}

/* breathing — slow scale + opacity pulse on largest blobs */
@keyframes breathe-1 {
  0%   { transform: translate(0, 0) scale(1);     opacity: 0.14; }
  50%  { transform: translate(4%, 3%) scale(1.08); opacity: 0.22; }
  100% { transform: translate(7%, 5%) scale(1);     opacity: 0.16; }
}
@keyframes breathe-2 {
  0%   { transform: translate(0, 0) scale(1);     opacity: 0.12; }
  50%  { transform: translate(-3%, -2%) scale(1.10); opacity: 0.18; }
  100% { transform: translate(-6%, -4%) scale(1);   opacity: 0.14; }
}

@keyframes drift-1 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(6%, 4%); }
}
@keyframes drift-2 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-5%, -3%); }
}
@keyframes drift-3 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-4%, 5%); }
}

.section > .container,
.section > .container-narrow { position: relative; z-index: 1; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  will-change: transform;
}
.btn .arrow { width: 14px; height: 14px; }

/* .btn--primary and .btn--ghost defined in LIQUID GLASS BUTTONS block at end of file */

.btn--xl {
  padding: 18px 32px;
  font-size: 17px;
  border-radius: var(--r-pill);
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 24px rgba(10, 18, 38, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.header__nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 16px;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted-light);
  transition: color 0.2s var(--ease-out);
}
.header__nav a:hover { color: var(--text-on-light); }

/* ---------- BRAND ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
}
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(30, 90, 232, 0.30);
}
.brand__word { font-family: 'Inter', sans-serif; }

main { padding-top: var(--header-h); }

/* scroll-margin so anchor jumps don't hide section heads under sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
html { scroll-padding-top: calc(var(--header-h) + 12px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 120px 0 144px; }
.hero__inner {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .h1 {
  font-size: clamp(34px, 6vw, 64px);
  max-width: 100%;
}
.hero__sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-muted-dark);
  margin: 28px 0 40px;
  max-width: 620px;
  text-wrap: pretty;
}
.hero__sub b { color: var(--off-white); font-weight: 600; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-on-dark);
  margin-bottom: 32px;
  border: 1px solid var(--gold-soft);
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__hint {
  font-size: 14px;
  color: var(--text-muted-dark);
}
.hero__hint b { color: var(--off-white); font-weight: 600; }

/* ============================================================
   DEMO (middle video section)
   ============================================================ */
.demo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.demo__title { max-width: 18ch; }
.demo__sub {
  max-width: 580px;
  margin: 16px auto 48px;
  color: var(--text-muted-dark);
}
.demo__video {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.demo__video-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(30, 90, 232, 0.30) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(0, 212, 255, 0.20) 0%, transparent 55%);
}
.demo__video-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
}
.play-btn {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
  margin-bottom: 8px;
}
.play-btn svg { width: 30px; height: 30px; fill: var(--off-white); margin-left: 4px; }
.play-btn:hover {
  transform: scale(1.06);
  border-color: var(--cyan-glow);
  background: rgba(0, 212, 255, 0.08);
}
.demo__video-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--off-white);
}
.demo__video-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 90, 232, 0.25);
  box-shadow: 0 16px 40px rgba(30, 90, 232, 0.10);
}
.benefit-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted-light);
}
.benefit-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(30, 90, 232, 0.08);
  color: var(--royal-blue);
  display: grid;
  place-items: center;
}
.benefit-card__icon svg { width: 24px; height: 24px; }
.benefit-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
  text-wrap: balance;
}
.benefit-card__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-top: auto;
}

/* ============================================================
   REPORT
   ============================================================ */
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.report-shot {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.report-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.report-shot:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lift);
}

/* ============================================================
   CASES
   ============================================================ */
#cases .section__head { margin-bottom: 56px; }

.case-hero {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
  border-radius: var(--r-xl);
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.4s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.case-hero__avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--premium-gold);
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
  justify-self: center;
}
.case-hero__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.case-hero__body { display: flex; flex-direction: column; gap: 18px; }
.case-hero__quote {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--off-white);
  text-wrap: pretty;
}
.case-hero__detail {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted-dark);
  opacity: 0.85;
}
.case-hero__attr {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.case-hero__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--off-white);
}
.case-hero__role {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted-dark);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  padding: 32px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.30);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.30), 0 0 24px rgba(0, 212, 255, 0.10);
}
.case-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.case-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.30), rgba(201, 169, 97, 0.08));
  border: 1px solid var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--premium-gold);
}
.case-card__attr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted-dark);
  font-weight: 500;
}
.case-card__quote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--off-white);
  text-wrap: pretty;
}

/* ============================================================
   METRICS
   ============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.metric-card--manual { opacity: 0.85; }
.metric-card--ai {
  background: linear-gradient(180deg, #fff 0%, var(--soft-light-blue) 100%);
  border-color: rgba(30, 90, 232, 0.20);
}
.metric-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-light);
}
.metric-card__num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(72px, 9vw, 96px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-on-light);
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-variant-numeric: tabular-nums;
  margin: 8px 0;
}
.metric-card--ai .metric-card__num {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.metric-card__unit {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted-light);
  -webkit-text-fill-color: var(--text-muted-light);
  letter-spacing: 0.02em;
}
.metric-card__sub {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-on-light);
}
.metric-card__detail {
  font-size: 14px;
  color: var(--text-muted-light);
  margin-top: 4px;
}

.metrics-anchor {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   SECURITY
   ============================================================ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sec-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.sec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 90, 232, 0.25);
  box-shadow: 0 12px 32px rgba(30, 90, 232, 0.08);
}
.sec-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: rgba(30, 90, 232, 0.08);
  color: var(--royal-blue);
  display: grid;
  place-items: center;
}
.sec-card__icon svg { width: 28px; height: 28px; }
.sec-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text-on-light);
}
.sec-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted-light);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(30, 90, 232, 0.20);
}
.plan--featured {
  border: 1.5px solid var(--premium-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-8px);
  background: linear-gradient(180deg, #fff 0%, #FFFCF6 100%);
}
.plan--featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 0 1px var(--premium-gold), 0 0 40px rgba(201, 169, 97, 0.22);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--premium-gold);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan__name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted-light);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.plan__from {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted-light);
  letter-spacing: 0.04em;
}
.plan__num {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-on-light);
  font-variant-numeric: tabular-nums;
}
.plan__unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted-light);
  letter-spacing: 0.02em;
}
.plan__notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.plan__notes li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted-light);
}
.plan__notes li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--royal-blue);
}
.plan .btn { width: 100%; }

/* CTA-toggle <details> in pricing */
.plan__cta-group { width: 100%; }
.btn--cta-toggle {
  width: 100%;
  list-style: none;
  cursor: pointer;
}
.btn--cta-toggle::-webkit-details-marker,
.btn--cta-toggle::marker { display: none; }
.btn--cta-toggle .chev {
  width: 14px; height: 14px;
  transition: transform 0.3s var(--ease-out);
}
.plan__cta-group[open] .btn--cta-toggle .chev {
  transform: rotate(180deg);
}

.plan__tiers {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding: 8px;
  border-radius: var(--r-md);
  background: rgba(30, 90, 232, 0.04);
  border: 1px solid rgba(30, 90, 232, 0.12);
  animation: tiers-fade 0.25s var(--ease-out);
}
.plan__tiers--featured {
  background: rgba(201, 169, 97, 0.08);
  border-color: rgba(201, 169, 97, 0.25);
}
@keyframes tiers-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text-on-light);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.tier-row:hover {
  background: rgba(30, 90, 232, 0.10);
  transform: translateX(2px);
}
.plan__tiers--featured .tier-row:hover { background: rgba(201, 169, 97, 0.14); }
.tier-row__pages {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-muted-light);
}
.tier-row__price {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-on-light);
  font-variant-numeric: tabular-nums;
}
.tier-row__price em {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted-light);
  margin-left: 3px;
  letter-spacing: 0.02em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.faq-item:hover {
  border-color: rgba(30, 90, 232, 0.20);
  box-shadow: var(--shadow-soft);
}
.faq-item[open] {
  border-color: rgba(30, 90, 232, 0.25);
}
.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-on-light);
  cursor: pointer;
  list-style: none;
  text-wrap: balance;
}
.faq-item__btn::-webkit-details-marker { display: none; }
.faq-item__icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--royal-blue);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out);
}
.faq-item__icon::before {
  width: 16px; height: 1.5px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
.faq-item__icon::after {
  width: 1.5px; height: 16px;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.faq-item[open] .faq-item__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-item__panel {
  padding: 0 28px 24px;
  animation: faq-fade 0.3s var(--ease-out);
}
.faq-item__panel p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted-light);
  text-wrap: pretty;
}
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { padding: 160px 0; text-align: center; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 760px; margin: 0 auto; }
.final__title { font-size: clamp(40px, 6vw, 72px); }
.final__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted-dark);
  max-width: 620px;
  text-wrap: pretty;
}
.final__hint {
  font-size: 14px;
  color: var(--text-muted-dark);
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-dark);
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.brand--footer { color: var(--text-on-dark); margin-bottom: 20px; }
.footer__line {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted-dark);
}
.footer__heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 18px;
}
.footer__email {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--premium-gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease-out);
}
.footer__email:hover { border-bottom-color: var(--premium-gold); }
.footer__link {
  display: block;
  font-size: 14px;
  color: var(--text-muted-dark);
  padding: 4px 0;
  transition: color 0.2s var(--ease-out);
}
.footer__link:hover { color: var(--off-white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  font-size: 13px;
  color: var(--text-muted-dark);
  flex-wrap: wrap;
}
.footer__powered {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ============================================================
   SCROLL REVEAL (initial state)
   ============================================================ */
[data-reveal] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
[data-reveal].is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 96px 0; }
  .section__head { margin-bottom: 48px; }
  .demo__sub { margin-bottom: 36px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; grid-column: 1 / -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .case-hero { grid-template-columns: 1fr; padding: 36px 32px; gap: 24px; text-align: left; }
  .case-hero__avatar { width: 120px; height: 120px; justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .header__nav { display: none; }
  .header__inner { padding: 0 20px; gap: 16px; }

  .hero { padding: 80px 0 96px; }
  .hero__inner { align-items: flex-start; }
  .hero__sub { font-size: 17px; margin: 22px 0 32px; }
  .hero__cta { gap: 16px; }
  .pill { padding: 6px 12px; font-size: 12px; }
  .play-btn { width: 64px; height: 64px; }
  .play-btn svg { width: 22px; height: 22px; }

  .benefits-grid,
  .security-grid,
  .pricing-grid,
  .metrics-grid,
  .case-grid { grid-template-columns: 1fr; gap: 16px; }

  /* report → horizontal carousel on mobile */
  .report-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 20px 24px;
    margin: 0 -20px;
    scroll-padding: 0 20px;
  }
  .report-grid::-webkit-scrollbar { display: none; }
  .report-shot {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border-radius: var(--r-md);
  }
  .report-shot:hover { transform: none; }
  .plan--featured { transform: none; max-width: none; }
  .benefit-card,
  .sec-card,
  .plan { padding: 28px 24px; }
  .metric-card { padding: 36px 28px; }
  .case-hero { padding: 28px 24px; }
  .case-card { padding: 24px; }

  .h1 { font-size: clamp(36px, 9vw, 48px); }
  .h2 { font-size: clamp(28px, 6.5vw, 40px); }

  .footer { padding: 64px 0 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* mobile-fallback: kill backdrop-filter (battery-heavy) */
  .header,
  .glass-dark,
  .sec-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .header { background: rgba(255, 255, 255, 0.95); }
  .glass-dark { background: rgba(255, 255, 255, 0.05); }
  .sec-card { background: #fff; }

  /* mobile: kill aurora drift, soften */
  .aurora__blob {
    animation: none !important;
  }
  .aurora__blob--1, .aurora__blob--2, .aurora__blob--3 {
    filter: blur(80px);
  }

  .faq-item__btn { padding: 18px 22px; font-size: 16px; }
  .faq-item__panel { padding: 0 22px 20px; }

  .final { padding: 96px 0; }
  .final__sub { font-size: 17px; }
}

/* ============================================================
   PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .aurora__blob { animation: none !important; }
  [data-reveal] > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn:hover,
  .benefit-card:hover,
  .sec-card:hover,
  .plan:hover,
  .case-card:hover,
  .case-hero:hover,
  .report-shot:hover { transform: none !important; }
}

/* hide magnetic on no-hover devices */
@media (hover: none) {
  .btn--magnetic { transform: none !important; }
  [data-tilt] { transform: none !important; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.report-shot { cursor: zoom-in; }
.report-shot img { pointer-events: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.lightbox.is-open { display: flex; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
.lightbox.is-visible .lightbox__backdrop { opacity: 1; }

.lightbox__stage {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.lightbox.is-visible .lightbox__stage {
  opacity: 1;
  transform: scale(1);
}

.lightbox__img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* slide-change animation */
.lightbox__stage.is-sliding-left  { transform: translateX(-30px) scale(1); opacity: 0; }
.lightbox__stage.is-sliding-right { transform: translateX(30px)  scale(1); opacity: 0; }

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.lightbox__close svg,
.lightbox__nav svg { width: 22px; height: 22px; }

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.30);
}
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(2px); }
.lightbox__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  z-index: 2;
  font-variant-numeric: tabular-nums;
}

/* body scroll-lock helper */
body.lightbox-open { overflow: hidden; }

@media (max-width: 768px) {
  /* Close button stays in top-right corner */
  .lightbox__close { top: 16px; right: 16px; width: 44px; height: 44px; }

  /* Arrows move to BOTTOM row, flanking the counter */
  .lightbox__nav {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
  }
  .lightbox__nav--prev {
    left: calc(50% - 78px);
    right: auto;
    transform: translateX(-50%);
  }
  .lightbox__nav--next {
    left: calc(50% + 78px);
    right: auto;
    transform: translateX(-50%);
  }
  /* Disable desktop hover-shift transforms on mobile so they don't fight the centering */
  .lightbox__nav--prev:hover { transform: translateX(-50%); }
  .lightbox__nav--next:hover { transform: translateX(-50%); }

  /* Counter centered between arrows */
  .lightbox__counter {
    bottom: max(20px, env(safe-area-inset-bottom));
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox__backdrop,
  .lightbox__stage { transition-duration: 0.01s; }
  .lightbox__stage { transform: none !important; }
}

/* ============================================================
   HERO TITLE — hybrid (white + cyan gradient + soft glow)
   ============================================================ */

.hero-title {
  position: relative;
  color: #F8FAFC;
}
.hero-title-line-1,
.hero-title-line-2 {
  display: block;
}
.hero-title-line-1 {
  color: #F8FAFC;
  /* очень тонкое внешнее свечение для глубины */
  text-shadow: 0 0 18px rgba(248, 250, 252, 0.08);
}
.hero-title-line-2 {
  background: linear-gradient(135deg, #00D4FF 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* ослаблено вдвое — мягкое cyan свечение */
  filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.18));
}
.hero-title::before {
  content: "";
  position: absolute;
  inset: -15% -8%;
  background: radial-gradient(
    ellipse at 50% 60%,
    rgba(0, 212, 255, 0.08) 0%,
    rgba(0, 212, 255, 0.04) 30%,
    transparent 70%
  );
  filter: blur(32px);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-title-line-1 {
    text-shadow: 0 0 12px rgba(248, 250, 252, 0.06);
  }
  .hero-title-line-2 {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.15));
  }
  .hero-title::before {
    inset: -8% -4%;
    filter: blur(24px);
    background: radial-gradient(
      ellipse at 50% 60%,
      rgba(0, 212, 255, 0.06) 0%,
      rgba(0, 212, 255, 0.03) 30%,
      transparent 70%
    );
  }
}

/* ============================================================
   LIQUID GLASS BUTTONS — Apple-style frosted depth on CTAs
   Adapted from LiquidButton inset-shadow technique.
   Two variants:
   - .btn--primary  (royal-blue filled, dark surface → light insets)
   - .btn--ghost    (translucent white on light bg → dark insets)
   ============================================================ */

/* Primary — royal-blue filled "liquid metal" CTA */
.btn--primary {
  background:
    radial-gradient(ellipse 90% 110% at 22% -10%, rgba(120, 170, 255, 0.40), transparent 55%),
    var(--royal-blue);
  color: #fff;
  border: none;
  box-shadow:
    /* outer neon halo (cyan-tinted) — softened ~12% */
    0 0 28px rgba(59, 130, 246, 0.27),
    0 10px 26px rgba(30, 90, 232, 0.27),
    /* bright light-source rim (top-left) */
    inset 3px 3px 0.5px -3px rgba(255, 255, 255, 1),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.75),
    /* dark shadow rim (bottom-right) */
    inset -3px -3px 0.5px -3px rgba(0, 0, 0, 0.60),
    inset -1px -1px 1px -0.5px rgba(0, 0, 0, 0.30),
    /* inner volumetric glow — softened */
    inset 0 0 10px 6px rgba(255, 255, 255, 0.085),
    inset 0 0 3px 1.5px rgba(255, 255, 255, 0.05),
    /* outer rim — softened */
    0 0 0 0.5px rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  background:
    radial-gradient(ellipse 90% 110% at 22% -10%, rgba(140, 190, 255, 0.48), transparent 55%),
    linear-gradient(135deg, var(--royal-blue) 0%, var(--accent-blue) 100%);
  box-shadow:
    0 0 42px rgba(59, 130, 246, 0.42),
    0 14px 32px rgba(30, 90, 232, 0.36),
    0 0 20px rgba(6, 182, 212, 0.24),
    inset 3px 3px 0.5px -3px rgba(255, 255, 255, 1),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.95),
    inset -3px -3px 0.5px -3px rgba(0, 0, 0, 0.55),
    inset -1px -1px 1px -0.5px rgba(0, 0, 0, 0.28),
    inset 0 0 12px 8px rgba(255, 255, 255, 0.12),
    inset 0 0 4px 2px rgba(255, 255, 255, 0.07),
    0 0 0 0.5px rgba(0, 212, 255, 0.38);
}

/* Ghost — translucent glass for secondary CTAs */
.btn--ghost {
  background:
    radial-gradient(ellipse 90% 110% at 22% -10%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5) 55%, transparent),
    rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  color: var(--text-on-light);
  border: none;
  box-shadow:
    0 4px 14px rgba(10, 18, 38, 0.05),
    0 1px 3px rgba(10, 18, 38, 0.04),
    /* bright top-left highlight */
    inset 2.5px 2.5px 0.5px -2.5px rgba(255, 255, 255, 1),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.85),
    /* dark bottom-right rim */
    inset -2.5px -2.5px 0.5px -2.5px rgba(10, 18, 38, 0.20),
    inset -1px -1px 1px -0.5px rgba(10, 18, 38, 0.10),
    /* inner halo — softened ~15% */
    inset 0 0 10px 6px rgba(255, 255, 255, 0.17),
    /* rim */
    0 0 0 1px rgba(10, 18, 38, 0.05);
}

.btn--ghost:hover {
  background:
    radial-gradient(ellipse 90% 110% at 22% -10%, rgba(220, 235, 255, 0.95), rgba(230, 240, 255, 0.6) 55%, transparent),
    rgba(240, 247, 255, 0.7);
  color: var(--royal-blue);
  box-shadow:
    0 8px 20px rgba(30, 90, 232, 0.07),
    0 2px 6px rgba(30, 90, 232, 0.05),
    inset 2.5px 2.5px 0.5px -2.5px rgba(255, 255, 255, 1),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.95),
    inset -2.5px -2.5px 0.5px -2.5px rgba(30, 90, 232, 0.22),
    inset -1px -1px 1px -0.5px rgba(30, 90, 232, 0.12),
    inset 0 0 12px 8px rgba(255, 255, 255, 0.21),
    0 0 0 1px rgba(30, 90, 232, 0.15);
}

/* Mobile — soften backdrop-filter (battery + perf) */
@media (max-width: 768px) {
  .btn--ghost {
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    backdrop-filter: blur(6px) saturate(140%);
  }
}
