/* ==========================================================================
   ADJAY — The AI Marketing Operating System
   Premium Dark-Mode-First Design System & Stylesheet v2.0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  /* HSL Tailored Color Palette */
  --bg-dark: #020206;
  --bg-surface: #090914;
  --bg-surface-elevated: #0f0f22;
  
  --border-glow: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.12);
  
  --coral: HSL(350, 100%, 62%);      /* #FF3E5D */
  --coral-dim: rgba(255, 62, 93, 0.12);
  --sun: HSL(43, 100%, 58%);         /* #FFB829 */
  --sun-dim: rgba(255, 184, 41, 0.12);
  --mint: HSL(145, 80%, 48%);        /* #1CD15B */
  --mint-dim: rgba(28, 209, 91, 0.12);
  --sky: HSL(212, 100%, 60%);        /* #3385FF */
  --sky-dim: rgba(51, 133, 255, 0.12);
  --grape: HSL(265, 85%, 62%);       /* #9E52FF */
  --grape-dim: rgba(158, 82, 255, 0.12);
  
  --text-white: #ffffff;
  --text-muted: #84879d;
  --text-gray: #4d4f61;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 32px 72px rgba(0, 0, 0, 0.95);
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 42px;
  
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Global Reset & Scroll ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #0e0e1f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1a1a36;
}

/* Background Grid Pattern */
.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* Glowing background orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: -1;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'DM Serif Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 5.8vw, 4.4rem);
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  margin-bottom: 16px;
  color: var(--text-white);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--text-white);
}

p {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-white) 40%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-coral {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-mint {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  color: var(--sun);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--text-white);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: #e2e2e8;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-coral {
  background: var(--coral);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(255, 62, 93, 0.25);
}

.btn-coral:hover {
  background: #ff5270;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 62, 93, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-white);
  border: 1px solid var(--border-glow);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 2, 6, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  transition: all var(--transition-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.logo-mark-svg {
  width: 32px;
  height: 32px;
  display: block;
}

.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-gray);
  font-weight: 700;
  margin-top: 5px;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
  margin: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  padding: 4px;
  border-radius: 99px;
}

.lang-opt {
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-opt.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
}

/* Nav toggle for mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  transition: all var(--transition-fast);
}

/* ---------- Hero Section ---------- */
.hero-section {
  padding-top: 50px;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-text .lead {
  margin-bottom: 32px;
}

.adjay-inline {
  height: 1.1em;
  vertical-align: middle;
  display: inline-block;
  margin-top: -2px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* Brand visualizer EQ tag */
.beat-caption {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glow);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.beat-caption .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse-ring 1.5s infinite;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
}

.eq-bars span {
  width: 3px;
  border-radius: 2px;
  background: var(--text-muted);
  transform-origin: bottom;
  animation: eq-bounce 1.2s ease-in-out infinite;
}

@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* ---------- Hero Right: DJ Console Container ---------- */
.hero-art-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.hero-orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  top: -80px;
  right: -50px;
  opacity: 0.25;
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
  bottom: -80px;
  left: -50px;
  opacity: 0.18;
}

/* ---------- DJ Console (Physical hardware design) ---------- */
.dj-console {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(165deg, #0b0b14 0%, #030308 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 10;
}

/* Deck Header Display */
.console-display {
  background: #020205;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.display-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
  animation: led-blink 1.5s infinite;
}

@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.display-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sun);
  text-transform: uppercase;
}

