/* ── RESET & ROOT ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink:       #05060A;
  --ink2:      #0D0F18;
  --ink3:      #141620;
  --gold:      #C9A84C;
  --gold2:     #E8C97A;
  --goldglow:  rgba(201,168,76,0.18);
  --goldglow2: rgba(201,168,76,0.06);
  --glass:     rgba(255,255,255,0.04);
  --glassbdr:  rgba(201,168,76,0.15);
  --white:     #F5F0E8;
  --muted:     rgba(245,240,232,0.45);
  --muted2:    rgba(245,240,232,0.22);
  --blue:      #1A3B6E;
  --bluelight: #2E6FC4;
  --success:   #2A7A4B;
  --success-bg: rgba(42,122,75,0.12);
  --warning:   #C48A1A;
  --warning-bg: rgba(196,138,26,0.12);
  --danger:    #B83232;
  --danger-bg:  rgba(184,50,50,0.12);
  --info:      #2E6FC4;
  --info-bg:   rgba(46,111,196,0.12);
  --r: 16px;
  --r2: 24px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Syne', sans-serif;
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ────────────────────────────── */
#cursor-outer {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  border: 1px solid var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transition: transform 0.18s ease, opacity 0.2s ease, width 0.25s ease, height 0.25s ease, background 0.2s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
}
#cursor-inner {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 100000;
  transition: transform 0.06s ease;
  transform: translate(-50%, -50%);
}
body.hovering #cursor-outer {
  width: 70px; height: 70px;
  background: var(--goldglow);
  border-color: var(--gold2);
}

/* Disable custom cursor on touch devices */
@media (pointer: coarse) {
  #cursor-outer, #cursor-inner { display: none !important; }
  body { cursor: auto !important; }
  a, button, input, select, textarea { cursor: pointer !important; }
}

/* ── NOISE OVERLAY ────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  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)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9998; opacity: 0.55;
}

/* ── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ── NAV ──────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 60px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}
nav.scrolled {
  background: rgba(5,6,10,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 60px;
  border-bottom: 0.5px solid var(--glassbdr);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(201,168,76,0.05);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-logo:hover .logo-icon,
.footer-brand:hover .logo-icon {
  border-color: var(--white);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}
.logo-icon svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.nav-logo:hover .logo-icon svg,
.footer-brand:hover .logo-icon svg { transform: rotate(15deg); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); background: var(--gold);
  border: none; padding: 10px 24px; cursor: none;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 60px 80px;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none; z-index: 1;
  animation: glowPulse 6s ease-in-out infinite;
}
.glow1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-55%);
}
.glow2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(46,111,196,0.12) 0%, transparent 70%);
  bottom: 10%; right: 10%;
  animation-delay: -3s;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.orbs-container {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, rgba(201,168,76,0.35), rgba(201,168,76,0.05) 60%, transparent);
  box-shadow: inset -8px -8px 20px rgba(0,0,0,0.5), inset 4px 4px 12px rgba(201,168,76,0.25);
  animation: floatOrb linear infinite;
}
.orb:nth-child(1) { width:120px; height:120px; top:15%; left:8%; animation-duration:18s; opacity:0.5; }
.orb:nth-child(2) { width:60px;  height:60px;  top:60%; left:5%; animation-duration:12s; animation-delay:-4s; opacity:0.4; }
.orb:nth-child(3) { width:90px;  height:90px;  top:20%; right:10%; animation-duration:22s; animation-delay:-8s; opacity:0.35; }
.orb:nth-child(4) { width:40px;  height:40px;  bottom:25%; right:18%; animation-duration:9s; animation-delay:-2s; opacity:0.5; }
.orb:nth-child(5) { width:70px;  height:70px;  bottom:12%; left:30%; animation-duration:16s; animation-delay:-6s; opacity:0.3; }
@keyframes floatOrb {
  0%   { transform: translateY(0px) rotate(0deg); }
  25%  { transform: translateY(-30px) rotate(90deg); }
  50%  { transform: translateY(-15px) rotate(180deg); }
  75%  { transform: translateY(-45px) rotate(270deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 960px; }
.hero-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-eyebrow span { display: inline-block; width: 40px; height: 1px; background: var(--gold); }

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 300; line-height: 1.0; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.hero-h1 .word {
  display: inline-block;
  opacity: 0; transform: translateY(60px);
  animation: wordReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-h1 .word:nth-child(1) { animation-delay: 0.5s; }
.hero-h1 .word:nth-child(2) { animation-delay: 0.65s; }
.hero-h1 .word:nth-child(3) { animation-delay: 0.8s; }
.hero-h1 .italic { font-style: italic; color: var(--gold); }

.hero-subtitle-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300; font-style: italic; color: var(--muted);
  margin-bottom: 36px;
  opacity: 0; animation: fadeUp 1s ease 1.1s forwards;
}

.hero-desc {
  font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.8;
  max-width: 480px; margin: 0 auto 48px;
  opacity: 0; animation: fadeUp 0.8s ease 1.3s forwards;
}

.hero-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s ease 1.5s forwards;
}
.btn-primary {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); background: var(--gold);
  border: none; padding: 16px 40px; cursor: none;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white);
  background: transparent; border: 1px solid var(--glassbdr);
  padding: 16px 40px; cursor: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.btn-outline:hover {
  background: var(--glass); border-color: var(--gold);
  transform: translateY(-3px);
}

.hero-stats {
  position: absolute; bottom: 50px; left: 60px; right: 60px;
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 2;
  opacity: 0; animation: fadeUp 0.8s ease 1.8s forwards;
}
.stat-item { text-align: left; }
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 600;
  color: var(--white); line-height: 1;
}
.stat-num .gold { color: var(--gold); }
.stat-label {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.stat-divider {
  height: 40px; width: 1px; background: var(--glassbdr); align-self: center;
}

/* LIQUID DIVIDER */
.liquid-divider {
  width: 100%; overflow: hidden; line-height: 0;
  position: relative; z-index: 3;
  margin-top: -2px;
}
.liquid-divider svg { display: block; }

