/* =============================================
   BRIDGEFIELD OPS · PREMIUM STYLESHEET v2
   Fonts: Outfit (display) · Inter (body)
   Accent: #C9A961 Gold
   ============================================= */

/* ── 1. DESIGN TOKENS ──────────────────────── */
:root {
  --bg:        #0C0C0C;
  --bg-2:      #141414;
  --bg-3:      #1C1C1C;
  --bg-4:      #252525;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);
  --text:      #F0F0F0;
  --text-2:    #8A8A8A;
  --text-3:    #505050;
  --gold:      #C9A961;
  --gold-l:    #E8D5A3;
  --gold-d:    #A88B4A;
  --gold-glow: rgba(201,169,97,0.14);
  --gold-soft: rgba(201,169,97,0.06);
  --orb-1:     rgba(201,169,97,0.13);
  --orb-2:     rgba(168,139,74,0.09);
  --orb-3:     rgba(120,90,30,0.07);
  --fd: 'Outfit', sans-serif;
  --fb: 'Inter', system-ui, sans-serif;
  --mw: 1160px;
  --nh: 62px;
  --r:  16px;
  --rs:  8px;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-o: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ── 2. LIGHT MODE ─────────────────────────── */
[data-theme="light"] {
  --bg:        #FAFAF8;
  --bg-2:      #F3F0EB;
  --bg-3:      #EAE6DE;
  --bg-4:      #E0DACE;
  --border:    rgba(0,0,0,0.07);
  --border-2:  rgba(0,0,0,0.13);
  --text:      #0C0C0C;
  --text-2:    #5A5A5A;
  --text-3:    #9A9A9A;
  /* Same gold as dark mode */
  --gold:      #C9A961;
  --gold-l:    #E8D5A3;
  --gold-d:    #A88B4A;
  --gold-glow: rgba(201,169,97,0.14);
  --gold-soft: rgba(201,169,97,0.06);
}

/* ── 3. RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; background: none; border: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ── 4. THEME TRANSITIONS ──────────────────── */
body, .nav, .card, .faq-item, footer, .ops-panel,
.service-detail, .about-card, .process-step, .area-card, .cta-section {
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

/* ── 5. LAYOUT ─────────────────────────────── */
.ctn {
  width: min(100%, var(--mw));
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

section {
  padding: clamp(80px, 10vh, 130px) 0;
  position: relative;
  z-index: 2;
}

.sb { border-top: 1px solid var(--border); }

/* ── 6. PROGRESS BAR ───────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-l));
  z-index: 10000;
  pointer-events: none;
}

/* ── 7. STARFIELD & CURSOR GLOW ──────────────── */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

[data-theme="light"] #starfield { opacity: 0.55; }

.cursor-glow {
  position: fixed;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.042) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s;
  opacity: 0;
  will-change: left, top;
}

.cursor-glow.active { opacity: 1; }
[data-theme="light"] .cursor-glow { display: none; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 8. NAVIGATION ─────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nh);
  display: flex;
  align-items: center;
  z-index: 900;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(12,12,12,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(250,250,248,0.90);
}

.nav-in {
  width: min(100%, var(--mw));
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-mono {
  height: 28px;
  width: 28px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

/* logo swap handled by global .dark-logo / .light-logo rules below */

.nav-wordmark {
  font-family: var(--fd);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.nav-wordmark .accent { color: var(--gold); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: var(--rs);
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 13px;
  right: 13px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  border: 1px solid var(--border-2);
  position: relative;
  overflow: hidden;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  color: var(--gold);
  border-color: rgba(201,169,97,0.4);
  background: var(--gold-soft);
}

.theme-toggle svg {
  width: 15px; height: 15px;
  position: absolute;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}

.icon-sun  { opacity: 0; transform: rotate(90deg) scale(0.6); }
.icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="light"] .icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="light"] .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--rs);
  transition: background 0.2s;
}

.hamburger:hover { background: var(--bg-3); }

.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 899;
  padding: calc(var(--nh) + 24px) 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 898;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-menu a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--text); }
.mobile-menu .mm-cta { margin-top: 28px; }
.mobile-menu .btn-primary { color: #000; }

/* Float CTA (mobile) */
.float-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 500;
  backdrop-filter: blur(12px);
}

.float-cta-inner {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

/* ── 9. BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--rs);
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s, background 0.3s, color 0.3s;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  border-color: var(--gold-d);
  color: #000;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--gold-l);
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(201,169,97,0.35);
  color: #000;
}

.btn-sm  { padding: 10px 18px; font-size: 11px; }
.btn-lg  { padding: 17px 36px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ── 10. SECTION LABELS ────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(201,169,97,0.5);
  animation: ping 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ping {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(201,169,97,0.5); }
  50%       { opacity: 0.4; box-shadow: 0 0 2px rgba(201,169,97,0.1); }
}

.section-head { max-width: 640px; margin-bottom: 56px; }

.section-head h2 {
  font-family: var(--fd);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  color: var(--text);
}

.section-head .lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 58ch;
}

/* ── 11. HERO ──────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nh) + 52px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,169,97,0.22);
  background: rgba(201,169,97,0.05);
  margin-bottom: 30px;
  width: fit-content;
}

/* Headline — word-by-word reveal */
.hero-headline {
  font-family: var(--fd);
  font-size: clamp(40px, 6.5vw, 90px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -1.5px;
  word-spacing: 6px;
  margin-bottom: 30px;
  color: var(--text);
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.5s;
}

.reveal-word.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-word.accent { color: var(--gold); position: relative; }

.reveal-word.accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), transparent);
  border-radius: 2px;
  opacity: 0.4;
}

