/* =========================================================================
   iGaming SEO Agency — Core Design System
   Near-black SaaS base · violet→cyan gradients · gold premium accent
   ========================================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* surfaces — deep cool obsidian */
  --bg:            #060810;
  --bg-2:          #090b15;
  --surface:       #0d1019;
  --surface-2:     #121624;
  --surface-3:     #1a1f30;
  --line:          rgba(255,255,255,0.07);
  --line-2:        rgba(255,255,255,0.13);

  /* text */
  --text:          #f5f5fb;
  --text-2:        #a7a7bd;
  --text-3:        #6f6f86;

  /* brand */
  --violet:        #8b5cf6;
  --violet-deep:   #6d28d9;
  --cyan:          #22d3ee;
  --cyan-deep:     #0891b2;
  --indigo:        #6366f1;

  /* premium / luxury — champagne gold */
  --gold:          #f0d28a;
  --gold-2:        #e6b85a;
  --gold-deep:     #b8862a;

  /* semantic */
  --green:         #34d99a;
  --red:           #fb7185;

  /* gradients */
  --grad: linear-gradient(100deg, #7c5cf0 0%, #6366f1 48%, #2bbfe0 100%);
  --grad-soft: linear-gradient(120deg, rgba(124,92,240,0.16), rgba(43,191,224,0.14));
  --grad-gold: linear-gradient(100deg, #f6e0a6 0%, #e6b85a 55%, #c9962e 100%);
  --grad-lux: linear-gradient(92deg, #fbeec2 0%, #f0d28a 40%, #e0a94e 100%);
  --glow-violet: 0 0 0 1px rgba(124,92,240,0.38), 0 22px 60px -16px rgba(99,102,241,0.5);
  --glow-gold: 0 0 0 1px rgba(230,184,90,0.4), 0 22px 60px -16px rgba(201,150,46,0.45);

  /* themeable background halos */
  --halo-1: rgba(124,92,240,0.18);
  --halo-2: rgba(43,191,224,0.08);
  --halo-3: rgba(201,150,46,0.07);

  /* type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;

  /* radii */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;

  /* shadow */
  --shadow:    0 24px 60px -24px rgba(0,0,0,0.7);
  --shadow-sm: 0 8px 24px -12px rgba(0,0,0,0.6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; }
::selection { background: rgba(139,92,246,0.4); color: #fff; }

/* ---------- Background atmosphere ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 560px at 80% -10%, var(--halo-1), transparent 60%),
    radial-gradient(760px 520px at 4% 2%, var(--halo-2), transparent 55%),
    radial-gradient(900px 600px at 50% 108%, var(--halo-3), transparent 60%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 35%, transparent 78%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-2); line-height: 1.7; }
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text, .lux-text {
  background: var(--grad-lux);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(70px, 9vw, 130px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }
.eyebrow-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: clamp(38px, 5vw, 58px); }
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border-radius: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(99,102,241,0.7), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(99,102,241,0.85), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); border-color: rgba(255,255,255,0.25); }
.btn-gold {
  background: var(--grad-gold);
  color: #1a1408;
  box-shadow: 0 10px 30px -10px rgba(201,150,46,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(201,150,46,0.8); }
.btn-lg { padding: 16px 30px; font-size: 1rem; border-radius: 13px; }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 32%), linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card-glow::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card-glow:hover::before { opacity: 0.7; }

.icon-badge {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line-2);
  margin-bottom: 20px;
  color: #b9a6ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.icon-badge svg { width: 24px; height: 24px; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 7px;
  background: rgba(139,92,246,0.12);
  color: #c4b5fd;
  border: 1px solid rgba(139,92,246,0.22);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7,7,13,0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(99,102,241,0.8), inset 0 1px 0 rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.brand .mark svg { width: 20px; height: 20px; }
.brand > span:last-child { white-space: nowrap; line-height: 1.05; }
.brand small { display: block; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.22em; color: var(--text-3); font-weight: 400; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 9px;
  font-size: 0.92rem; font-weight: 600; color: var(--text-2);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover .nav-link, .nav-link.active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s; opacity: .7; }
.nav-item:hover .nav-link .chev { transform: rotate(180deg); }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(860px, 92vw);
  background: rgba(12,12,20,0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav-item:hover .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-col-title { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); padding: 8px 12px 6px; }
.mega-link { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 11px; transition: background .2s; }
.mega-link:hover { background: rgba(255,255,255,0.05); }
.mega-link .mi { width: 34px; height: 34px; border-radius: 9px; background: var(--grad-soft); display: grid; place-items: center; color: var(--cyan); flex-shrink: 0; }
.mega-link .mi svg { width: 17px; height: 17px; }
.mega-link strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.mega-link span { display: block; font-size: 0.78rem; color: var(--text-3); line-height: 1.4; }
.mega-feature {
  margin-top: 16px; padding: 18px; border-radius: var(--r);
  background: var(--grad-soft); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.mega-feature p { font-size: 0.86rem; color: var(--text-2); }
.mega-feature strong { font-family: var(--font-display); color: var(--text); display: block; font-size: 1rem; margin-bottom: 3px; }

/* Mobile nav */
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); }
.burger.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(7,7,13,0.98); backdrop-filter: blur(20px);
  padding: 26px var(--gutter) 40px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: .3s; overflow-y: auto;
}
.mobile-nav.open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav a { display: block; padding: 15px 4px; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--line); font-family: var(--font-display); }
.mobile-nav .mob-cta { margin-top: 26px; display: grid; gap: 12px; }