.display-meters {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.display-meters span {
  width: 2.5px;
  background-color: var(--mint);
  border-radius: 1px;
  transform-origin: bottom;
  animation: eq-bounce 1s ease-in-out infinite;
}

.display-bpm {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.display-bpm strong {
  color: var(--mint);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Console Deck Core (Mixers & Wheels) */
.console-core {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 10px;
  align-items: center;
}

/* Jog Wheels */
.jog-wheel {
  aspect-ratio: 1;
  background: radial-gradient(circle, #121222 0%, #030307 80%);
  border-radius: 50%;
  border: 4px solid #080812;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.5),
    inset 0 3px 5px rgba(255, 255, 255, 0.02);
}

.jog-ring {
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

.jog-wheel.playing .jog-ring {
  border-color: var(--sun);
  animation-duration: 3s;
}

.jog-pointer {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 5px;
  height: 5px;
  background-color: var(--sun);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 6px var(--sun);
}

.jog-center {
  width: 52%;
  height: 52%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, var(--grape) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.jog-center-inner-svg {
  width: 60%;
  height: 60%;
  color: var(--text-white);
}

.jog-wheel-right .jog-center {
  background: linear-gradient(135deg, var(--sky) 0%, var(--mint) 100%);
}

/* 5 Channels & Faders Mixer */
.mixer-board {
  background: #020205;
  border-radius: 14px;
  padding: 12px 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

.mixer-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.channel-tag {
  font-size: 0.48rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fader-track {
  width: 4px;
  height: 80px;
  background: #0a0a16;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.fader-handle {
  width: 18px;
  height: 10px;
  background: linear-gradient(180deg, #d0d2e0 0%, #3e3f4e 100%);
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  box-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.fader-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 2px;
  right: 2px;
  height: 2px;
  transform: translateY(-50%);
}

.ch-search .fader-handle::after { background: var(--coral); box-shadow: 0 0 5px var(--coral); }
.ch-shop .fader-handle::after { background: var(--sun); box-shadow: 0 0 5px var(--sun); }
.ch-pmax .fader-handle::after { background: var(--mint); box-shadow: 0 0 5px var(--mint); }
.ch-display .fader-handle::after { background: var(--grape); box-shadow: 0 0 5px var(--grape); }
.ch-youtube .fader-handle::after { background: var(--sky); box-shadow: 0 0 5px var(--sky); }

.channel-val {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-gray);
}

/* Console Footer Controls */
.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.knobs-grid {
  display: flex;
  gap: 14px;
}

.knob-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.rotary-knob {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, #1c1c32 0%, #06060c 80%);
  border-radius: 50%;
  border: 2px solid #0e0e1a;
  position: relative;
  cursor: pointer;
  box-shadow: 
    0 3px 5px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.rotary-knob::before {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 50%;
  width: 2px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 1px;
  transform: translateX(-50%);
}

.knob-bid .rotary-knob::before { background-color: var(--coral); }
.knob-budget .rotary-knob::before { background-color: var(--sun); }
.knob-roas .rotary-knob::before { background-color: var(--mint); }
.knob-qs .rotary-knob::before { background-color: var(--sky); }

.knob-label {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.console-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 100%);
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(28, 209, 91, 0.3);
  padding-left: 2px;
}

.console-play-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ---------- Live Campaign Dashboard (Visual evidence) ---------- */
.live-dashboard {
  width: 100%;
  max-width: 480px;
  background: rgba(9, 9, 20, 0.85);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 10px;
}

.dashboard-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-chart-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}

/* SVG Line Graph */
.chart-line-box {
  background: #030308;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.02);
  height: 120px;
  position: relative;
}

.chart-svg-elem {
  width: 100%;
  height: 100%;
}

.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.02);
  stroke-width: 1;
}

.chart-plot-path {
  fill: none;
  stroke: url(#chart-stroke-grad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 0.3s ease;
}

/* Funnel bars */
.chart-funnel-box {
  background: #030308;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.02);
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.funnel-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 18%;
  height: 100%;
  justify-content: flex-end;
}

.funnel-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  height: 0%;
  transition: height 0.4s ease;
}

.funnel-col-1 .funnel-bar { background: var(--sky-dim); border: 1px solid rgba(51, 133, 255, 0.3); }
.funnel-col-2 .funnel-bar { background: var(--grape-dim); border: 1px solid rgba(158, 82, 255, 0.3); }
.funnel-col-3 .funnel-bar { background: var(--coral-dim); border: 1px solid rgba(255, 62, 93, 0.3); }
.funnel-col-4 .funnel-bar { background: var(--mint-dim); border: 1px solid rgba(28, 209, 91, 0.3); box-shadow: 0 0 10px rgba(28, 209, 91, 0.2); }

.funnel-label {
  font-size: 0.46rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

/* Diagnostics strip logs */
.dashboard-diagnostics-box {
  background: #030308;
  border-radius: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.diag-log-text {
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.diag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
}

.diag-dot.warn {
  background: var(--sun);
  box-shadow: 0 0 6px var(--sun);
}

.diag-btn {
  background: var(--coral-dim);
  color: var(--coral);
  border: 1px solid rgba(255, 62, 93, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.diag-btn:hover {
  background: var(--coral);
  color: var(--text-white);
}

/* Floating Metrics Cards */
.floating-card {
  position: absolute;
  background: rgba(9, 9, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  z-index: 20;
  animation: card-float 6s ease-in-out infinite;
}

.floating-card-1 { top: 20px; right: -20px; }
.floating-card-2 { bottom: 60px; left: -30px; animation-delay: -2s; }
.floating-card-3 { bottom: -20px; right: -25px; animation-delay: -4s; }

.card-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.card-icon-wrapper.coral { background: var(--coral-dim); color: var(--coral); }
.card-icon-wrapper.sky { background: var(--sky-dim); color: var(--sky); }
.card-icon-wrapper.mint { background: var(--mint-dim); color: var(--mint); }

.card-info {
  display: flex;
  flex-direction: column;
}

.card-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.card-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.card-pulse-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--mint);
  text-transform: uppercase;
  margin-top: 1px;
}

.tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--mint);
  box-shadow: 0 0 6px var(--mint);
  animation: pulse-ring 1s infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- BRAND LOGO LABORATORY (Upgrade 1) ---------- */
.logo-lab-section {
  background: rgba(9, 9, 20, 0.4);
}

.logo-lab-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.logo-lab-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-lab-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-lab-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.logo-lab-card.active {
  border-color: var(--coral);
  background: rgba(255, 62, 93, 0.02);
  box-shadow: 0 0 20px rgba(255, 62, 93, 0.05);
}

.logo-card-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-lab-svg-wrap {
  width: 48px;
  height: 48px;
  background: #04040a;
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-lab-svg-wrap svg {
  width: 32px;
  height: 32px;
}

.logo-card-info h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.logo-card-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.logo-lab-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-gray);
  position: relative;
  transition: all var(--transition-fast);
}

.logo-lab-card.active .logo-lab-radio {
  border-color: var(--coral);
}

.logo-lab-card.active .logo-lab-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--coral);
}

/* Logo Showcase Preview Window */
.logo-preview-window {
  background: #030308;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.logo-preview-window::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 62, 93, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.preview-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(1.4);
  transition: all 0.3s ease;
}

.preview-logo-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--text-white);
}

.preview-logo-wordmark .accent {
  color: var(--coral);
}

/* ---------- 5 PILLARS FLOW ---------- */
.pillars-section {
  position: relative;
  z-index: 5;
}

.timeline-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.timeline-flow::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(255,62,93,0.1) 0%, 
    rgba(255,184,41,0.5) 25%, 
    rgba(28,209,91,0.8) 50%, 
    rgba(51,133,255,0.5) 75%, 
    rgba(158,82,255,0.1) 100%);
  z-index: 1;
}