/* Sub, actions, stats — staged animation */
.hero-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-2);
  line-height: 1.78;
  max-width: 52ch;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.hero-sub.in { opacity: 1; transform: translateY(0); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.hero-actions.in { opacity: 1; transform: translateY(0); }

/* Hero stats strip */
.hero-stats {
  display: flex;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.hero-stats.in { opacity: 1; transform: translateY(0); }

.hero-stat {
  flex: 1;
  padding: 18px 20px;
  position: relative;
}

.hero-stat + .hero-stat { border-left: 1px solid var(--border); }

.hero-stat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}

.hero-stat-value {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.hero-stat-note {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 5px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease) 2.8s forwards;
}

@keyframes fade-up {
  to { opacity: 1; }
}

.scroll-text {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
}

.scroll-line {
  width: 1px; height: 38px;
  background: var(--border-2);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scroll-fall 1.8s ease-in-out infinite;
}

@keyframes scroll-fall {
  from { top: -100%; }
  to   { top: 100%; }
}

/* ── 12. OPS PANEL (Hero Widget) ───────────── */
.hero-widget {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  /* Push the panel down so its top sits at the headline baseline,
     not the badge baseline — gives a clean shared shelf with the left col.
     Extra room here so the floating pill above the panel isn't clipped. */
  padding-top: 92px;
  position: relative;
}

.ops-panel {
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  overflow: visible;
  position: relative;
  margin: 0 auto;
  box-shadow:
    0 0 0 1px var(--border),
    0 32px 80px rgba(0,0,0,0.45),
    0 0 80px rgba(201,169,97,0.04);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* Inner radius clipping for children, keeping pill able to overflow */
.ops-panel > .ops-header,
.ops-panel > .ops-feed,
.ops-panel > .ops-chart,
.ops-panel > .ops-rail { position: relative; z-index: 1; }
.ops-panel > .ops-header { border-top-left-radius: 20px; border-top-right-radius: 20px; }
.ops-panel > .ops-rail   { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }

.ops-panel.in { opacity: 1; transform: translateY(0); }

.ops-shimmer {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
}

/* Panel header */
.ops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}

.ops-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4ade80;
}

.ops-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.5);
  animation: live-ping 2s ease-in-out infinite;
}

@keyframes live-ping {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(74,222,128,0.5); }
  50%       { opacity: 0.5; box-shadow: 0 0 3px rgba(74,222,128,0.2); }
}

.ops-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
}

.ops-clock {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* Activity feed */
.ops-feed {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.ops-feed-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.ops-events {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 128px;
}

.ops-event {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: evt-in 0.4s var(--ease);
}

@keyframes evt-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ops-evt-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ops-evt-icon svg {
  width: 12px; height: 12px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.ops-evt-body { flex: 1; min-width: 0; }

.ops-evt-text {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ops-evt-time {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 1px;
}

/* Sparkline */
.ops-chart {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

.ops-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ops-chart-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
}

.ops-chart-delta {
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
}

.ops-sparkline { width: 100%; height: 34px; }
.ops-sparkline svg { width: 100%; height: 100%; }

.spark-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}

.ops-panel.in .spark-line { stroke-dashoffset: 0; }

.spark-area {
  fill: url(#spark-grad);
  opacity: 0;
  transition: opacity 0.9s ease 1.2s;
}

.ops-panel.in .spark-area { opacity: 0.25; }

.spark-end {
  fill: var(--gold);
  opacity: 0;
  transform-origin: 220px 3px;
  transition: opacity 0.4s ease 1.7s;
}

.ops-panel.in .spark-end {
  opacity: 1;
  animation: spark-pulse 2.4s ease-in-out 1.9s infinite;
}

@keyframes spark-pulse {
  0%, 100% { opacity: 1; r: 2.6; }
  50%       { opacity: 0.55; r: 3.6; }
}

/* Floating "level" pill above the panel */
.ops-pill {
  position: absolute;
  top: -34px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-2);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.4),
    0 0 0 1px rgba(201,169,97,0.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-2);
  z-index: 2;
}

.ops-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201,169,97,0.6);
  animation: live-ping 2.4s ease-in-out infinite;
}

.ops-pill-text { color: var(--text-2); }

/* System status rail */
.ops-rail {
  background: var(--bg-3);
  padding: 6px 18px;
}

.ops-rail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 11.5px;
}

.ops-rail-row + .ops-rail-row { border-top: 1px solid var(--border); }

.ops-rail-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ops-rail-dot.ok {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74,222,128,0.5);
  animation: live-ping 3.2s ease-in-out infinite;
}

.ops-rail-row:nth-child(2) .ops-rail-dot { animation-delay: 0.6s; }
.ops-rail-row:nth-child(3) .ops-rail-dot { animation-delay: 1.2s; }

.ops-rail-label {
  flex: 1;
  color: var(--text-2);
  font-weight: 500;
}