/* ── SECTIONS SHARED ──────────────────────────── */
section { padding: 120px 60px; position: relative; overflow: hidden; }
.section-tag {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.section-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 72px); font-weight: 300; line-height: 1.1;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-body { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 500px; }

/* REVEAL ANIMATION */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FEATURES ─────────────────────────────────── */
#features { background: var(--ink2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 80px;
  border: 1px solid var(--glassbdr);
}
.feature-card {
  padding: 48px 36px;
  background: var(--ink2);
  position: relative; overflow: hidden;
  transition: background 0.4s ease;
  cursor: none;
  text-decoration: none;
  display: block;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--goldglow) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
.feature-card:hover { background: rgba(201,168,76,0.04); }
.feature-card:hover::before { opacity: 1; }
.feature-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s ease;
}
.feature-card:hover::after { transform: scaleX(1); }

.feat-num {
  font-family: 'DM Mono', monospace; font-size: 11px; color: var(--gold);
  letter-spacing: 0.2em; margin-bottom: 24px;
}
.feat-icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  border: 1px solid var(--glassbdr);
  display: flex; align-items: center; justify-content: center;
  background: var(--glass);
  transition: border-color 0.3s, background 0.3s;
}
.feature-card:hover .feat-icon {
  border-color: var(--gold);
  background: var(--goldglow);
}
.feat-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.feat-title {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600;
  margin-bottom: 12px; color: var(--white);
}
.feat-desc { font-size: 13px; color: var(--muted); line-height: 1.75; }
.feat-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-top: 24px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
}
.feature-card:hover .feat-arrow { opacity: 1; transform: translateX(0); }

/* ── GLASS BENTO SECTION ──────────────────────── */
#intelligence { background: var(--ink); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px; margin-top: 80px;
}
.bento-card {
  background: var(--glass);
  border: 0.5px solid var(--glassbdr);
  border-radius: var(--r2);
  padding: 36px 32px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s ease, border-color 0.3s;
  cursor: none;
}
.bento-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.bento-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r2);
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), var(--goldglow) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.bento-card:hover::before { opacity: 1; }

.bc1 { grid-column: 1 / 7; grid-row: 1; }
.bc2 { grid-column: 7 / 13; grid-row: 1; }
.bc3 { grid-column: 1 / 5; grid-row: 2; min-height: 280px; }
.bc4 { grid-column: 5 / 9; grid-row: 2; }
.bc5 { grid-column: 9 / 13; grid-row: 2; }