.timeline-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-node:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.node-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.timeline-node:nth-child(1) .node-icon-box { background: var(--coral-dim); color: var(--coral); border: 1px solid rgba(255,62,93,0.15); }
.timeline-node:nth-child(2) .node-icon-box { background: var(--sun-dim); color: var(--sun); border: 1px solid rgba(255,184,41,0.15); }
.timeline-node:nth-child(3) .node-icon-box { background: var(--mint-dim); color: var(--mint); border: 1px solid rgba(28, 209, 91, 0.15); }
.timeline-node:nth-child(4) .node-icon-box { background: var(--sky-dim); color: var(--sky); border: 1px solid rgba(51, 133, 255, 0.15); }
.timeline-node:nth-child(5) .node-icon-box { background: var(--grape-dim); color: var(--grape); border: 1px solid rgba(158, 82, 255, 0.15); }

.timeline-node h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-white);
}

.timeline-node p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- CONTENT PYRAMID FLOWCHART (Upgrade 2) ---------- */
.pyramid-section {
  position: relative;
}

.pyramid-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Vertical Flowchart layout */
.flowchart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.flowchart-step {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
}

.flowchart-step:hover, .flowchart-step.active {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.flowchart-step.active {
  border-color: var(--mint);
  box-shadow: 0 0 15px rgba(28, 209, 91, 0.05);
}

.step-num-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.flowchart-step.active .step-num-badge {
  background: var(--mint-dim);
  border-color: var(--mint);
  color: var(--mint);
}

.step-title-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.flowchart-step.active .step-title-text {
  color: var(--text-white);
}

/* Connector Arrow */
.flowchart-connector {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.flowchart-connector::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.08);
}