.ops-rail-val {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #4ade80;
}

/* Brief gold flash when a new event arrives */
.ops-evt-icon.flash {
  animation: evt-flash 0.7s ease-out;
}

@keyframes evt-flash {
  0%   { box-shadow: 0 0 0 0 rgba(201,169,97,0.55), 0 0 0 0 rgba(201,169,97,0.4); border-color: var(--gold); }
  100% { box-shadow: 0 0 0 12px rgba(201,169,97,0), 0 0 14px rgba(201,169,97,0);  border-color: var(--border); }
}

/* Stronger ping on the header dot in sync with new events */
.ops-dot.ping {
  animation: dot-ping 0.7s ease-out;
}

@keyframes dot-ping {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.7), 0 0 0 0 rgba(74,222,128,0.5); }
  100% { box-shadow: 0 0 0 10px rgba(74,222,128,0), 0 0 18px rgba(74,222,128,0); }
}

/* ── 13. MARQUEE ───────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 44px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-2);
  flex-shrink: 0;
}

.marquee-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marquee-icon svg {
  width: 13px; height: 13px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.marquee-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border-2);
  flex-shrink: 0;
}

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

/* ── 14. SERVICES ──────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.service-card {
  padding: 30px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(201,169,97,0.09) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(201,169,97,0.28);
  transform: translateY(-7px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.service-card:hover::before { opacity: 1; }

.sc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(201,169,97,0.2);
  background: rgba(201,169,97,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.35s var(--ease);
}

.service-card:hover .sc-icon {
  background: rgba(201,169,97,0.12);
  border-color: rgba(201,169,97,0.4);
  box-shadow: 0 0 24px rgba(201,169,97,0.1);
}

.sc-icon svg {
  width: 21px; height: 21px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.sc-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: var(--fd);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
  max-width: 38ch;
}

.sc-arrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}

.service-card:hover .sc-arrow { gap: 14px; }

/* Service detail panels */
.service-details { display: flex; flex-direction: column; gap: 14px; }

.service-detail {
  padding: 34px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.3s;
}

.service-detail:hover { border-color: rgba(201,169,97,0.15); }

.sd-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.sd-title .num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.sd-title h3 {
  font-family: var(--fd);
  font-size: 25px;
  font-weight: 700;
  color: var(--text);
}

.service-detail > p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 62ch;
  margin-bottom: 24px;
}

.deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.deliverable {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--rs);
  border: 1px solid var(--border);
  background: var(--bg-3);
  transition: all 0.3s var(--ease);
}

.deliverable:hover { border-color: rgba(201,169,97,0.2); transform: translateX(4px); }