.bento-tag {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.bento-h { 
  font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600;
  color: var(--white); margin-bottom: 12px; line-height: 1.2;
}
.bento-p { font-size: 13px; color: var(--muted); line-height: 1.7; }

.mini-chart { margin-top: 24px; display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.bar {
  flex: 1; background: var(--goldglow);
  border-top: 2px solid var(--gold); border-radius: 2px 2px 0 0;
  transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: barGrow 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

.pulse-ring {
  position: absolute; right: 28px; top: 28px;
  width: 48px; height: 48px;
}
.pulse-ring::before, .pulse-ring::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--gold); border-radius: 50%;
  animation: ringPulse 2.5s ease-out infinite;
}
.pulse-ring::after { animation-delay: 1.25s; }
.pulse-ring .dot {
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
  transform: translate(-50%, -50%);
}
@keyframes ringPulse {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ── PROCESS ──────────────────────────────────── */
#process { background: var(--ink2); }
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  margin-top: 80px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 60px; left: calc(12.5% + 24px); right: calc(12.5% + 24px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), var(--gold), transparent);
  opacity: 0.3;
}
.step {
  padding: 0 24px; text-align: center; position: relative;
}
.step-circle {
  width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px; background: var(--ink2);
  font-family: 'DM Mono', monospace; font-size: 13px; color: var(--gold);
  position: relative; z-index: 1;
  transition: background 0.3s, box-shadow 0.3s;
}
.step:hover .step-circle {
  background: var(--goldglow);
  box-shadow: 0 0 30px rgba(201,168,76,0.3);
}
.step-title {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600;
  margin-bottom: 12px; color: var(--white);
}
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── PRICING ──────────────────────────────────── */
#pricing { background: var(--ink); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 80px; }
.price-card {
  border: 0.5px solid var(--glassbdr); border-radius: var(--r2); padding: 44px 36px;
  background: var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  position: relative; overflow: hidden;
  transition: transform 0.4s, border-color 0.3s;
  cursor: none;
}
.price-card.featured {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: 0; right: 0;
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; background: var(--gold); color: var(--ink);
  padding: 6px 16px;
}
.price-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.price-tier {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.price-amount {
  font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300;
  color: var(--white); line-height: 1;
}
.price-amount sup { font-size: 22px; vertical-align: top; margin-top: 10px; display: inline-block; color: var(--muted); }
.price-amount sub { font-size: 16px; color: var(--muted); }
.price-divider { height: 1px; background: var(--glassbdr); margin: 28px 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.price-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--muted); line-height: 1.4;
}
.price-features li::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  border: 1px solid var(--gold); border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/cover;
}
.price-btn {
  width: 100%; margin-top: 36px;
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 16px;
  border: 1px solid var(--gold); background: transparent;
  color: var(--gold); cursor: none;
  transition: background 0.3s, color 0.3s;
}
.price-card.featured .price-btn { background: var(--gold); color: var(--ink); }
.price-btn:hover { background: var(--gold); color: var(--ink); }

/* ── TESTIMONIALS ─────────────────────────────── */
#testimonials { background: var(--ink2); overflow: hidden; }
.marquee-outer { overflow: hidden; margin-top: 60px; }
.marquee-track {
  display: flex; gap: 24px; width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testi-card {
  flex: 0 0 360px; padding: 36px 32px;
  background: var(--glass); border: 0.5px solid var(--glassbdr); border-radius: var(--r2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.testi-quote {
  font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 300;
  font-style: italic; color: var(--white); line-height: 1.7; margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--goldglow); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 12px; color: var(--gold);
}
.testi-name { font-size: 13px; font-weight: 600; color: var(--white); }
.testi-role { font-size: 11px; color: var(--muted); margin-top: 2px; font-family: 'DM Mono', monospace; letter-spacing: 0.08em; }
.star-row { color: var(--gold); font-size: 12px; margin-bottom: 16px; letter-spacing: 2px; }

/* ── CTA SECTION ──────────────────────────────── */
#cta {
  background: var(--ink);
  text-align: center; padding: 160px 60px;
  position: relative; overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
}
.cta-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300; line-height: 1.05;
  margin-bottom: 32px; position: relative;
}
.cta-h em { font-style: italic; color: var(--gold); }
.cta-sub { font-size: 15px; color: var(--muted); max-width: 420px; margin: 0 auto 48px; line-height: 1.7; }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--ink2); padding: 80px 60px 40px;
  border-top: 0.5px solid var(--glassbdr);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; letter-spacing: 0.1em;
  font-weight: 600; color: var(--white); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 0.5px solid var(--glassbdr); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-family: 'DM Mono', monospace; font-size: 11px;
  color: var(--muted2); letter-spacing: 0.08em;
}