.flowchart-step.active + .flowchart-connector {
  background: var(--mint);
}

.flowchart-step.active + .flowchart-connector::after {
  border-top-color: var(--mint);
}

/* Glowing dot traveler animation */
.pulse-node-traveler {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: travel-down 3s infinite linear;
  pointer-events: none;
  z-index: 5;
  display: none; /* activated dynamically */
}

/* Flowchart Details Info Box */
.pyramid-info-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 32px;
  min-height: 280px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-normal);
}

.pyramid-info-box h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pyramid-info-box h4 span {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.pyramid-info-box h4 span.tag-orange { background: var(--sun-dim); color: var(--sun); }
.pyramid-info-box h4 span.tag-green { background: var(--mint-dim); color: var(--mint); }
.pyramid-info-box h4 span.tag-blue { background: var(--sky-dim); color: var(--sky); }
.pyramid-info-box h4 span.tag-pink { background: var(--coral-dim); color: var(--coral); }

.pyramid-info-box p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- INTERACTIVE AUDIT SHOWCASE (Upgrade 3) ---------- */
.audit-showcase-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #04040d 100%);
}

.audit-showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.audit-tab-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audit-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.audit-tab-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.audit-tab-btn.active {
  border-color: var(--sky);
  background: rgba(51, 133, 255, 0.02);
}

.audit-tab-btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.audit-tab-btn-icon {
  font-size: 1.15rem;
}

.audit-tab-btn-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.audit-tab-btn.active .audit-tab-btn-title {
  color: var(--text-white);
}

.audit-tab-arrow {
  color: var(--text-gray);
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}

.audit-tab-btn.active .audit-tab-arrow {
  color: var(--sky);
  transform: translateX(4px);
}

/* Diagnostic Preview Window */
.audit-preview-window {
  background: #030308;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Inner Tab View Layouts */
.audit-tab-content {
  display: none;
  animation: fade-in 0.3s ease forwards;
}

.audit-tab-content.active {
  display: block;
}

/* Tab 1: Tag Status checklist */
.tag-checker-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag-checker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
  border-radius: 10px;
}

.tag-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tag-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-gray);
}

.tag-checker-item.success .tag-bullet { background: var(--mint); box-shadow: 0 0 6px var(--mint); }
.tag-checker-item.warning .tag-bullet { background: var(--sun); box-shadow: 0 0 6px var(--sun); }

.tag-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}

.tag-status-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-checker-item.success .tag-status-lbl { color: var(--mint); }
.tag-checker-item.warning .tag-status-lbl { color: var(--sun); }

/* Tab 2: Speed metrics cards */
.speed-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.speed-metric-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.speed-metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.speed-metric-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speed-metric-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.speed-metric-card.good .speed-metric-status { background: var(--mint); box-shadow: 0 0 6px var(--mint); }
.speed-metric-card.poor .speed-metric-status { background: var(--coral); box-shadow: 0 0 6px var(--coral); }

.speed-metric-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
}

.speed-metric-desc {
  font-size: 0.72rem;
  color: var(--text-gray);
  line-height: 1.3;
}

/* Tab 3: Policy Warning row */
.policy-auditor-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-card {
  display: flex;
  gap: 14px;
  background: rgba(255, 62, 93, 0.02);
  border: 1px solid rgba(255, 62, 93, 0.1);
  padding: 16px;
  border-radius: 12px;
}

.policy-badge {
  background: var(--coral-dim);
  color: var(--coral);
  border: 1px solid rgba(255, 62, 93, 0.2);
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 6px;
  height: fit-content;
  text-transform: uppercase;
}