.del-check {
  width: 19px; height: 19px;
  border-radius: 5px;
  border: 1px solid rgba(201,169,97,0.25);
  background: rgba(201,169,97,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.del-check svg {
  width: 10px; height: 10px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
}

.del-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.5;
}

/* Included bar */
.included-bar {
  margin-top: 14px;
  padding: 20px 26px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.included-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.included-items { display: flex; gap: 24px; flex-wrap: wrap; }

.included-item {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.included-item::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── 15. ABOUT ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.about-card {
  padding: 34px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.about-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-card:hover { border-color: rgba(201,169,97,0.2); transform: translateY(-3px); }
.about-card:hover::after { opacity: 0.5; }

.about-card .cap {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.about-card h3 { font-family: var(--fd); font-size: 23px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.about-card p  { font-size: 15px; color: var(--text-2); line-height: 1.75; max-width: 46ch; }

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-stat {
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.about-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(201,169,97,0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-stat:hover { border-color: rgba(201,169,97,0.25); transform: translateY(-4px); }
.about-stat:hover::before { opacity: 1; }

.about-stat-val {
  font-family: var(--fd);
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
}

.stat-underline {
  display: block;
  height: 2px;
  width: 0;
  background: var(--gold);
  border-radius: 1px;
  margin: 6px auto 10px;
  transition: width 1s var(--ease);
}

.about-stat.counted .stat-underline { width: 36px; }

.about-stat-lbl { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ── 16. PROCESS ───────────────────────────── */
.process-wrap { position: relative; }

.process-connector {
  position: absolute;
  top: 54px;
  left: calc(12.5% + 36px);
  right: calc(12.5% + 36px);
  height: 1px;
  background: var(--border);
  overflow: hidden;
  border-radius: 1px;
  z-index: 0;
}

.process-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), var(--gold-l));
  border-radius: 1px;
  transition: width 1.6s var(--ease) 0.2s;
}

.process-fill.in { width: 100%; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}

.process-step {
  padding: 28px 22px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  transition: height 0.6s var(--ease);
}

.process-step:hover { border-color: rgba(201,169,97,0.25); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.28); }
.process-step:hover::before { height: 100%; }

.ps-num {
  font-family: var(--fd);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(180deg, var(--border-2), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.35s;
}

.process-step:hover .ps-num {
  background: linear-gradient(180deg, var(--gold), var(--gold-d));
  -webkit-background-clip: text;
  background-clip: text;
}

.process-step h3 { font-family: var(--fd); font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.process-step p  { font-size: 14px; color: var(--text-2); line-height: 1.65; max-width: 24ch; }

.ps-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid rgba(201,169,97,0.2);
  background: rgba(201,169,97,0.05);
}

/* ── 17. SERVICE AREA ──────────────────────── */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.area-card {
  padding: 34px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.3s;
}

.area-card:hover { border-color: rgba(201,169,97,0.15); }
.area-card h3 { font-family: var(--fd); font-size: 21px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.area-card > p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; max-width: 46ch; }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  cursor: default;
  transition: all 0.25s var(--ease);
}

.chip:hover { border-color: rgba(201,169,97,0.4); color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(201,169,97,0.1); }
.chip.primary { border-color: rgba(201,169,97,0.3); color: var(--gold); background: rgba(201,169,97,0.06); }
.chip.muted { color: var(--text-3); font-weight: 500; }
.chip.muted:hover { color: var(--text-2); border-color: var(--border-2); }

/* ── 18. FAQ ───────────────────────────────── */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.faq-item.open { border-color: rgba(201,169,97,0.28); box-shadow: 0 4px 32px rgba(0,0,0,0.14); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  width: 100%;
  text-align: left;
  font-family: var(--fb);
  transition: color 0.2s;
  background: none;
  border: none;
}

.faq-q:hover { color: var(--gold); }
.faq-item.open .faq-q { color: var(--gold); }

.faq-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform 0.4s var(--ease), color 0.2s;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--gold); }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-o);
}

.faq-item.open .faq-body { grid-template-rows: 1fr; }

.faq-body-inner {
  overflow: hidden;
  padding: 0 28px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 62ch;
  border-left: 2px solid transparent;
  transition: border-color 0.3s;
}

.faq-item.open .faq-body-inner { padding-bottom: 22px; border-left-color: var(--gold-d); }

/* ── 19. CTA ───────────────────────────────── */
.cta-section {
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  padding: clamp(64px, 8vw, 110px) 0;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(201,169,97,0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: cta-breathe 6s ease-in-out infinite alternate;
}

@keyframes cta-breathe {
  0%   { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

.cta-inner .section-tag { justify-content: center; margin-bottom: 24px; }

.cta-inner h2 {
  font-family: var(--fd);
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-inner .lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 52ch;
  margin: 0 auto 40px;
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

/* ── 20. FOOTER ────────────────────────────── */
footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.6fr;
  gap: 48px;
  padding-bottom: 40px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-logo { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 26px; width: 26px; border-radius: 3px; }

.footer-tagline {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 40ch;
  margin-bottom: 20px;
}

.footer-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 12px; color: var(--text-3); }

.footer-loc {
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-loc svg {
  width: 11px; height: 11px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

/* ── 21. SCROLL REVEAL ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.97);
  filter: blur(4px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), filter 0.6s;
}

.reveal.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.reveal.d1 { transition-delay: 0.10s; }
.reveal.d2 { transition-delay: 0.20s; }
.reveal.d3 { transition-delay: 0.30s; }
.reveal.d4 { transition-delay: 0.40s; }

/* ── Global logo swap helpers ──────────────── */
.dark-logo  { display: block; }
.light-logo { display: none; }
[data-theme="light"] .dark-logo  { display: none; }
[data-theme="light"] .light-logo { display: block; }

/* ── 22. RESPONSIVE ────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-widget { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .float-cta { display: block; }
  body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  .ctn { padding: 0 20px; }
  .hero-headline { letter-spacing: -1.5px; }
  .hero-stats { flex-direction: column; }
  .hero-stat + .hero-stat { border-left: none; border-top: 1px solid var(--border); }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .deliverables { grid-template-columns: 1fr; }
  .included-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav-in { padding: 0 20px; }
  .nav-right .btn { display: none; }
  .process-steps { grid-template-columns: 1fr; }
}

/* =============================================
   ── 24. NAV DROPDOWN ───────────────────────
   ============================================= */
.nav-item { position: relative; }

.nav-item .nav-trigger {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: var(--rs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-item .nav-trigger:hover,
.nav-item.open .nav-trigger { color: var(--text); }

.nav-item .nav-trigger svg {
  width: 10px; height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.3s var(--ease);
}

.nav-item.open .nav-trigger svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border-2);
  background: rgba(20,20,20,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px var(--border);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.25s;
  z-index: 950;
}

[data-theme="light"] .nav-dropdown { background: rgba(255,255,255,0.97); }

.nav-item.open .nav-dropdown,
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.2s;
}

.nav-dd-item:hover { background: var(--bg-3); }

.nav-dd-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(201,169,97,0.25);
  background: rgba(201,169,97,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dd-icon svg {
  width: 15px; height: 15px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.nav-dd-label {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  margin-bottom: 3px;
}

.nav-dd-desc {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 400;
  line-height: 1.4;
}

/* =============================================
   ── 25. STATS BAR ──────────────────────────
   ============================================= */
.stats-bar-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: relative;
  z-index: 2;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--mw));
  margin: 0 auto;
  padding: 0 32px;
}

.sb-item {
  padding: 38px 24px;
  text-align: center;
  position: relative;
}

.sb-item + .sb-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28%;
  height: 44%;
  width: 1px;
  background: var(--border);
}

.sb-val {
  font-family: var(--fd);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.sb-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-3);
}

/* =============================================
   ── 26. PROBLEMS / SOLUTIONS ───────────────
   ============================================= */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ps-card {
  padding: 30px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.ps-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(201,169,97,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.ps-card:hover {
  border-color: rgba(201,169,97,0.25);
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.32);
}

.ps-card:hover::after { opacity: 1; }

.ps-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(201,169,97,0.22);
  background: rgba(201,169,97,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.ps-icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.7;
}

.ps-problem {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #ef6464;
  margin-bottom: 8px;
  position: relative; z-index: 1;
}

[data-theme="light"] .ps-problem { color: #c44; }

.ps-card h3 {
  font-family: var(--fd);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  position: relative; z-index: 1;
  line-height: 1.25;
}

.ps-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}

.ps-fix {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-2);
  position: relative; z-index: 1;
}

.ps-fix-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.ps-fix-text {
  font-size: 12.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

/* =============================================
   ── 27. DEMO TEASER ────────────────────────
   ============================================= */
.demo-teaser-wrap {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--border-2);
  background: linear-gradient(145deg, var(--bg-2), var(--bg));
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.demo-teaser-wrap::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,169,97,0.10), transparent 60%);
  pointer-events: none;
}

.demo-teaser-wrap::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(201,169,97,0.06), transparent 60%);
  pointer-events: none;
}

