/* ============================================
   BRANDWELL WORDPRESS THEME - MAIN STYLESHEET
   ============================================

   Compiled from BrandWell-Homepage-2026-Final prototypes
   Contains all shared CSS for:
   - index.html (Homepage)
   - audiences.html
   - content.html
   - aimee.html
   - reporting.html

   Structure:
   1. CSS Custom Properties (:root variables)
   2. Reset/Base Styles
   3. Container Utilities
   4. Animations (@keyframes)
   5. Noise Overlays & Dot Grids
   6. Glow Orbs & Mesh Gradients
   7. Section Dividers
   8. Navigation
   9. Buttons
   10. Hero Section
   11. Dashboard/Mock Screens
   12. Badges & Pills
   13. Bento Grid System
   14. Cards & Components
   15. Footer
   16. Scroll Animations
   17. Responsive Media Queries
   18. Accessibility & Reduced Motion

============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
============================================ */

:root {
  /* Dark Theme Colors */
  --dark-base: #08080A;
  --dark-elevated: #111115;
  --dark-alt: #0A0A0F;
  --dark-hero: #0f0a1e;
  --dark-text: #FAFAFA;
  --dark-text-2: #A1A1AA;
  --dark-text-3: #71717A;
  --dark-border: rgba(255,255,255,0.06);
  --dark-border-2: rgba(255,255,255,0.08);
  --dark-border-3: rgba(255,255,255,0.12);

  /* Light Theme Colors */
  --light-base: #FFFFFF;
  --light-elevated: #F8FAFC;
  --light-alt: #F3F4F6;
  --light-text: #111827;
  --light-text-2: #374151;
  --light-text-3: #4B5563;
  --light-border: rgba(0,0,0,0.06);
  --light-border-2: rgba(0,0,0,0.08);

  /* Brand Colors */
  --brand: #5602C4;
  --brand-hover: #e91e8c;
  --brand-accent: #bc68ff;

  /* Status Colors */
  --success: #10B981;
  --info-blue: #60A5FA;
  --info-violet: #A78BFA;

  /* AIMEE-Specific Colors (for aimee.html page-specific styles) */
  --aimee-primary: #A78BFA;
  --aimee-secondary: #7C3AED;
  --aimee-glow: rgba(167, 139, 250, 0.4);
  --aimee-bg: rgba(167, 139, 250, 0.1);
  --aimee-border: rgba(167, 139, 250, 0.3);

  /* Category Colors (for reporting.html) */
  --cro-red: #EF4444;
  --seo-green: #10B981;
  --content-blue: #60A5FA;
  --ads-amber: #F59E0B;
  --strategy-purple: #A78BFA;

  /* Chart Colors (for reporting.html) */
  --chart-primary: #5602C4;
  --chart-secondary: #60A5FA;
  --chart-tertiary: #10B981;
  --chart-quaternary: #F59E0B;

  /* Layout */
  --container: 1200px;
  --section-pad: 100px;
}

/* ============================================
   2. RESET & BASE STYLES
============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark-text);
  background: var(--dark-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   3. CONTAINER UTILITY
============================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 48px;
  }
}

/* ============================================
   4. KEYFRAME ANIMATIONS
============================================ */

/* Floating Orb Animations */
@keyframes float-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes float-orb-reverse {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-25px, 20px) scale(0.95);
  }
  66% {
    transform: translate(15px, -25px) scale(1.05);
  }
}

/* Scope Ring Pulse Animation */
@keyframes scope-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

/* Typing Animation (for AIMEE chat) */
@keyframes typing {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* Avatar Pulse Animation (for AIMEE avatar) */
@keyframes avatar-pulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--aimee-glow);
  }
  50% {
    box-shadow: 0 0 50px var(--aimee-glow);
  }
}

/* Pulse Dot Animation */
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ============================================
   5. NOISE OVERLAY
============================================ */

.noise-overlay {
  position: relative;
}

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

/* ============================================
   6. DOT GRID BACKGROUNDS
============================================ */

.dot-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.dot-grid-light::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   7. GLOW ORBS & FLOATING ELEMENTS
============================================ */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: float-orb 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.glow-orb-reverse {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: float-orb-reverse 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.glow-purple {
  background: rgba(86, 2, 196, .15);
  width: 500px;
  height: 500px;
}

.glow-blue {
  background: rgba(96, 165, 250, .08);
  width: 400px;
  height: 400px;
}

.glow-violet {
  background: rgba(167, 139, 250, .1);
  width: 350px;
  height: 350px;
}

/* ============================================
   8. MESH GRADIENTS
============================================ */

.mesh-dark {
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(86, 2, 196, .07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(96, 165, 250, .05) 0%, transparent 60%);
}

.mesh-light {
  background-image:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(86, 2, 196, .03) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 30%, rgba(96, 165, 250, .025) 0%, transparent 60%);
}

