/* ==========================================================================
   CLIENT SHIELD & WORKSPACE — DESIGN SYSTEM & STYLESHEET
   Pure Vanilla CSS: Dark/Light Mode Tokens, Glassmorphism, UI Animations
   ========================================================================== */

/* --- CSS Variables & Design Tokens (Dark Mode Default) --- */
:root,
[data-theme="dark"] {
  /* Color Palette - Deep Dark Agency Slate */
  --bg-main: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #162032;
  --bg-surface-glass: rgba(17, 24, 39, 0.78);
  --bg-surface-card: #131c2e;
  --bg-browser-chrome: #0f1727;
  --bg-browser-body: #0b111c;
  --bg-browser-canvas: #090e17;

  /* Borders */
  --border-subtle: #1e293b;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);
  --border-emerald-glow: rgba(16, 185, 129, 0.35);

  /* Brand Gradients & Accents */
  --brand-primary: #6366f1;
  --brand-primary-hover: #4f46e5;
  --brand-violet: #8b5cf6;
  --brand-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --brand-glow: 0 0 25px rgba(99, 102, 241, 0.35);

  /* State Colors */
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-bg: rgba(16, 185, 129, 0.12);

  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.12);

  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.12);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #0f172a;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 8px 30px rgba(99, 102, 241, 0.22);

  /* Top Banner */
  --banner-bg: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
  --banner-border: rgba(99, 102, 241, 0.3);
  --banner-text: #e0e7ff;
}

/* --- Light Mode Design Tokens --- */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-surface-card: #ffffff;
  --bg-browser-chrome: #e2e8f0;
  --bg-browser-body: #f1f5f9;
  --bg-browser-canvas: #f8fafc;

  /* Borders */
  --border-subtle: #e2e8f0;
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(99, 102, 241, 0.25);
  --border-emerald-glow: rgba(16, 185, 129, 0.25);

  /* Brand */
  --brand-primary: #4f46e5;
  --brand-primary-hover: #4338ca;
  --brand-violet: #7c3aed;
  --brand-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --brand-glow: 0 0 20px rgba(79, 70, 229, 0.2);

  /* State Colors */
  --emerald: #059669;
  --emerald-dark: #047857;
  --emerald-bg: rgba(5, 150, 105, 0.1);

  --amber: #d97706;
  --amber-bg: rgba(217, 119, 6, 0.1);

  --red: #dc2626;
  --red-bg: rgba(220, 38, 38, 0.1);

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --text-inverse: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px -1px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 30px -5px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 8px 30px rgba(79, 70, 229, 0.12);

  /* Top Banner */
  --banner-bg: linear-gradient(90deg, #312e81 0%, #4338ca 50%, #312e81 100%);
  --banner-border: rgba(99, 102, 241, 0.35);
  --banner-text: #ffffff;
}

/* Common Tokens */
:root {
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --container-max-w: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --trans-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--trans-normal), color var(--trans-normal);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: color var(--trans-fast);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text-main);
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