.demo-teaser-content { position: relative; z-index: 2; }

.demo-teaser-content h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
  margin: 14px 0 18px;
  color: var(--text);
}

.demo-teaser-content p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 28px;
}

.demo-teaser-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.dtb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.dtb svg {
  width: 14px; height: 14px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}

/* Mock phone preview */
.demo-mock {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 300px);
  aspect-ratio: 9 / 18;
  border-radius: 38px;
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  padding: 14px;
  box-shadow:
    0 0 0 8px var(--bg-2),
    0 40px 100px rgba(0,0,0,0.5),
    0 0 60px rgba(201,169,97,0.06);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: var(--bg-3);
  border-radius: 0 0 14px 14px;
  z-index: 5;
}

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
  text-align: center;
}

.phone-pulse {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(201,169,97,0.08);
  border: 1px solid rgba(201,169,97,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  animation: phone-pulse 2.4s ease-in-out infinite;
}

@keyframes phone-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,97,0.4); }
  50%      { box-shadow: 0 0 0 22px rgba(201,169,97,0); }
}

.phone-pulse svg {
  width: 32px; height: 32px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.phone-status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 6px;
}

.phone-name {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.phone-num {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 22px;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}

.wave span {
  display: block;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: wave 1.1s ease-in-out infinite;
}

.wave span:nth-child(1) { animation-delay: 0.0s;  height: 30%; }
.wave span:nth-child(2) { animation-delay: 0.1s;  height: 60%; }
.wave span:nth-child(3) { animation-delay: 0.2s;  height: 100%; }
.wave span:nth-child(4) { animation-delay: 0.3s;  height: 70%; }
.wave span:nth-child(5) { animation-delay: 0.4s;  height: 90%; }
.wave span:nth-child(6) { animation-delay: 0.5s;  height: 50%; }
.wave span:nth-child(7) { animation-delay: 0.6s;  height: 80%; }
.wave span:nth-child(8) { animation-delay: 0.7s;  height: 35%; }
.wave span:nth-child(9) { animation-delay: 0.8s;  height: 65%; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* =============================================
   ── 28. RESULTS / CASE STUDIES ─────────────
   ============================================= */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.result-card {
  padding: 32px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold), transparent);
  opacity: 0.6;
}

.result-card:hover {
  border-color: rgba(201,169,97,0.28);
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
}