/* ============================================
   9. SECTION DIVIDERS
============================================ */

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 2, 196, .3), transparent);
  position: relative;
  z-index: 2;
}

.section-divider-light {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 2, 196, .15), transparent);
}

/* ============================================
   10. NAVIGATION STYLES
============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, border 0.3s;
  border-bottom: 1px solid transparent;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(12px);
}

.nav.scrolled {
  background: rgba(8, 8, 10, .95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--dark-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-logo-dark img {
  filter: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--dark-text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 3.5px solid currentColor;
  transition: transform 0.2s;
  opacity: .6;
  position: relative;
  top: -1px;
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Hover bridge pseudo-element (accessibility feature) */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 24px;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  background: var(--dark-elevated);
  border: 1px solid var(--dark-border-2);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 460px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .5);
  z-index: 101;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
  color: var(--dark-text-2);
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, .06);
}

.nav-dropdown-item .dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(86, 2, 196, .15);
  font-size: 18px;
}

.nav-dropdown-item .dd-text h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 2px;
}

.nav-dropdown-item .dd-text p {
  font-size: 12px;
  color: var(--dark-text-3);
  line-height: 1.4;
}

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

/* Login Dropdown */
.login-dropdown {
  position: relative;
}

.login-dropdown > .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.login-dropdown > .btn-ghost svg {
  transition: transform 0.2s;
  opacity: .6;
}

.login-dropdown:hover > .btn-ghost svg {
  transform: rotate(180deg);
  opacity: 1;
}

.login-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}

.login-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  transform: translateY(8px);
  background: var(--dark-elevated);
  border: 1px solid var(--dark-border-2);
  border-radius: 12px;
  padding: 8px;
  width: 280px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  z-index: 101;
}

.login-dropdown:hover .login-dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.login-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  color: var(--dark-text-2);
}

.login-dropdown-item:hover {
  background: rgba(255, 255, 255, .06);
}

.login-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-icon-bw {
  background: rgba(86, 2, 196, .2);
}

.login-icon-ww {
  background: rgba(96, 165, 250, .15);
}

.login-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.login-product {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.3;
}

.login-desc {
  font-size: 11px;
  color: var(--dark-text-3);
  line-height: 1.3;
}

.login-arrow {
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--dark-text-3);
  flex-shrink: 0;
}

.login-dropdown-item:hover .login-arrow {
  opacity: 1;
}

.login-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--brand);
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1;
}

/* ============================================
   11. BUTTON STYLES
============================================ */

/* Ghost Button (outlined) */
.btn-ghost {
  padding: 10px 20px;
  border: 1px solid var(--dark-border-3);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost:hover {
  border-color: var(--dark-text-3);
  background: rgba(255, 255, 255, .05);
}

/* Primary Button (filled, brand) */
.btn-primary {
  padding: 10px 24px;
  background: var(--brand);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(86, 2, 196, .4);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

/* Secondary Button (outline variant) */
.btn-secondary {
  padding: 14px 28px;
  border: 1px solid var(--dark-border-3);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--dark-text-3);
  background: rgba(255, 255, 255, .06);
}

.btn-secondary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Learn Button */
.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  padding: 12px 24px;
  border-radius: 10px;
  margin-top: 24px;
  border: 1px solid rgba(188, 104, 255, .2);
  background: rgba(86, 2, 196, .08);
  color: var(--brand-accent);
}

.btn-learn:hover {
  background: rgba(86, 2, 196, .15);
  border-color: rgba(188, 104, 255, .4);
}

.section-light .btn-learn {
  color: var(--brand);
  border: 1px solid rgba(86, 2, 196, .15);
  background: rgba(86, 2, 196, .04);
}

.section-light .btn-learn:hover {
  background: rgba(86, 2, 196, .1);
  border-color: rgba(86, 2, 196, .3);
}

.btn-learn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn-learn:hover svg {
  transform: translateX(4px);
}

/* CTA Buttons (larger, for call-to-action sections) */
.btn-cta-primary {
  padding: 16px 36px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(86, 2, 196, .4);
}

.btn-cta-secondary {
  padding: 16px 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: rgba(255, 255, 255, .8);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .2);
}

/* Hero Button Variants */
.btn-hero {
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 12px;
}