/* ---------- Stats ---------- */
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; }
.stat-label { color: var(--text-3); font-size: 0.86rem; margin-top: 10px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--text-3); letter-spacing: -0.02em; opacity: .8; transition: color .3s, opacity .3s; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo-chip:hover { color: var(--text); opacity: 1; }
.logo-chip svg { width: 22px; height: 22px; opacity: .7; }

/* ---------- Accordion ---------- */
.acc-item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; background: var(--surface); transition: border-color .3s; }
.acc-item.open { border-color: var(--line-2); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.acc-icon { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; transition: .3s; }
.acc-icon::before, .acc-icon::after { content: ''; position: absolute; background: var(--cyan); border-radius: 2px; }
.acc-icon::before { width: 11px; height: 2px; } .acc-icon::after { width: 2px; height: 11px; transition: transform .3s; }
.acc-item.open .acc-icon { background: var(--grad); border-color: transparent; }
.acc-item.open .acc-icon::before, .acc-item.open .acc-icon::after { background: #fff; }
.acc-item.open .acc-icon::after { transform: rotate(90deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.acc-a-inner { padding: 0 24px 24px; color: var(--text-2); line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 84px) 36px; position: relative; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-brand p { color: var(--text-3); font-size: 0.92rem; margin: 18px 0 22px; max-width: 320px; }
.footer-contact { display: grid; gap: 9px; margin-top: 22px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 0.9rem; font-weight: 600; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 16px; height: 16px; color: var(--violet); flex-shrink: 0; }
.footer-contact .tg svg { color: #2aabee; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-2); font-size: 0.9rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--text-3); font-size: 0.84rem; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2); transition: .25s; }
.footer-bottom .socials a:hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,0.05); transform: translateY(-2px); }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.field label .req { color: var(--violet); }
.input, .select, .textarea {
  width: 100%; padding: 13px 15px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 11px;
  color: var(--text); transition: border-color .2s, box-shadow .2s; outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,0.18); }
.textarea { resize: vertical; min-height: 120px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236f6f86' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.02em; padding-top: calc(var(--header-h) + 30px); }
.crumb a { color: var(--text-3); transition: color .2s; } .crumb a:hover { color: var(--cyan); }
.crumb span { color: var(--text-2); }

/* ---------- Page hero ---------- */
.page-hero { padding-top: 40px; padding-bottom: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Divider glow ---------- */
.hr-glow { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: none; margin: 0; }

/* =========================================================================
   Clean dropdown nav (dropdown on every item)
   ========================================================================= */
.has-dd { position: relative; }
.has-dd > .nav-link { cursor: pointer; }
.dd {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 248px;
  background: rgba(11,13,22,0.97);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 120;
}
.dd::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 16px; }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dd.dd-2 { min-width: 460px; }
.dd-grid { display: grid; gap: 2px; }
.dd.dd-2 .dd-grid { grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.dd-label { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); padding: 8px 12px 5px; }
.dd a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 0.88rem; font-weight: 500; color: var(--text-2); transition: background .18s, color .18s; }
.dd a:hover { background: rgba(124,92,240,0.12); color: #fff; }
.dd a .di { width: 16px; height: 16px; color: var(--violet); flex-shrink: 0; opacity: .85; }
.dd a:hover .di { color: var(--cyan); }
.dd-foot { margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dd-foot > div { line-height: 1.3; }
.dd-foot span { font-size: 0.8rem; color: var(--text-2); }
.dd-foot strong { display: block; font-family: var(--font-display); font-size: 0.92rem; color: var(--text); }
.dd-foot a.btn { padding: 8px 14px; font-size: 0.8rem; }
.chev { width: 13px; height: 13px; transition: transform .25s; opacity: .65; }
.has-dd:hover .chev { transform: rotate(180deg); }

/* mobile nav groups */
.mob-group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.mob-group > a { border: none; }
.mob-sub { display: grid; gap: 2px; padding: 0 4px 12px; }
.mob-sub a { font-family: var(--font-body); font-size: 0.96rem; font-weight: 500; color: var(--text-2); padding: 9px 0; border: none; }

/* =========================================================================
   Content-density components
   ========================================================================= */
/* feature list inside cards */
.flist { display: grid; gap: 10px; margin-top: 16px; }
.flist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 0.9rem; line-height: 1.5; }
.flist li svg { width: 17px; height: 17px; color: var(--violet); flex-shrink: 0; margin-top: 2px; }
/* check list (gold) */
.clist li svg { color: var(--gold); }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat-strip > div { background: var(--bg-2); padding: 26px 22px; }
.stat-strip .stat-num { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 720px) { .stat-strip { grid-template-columns: 1fr 1fr; } }

/* numbered step with connector */
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step-n { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; background: var(--grad-soft); border: 1px solid var(--line-2); color: #fff; flex-shrink: 0; }

/* comparison table */
.cmp { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.cmp thead th { font-family: var(--font-display); font-size: 1rem; background: var(--surface); }
.cmp thead th.us { background: var(--grad-soft); color: #fff; }
.cmp td.us { color: var(--text); font-weight: 600; }
.cmp td.them { color: var(--text-3); }
.cmp tr:last-child td { border-bottom: none; }
.cmp .yes { color: var(--green); } .cmp .no { color: var(--red); }
@media (max-width: 640px) { .cmp th, .cmp td { padding: 12px 12px; font-size: 0.84rem; } }

/* logo grid */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.logo-grid > div { background: var(--bg-2); display: grid; place-items: center; padding: 26px 14px; transition: background .25s; }
.logo-grid > div:hover { background: var(--surface-2); }
@media (max-width: 880px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* badge row (awards/trust) */
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.badge .bi { width: 30px; height: 30px; color: var(--gold); flex-shrink: 0; }
.badge strong { display: block; font-family: var(--font-display); font-size: 0.92rem; line-height: 1.1; }
.badge span { font-size: 0.74rem; color: var(--text-3); }

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,60px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 880px) {
  .split, .split[style] { grid-template-columns: 1fr !important; }
  .split.rev > :first-child { order: 0; }
}

/* mini metric inline */
.kv { display: flex; gap: 7px; align-items: baseline; }
.kv b { font-family: var(--font-display); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1200px) {
  .header-cta .btn-ghost { display: none; }
  .nav-link { padding: 9px 10px; font-size: 0.88rem; }
  .nav { gap: 0; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
}
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .eyebrow-row { flex-direction: column; align-items: flex-start; }
  .display { font-size: clamp(2.3rem, 9vw, 3rem); }
}
/* phone / tablet polish */
@media (max-width: 680px) {
  .res-top { grid-template-columns: 1fr !important; text-align: center; }
  .res-top .gauge-wrap { margin-inline: auto; }
}
@media (max-width: 600px) {
  .section { padding-block: clamp(46px, 12vw, 70px); }
  .header-cta .btn-primary { padding: 11px 16px; }
  .btn-lg { padding: 14px 22px; font-size: 0.95rem; }
  .theme-fab { width: 46px; height: 46px; right: 14px; bottom: 14px; }
  .theme-panel { right: 14px; bottom: 72px; width: calc(100vw - 28px); max-width: 280px; }
}
@media (max-width: 440px) {
  .header-cta .btn-primary { display: none; }
  .badge { width: 100%; }
}
/* tables never force horizontal page scroll */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -2px; padding-bottom: 4px; }
.table-scroll .cmp { min-width: 520px; }
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================================
   Theme palettes — applied via [data-theme] on <html>
   Gold luxury accent (kickers) stays constant for a consistent premium thread
   ========================================================================= */
[data-theme="crimson"] {
  --bg: #0b0708; --bg-2: #0f0a0b; --surface: #16100f; --surface-2: #1d1413; --surface-3: #261917;
  --violet: #f43f5e; --violet-deep: #9f1239; --indigo: #e11d48; --cyan: #fb7185;
  --grad: linear-gradient(100deg, #fb7185 0%, #e11d48 52%, #9f1239 100%);
  --grad-soft: linear-gradient(120deg, rgba(244,63,94,0.18), rgba(159,18,57,0.16));
  --glow-violet: 0 0 0 1px rgba(244,63,94,0.4), 0 22px 60px -16px rgba(225,29,72,0.5);
  --halo-1: rgba(244,63,94,0.20); --halo-2: rgba(159,18,57,0.16); --halo-3: rgba(201,150,46,0.07);
}
[data-theme="crimson"] .tag { background: rgba(244,63,94,0.14); color: #fda4b4; border-color: rgba(244,63,94,0.26); }
[data-theme="crimson"] .icon-badge { color: #fda4b4; }

[data-theme="ember"] {
  --bg: #0c0806; --bg-2: #0f0b08; --surface: #16110d; --surface-2: #1d1611; --surface-3: #261c15;
  --violet: #fb923c; --violet-deep: #c2410c; --indigo: #f43f5e; --cyan: #a855f7;
  --grad: linear-gradient(100deg, #fbbf24 0%, #fb7185 46%, #a855f7 100%);
  --grad-soft: linear-gradient(120deg, rgba(251,146,60,0.16), rgba(168,85,247,0.14));
  --glow-violet: 0 0 0 1px rgba(251,146,60,0.38), 0 22px 60px -16px rgba(244,63,94,0.5);
  --halo-1: rgba(251,146,60,0.18); --halo-2: rgba(168,85,247,0.14); --halo-3: rgba(244,63,94,0.10);
}
[data-theme="ember"] .tag { background: rgba(251,146,60,0.14); color: #fdba74; border-color: rgba(251,146,60,0.26); }
[data-theme="ember"] .icon-badge { color: #fdba74; }

[data-theme="azure"] {
  --bg: #060912; --bg-2: #080c17; --surface: #0c1220; --surface-2: #111a2b; --surface-3: #16233a;
  --violet: #3b82f6; --violet-deep: #1d4ed8; --indigo: #2563eb; --cyan: #22d3ee;
  --grad: linear-gradient(100deg, #60a5fa 0%, #3b82f6 50%, #06b6d4 100%);
  --grad-soft: linear-gradient(120deg, rgba(59,130,246,0.16), rgba(34,211,238,0.14));
  --glow-violet: 0 0 0 1px rgba(59,130,246,0.4), 0 22px 60px -16px rgba(37,99,235,0.5);
  --halo-1: rgba(59,130,246,0.18); --halo-2: rgba(34,211,238,0.10); --halo-3: rgba(99,102,241,0.06);
}
[data-theme="azure"] .tag { background: rgba(59,130,246,0.14); color: #93c5fd; border-color: rgba(59,130,246,0.26); }
[data-theme="azure"] .icon-badge { color: #93c5fd; }

[data-theme="emerald"] {
  --bg: #060e0a; --bg-2: #08120d; --surface: #0c1812; --surface-2: #111f18; --surface-3: #16291f;
  --violet: #10b981; --violet-deep: #047857; --indigo: #059669; --cyan: #34d399;
  --grad: linear-gradient(100deg, #34d399 0%, #10b981 50%, #047857 100%);
  --grad-soft: linear-gradient(120deg, rgba(16,185,129,0.16), rgba(52,211,153,0.14));
  --glow-violet: 0 0 0 1px rgba(16,185,129,0.4), 0 22px 60px -16px rgba(5,150,105,0.5);
  --halo-1: rgba(16,185,129,0.16); --halo-2: rgba(52,211,153,0.10); --halo-3: rgba(201,150,46,0.08);
}
[data-theme="emerald"] .tag { background: rgba(16,185,129,0.14); color: #6ee7b7; border-color: rgba(16,185,129,0.26); }
[data-theme="emerald"] .icon-badge { color: #6ee7b7; }

/* =========================================================================
   Theme switcher UI
   ========================================================================= */
.theme-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 300;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform .25s;
}
.theme-fab:hover { transform: scale(1.07) rotate(15deg); }
.theme-fab svg { width: 22px; height: 22px; color: #fff; }
.theme-panel {
  position: fixed; right: 20px; bottom: 82px; z-index: 300;
  width: 234px; padding: 16px;
  background: rgba(12,13,20,0.97); backdrop-filter: blur(22px);
  border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97);
  transform-origin: bottom right; transition: opacity .22s, transform .22s, visibility .22s;
}
.theme-panel.open { opacity: 1; visibility: visible; transform: none; }
.theme-panel h5 { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.theme-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-opt { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, background .2s; }
.theme-opt:hover { border-color: var(--line-2); background: var(--surface-2); }
.theme-opt.active { border-color: var(--text-2); }
.theme-opt .sw { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }
.theme-opt span { font-size: 0.82rem; font-weight: 600; color: var(--text); }
@media print { .theme-fab, .theme-panel { display: none !important; } }

/* =========================================================================
   Floating contact bar (Call · Email · Telegram)
   ========================================================================= */
.contact-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 290; display: flex; align-items: center; gap: 4px;
  padding: 8px 8px 8px 18px;
  background: rgba(11,13,22,0.92); backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-2); border-radius: 100px;
  box-shadow: 0 18px 50px -16px rgba(0,0,0,0.7);
  max-width: calc(100vw - 24px);
}
.contact-bar .cb-label { font-size: 0.82rem; color: var(--text-3); font-weight: 700; white-space: nowrap; margin-right: 4px; font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.cb-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 100px; font-size: 0.86rem; font-weight: 600; color: var(--text-2); transition: background .2s, color .2s; white-space: nowrap; }
.cb-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.cb-item svg { width: 16px; height: 16px; color: var(--violet); flex-shrink: 0; }
.cb-tg svg { color: #2aabee; }
.cb-wa svg { color: #25d366; }
.contact-bar .btn { padding: 9px 16px; font-size: 0.84rem; margin-left: 4px; }
.cb-close { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--text-3); font-size: 19px; line-height: 1; flex-shrink: 0; }
.cb-close:hover { background: rgba(255,255,255,0.06); color: #fff; }
body.cbar .theme-fab { bottom: 88px; }
@media print { .contact-bar { display: none !important; } }
@media (max-width: 860px) {
  .contact-bar .cb-label, .contact-bar .cb-item .cb-text { display: none; }
  .cb-item { padding: 10px; }
}
@media (max-width: 680px) {
  .contact-bar { left: 12px; right: 12px; bottom: 12px; transform: none; max-width: none; justify-content: space-evenly; gap: 0; padding: 6px; }
  .contact-bar .btn { display: none; }
  .cb-item .cb-text { display: inline; font-size: 0.8rem; }
  .cb-item { flex-direction: column; gap: 4px; padding: 8px 6px; font-size: 0.7rem; }
  body.cbar .theme-fab { bottom: 80px; }
}