/* ── KEYFRAMES SHARED ─────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SUBPAGES CONTENT WRAPPERS ────────────────── */
.subpage-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 60px 80px;
  position: relative;
  z-index: 10;
}
.back-link {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px;
  transition: color 0.2s, transform 0.2s;
}
.back-link:hover { color: var(--white); transform: translateX(-4px); }

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 76px); font-weight: 300; line-height: 1.1;
  margin-bottom: 16px;
}
.page-title em { font-style: italic; color: var(--gold); }

.page-subtitle {
  font-size: 18px; color: var(--muted); margin-bottom: 48px; max-width: 700px; line-height: 1.6;
}

/* ── INTERACTIVE MOCK TOOLS ───────────────────── */
.tool-window {
  background: var(--ink2);
  border: 0.5px solid var(--glassbdr);
  border-radius: var(--r2);
  padding: 40px;
  margin-top: 48px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.tool-header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 0.5px solid var(--glassbdr);
  padding-bottom: 20px; margin-bottom: 30px;
}
.tool-title {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 8px;
}
.tool-title .dot {
  width: 8px; height: 8px; background: var(--gold); border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

.tool-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
@media (max-width: 800px) {
  .tool-grid { grid-template-columns: 1fr; }
}

/* Input Fields & Forms */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block; font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%; background: var(--glass);
  border: 1px solid var(--glassbdr);
  color: var(--white); font-family: 'Syne', sans-serif;
  padding: 12px 16px; border-radius: 4px; font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}
select.form-control option {
  background: var(--ink2);
  color: var(--white);
}

/* Interactive Result Boxes */
.result-box {
  background: rgba(0,0,0,0.3);
  border: 0.5px solid var(--glassbdr);
  border-radius: 12px;
  padding: 24px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.result-placeholder {
  margin: auto; text-align: center; color: var(--muted);
  font-size: 13px; line-height: 1.6;
}
.result-placeholder svg { width: 36px; height: 36px; stroke: var(--muted); margin-bottom: 12px; opacity: 0.5; }

/* Risk cards */
.risk-card {
  padding: 16px; border-radius: 8px; margin-bottom: 12px;
  display: flex; gap: 16px;
}
.risk-high { background: var(--danger-bg); border-left: 3px solid var(--danger); }
.risk-medium { background: var(--warning-bg); border-left: 3px solid var(--warning); }
.risk-low { background: var(--success-bg); border-left: 3px solid var(--success); }
.risk-badge {
  font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em;
  padding: 2px 8px; border-radius: 4px; text-transform: uppercase; font-weight: bold;
  height: fit-content;
}
.badge-high { background: var(--danger); color: var(--white); }
.badge-medium { background: var(--warning); color: var(--ink); }
.badge-low { background: var(--success); color: var(--white); }

/* Chat Console (LexCounsel AI) */
.chat-container {
  display: flex; flex-direction: column; height: 400px;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 16px;
}
.chat-bubble {
  max-width: 80%; padding: 14px 18px; border-radius: 12px; font-size: 13px; line-height: 1.6;
}
.chat-user {
  background: var(--glass); border: 0.5px solid var(--glassbdr); align-self: flex-end; border-bottom-right-radius: 2px;
}
.chat-ai {
  background: var(--ink3); border: 0.5px solid var(--glassbdr); align-self: flex-start; border-bottom-left-radius: 2px;
}
.chat-citation {
  font-family: 'DM Mono', monospace; font-size: 10px; color: var(--gold); display: block; margin-top: 10px;
  border-top: 0.5px solid rgba(201,168,76,0.2); padding-top: 6px;
}
.chat-input-row {
  display: flex; gap: 10px; margin-top: 20px;
}
.chat-input {
  flex: 1;
}

/* Vault File Drawer */
.vault-drawer {
  display: flex; flex-direction: column; gap: 12px;
}
.vault-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--glass); border: 0.5px solid var(--glassbdr);
  border-radius: 8px; transition: background 0.2s, border-color 0.2s;
}
.vault-item:hover { background: rgba(255,255,255,0.06); border-color: var(--gold); }
.file-info { display: flex; align-items: center; gap: 14px; }
.file-icon { width: 32px; height: 32px; border-radius: 4px; background: rgba(201,168,76,0.1); display: flex; align-items: center; justify-content: center; }
.file-name { font-size: 13px; font-weight: 500; }
.file-meta { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); margin-top: 2px; }
.file-action { display: flex; gap: 10px; }