.policy-details h5 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.policy-details p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Tab 4: PDF Book Mockup */
.pdf-preview-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 10px 0;
}

.pdf-book-mockup {
  width: 140px;
  height: 190px;
  background: linear-gradient(135deg, #0e0e22 0%, #030308 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px 12px 12px 4px;
  position: relative;
  box-shadow: 10px 15px 30px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 14px;
  overflow: hidden;
}

.pdf-book-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: rgba(255,255,255,0.05);
  border-right: 1px solid rgba(0,0,0,0.4);
}

.pdf-book-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--sun);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

.pdf-book-accent-box {
  width: 80%;
  height: 2px;
  background: var(--coral);
}

.pdf-book-meta {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdf-details-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdf-details-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}

.pdf-details-content p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---------- AUDIT SCAN ENGINE SECTION ---------- */
.audit-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #03030c 50%, var(--bg-dark) 100%);
}

.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.audit-input-group {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-glow);
  padding: 8px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
  max-width: 500px;
}

.audit-input-group input {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 18px;
  font-size: 1rem;
  color: var(--text-white);
  outline: none;
}

.audit-input-group input::placeholder {
  color: var(--text-gray);
}

.audit-input-group button {
  padding: 12px 24px;
}

/* Audit Output Panel */
.audit-panel {
  background: #030308;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 20px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.panel-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 8px var(--sky);
}

.panel-actions {
  display: flex;
  gap: 6px;
}

.panel-actions span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.panel-actions span:nth-child(1) { background: #ff5f56; }
.panel-actions span:nth-child(2) { background: #ffbd2e; }
.panel-actions span:nth-child(3) { background: #27c93f; }

/* Audit Console Logs */
.audit-console {
  flex: 1;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 5px;
}

.log-entry {
  line-height: 1.4;
  opacity: 0;
  transform: translateY(4px);
  animation: log-slide 0.3s forwards;
}

@keyframes log-slide {
  to { opacity: 1; transform: translateY(0); }
}

.log-entry.info { color: var(--text-muted); }
.log-entry.success { color: var(--mint); }
.log-entry.warn { color: var(--sun); }
.log-entry.error { color: var(--coral); }

/* Audit Dashboard Results View */
.audit-result-view {
  display: none;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  align-items: center;
  animation: fade-in var(--transition-normal);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gauge-container {
  position: relative;
  width: 80px;
  height: 80px;
}

.gauge-svg {
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.02);
  stroke-width: 8;
}

.gauge-fill {
  fill: none;
  stroke: url(#gauge-gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-score {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.score-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.score-lbl {
  font-size: 0.52rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

.results-meta h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.results-meta p {
  font-size: 0.8rem;
}

/* Warnings and recommendations list */
.audit-leaks-list {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
  animation: fade-in var(--transition-normal);
}

.leak-item {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.008);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: 10px;
}

.leak-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  height: fit-content;
  text-transform: uppercase;
}

.leak-badge.red { background: rgba(255, 62, 93, 0.08); color: var(--coral); border: 1px solid rgba(255, 62, 93, 0.15); }
.leak-badge.orange { background: rgba(255, 184, 41, 0.08); color: var(--sun); border: 1px solid rgba(255, 184, 41, 0.15); }

.leak-details h5 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
}

.leak-details p {
  font-size: 0.75rem;
  line-height: 1.35;
}

.audit-cta-btn {
  display: none;
  margin-top: 18px;
  width: 100%;
  animation: fade-in var(--transition-normal);
}

/* ---------- BENTO SHOWCASE GRID ---------- */
.showcase-section {
  padding-bottom: 60px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 270px 270px;
  gap: 20px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.bento-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.bento-card.col-2 { grid-column: span 2; }
.bento-card.row-2 { grid-row: span 2; }

.bento-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.bento-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Bento widget: Frozen Past slider */
.widget-slider-container {
  height: 130px;
  position: relative;
  background: #020205;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.03);
}

.slider-panel {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider-panel.past {
  background: rgba(255, 62, 93, 0.01);
}

.slider-panel.future {
  background: rgba(28, 209, 91, 0.01);
  width: 50%;
  right: 0;
  border-left: 1px solid var(--mint);
  background-color: #030804;
}

.slider-tag {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  display: inline-block;
}

.slider-panel.past .slider-tag { color: var(--coral); }
.slider-panel.future .slider-tag { color: var(--mint); }

.slider-code {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,0.2);
  cursor: ew-resize;
  z-index: 10;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-white);
  border: 4px solid var(--bg-surface);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: 0.7rem;
  color: var(--bg-dark);
  font-weight: bold;
}

/* Bento widget: 24/7 Guard Log */
.widget-guard-log {
  background: #020205;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.03);
  font-family: monospace;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 160px;
  overflow-y: hidden;
}

.guard-log-entry {
  display: flex;
  gap: 8px;
  line-height: 1.3;
}

.log-time { color: var(--text-gray); }
.log-msg { color: var(--text-muted); }
.log-status { font-weight: 700; }
.log-status.ok { color: var(--mint); }
.log-status.alert { color: var(--coral); }

/* Bento widget: Mini chart visual */
.widget-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100px;
  padding-top: 10px;
}

.chart-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 30px;
}