/* ============================================
   12. HERO SECTION
============================================ */

.hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(86, 2, 196, .15) 0%, transparent 60%),
              linear-gradient(180deg, #08080A, #0A0A0F);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 24px;
  padding-bottom: 4px;
  background: linear-gradient(180deg, #fff 40%, var(--dark-text-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--dark-text-2);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(86, 2, 196, .08);
  border: 1px solid rgba(86, 2, 196, .2);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Hero Dashboard Mock */
.hero-dashboard-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  perspective: 1000px;
}

.hero-dashboard {
  background: var(--dark-elevated);
  border: 1px solid var(--dark-border-2);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 80px -12px rgba(0, 0, 0, .6),
              0 0 120px rgba(86, 2, 196, .08);
  transform-style: preserve-3d;
  transition: transform 0.4s ease-out;
}

/* ============================================
   13. DASHBOARD & MOCK SCREENS
============================================ */

/* Topbar / Chrome Simulation */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--dark-border);
  background: rgba(255, 255, 255, .02);
}

.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dot-r {
  background: #EF4444;
}

.dash-dot-y {
  background: #F59E0B;
}

.dash-dot-g {
  background: #10B981;
}

.dash-topbar-title {
  font-size: 13px;
  color: var(--dark-text-3);
  font-weight: 500;
  margin-left: 8px;
}

.dash-topbar-right {
  display: flex;
  gap: 16px;
}

.dash-topbar-tab {
  font-size: 12px;
  color: var(--dark-text-3);
  padding: 4px 12px;
  border-radius: 6px;
  cursor: default;
}

.dash-topbar-tab.active {
  background: rgba(86, 2, 196, .15);
  color: var(--brand-accent);
}

/* Dashboard Body */
.dash-body {
  padding: 24px;
}

/* Metrics Grid */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash-metric {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 16px;
}

.dash-metric-label {
  font-size: 11px;
  color: var(--dark-text-3);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.dash-metric-val {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.dash-metric-change {
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
  color: var(--dark-text-3);
}

.dash-metric-change.up {
  color: var(--success);
}

/* Chart */
.dash-chart {
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.dash-chart-title {
  font-size: 12px;
  color: var(--dark-text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}

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

/* Table */
.dash-table {
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  overflow: hidden;
}

.dash-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 100px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--dark-border);
}

.dash-table-head span {
  font-size: 11px;
  color: var(--dark-text-3);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}

.dash-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 100px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--dark-border);
  align-items: center;
  transition: background 0.2s;
}

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

.dash-table-row:hover {
  background: rgba(255, 255, 255, .02);
}

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

.dash-company-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.dash-company-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.dash-company-domain {
  font-size: 11px;
  color: var(--dark-text-3);
}

.dash-table-cell {
  font-size: 13px;
  color: var(--dark-text-2);
}

/* Intent Bar (mini progress bar) */
.intent-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
  width: 60px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.intent-fill {
  height: 100%;
  border-radius: 3px;
}

/* Generic Mock Screen */
.mock-screen {
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
}

.section-dark .mock-screen {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--dark-border-2);
}

.section-light .mock-screen {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--dark-border);
}

.section-light .mock-bar {
  border-bottom-color: rgba(0, 0, 0, .06);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-body {
  padding: 16px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--dark-border);
}

.section-light .mock-row {
  border-bottom-color: rgba(0, 0, 0, .05);
}

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

.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.mock-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.mock-name {
  font-size: 13px;
  font-weight: 600;
}

.section-dark .mock-name {
  color: #fff;
}

.section-light .mock-name {
  color: var(--light-text);
}

.mock-meta {
  font-size: 11px;
}

.section-dark .mock-meta {
  color: var(--dark-text-3);
}

.section-light .mock-meta {
  color: var(--light-text-3);
}