/* ── FLOATING SEO CONTROLLER ───────────────────── */
#seo-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 10001;
  font-family: 'DM Mono', monospace;
}
.seo-gear {
  width: 48px; height: 48px; background: var(--gold); border: none;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4); cursor: none;
  transition: transform 0.3s ease, background-color 0.3s;
}
.seo-gear svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2; transition: transform 0.5s ease; }
.seo-gear:hover { transform: scale(1.05); background: var(--gold2); }
.seo-gear.active svg { transform: rotate(90deg); }

.seo-panel {
  position: absolute; bottom: 60px; right: 0; width: 340px;
  background: var(--ink2); border: 0.5px solid var(--glassbdr);
  border-radius: 12px; padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(10px) scale(0.95); pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.seo-panel.show {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: all;
}
.seo-panel-h {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
  border-bottom: 0.5px solid var(--glassbdr); padding-bottom: 10px; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.seo-toggle-row {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.seo-toggle-label { font-size: 12px; color: var(--white); }
.switch {
  position: relative; display: inline-block; width: 44px; height: 22px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: none; inset: 0; background-color: var(--muted2);
  transition: .3s; border-radius: 22px; border: 0.5px solid var(--glassbdr);
}
.slider:before {
  position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px;
  background-color: var(--white); transition: .3s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--gold); }
input:checked + .slider:before { transform: translateX(22px); background-color: var(--ink); }

.seo-preview {
  background: rgba(0,0,0,0.4); border: 0.5px solid var(--glassbdr);
  border-radius: 8px; padding: 14px; margin-top: 14px;
}
.seo-preview-label { font-size: 9px; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; display: block; }
.serp-title { font-family: 'Syne', sans-serif; font-size: 15px; color: #5390F5; text-decoration: none; display: block; margin-bottom: 4px; }
.serp-title:hover { underline: true; }
.serp-url { font-size: 10px; color: #20C48C; display: block; margin-bottom: 6px; }
.serp-desc { font-family: 'Syne', sans-serif; font-size: 11px; color: var(--muted); line-height: 1.4; }

.seo-status-badge {
  font-size: 9px; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; font-weight: bold;
}
.status-on { background: var(--success-bg); color: var(--gold2); }
.status-off { background: var(--danger-bg); color: var(--muted); border: 0.5px solid var(--muted2); }

/* ── RESPONSIVE OVERRIDES ─────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 20px 32px; }
  nav.scrolled { padding: 14px 32px; }
  section { padding: 80px 32px; }
  #hero { padding: 100px 32px 70px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bc1,.bc2,.bc3,.bc4,.bc5 { grid-column: span 1; grid-row: auto; }
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-stats { position: static; margin-top: 60px; flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .subpage-container { padding: 110px 32px 60px; }
}
@media (max-width: 600px) {
  nav .nav-links, nav .nav-cta { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .tool-window { padding: 20px; }
}

/* ── PREMIUM MODAL DIALOGS ─────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5,6,10,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 10005; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-window {
  background: var(--ink2); border: 0.5px solid var(--glassbdr);
  border-radius: var(--r2); width: 100%; max-width: 760px;
  max-height: 85vh; display: flex; flex-direction: column;
  position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  transform: translateY(20px) scale(0.96); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.modal-overlay.show .modal-window { transform: translateY(0) scale(1); opacity: 1; }
.modal-progress {
  position: absolute; top: 0; left: 0; height: 3px; background: var(--gold);
  width: 0; transition: width 0.1s; z-index: 10;
}
.modal-header {
  padding: 32px 40px 20px; border-bottom: 0.5px solid var(--glassbdr);
  display: flex; justify-content: space-between; align-items: flex-start;
  position: relative;
}
.modal-title-wrap { flex-grow: 1; }
.modal-close {
  background: transparent; border: none; font-size: 28px; color: var(--muted);
  cursor: none; line-height: 1; transition: color 0.2s, transform 0.2s;
  padding: 4px; margin-left: 20px;
}
.modal-close:hover { color: var(--gold); transform: scale(1.1); }
.modal-body {
  padding: 40px; overflow-y: auto; font-family: 'Syne', sans-serif;
  font-size: 14px; line-height: 1.7; color: var(--white);
}
.modal-body p { margin-bottom: 20px; color: rgba(245,240,232,0.85); }
.modal-body h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--white); margin: 30px 0 16px; }
.modal-body ul, .modal-body ol { margin-bottom: 24px; padding-left: 20px; }
.modal-body li { margin-bottom: 8px; color: rgba(245,240,232,0.8); }
.modal-body blockquote {
  border-left: 2px solid var(--gold); padding-left: 20px; margin: 24px 0;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; color: var(--gold2);
}
.modal-footer-cta {
  background: var(--ink3); border-top: 0.5px solid var(--glassbdr);
  padding: 24px 40px; display: flex; justify-content: space-between; align-items: center;
}
.modal-footer-cta p { font-size: 12px; color: var(--muted); margin: 0; }

select.form-control option {
  background-color: var(--ink2) !important;
  color: var(--white) !important;
}

/* ── FOOTER SOCIAL LINKS ───────────────────────── */
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-socials a {
  color: var(--muted2);
  transition: color 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
}
.footer-socials a:hover {
  color: var(--gold);
  transform: translateY(-2px) scale(1.15);
}
.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── INTERACTIVE WATCH DEMO SIMULATOR ──────────── */
.demo-window {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: rgba(5,6,10,0.5);
  border: 0.5px solid var(--glassbdr);
  border-radius: 8px;
  overflow: hidden;
  height: 380px;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .demo-window {
    grid-template-columns: 1fr;
    height: auto;
  }
}
.demo-sidebar {
  background: rgba(0,0,0,0.3);
  border-right: 0.5px solid var(--glassbdr);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.demo-sidebar-h {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.demo-status-pill {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--glassbdr);
  color: var(--muted);
  width: fit-content;
}
.demo-status-pill.active {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold2);
  box-shadow: 0 0 10px rgba(201,168,76,0.1);
}
.demo-checks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-check-item {
  font-size: 11px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-check-item.done {
  color: var(--white);
}
.demo-check-item.done::before {
  content: '✓';
  color: var(--gold2);
  font-weight: bold;
}
.demo-check-item.pending::before {
  content: '○';
  color: var(--muted2);
}
.demo-editor-pane {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.demo-editor-header {
  border-bottom: 0.5px solid var(--glassbdr);
  padding-bottom: 10px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo-editor-title {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}
.demo-editor-body {
  flex: 1;
  overflow-y: auto;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  white-space: pre-wrap;
  padding-right: 6px;
  text-align: left;
}
.demo-cursor {
  display: inline-block;
  width: 6px;
  height: 14px;
  background: var(--gold);
  margin-left: 2px;
  animation: cursorBlink 0.8s infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
.demo-risk-alert {
  background: rgba(239,68,68,0.1);
  border: 0.5px solid rgba(239,68,68,0.3);
  border-left: 3px solid #ef4444;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 11px;
  margin-top: 10px;
  color: rgba(255,255,255,0.9);
  text-align: left;
  animation: slideFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── ADMIN LOGIN GATEWAY ───────────────────────── */
.admin-login-overlay {
  position: fixed; inset: 0; background: #05060A;
  z-index: 10002; display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(12px);
}
.admin-login-card {
  background: var(--ink2); border: 0.5px solid var(--glassbdr);
  border-radius: var(--r2); width: 100%; max-width: 400px;
  padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  text-align: center;
  animation: slideFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-login-icon {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(201,168,76,0.06);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}
.admin-login-icon svg { width: 26px; height: 26px; stroke: var(--gold); stroke-width: 1.5; fill: none; }

/* ── BLOG FILTER BUTTONS ───────────────────────── */
.preset-btn {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--glass);
  border: 0.5px solid var(--glassbdr);
  padding: 10px 18px;
  cursor: none;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.preset-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  transform: translateY(-1px);
}