.chart-bar-fill {
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.04);
  height: 0;
  transition: height var(--transition-slow);
}

.bento-card:hover .chart-bar-fill {
  background: var(--sky);
}

.bento-card:hover .chart-bar-container:nth-child(even) .chart-bar-fill {
  background: var(--grape);
}

.bento-card:hover .chart-bar-container:last-child .chart-bar-fill {
  background: var(--mint);
  box-shadow: 0 0 10px rgba(28, 209, 91, 0.2);
}

.chart-label {
  font-size: 0.58rem;
  color: var(--text-muted);
}

/* ---------- ONBOARDING TIMELINE FUNNEL (Upgrade 4) ---------- */
.onboarding-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #050511 50%, var(--bg-dark) 100%);
}

.onboarding-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pipeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
}

.pipeline-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.pipeline-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pipeline-card:hover .pipeline-number {
  background: linear-gradient(135deg, var(--sky) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pipeline-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.pipeline-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Pricing Section ---------- */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #03030a 50%, var(--bg-dark) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 20px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.pricing-card.premium {
  border-color: var(--coral);
  box-shadow: 0 12px 40px rgba(255, 62, 93, 0.08);
}

.pricing-card.premium::after {
  content: 'LEGPOPULÁRISABB';
  position: absolute;
  top: 20px;
  right: 28px;
  background: var(--coral-dim);
  border: 1px solid rgba(255, 62, 93, 0.3);
  color: var(--coral);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.tier-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 0.85rem;
  margin-bottom: 24px;
}

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

.price-num {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-white);
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 28px;
  margin-bottom: 36px;
}

.tier-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tier-features li svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
  flex-shrink: 0;
}

/* ---------- Global CTA Footer Section ---------- */
.cta-section {
  padding-bottom: 120px;
}

.cta-box {
  background: linear-gradient(135deg, #090918 0%, #03030a 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 62, 93, 0.1) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-box h2 {
  max-width: 600px;
  margin: 0 auto 18px;
}

.cta-box .lead {
  margin: 0 auto 36px;
}

/* ---------- Main Footer ---------- */
footer {
  border-top: 1px solid var(--border-glow);
  background: #010104;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.5;
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-gray);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-partner {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sun);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.partner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--sun);
  box-shadow: 0 0 6px var(--sun);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text .lead {
    margin: 0 auto 32px;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .beat-caption {
    margin: 0 auto;
  }
  
  .logo-lab-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  
  .bento-card.col-2 {
    grid-column: span 2;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
    margin: 40px auto 0;
  }
  
  .timeline-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .timeline-flow::before {
    display: none;
  }
  
  .audit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .audit-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pyramid-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .onboarding-pipeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .btn-ghost {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-right {
    gap: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .audit-input-group {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.01);
  }
  
  .audit-input-group input {
    width: 100%;
    text-align: center;
  }
  
  .audit-input-group button {
    width: 100%;
  }
  
  .floating-card {
    display: none;
  }
  
  .onboarding-pipeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .speed-metrics-grid {
    grid-template-columns: 1fr;
  }
}