ul,
ol {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Icon Helpers --- */
.text-amber {
  color: var(--amber) !important;
}

.text-emerald {
  color: var(--emerald) !important;
}

.text-indigo {
  color: #818cf8 !important;
}

.text-red {
  color: var(--red) !important;
}

.text-muted {
  color: var(--text-dim) !important;
}

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-spacing {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

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

.hidden {
  display: none !important;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- UI Animations & Micro-Interactions --- */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Card Elevation */
.card-interactive {
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}

.card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--trans-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-xl {
  padding: 1.15rem 2.25rem;
  font-size: 1.15rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.55);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

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

.btn-icon-fa {
  font-size: 0.95rem;
}

.btn-arrow-fa {
  font-size: 0.85rem;
  transition: transform var(--trans-fast);
}

.btn:hover .btn-arrow-fa {
  transform: translateX(4px);
}

/* Glow Effect Utility */
.glow-effect {
  position: relative;
  overflow: hidden;
}

.glow-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--trans-normal);
  pointer-events: none;
}

.glow-effect:hover::after {
  opacity: 1;
}

/* --- Section Headers --- */
.section-header {
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag-red,
.section-tag-emerald,
.section-tag-indigo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.1rem;
}

.section-tag-red {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.section-tag-emerald {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.section-tag-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TOP PROMO BANNER
   ========================================================================== */
.top-banner {
  background: var(--banner-bg);
  border-bottom: 1px solid var(--banner-border);
  padding: 0.55rem 0;
  font-size: 0.875rem;
  color: var(--banner-text);
  transition: background var(--trans-normal);
}

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

.banner-text {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.highlight-text {
  color: #38bdf8;
}

.banner-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.banner-link:hover {
  color: #a5b4fc;
}

/* ==========================================================================
   STICKY HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--trans-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-shield {
  width: 38px;
  height: 38px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--brand-glow);
  transition: transform var(--trans-fast);
}

.brand-logo:hover .logo-shield {
  transform: scale(1.08) rotate(3deg);
}

.shield-svg {
  width: 22px;
  height: 22px;
  color: #818cf8;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: -3px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width var(--trans-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- Theme Toggle Switcher Button --- */
.theme-toggle-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-primary);
  transform: rotate(15deg) scale(1.08);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.3);
}

.theme-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.icon-sun {
  color: #f59e0b;
}

.icon-moon {
  color: #818cf8;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform var(--trans-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
}

.pill-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Social Proof Bar */
.hero-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.proof-item {
  text-align: center;
}

.proof-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.proof-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.proof-divider {
  width: 1px;
  height: 35px;
  background-color: var(--border-subtle);
}

/* ==========================================================================
   HERO LIVE INTERACTIVE SIMULATION MOCKUP
   ========================================================================== */
.hero-preview-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.preview-glow-border {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(16, 185, 129, 0.25) 50%, rgba(139, 92, 246, 0.4) 100%);
  padding: 2px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.15);
}

.preview-canvas-card {
  background: var(--bg-browser-body);
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
}

/* Simulation Controller */
.simulation-controller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.controller-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.controller-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.controller-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sim-toggle-pill {
  display: flex;
  background: var(--bg-main);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.sim-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sim-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.sim-btn#sim-btn-client.active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.sim-dot-live {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

/* Mock Browser Header */
.mock-browser-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--bg-browser-chrome);
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}