.mock-tag {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ============================================
   14. VISITOR FEED
============================================ */

.visitor-feed {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.visitor-item {
  display: grid;
  grid-template-columns: 40px 1.5fr 1fr 1fr 80px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.section-light .visitor-item:hover {
  background: rgba(0, 0, 0, .02);
}

.visitor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.visitor-company {
  font-size: 14px;
  font-weight: 600;
  color: var(--light-text);
}

.visitor-domain {
  font-size: 11px;
  color: var(--light-text-3);
}

.visitor-detail {
  font-size: 12px;
  color: var(--light-text-2);
}

.visitor-detail strong {
  font-weight: 600;
  color: var(--light-text);
}

.visitor-pages {
  font-size: 12px;
  color: var(--light-text-3);
}

.visitor-score {
  text-align: right;
}

.visitor-score-num {
  font-size: 18px;
  font-weight: 800;
}

.score-hot {
  color: #EF4444;
}

.score-warm {
  color: #F59E0B;
}

.score-med {
  color: var(--info-blue);
}

/* ============================================
   15. BADGES & PILLS
============================================ */

.badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.badge-green {
  background: rgba(16, 185, 129, .12);
  color: #10B981;
}

.badge-blue {
  background: rgba(96, 165, 250, .12);
  color: #60A5FA;
}

.badge-purple {
  background: rgba(167, 139, 250, .12);
  color: #A78BFA;
}

.badge-amber {
  background: rgba(245, 158, 11, .12);
  color: #F59E0B;
}

/* ============================================
   16. SECTION BASES
============================================ */

.section-dark {
  background: var(--dark-base);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section-light {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-dark .section-eyebrow {
  color: var(--brand-accent);
}

.section-light .section-eyebrow {
  color: var(--brand);
}

.section-dark .section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.section-light .section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--light-text);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.section-dark .section-desc {
  font-size: 18px;
  color: var(--dark-text-2);
  line-height: 1.7;
  max-width: 600px;
}

.section-light .section-desc {
  font-size: 18px;
  color: var(--light-text-2);
  line-height: 1.7;
  max-width: 600px;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* ============================================
   17. BENTO GRID SYSTEM
============================================ */

.bento {
  display: grid;
  gap: 20px;
}

.bento-2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.bento-3col {
  grid-template-columns: repeat(3, 1fr);
}

.bento-card {
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.16, 1, .3, 1),
              box-shadow 0.4s cubic-bezier(.16, 1, .3, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
}

.section-dark .bento-card {
  background: linear-gradient(135deg, rgba(17, 17, 21, .9), rgba(17, 17, 21, .7));
  border: 1px solid var(--dark-border-2);
}

.section-dark .bento-card:hover {
  box-shadow: 0 0 0 1px rgba(86, 2, 196, .2),
              0 20px 60px -12px rgba(86, 2, 196, .15);
  border-color: var(--dark-border-3);
}

.section-light .bento-card {
  background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
  border: 1px solid rgba(0, 0, 0, .06);
}

.section-light .bento-card:hover {
  box-shadow: 0 0 0 1px rgba(86, 2, 196, .1),
              0 20px 60px -12px rgba(86, 2, 196, .08);
}

.bento-card .bento-icon {
  position: absolute;
  right: -10px;
  bottom: -20px;
  opacity: .07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-light .bento-card .bento-icon {
  opacity: .08;
}

.bento-card .card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.section-dark .bento-card .card-title {
  color: #fff;
}

.section-light .bento-card .card-title {
  color: var(--light-text);
}

.bento-card .card-desc {
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.section-dark .bento-card .card-desc {
  color: var(--dark-text-2);
}

.section-light .bento-card .card-desc {
  color: var(--light-text-2);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-span-row {
  grid-row: span 2;
}

/* ============================================
   18. W5 CARDS (SEO/Content cards)
============================================ */

.w5-card {
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.section-dark .w5-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  border: 1px solid var(--dark-border);
}

.section-dark .w5-card:hover {
  border-color: var(--dark-border-3);
  box-shadow: 0 0 0 1px rgba(86, 2, 196, .15),
              0 8px 24px rgba(0, 0, 0, .2);
  transform: translateY(-2px);
}

.w5-rank {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.w5-body {
  flex: 1;
}

.w5-keyword {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.w5-url {
  font-size: 11px;
  color: var(--dark-text-3);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w5-stats {
  display: flex;
  gap: 16px;
}

.w5-stat {
  font-size: 12px;
  color: var(--dark-text-2);
}

.w5-stat strong {
  color: #fff;
  font-weight: 700;
}

.w5-action {
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   19. SCOPE RING EFFECT
============================================ */

.scope-rings {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 700px;
  height: 700px;
}

.scope-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(86, 2, 196, .03);
  border: 1px solid rgba(86, 2, 196, .08);
  animation: scope-pulse 4s ease-in-out infinite;
}

.scope-ring-mid {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: rgba(86, 2, 196, .05);
  border: 1px solid rgba(86, 2, 196, .12);
  animation: scope-pulse 4s ease-in-out infinite 0.5s;
}

.scope-ring-inner {
  position: absolute;
  inset: 90px;
  border-radius: 50%;
  border: 1px solid rgba(86, 2, 196, .15);
  animation: scope-pulse 4s ease-in-out infinite 1s;
}

.scope-accent {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   20. LOGO BAR
============================================ */

.logo-bar {
  padding: 60px 0 80px;
  background: var(--dark-base);
  position: relative;
  overflow: hidden;
}

.logo-bar-label {
  text-align: center;
  font-size: 14px;
  color: var(--dark-text-3);
  margin-bottom: 32px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.logo-bar-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: .4;
  position: relative;
  z-index: 1;
}

.logo-bar-grid span {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text-2);
  letter-spacing: -.3px;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.logo-bar-grid span:hover {
  opacity: 1;
}

/* ============================================
   21. CTA SECTION
============================================ */

.cta-section {
  padding: 120px 0;
  background: #0a0a0f;
  position: relative;
  overflow: hidden;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(86, 2, 196, .12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 18px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 32px;
  line-height: 1.6;
  position: relative;
}

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

/* ============================================
   22. SPLIT LAYOUT
============================================ */

.split-layout {
  display: flex;
  gap: 64px;
  align-items: center;
}

.split-content {
  flex: 1;
  min-width: 0;
}

.split-visual {
  flex: 1;
  min-width: 0;
}

/* ============================================
   23. FOOTER
============================================ */

footer {
  background: var(--dark-base);
  border-top: 1px solid var(--dark-border);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--dark-text-3);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-text-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--dark-text-3);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--dark-text-3);
}

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

.footer-bottom-links a {
  font-size: 13px;
  color: var(--dark-text-3);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--dark-text-2);
}

/* ============================================
   24. SCROLL ANIMATIONS
============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.16, 1, .3, 1),
              transform 0.7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

.reveal-delay-5 {
  transition-delay: .5s;
}

.reveal-delay-6 {
  transition-delay: .6s;
}

/* ============================================
   25. RESPONSIVE MEDIA QUERIES
============================================ */

/* ============================================
   MOBILE HAMBURGER MENU
============================================ */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 102;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #08080A;
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 80px 24px 40px;
}

.nav-mobile-overlay.active {
  display: flex;
}

.nav-mobile-overlay a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  padding: 12px 24px;
  transition: color 0.2s;
}

.nav-mobile-overlay a:hover {
  color: var(--brand-accent);
}

.nav-mobile-overlay .btn-primary {
  margin-top: 16px;
  padding: 16px 40px;
  font-size: 16px;
}

/* Tablet & Large Devices */
@media (max-width: 1024px) {
  .bento-3col {
    grid-template-columns: 1fr 1fr;
  }

  .bento-2x2 {
    grid-template-columns: 1fr;
  }

  .bento-span-2 {
    grid-column: span 2;
  }

  .dash-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-table-head,
  .dash-table-row {
    grid-template-columns: 2fr 1fr 1fr 100px;
  }

  .dash-table-head span:nth-child(3),
  .dash-table-row > *:nth-child(3) {
    display: none;
  }

  .scope-rings {
    width: 500px;
    height: 500px;
  }

  .split-layout {
    flex-direction: column !important;
  }

  .nav-inner {
    padding: 0 24px;
  }
}

/* Mobile & Small Devices */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  /* Nav — show hamburger, hide desktop nav */
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .nav {
    height: 60px;
  }

  /* Bento */
  .bento-3col {
    grid-template-columns: 1fr;
  }

  .bento-span-2 {
    grid-column: span 1;
  }

  .hero-dashboard-wrap {
    margin: 0 -12px;
  }

  .dash-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .visitor-item {
    grid-template-columns: 36px 1fr 80px;
  }

  .visitor-item > *:nth-child(3),
  .visitor-item > *:nth-child(4) {
    display: none;
  }

  .scope-rings {
    width: 320px;
    height: 320px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* CTA */
  .cta-box {
    padding: 32px 20px;
  }

  .cta-section {
    padding: 64px 0;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .nav {
    height: 56px;
  }

  .nav-logo img {
    height: 26px;
  }

  .announcement-bar {
    font-size: 11px;
  }
}

/* ============================================
   26. ACCESSIBILITY & REDUCED MOTION
============================================ */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .glow-orb,
  .glow-orb-reverse {
    animation: none;
  }

  .scope-ring-outer,
  .scope-ring-mid,
  .scope-ring-inner {
    animation: none;
  }

  button,
  a {
    transition: none !important;
  }
}

/* ============================================
   27. PRINT STYLES
============================================ */

@media print {
  .nav,
  footer,
  .section-divider {
    display: none;
  }

  .noise-overlay::before,
  .dot-grid::after,
  .dot-grid-light::after {
    display: none;
  }
}