.result-vertical {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.result-headline {
  font-family: var(--fd);
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.result-headline .pct { color: var(--gold); }

.result-metric {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.4px;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-quote {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  font-style: italic;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  position: relative;
}

.result-quote::before {
  content: '"';
  position: absolute;
  top: 8px; left: 0;
  font-family: var(--fd);
  font-size: 36px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.result-author {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.5px;
  font-style: normal;
}

/* =============================================
   ── 29. PRICING TEASER ─────────────────────
   ============================================= */
.pricing-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1180px) {
  .pricing-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   ── 30. PAGE HERO (sub-pages) ──────────────
   ============================================= */
.page-hero {
  padding: calc(var(--nh) + 90px) 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--fd);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 16px 0 22px;
  color: var(--text);
}

.page-hero h1 .accent { color: var(--gold); }

.page-hero p.lead {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 60ch;
  margin: 0 auto 32px;
}

.page-hero .hero-actions {
  justify-content: center;
  opacity: 1;
  transform: none;
  margin-bottom: 0;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(201,169,97,0.10), transparent 60%);
}

/* =============================================
   ── 31. PRICING PAGE ───────────────────────
   ============================================= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}

.tier-card {
  padding: 32px 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.tier-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 28px;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}

.tier-card:hover {
  border-color: rgba(201,169,97,0.25);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.tier-card.featured {
  border-color: rgba(201,169,97,0.4);
  background: linear-gradient(180deg, rgba(201,169,97,0.05), var(--bg-2));
  box-shadow: 0 0 0 1px rgba(201,169,97,0.2), 0 20px 60px rgba(0,0,0,0.35);
}

.tier-card.featured::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 2px;
}

.tier-badge {
  position: absolute;
  top: -1px; right: 24px;
  padding: 6px 14px;
  border-radius: 0 0 8px 8px;
  background: var(--gold);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.tier-name {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.tier-tagline {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 26px;
  line-height: 1.55;
  min-height: 40px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.tier-price .currency { font-size: 18px; color: var(--text-2); font-weight: 600; }

.tier-price .amount {
  font-family: var(--fd);
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -2px;
}

.tier-price .per { font-size: 13px; color: var(--text-3); font-weight: 500; }

.tier-setup {
  font-size: 12px;
  color: var(--text-3);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  margin: 14px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tier-setup b { color: var(--gold); font-weight: 700; }

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

.tier-features li svg {
  width: 14px; height: 14px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.tier-features li.muted { color: var(--text-3); }
.tier-features li.muted svg { stroke: var(--text-3); opacity: 0.5; }

.tier-card .btn { width: 100%; }

/* Pricing comparison table */
.compare-section { margin-top: 80px; }

.compare-table {
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: center;
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.compare-row:last-child { border-bottom: none; }

.compare-row.head {
  background: var(--bg-3);
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
}

.compare-row.head .featured-col { color: var(--gold); }

.compare-feat { color: var(--text); font-weight: 500; }

.compare-cell {
  text-align: center;
  color: var(--text-2);
}

.compare-cell svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  display: inline-block;
}

.compare-cell.no svg { stroke: var(--text-3); opacity: 0.4; }

/* =============================================
   ── 32. DEMO PAGE (interactive simulator) ──
   ============================================= */
.demo-stage {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}

.demo-phone-col {
  border-radius: 24px;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: clamp(22px, 3vw, 36px) clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.demo-phone-col::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(201,169,97,0.08), transparent 60%);
  pointer-events: none;
}

.demo-phone-frame {
  width: clamp(200px, 18vw, 240px);
  aspect-ratio: 9 / 18;
  border-radius: 36px;
  background: #0a0a0a;
  border: 1px solid var(--border-2);
  padding: 12px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 8px var(--bg-3),
    0 40px 80px rgba(0,0,0,0.5);
}

.demo-phone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 18px;
  background: #0a0a0a;
  border-radius: 0 0 12px 12px;
  z-index: 5;
}

.demo-phone-screen {
  width: 100%; height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #141414, #0a0a0a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 18px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dps-status {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dps-status .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: live-ping 2s ease-in-out infinite;
}

.dps-name {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 700;
  color: #f0f0f0;
  margin: 6px 0 2px;
}

.dps-num {
  font-size: 10px;
  color: #707070;
  margin-bottom: 14px;
}

.dps-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-d), var(--gold), var(--gold-l));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 800;
  color: #000;
  margin-bottom: 14px;
  box-shadow: 0 0 0 0 rgba(201,169,97,0.5);
  animation: avatar-pulse 2s ease-in-out infinite;
}

@keyframes avatar-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,97,0.4); }
  50%      { box-shadow: 0 0 0 16px rgba(201,169,97,0); }
}

.dps-timer {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 600;
  color: #909090;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}

.dps-controls {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.dps-ctrl {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dps-ctrl svg {
  width: 14px; height: 14px;
  stroke: #c0c0c0;
  fill: none;
  stroke-width: 2;
}

.dps-ctrl.end { background: #ef4444; border-color: #ef4444; }
.dps-ctrl.end svg { stroke: #fff; }

/* Scenario picker */
.scenarios {
  width: 100%;
  margin-top: 28px;
  position: relative; z-index: 2;
}

.scenarios-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
  text-align: center;
}

.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scenario-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  text-align: left;
  width: 100%;
  transition: all 0.3s var(--ease);
}

.scenario-btn:hover {
  border-color: rgba(201,169,97,0.3);
  transform: translateX(4px);
}

.scenario-btn.active {
  border-color: var(--gold);
  background: rgba(201,169,97,0.08);
}

.scenario-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(201,169,97,0.25);
  background: rgba(201,169,97,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scenario-icon svg {
  width: 14px; height: 14px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.scenario-meta {
  flex: 1;
  min-width: 0;
}

.scenario-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.scenario-sub {
  font-size: 10.5px;
  color: var(--text-3);
}

/* Right column: transcript + result */
.demo-right {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.transcript-card {
  flex: 0 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: clamp(380px, 58vh, 540px);
  max-height: clamp(380px, 58vh, 540px);
  min-height: 0;
}

.transcript-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
}

.transcript-title {
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.transcript-title .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: live-ping 2s ease-in-out infinite;
}

.transcript-actions { display: flex; gap: 8px; }

.transcript-btn {
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-2);
  transition: all 0.2s;
}

.transcript-btn:hover { color: var(--gold); border-color: rgba(201,169,97,0.3); }

.transcript-feed {
  flex: 1 1 0;
  min-height: 0;
  padding: 22px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.tx-msg {
  display: flex;
  gap: 12px;
  animation: tx-in 0.4s var(--ease);
  max-width: 88%;
}

@keyframes tx-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tx-msg.ai { align-self: flex-start; }
.tx-msg.caller { align-self: flex-end; flex-direction: row-reverse; }

.tx-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.tx-msg.ai .tx-avatar {
  background: linear-gradient(135deg, var(--gold-d), var(--gold));
  color: #000;
}

.tx-msg.caller .tx-avatar {
  background: var(--bg-4);
  color: var(--text-2);
  border: 1px solid var(--border-2);
}

.tx-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
}

.tx-msg.ai .tx-bubble {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
}

.tx-msg.caller .tx-bubble {
  background: rgba(201,169,97,0.08);
  border: 1px solid rgba(201,169,97,0.18);
  border-top-right-radius: 4px;
  color: var(--text);
}

.tx-meta {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.tx-typing {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
}

.tx-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  animation: typing 1.4s infinite;
}

.tx-typing span:nth-child(2) { animation-delay: 0.2s; }
.tx-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.transcript-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  text-align: center;
  padding: 40px;
}

.transcript-empty svg {
  width: 48px; height: 48px;
  stroke: var(--text-3);
  fill: none;
  stroke-width: 1.4;
  margin-bottom: 16px;
  opacity: 0.5;
}

.transcript-empty p {
  font-size: 13px;
  max-width: 32ch;
  line-height: 1.6;
}

/* Result panel */
.result-panel {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  padding: 22px 24px;
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), max-height 0.5s var(--ease), padding 0.5s var(--ease), border-width 0.5s var(--ease);
}

.result-panel.in {
  opacity: 1;
  transform: translateY(0);
  max-height: 600px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-width: 1px;
  margin-top: 16px;
}

.result-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.result-panel-head .check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-panel-head .check svg {
  width: 13px; height: 13px;
  stroke: #4ade80;
  fill: none;
  stroke-width: 3;
}

.result-panel-head .label {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}

.result-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.result-action {
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  text-align: center;
}

.result-action svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  margin-bottom: 6px;
}

.result-action-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 3px;
}