.window-dots {
  display: flex;
  gap: 6px;
}

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

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.mock-url-bar {
  flex-grow: 1;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.lock-icon {
  font-size: 0.8rem;
}

.mock-badge {
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-emerald {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge-danger {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Mock WordPress Body */
.mock-wp-body {
  display: flex;
  min-height: 480px;
  background: var(--bg-browser-body);
}

/* Mock Sidebar */
.mock-wp-sidebar {
  width: 220px;
  background: #111827;
  border-right: 1px solid #1f293d;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  color: #94a3b8;
  transition: all var(--trans-normal);
}

[data-theme="light"] .mock-wp-sidebar {
  background: #1d2327;
  /* Native WordPress dark sidebar even in client theme */
  border-right: 1px solid #2c3338;
}

.wp-sidebar-brand {
  padding: 0 1rem 1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.75rem;
}

.agency-mini-logo {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wp-sidebar-menu {
  list-style: none;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.menu-item i {
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
  color: #64748b;
  flex-shrink: 0;
}

.menu-item:hover,
.menu-item.active {
  background: #1a2234;
  color: #ffffff;
}

.menu-item.active i {
  color: #6366f1;
}

.shield-badge {
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.count-pill {
  font-size: 0.65rem;
  background: #6366f1;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-left: auto;
  font-weight: 700;
}

.menu-item.highlight-support {
  margin-top: 2rem;
  background: rgba(99, 102, 241, 0.12);
  border-left: 3px solid #6366f1;
  color: #a5b4fc;
}

.admin-chaos-menu .menu-item {
  font-size: 0.78rem;
  padding: 0.35rem 1rem;
  color: #94a3b8;
}

.menu-item.alert-nag {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* Mock Main Canvas */
.mock-wp-main {
  flex-grow: 1;
  padding: 1.5rem;
  background: var(--bg-browser-canvas);
  overflow-y: auto;
}

.mock-client-workspace {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.workspace-welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.welcome-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.welcome-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-wp-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-wp-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

/* Video Card in Workspace */
.workspace-video-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.video-preview-thumb {
  width: 110px;
  height: 65px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.play-button-ring {
  width: 28px;
  height: 28px;
  background: #6366f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
}

.video-info h4 {
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.video-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.video-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}

/* Quick Action Cards Grid */
.workspace-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.action-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.icon-leads {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.icon-pages {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
}

.icon-blog {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}

.card-meta h4 {
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.card-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  display: block;
}

.card-shield-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-action-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* Protected Table Preview */
.workspace-protected-table {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.workspace-protected-table .table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
}

.workspace-protected-table .table-header h4 {
  font-size: 0.85rem;
}

.lock-status-badge {
  font-size: 0.72rem;
  color: var(--emerald);
  font-weight: 600;
}

.workspace-protected-table .table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

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

.page-title {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shield-indicator-pill {
  font-size: 0.7rem;
  background: var(--emerald-bg);
  color: var(--emerald);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.builder-status {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Chaos View Mockup Styles */
.mock-admin-workspace {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chaos-warning-nag {
  display: flex;
  gap: 0.75rem;
  background: #2b1f0d;
  border: 1px solid #78350f;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: #fde68a;
  font-size: 0.8rem;
}

.chaos-warning-nag.red-nag {
  background: #361414;
  border-color: #991b1b;
  color: #fecaca;
}

.nag-icon {
  font-size: 1.1rem;
}

.nag-text strong {
  display: block;
  font-size: 0.85rem;
}

.chaos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.chaos-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.chaos-box h5 {
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.chaos-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PAIN POINTS SECTION
   ========================================================================== */
.pain-section {
  position: relative;
  background-color: var(--bg-main);
}

.pain-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.1);
}

.pain-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--red-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pain-icon-fa {
  font-size: 1.35rem;
  color: var(--red);
}

.pain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.pain-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pain-quote {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--red);
  background: var(--red-bg);
  padding: 0.5rem 0.75rem;
  border-left: 2px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pain-resolution-banner {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.res-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.res-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   BEFORE VS AFTER COMPARISON
   ========================================================================== */
.comparison-section {
  background-color: var(--bg-main);
}

.comparison-toggle-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.cmp-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cmp-tab.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.cmp-col {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-xl);
}

.cmp-col-before {
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.cmp-col-after {
  border: 1px solid rgba(16, 185, 129, 0.35);
  position: relative;
}

.cmp-col-after::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.cmp-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.cmp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.badge-red {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-green {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.cmp-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cmp-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cmp-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cmp-icon-cross {
  color: var(--red);
  font-size: 1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.cmp-icon-check {
  color: var(--emerald);
  font-size: 1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ROI Tab View */
.roi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.roi-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.roi-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.roi-stat-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.roi-big-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.25rem;
}

.roi-stat-title {
  display: block;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.roi-stat-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.roi-stat-box.highlight-box {
  border-color: var(--emerald);
}

.roi-stat-box.highlight-box .roi-big-num {
  color: var(--emerald);
}

/* ==========================================================================
   THE 7 CORE AGENCY MODULES (FEATURE GRID)
   ========================================================================== */
.features-section {
  background-color: var(--bg-main);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.8rem;
  transition: all var(--trans-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-xl), var(--brand-glow);
}

.feature-badge-top {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #818cf8;
}

.feature-fa-icon {
  font-size: 1.5rem;
}

.feature-fa-icon-lg {
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-bullets {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.feature-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.feature-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-size: 1.2rem;
  line-height: 1;
}

/* Feature 7 - Full Width Card */
.feature-full-width {
  grid-column: 1 / -1;
  background: var(--bg-surface-elevated);
  border-color: var(--border-glow);
}

.feature-full-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.feature-full-inner .feature-icon-box {
  margin-bottom: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.feature-full-text {
  flex-grow: 1;
}

.feature-full-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.feature-full-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.feature-full-action {
  flex-shrink: 0;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.how-section {
  background-color: var(--bg-main);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--trans-normal);
  box-shadow: var(--shadow-sm);
}

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

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dim);
  opacity: 0.3;
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--emerald-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SOCIAL PROOF & TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-main);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.featured-testimonial {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: var(--shadow-md);
}

.testimonial-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.testimonial-stars {
  color: var(--amber);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 3px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #312e81;
  color: #c7d2fe;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
}

.avatar-2 {
  background: #065f46;
  color: #a7f3d0;
}

.avatar-3 {
  background: #831843;
  color: #fbcfe8;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   PRICING TABLE SECTION
   ========================================================================== */
.pricing-section {
  background-color: var(--bg-main);
  position: relative;
}

.pricing-switcher-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-switcher {
  display: inline-flex;
  background: var(--bg-surface-elevated);
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 6px;
}

.switch-opt {
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--trans-fast);
}

.switch-opt.active {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.save-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--emerald-bg);
  color: var(--emerald);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.ltd-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--amber-bg);
  color: var(--amber);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--trans-normal);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: var(--shadow-xl);
}

.featured-pricing {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-xl), 0 0 35px rgba(99, 102, 241, 0.2);
  transform: scale(1.03);
}

.featured-pricing:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tier-header {
  margin-bottom: 1.5rem;
}

.tier-name {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
}

.tier-price-box {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
}

.price-wrap {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.price-wrap .currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.2rem;
}

.price-wrap .amount {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.interval-text {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: block;
  margin-top: 0.35rem;
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
  flex-grow: 1;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.35;
  position: relative;
}

.tier-features li.feature-disabled {
  color: var(--text-dim);
  opacity: 0.6;
}

.tier-features li .feature-text {
  flex: 1;
  font-weight: 500;
}

.tier-features li.feature-disabled .feature-text {
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.4);
}

.check-icon {
  color: var(--emerald);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  flex-shrink: 0;
}

.cross-icon {
  color: var(--red, #ef4444);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  flex-shrink: 0;
}

/* Elegant Hover Tooltips */
.tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.82rem;
  padding: 3px 5px;
  border-radius: 4px;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.tooltip-trigger:hover,
.tooltip-trigger:focus {
  color: var(--brand-primary);
  background: rgba(99, 102, 241, 0.12);
  transform: scale(1.08);
  outline: none;
}

/* Tooltip Popup Bubble (Default: opens upward, anchored to right side of trigger within card) */
.tooltip-trigger::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: -4px;
  left: auto;
  transform: translateY(4px);
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.38;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  white-space: normal;
  width: max-content;
  max-width: 220px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 10000;
  text-align: left;
}

/* Tooltip Arrow (Default: upward bubble has downward-pointing arrow) */
.tooltip-trigger::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  right: 4px;
  left: auto;
  transform: translateY(4px);
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 10001;
}

.tooltip-trigger:hover::after,
.tooltip-trigger:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tooltip-trigger:hover::before,
.tooltip-trigger:focus::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Top item in features: open DOWNWARD so it never overlaps the license scope pills or price header */
.tier-features li:first-child .tooltip-trigger::after {
  bottom: auto;
  top: calc(100% + 8px);
  transform: translateY(-4px);
}

.tier-features li:first-child .tooltip-trigger::before {
  bottom: auto;
  top: calc(100% + 3px);
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #0f172a transparent;
  transform: translateY(-4px);
}

.tier-features li:first-child .tooltip-trigger:hover::after,
.tier-features li:first-child .tooltip-trigger:focus::after {
  transform: translateY(0);
}

.tier-features li:first-child .tooltip-trigger:hover::before,
.tier-features li:first-child .tooltip-trigger:focus::before {
  transform: translateY(0);
}

.license-fineprint {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  display: block;
  margin-top: 0.85rem;
}

/* Guarantee Box */
.guarantee-box {
  background: var(--emerald-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.guarantee-shield-icon {
  width: 54px;
  height: 54px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-fa-icon {
  font-size: 1.6rem;
  color: var(--emerald);
}

.guarantee-text h4 {
  font-size: 1.15rem;
  color: var(--emerald);
  margin-bottom: 0.25rem;
}

.guarantee-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION
   ========================================================================== */
.faq-section {
  background-color: var(--bg-main);
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: rgba(99, 102, 241, 0.4);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 1.3rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-icon {
  font-size: 0.95rem;
  color: var(--brand-primary);
  flex-shrink: 0;
  transition: transform var(--trans-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-answer code {
  background: var(--bg-surface-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  color: #38bdf8;
  font-size: 0.85rem;
}

/* ==========================================================================
   CLOSING HIGH-CONVERSION CTA
   ========================================================================== */
.closing-cta-section {
  padding-top: 4rem;
  padding-bottom: 6rem;
  background-color: var(--bg-main);
}

.closing-card {
  position: relative;
  background: linear-gradient(135deg, #131c32 0%, #1e1b4b 50%, #111a2d 100%);
  border: 1px solid rgba(99, 102, 241, 0.45);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(99, 102, 241, 0.2);
  color: #ffffff;
}

[data-theme="light"] .closing-card {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #3730a3 100%);
}

.closing-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.closing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.2);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.closing-title {
  font-size: 2.85rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  color: #ffffff;
}

.closing-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
}

.closing-cta-wrap {
  margin-bottom: 2rem;
}

.closing-trust-notes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.trust-sep {
  color: #64748b;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 3rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo-shield {
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.6rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-heading {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--trans-fast);
}

.footer-links a:hover {
  color: var(--brand-primary);
  padding-left: 2px;
}

/* ==========================================================================
   INTERACTIVE TOUR MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 2001;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.modal-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #818cf8;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.modal-header h3 {
  font-size: 1.15rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 1.75rem;
}

.modal-demo-stage {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.demo-screen-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.screen-indicator {
  font-size: 0.78rem;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.mockup-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.diag-node {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.diag-user {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

.diag-shield {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border: 1px solid #6366f1;
}

.diag-safe {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald);
}

.diag-arrow {
  color: var(--text-dim);
  font-family: monospace;
  font-size: 0.75rem;
}

.demo-tour-controls {
  display: flex;
  gap: 0.5rem;
}

.btn-step {
  flex: 1;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-step.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.step-explanation {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
  background: var(--bg-surface-elevated);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-primary);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

/* ==========================================================================
   SLIDE-OUT SUPPORT DRAWER DEMO
   ========================================================================== */
.support-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2500;
  display: flex;
  justify-content: flex-end;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 13, 0.75);
  backdrop-filter: blur(5px);
}

.support-drawer {
  position: relative;
  z-index: 2501;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  animation: drawer-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawer-slide {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-avatar {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.drawer-header-left h4 {
  font-size: 0.95rem;
}

.drawer-status-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dot-online {
  width: 6px;
  height: 6px;
  background-color: var(--emerald);
  border-radius: 50%;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
}

.drawer-close-btn:hover {
  color: var(--text-main);
}

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.drawer-intro-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.drawer-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.drawer-input,
.drawer-textarea {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--trans-fast);
}

.drawer-input:focus,
.drawer-textarea:focus {
  border-color: var(--brand-primary);
}

.auto-diag-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.diag-header-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  background: var(--bg-surface-elevated);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.diag-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.diag-details-content {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.diag-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.diag-row code {
  color: #38bdf8;
  font-family: monospace;
}

.drawer-success-msg {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon-wrap {
  width: 50px;
  height: 50px;
  background: var(--emerald-bg);
  color: var(--emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem auto;
}

.drawer-success-msg h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.drawer-success-msg p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Multi-Device Perfection)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-title {
    font-size: 2.75rem;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-pricing {
    transform: none;
  }

  .featured-pricing:hover {
    transform: translateY(-4px);
  }

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

@media (max-width: 768px) {
  .site-header {
    height: auto;
    padding: 0.75rem 0;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    transform: translateY(-160%);
    transition: transform var(--trans-normal);
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-proof-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
  }

  .proof-divider {
    display: none;
  }

  .mock-wp-body {
    flex-direction: column;
  }

  .mock-wp-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #1f293d;
  }

  .workspace-cards-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .feature-full-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .closing-title {
    font-size: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .btn-lg,
  .btn-xl {
    width: 100%;
  }

  .pain-cards-grid {
    grid-template-columns: 1fr;
  }

  .simulation-controller {
    flex-direction: column;
    align-items: flex-start;
  }

  .sim-toggle-pill {
    width: 100%;
    flex-direction: column;
  }

  .sim-btn {
    justify-content: center;
  }
}

/* ==========================================================================
   OFFICIAL BRAND ASSETS, COMPARISON MATRIX & MODALS EXTENSIONS
   ========================================================================== */

/* Brand Logo Image */
.logo-shield-wrap {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon-img {
  border-radius: 9px;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.38);
  transition: transform var(--trans-fast);
}

.brand-logo:hover .brand-icon-img {
  transform: scale(1.06);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

/* Pricing Badges */
.tier-pill-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-badge-community {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.tier-badge-pro {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.tier-badge-agency {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.feature-disabled {
  opacity: 0.45;
  text-decoration: line-through;
}

.cross-icon {
  color: var(--red);
  font-size: 0.95rem;
}

/* Feature Comparison Matrix */
.pricing-matrix-wrap {
  margin-top: 4.5rem;
  margin-bottom: 3.5rem;
}

.matrix-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.matrix-header {
  margin-bottom: 2.25rem;
  text-align: center;
}

.matrix-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.matrix-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.matrix-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.matrix-table th,
.matrix-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.matrix-table thead th {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  position: sticky;
  top: 0;
  z-index: 2;
}

.col-feature {
  width: 42%;
}

.col-plan {
  width: 19%;
  text-align: center;
}

.plan-highlight {
  color: var(--emerald) !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

.matrix-table td:nth-child(2),
.matrix-table td:nth-child(3),
.matrix-table td:nth-child(4) {
  text-align: center;
}

.matrix-table td:nth-child(4) {
  background: rgba(16, 185, 129, 0.03);
}

.group-row td {
  background: var(--bg-surface-elevated);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  padding-top: 1.25rem;
  padding-bottom: 0.75rem;
}

.badge-matrix {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.badge-matrix-good {
  background: var(--emerald-bg);
  color: var(--emerald);
}

.badge-matrix-neutral {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

.badge-matrix-no {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Modals Custom Styles */
.modal-card-sm {
  max-width: 500px;
}

.modal-card-lg {
  max-width: 800px;
}

.free-modal-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.free-box-icon {
  font-size: 2rem;
}

.free-box-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.free-box-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.docs-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  gap: 0.5rem;
  overflow-x: auto;
}

.docs-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.docs-tab:hover {
  color: var(--text-main);
}

.docs-tab.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.docs-ol, .docs-ul {
  padding-left: 1.5rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.docs-ol li, .docs-ul li {
  margin-bottom: 0.5rem;
}

.docs-callout {
  background: rgba(99, 102, 241, 0.1);
  border-left: 3px solid var(--brand-primary);
  padding: 0.85rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  align-items: flex-start;
}

.text-indigo-link {
  color: var(--brand-primary);
  text-decoration: underline;
}

.text-indigo-link:hover {
  color: var(--brand-violet);
}

/* ==========================================================================
   SLEEK SEGMENTED LICENSE SCOPE PILLS (REPLACING CLUNKY DROPDOWN)
   ========================================================================== */
.license-scope-segmented {
  margin: 1.25rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.scope-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scope-active-label {
  color: var(--brand-primary);
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.8rem;
}

.scope-pills-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-surface-elevated);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.scope-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.scope-pill-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.scope-pill-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.scope-pill-btn .pill-tag {
  font-size: 0.72rem;
  opacity: 0.88;
  font-weight: 500;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.matrix-action-row td {
  padding: 1.25rem 1rem !important;
  background: var(--bg-surface-elevated);
}

.btn-sm {
  padding: 0.45rem 0.9rem !important;
  font-size: 0.82rem !important;
  border-radius: var(--radius-sm) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.freemius-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  max-width: 400px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   INTERNAL PAGES SYSTEM: LEGAL, CONTACT & THANK-YOU LAYOUTS
   ========================================================================== */

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.crumb-link {
  color: var(--text-muted);
  transition: color var(--trans-fast);
  text-decoration: none;
}

.crumb-link:hover {
  color: var(--brand-primary);
}

.crumb-sep {
  font-size: 0.75rem;
  opacity: 0.6;
}

.crumb-current {
  color: var(--text-main);
  font-weight: 600;
}

/* Page Hero */
.page-hero {
  padding: 4.5rem 0 3rem;
  background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(99, 102, 241, 0.12);
  color: var(--brand-primary);
  border: 1px solid var(--border-glow);
  margin-bottom: 1rem;
}

.page-hero-badge.badge-emerald {
  background: var(--emerald-bg);
  color: var(--emerald);
  border-color: var(--border-emerald-glow);
}

.page-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.page-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.84rem;
  color: var(--text-dim);
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-subtle);
}

.page-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Legal & Document Layout */
.legal-main-section {
  padding: 3.5rem 0 5.5rem;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 2rem 1.25rem;
  }
}

.legal-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 1.6rem;
  margin-bottom: 0.65rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1.35rem;
  padding-left: 1.4rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.legal-content strong {
  color: var(--text-main);
  font-weight: 600;
}

.legal-content code {
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-primary);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.88em;
}

/* Callouts */
.legal-callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-primary);
  background: rgba(99, 102, 241, 0.08);
  margin: 1.75rem 0;
  color: var(--text-main);
  font-size: 0.93rem;
  line-height: 1.6;
}

.legal-callout.callout-emerald {
  border-left-color: var(--emerald);
  background: var(--emerald-bg);
}

.legal-callout.callout-amber {
  border-left-color: var(--amber);
  background: var(--amber-bg);
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

/* Table inside legal / policies */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.legal-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  font-weight: 700;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:hover td {
  background: rgba(99, 102, 241, 0.03);
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-normal);
}

.contact-info-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.contact-info-icon.icon-emerald {
  background: var(--emerald-bg);
  color: var(--emerald);
}

.contact-info-icon.icon-amber {
  background: var(--amber-bg);
  color: var(--amber);
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.contact-info-email {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-primary);
  display: inline-block;
  margin-bottom: 0.4rem;
  word-break: break-all;
}

.contact-info-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--trans-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  background: var(--bg-surface);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  display: block;
}

/* Thank You & Order Confirmation */
.thank-you-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-surface-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-xl), 0 0 45px rgba(99, 102, 241, 0.15);
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .thank-you-card {
    padding: 2.25rem 1.5rem;
  }
}

.celebrate-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  background: var(--emerald-bg);
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
  animation: pulse 2.5s infinite;
}

.license-box-wrap {
  background: var(--bg-surface-elevated);
  border: 1px dashed var(--brand-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}

.license-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.license-box-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
}

.license-key-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-main);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.license-key-code {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.05em;
  flex: 1;
  word-break: break-all;
}

.steps-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
  text-align: left;
}

@media (max-width: 768px) {
  .steps-roadmap-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.step-road-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  position: relative;
}

.step-num-badge {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.step-road-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.step-road-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   FOOTER TRADEMARK LEGAL NOTICE
   ========================================================================== */
.footer-legal-notice {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-legal-notice p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 880px;
  margin: 0 auto;
}

/* ==========================================================================
   CHANGELOG MODAL STYLING
   ========================================================================== */
.changelog-release-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.changelog-date {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
}

.changelog-section {
  margin-bottom: 1.5rem;
}

.changelog-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.changelog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.changelog-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.changelog-list li i {
  color: #10b981;
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   DOCUMENTATION & SOP HUB STYLING (/docs/)
   ========================================================================== */
.docs-layout-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: flex-start;
  padding: 3rem 0 5rem;
}

@media (max-width: 991px) {
  .docs-layout-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.docs-sidebar {
  position: sticky;
  top: 6rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.docs-sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.docs-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.docs-nav-item a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--trans-fast);
  text-decoration: none;
}

.docs-nav-item a:hover,
.docs-nav-item a.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-primary);
  font-weight: 600;
  padding-left: 0.95rem;
}

.docs-nav-item.sub-item a {
  padding-left: 1.5rem;
  font-size: 0.83rem;
}

.docs-content-wrapper {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
}

@media (max-width: 768px) {
  .docs-content-wrapper {
    padding: 2rem 1.5rem;
  }
}

.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.docs-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.docs-breadcrumb a:hover {
  color: var(--brand-primary);
}

.docs-header-hero {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.docs-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.docs-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.docs-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.docs-body-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.docs-body-text h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2.8rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.docs-body-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2rem 0 0.75rem;
}

.docs-body-text p {
  margin-bottom: 1.25rem;
}

.docs-body-text ul,
.docs-body-text ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.docs-body-text li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.docs-body-text strong {
  color: var(--text-main);
}

.docs-callout {
  background: rgba(99, 102, 241, 0.08);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.docs-callout.callout-success {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: #10b981;
}

.docs-callout.callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: #f59e0b;
}

.docs-callout-icon {
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin-top: 0.1rem;
}

.callout-success .docs-callout-icon {
  color: #10b981;
}

.callout-warning .docs-callout-icon {
  color: #f59e0b;
}

.docs-callout-content {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.55;
}

.docs-code-card {
  background: #0f172a;
  color: #f8fafc;
  border-radius: var(--radius-md);
  margin: 1.5rem 0 2rem;
  overflow: hidden;
  border: 1px solid #1e293b;
}

.docs-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  background: #1e293b;
  font-size: 0.8rem;
  color: #94a3b8;
  font-family: var(--font-mono, monospace);
}

.docs-copy-btn {
  background: transparent;
  border: 1px solid #334155;
  color: #cbd5e1;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--trans-fast);
}

.docs-copy-btn:hover {
  background: #334155;
  color: #fff;
}

.docs-code-block {
  padding: 1.25rem;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono, monospace);
  font-size: 0.86rem;
  line-height: 1.6;
}

.docs-checklist-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.docs-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--trans-fast);
}

.docs-checklist-item:hover {
  border-color: var(--brand-primary);
}

.docs-checklist-item.checked {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}

.docs-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  accent-color: var(--brand-primary);
  margin-top: 0.2rem;
  cursor: pointer;
}

.checklist-content {
  flex: 1;
}

.checklist-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.checklist-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.checklist-progress-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.checklist-progress-bar-wrap {
  flex: 1;
  min-width: 200px;
  height: 8px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.checklist-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), #10b981);
  width: 0%;
  transition: width 0.3s ease;
}

@media print {
  .site-header,
  .site-footer,
  .top-banner,
  .docs-sidebar,
  .header-actions,
  .docs-breadcrumb,
  .docs-copy-btn,
  .print-hide {
    display: none !important;
  }
  .docs-layout-container {
    display: block !important;
    padding: 0 !important;
  }
  .docs-content-wrapper {
    border: none !important;
    padding: 0 !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
}