.result-action-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* =============================================
   ── 33. SERVICE DETAIL PAGES ───────────────
   ============================================= */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.use-case {
  padding: 26px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: all 0.35s var(--ease);
}

.use-case:hover {
  border-color: rgba(201,169,97,0.25);
  transform: translateY(-4px);
}

.use-case-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(201,169,97,0.22);
  background: rgba(201,169,97,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.use-case-icon svg {
  width: 17px; height: 17px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.7;
}

.use-case h3 {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.use-case p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Integrations strip */
.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--r);
  border: 1px dashed var(--border-2);
  background: var(--bg-2);
}

.integrations-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  width: 100%;
  margin-bottom: 6px;
}

.integration-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.25s;
}

.integration-pill:hover {
  border-color: rgba(201,169,97,0.4);
  color: var(--gold);
  transform: translateY(-2px);
}

/* =============================================
   ── 34. CONTACT FORM ───────────────────────
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.contact-form {
  padding: 38px 36px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--fb);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--fb);
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(201,169,97,0.5);
  background: var(--bg-2);
}

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

.form-submit { margin-top: 8px; }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.3s;
}

.contact-info-card:hover { border-color: rgba(201,169,97,0.2); }

.cic-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(201,169,97,0.22);
  background: rgba(201,169,97,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cic-icon svg {
  width: 17px; height: 17px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.cic-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.cic-val {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.cic-sub { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* =============================================
   ── 35. RESPONSIVE — NEW COMPONENTS ────────
   ============================================= */
@media (max-width: 1024px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .sb-item:nth-child(3)::before { display: none; }
  .ps-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-teaser-wrap { grid-template-columns: 1fr; gap: 32px; }
  .demo-mock { order: -1; }
  .results-grid { grid-template-columns: 1fr; }
  .pricing-teaser-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .compare-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; font-size: 12px; padding: 14px 18px; }
  .demo-stage { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-item .nav-dropdown { display: none; }
}

@media (max-width: 640px) {
  .stats-bar { grid-template-columns: 1fr; }
  .sb-item::before { display: none !important; }
  .sb-item { padding: 24px; border-bottom: 1px solid var(--border); }
  .sb-item:last-child { border-bottom: none; }
  .ps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .compare-table { font-size: 11px; }
  .compare-row { grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr; padding: 12px 14px; }
  .result-actions { grid-template-columns: 1fr; }
  .live-card { min-height: 200px; padding: 16px; }
  .page-hero { padding-top: calc(var(--nh) + 60px); }
  .demo-teaser-wrap { padding: 32px 24px; }
}

/* ── 23. ACCESSIBILITY ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .reveal-word { opacity: 1; transform: none; filter: none; }
  .aurora-orb { animation: none; }
  .hero-sub, .hero-actions, .hero-stats, .ops-panel { opacity: 1; transform: none; }
}

/* =============================================
   ── 36. DEMO SIMULATOR · LIVE SYSTEMS ───────
   ============================================= */

/* Speaker indicator on phone */
.demo-phone-screen .dps-status {
  transition: color 0.3s, background 0.3s;
}
.demo-phone-screen.speaking-ai .dps-avatar,
.demo-phone-screen.speaking-caller .dps-avatar {
  animation: speakerPulse 1.4s ease-in-out infinite;
}
.demo-phone-screen.speaking-ai .dps-avatar {
  box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.6);
}
.demo-phone-screen.speaking-caller .dps-avatar {
  box-shadow: 0 0 0 0 rgba(120, 200, 255, 0.5);
}
@keyframes speakerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.demo-phone-screen.speaking-ai .dps-status { color: var(--gold); }
.demo-phone-screen.speaking-caller .dps-status { color: #78c8ff; }
.demo-phone-screen.speaking-ai .wave span { animation-duration: 0.6s; background: var(--gold); }
.demo-phone-screen.speaking-caller .wave span { animation-duration: 0.6s; background: #78c8ff; }

/* Variant pills */
.variant-toggle {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}
.variant-toggle.in { display: flex; }
.variant-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.02);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.variant-pill:hover { color: var(--text); border-color: var(--gold-d); }
.variant-pill.active {
  background: rgba(201, 169, 97, 0.16);
  border-color: var(--gold);
  color: var(--gold-l);
}

/* Live systems grid */
.live-systems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .live-systems { grid-template-columns: 1fr 1fr; gap: 14px; }
  .live-systems .cal-card { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .live-systems { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .live-systems .cal-card { grid-column: auto; }
}

.live-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  padding: 18px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
[data-theme="light"] .live-card {
  background: linear-gradient(180deg, rgba(0,0,0,0.025), rgba(0,0,0,0.005));
}
.live-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.live-head .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201,169,97,0.8);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.live-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}
.live-meta {
  margin-left: auto;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
}

/* CRM card */
.crm-card { opacity: 0.5; transition: opacity 0.4s; }
.crm-card.in { opacity: 1; }
.crm-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.crm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
[data-theme="light"] .crm-row { background: rgba(0,0,0,0.02); }
.crm-row.filled {
  background: rgba(201, 169, 97, 0.08);
  border-color: rgba(201, 169, 97, 0.35);
  transform: translateX(2px);
}
.crm-key {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-3);
}
.crm-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  font-family: var(--fb);
}
.crm-pending {
  color: var(--text-3);
  font-style: italic;
  font-weight: 400;
  font-size: 11px;
}
.crm-row.filled .crm-val { animation: crmFill 0.6s var(--ease); }
@keyframes crmFill {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SMS preview phone */
.sms-phone {
  border-radius: 14px;
  background: #0a0a0a;
  border: 1px solid var(--border-2);
  padding: 14px;
}
[data-theme="light"] .sms-phone { background: #f5f5f5; }
.sms-phone-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sms-phone-name { font-size: 11px; font-weight: 700; color: var(--text); }
.sms-phone-time { font-size: 10px; color: var(--text-3); }
.sms-bubble {
  background: #1a1a1a;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  max-width: 100%;
  opacity: 0.4;
  transform: translateY(8px);
  transition: all 0.5s var(--ease);
}
[data-theme="light"] .sms-bubble { background: #e8e8e8; }
.sms-phone.received .sms-bubble {
  opacity: 1;
  transform: translateY(0);
  background: rgba(201, 169, 97, 0.14);
  border: 1px solid rgba(201, 169, 97, 0.35);
}
.sms-bubble-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
  font-family: var(--fb);
}
.sms-phone.received .sms-bubble-text { color: var(--text); }

/* Calendar */
.cal-grid {
  display: grid;
  grid-template-columns: 36px repeat(5, 1fr);
  gap: 3px;
  font-family: var(--fb);
}
.cal-head {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-3);
  text-align: center;
  padding: 4px 2px;
}
.cal-time {
  font-size: 9px;
  color: var(--text-3);
  text-align: right;
  padding: 6px 4px 0 0;
}
.cal-slot {
  height: 22px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s var(--ease);
}
[data-theme="light"] .cal-slot { background: rgba(0,0,0,0.025); }
.cal-slot.booked {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
  box-shadow: 0 0 16px rgba(201, 169, 97, 0.55);
  animation: slotBook 0.6s var(--ease);
}
@keyframes slotBook {
  0% { transform: scale(0.85); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

/* Summary panel */
.summary-panel {
  margin-top: 0;
  padding: 0 26px;
  border-radius: 18px;
  border: 1px solid var(--border-2);
  border-width: 0;
  background: linear-gradient(135deg, rgba(201,169,97,0.06), rgba(255,255,255,0.02));
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), max-height 0.5s var(--ease), padding 0.5s var(--ease), margin 0.5s var(--ease), border-width 0.5s var(--ease);
  pointer-events: none;
}
.summary-panel.in {
  opacity: 1;
  transform: translateY(0);
  max-height: 600px;
  margin-top: 24px;
  padding: 24px 26px;
  border-width: 1px;
  pointer-events: auto;
}
.summary-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.summary-check {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  color: #0a0a0a;
  flex-shrink: 0;
}
.summary-check svg { width: 20px; height: 20px; }
.summary-title { font-size: 16px; font-weight: 800; color: var(--text); font-family: var(--fd); }
.summary-sub { font-size: 12px; color: var(--text-3); }
.summary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .summary-stats { grid-template-columns: repeat(2, 1fr); }
}
.summary-stat {
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}
[data-theme="light"] .summary-stat { background: rgba(0,0,0,0.02); }
.ss-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  margin-bottom: 6px;
}
.ss-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  font-family: var(--fd);
}
