/* Greenfield CSS Design System - Thatworkx AEO Suite */
/* Import all typography families with complete weight sets */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Google Fonts inspired Dark Theme Palette (Default) */
  --canvas-bg: #202124;         /* Google dark background grey */
  --surface-bg: #1f1f1f;        /* Google card/container background */
  --surface-nested-bg: #121212; /* Darker nested wells and inputs */
  --input-code-bg: #121212;
  --border-color: #3c4043;      /* Google Fonts dark divider lines */
  --glass-bg: #1f1f1f;
  --glass-border: #3c4043;
  --header-footer-bg: #1f1f1f;

  /* Typography Colors */
  --text-primary: #ffffff;      /* High emphasis primary headers */
  --text-secondary: #e8eaed;    /* Medium emphasis secondary/body text */
  --text-muted: #bdc1c6;        /* Muted caption text */
  --text-main: #e8eaed;

  /* Slate Scale (Resolves missing --dark-* references) */
  --dark-900: #08090c;
  --dark-800: #0f172a;
  --dark-700: #1e293b;
  --dark-600: #334155;
  --dark-500: #475569;
  --dark-400: #64748b;
  --dark-300: #94a3b8;
  --dark-200: #cbd5e1;

  /* Sky & Accent Colors */
  --sky-color: #38bdf8;
  --primary-accent: #38bdf8;
  --primary-400: #38bdf8;

  /* Burnt Copper Accent exception (Primary buttons, active highlights) */
  --burnt-copper: #b7410e;
  --burnt-copper-hover: #d45d2a;
  --burnt-copper-active: #a03000;
  --burnt-copper-glow: rgba(183, 65, 14, 0.25);

  /* Fallback/compatibility aliases */
  --primary-500: var(--burnt-copper);
  --primary-600: var(--burnt-copper-hover);
  --visualize-color: var(--burnt-copper);
  --visualize-bg-glow: var(--burnt-copper-glow);
  --optimize-color: var(--burnt-copper);
  --optimize-bg-glow: var(--burnt-copper-glow);
  --socialize-color: var(--burnt-copper);
  --socialize-bg-glow: var(--burnt-copper-glow);

  --accent-rose: var(--burnt-copper);
  --accent-rose-dark: var(--burnt-copper-active);
  --accent-rose-glow: var(--burnt-copper-glow);

  --accent-amber: var(--burnt-copper);
  --accent-amber-dark: var(--burnt-copper-active);
  --accent-amber-glow: var(--burnt-copper-glow);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-code: 'Space Mono', 'JetBrains Mono', monospace;
  --font-headline: 'Plus Jakarta Sans', sans-serif;

  /* Shadows & Glows */
  --glow-shadow: 0 0 20px var(--burnt-copper-glow);
  --badge-pass: #10b981;
  --badge-pass-bg: rgba(16, 185, 129, 0.15);
  --badge-fail: #ef4444;
  --badge-fail-bg: rgba(239, 68, 68, 0.15);
  --badge-warn-bg: rgba(245, 158, 11, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Universal Form Controls Font Reset */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
}

/* ==========================================================================
   Smooth Anchor Navigation & Sticky Header Offset
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

/* Ensure all anchor target sections inherit proper top clearance */
section,
[id^="onboarding-"],
[id^="seo-vs-aeo"],
[id^="product-bento"],
[id^="ai-crawler"],
[id^="machine-file"],
[id^="eeat-"],
[id^="faq-"],
.seo-aeo-comparison-section,
.bento-grid-section,
.provider-cloud-section,
.pipeline-section,
.eeat-deck-section,
.faq-hub-section,
.final-cta-section {
  scroll-margin-top: 5.5rem;
}

body {
  background-color: var(--canvas-bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.base-typography-rem {
  font-size: 0.875rem;
}

/* Logo Placeholder Design System */
.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--burnt-copper);
  background: var(--surface-bg);
  border: 1.5px dashed var(--burnt-copper);
  border-radius: 6px;
  padding: 0.45rem 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  min-width: 140px;
  height: 38px;
  text-align: center;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.05);
}

.logo-placeholder:hover {
  border-style: solid;
  border-color: var(--burnt-copper-hover);
  color: var(--burnt-copper-hover);
  box-shadow: 0 0 10px var(--burnt-copper-glow);
}

/* Navigation Logo Buttons */
.nav-logo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  height: 34px;
  min-width: 110px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.nav-logo-btn:hover {
  border-color: var(--burnt-copper-hover);
  color: var(--burnt-copper-hover);
  background: rgba(183, 65, 14, 0.05);
}

.nav-logo-btn.active {
  background: var(--burnt-copper) !important;
  border-color: var(--burnt-copper) !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px var(--burnt-copper-glow);
}

/* Header & Toggle Switch */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--header-footer-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-symbol {
  font-size: 1.6rem;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.logo-highlight {
  color: var(--primary-500);
}

.toggle-container {
  display: flex;
  background-color: var(--dark-900);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 4px;
}

.toggle-btn {
  border: none;
  background: none;
  color: var(--dark-400);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn:hover {
  color: #ffffff;
}

.toggle-btn.active {
  background-color: var(--primary-500);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

/* Plan Tier Selector */
.tier-badge-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier-label {
  font-size: 0.8rem;
  color: var(--dark-400);
}

.tier-select {
  background-color: var(--dark-900);
  color: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  outline: none;
}

/* Master Layout */
.app-container {
  flex: 1;
  width: 90%;
  max-width: 1200px;
  margin: 2.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Glassmorphism Cards */
.glassmorphic {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.scan-input-card {
  text-align: center;
}

.scan-input-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.subtitle {
  color: var(--dark-400);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Form Styles */
.form-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--dark-400);
}

.input-wrapper input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background-color: rgba(2, 6, 23, 0.6);
  color: #ffffff;
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all 0.3s ease;
}

.input-wrapper input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.submit-btn {
  background-color: var(--primary-500);
  border: none;
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.glowing-btn {
  box-shadow: 0 0 20px var(--burnt-copper-glow);
}

.glowing-btn:hover {
  box-shadow: 0 0 30px var(--burnt-copper-glow);
}

/* Checkbox Toggle */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--dark-300);
  font-size: 0.85rem;
  cursor: pointer;
}

/* Panels */
.product-panel {
  display: none;
  flex-direction: column;
  gap: 2rem;
}

.product-panel.active {
  display: flex;
}

/* Results Section Layout */
.scan-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.col-span-3 {
  grid-column: span 3;
}

/* Dashboard Score Circle */
.text-center {
  text-align: center;
}

.score-circle-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--primary-500);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.25);
}

.score-value {
  font-size: 2.2rem;
  font-weight: 700;
}

.score-label {
  font-size: 0.8rem;
  color: var(--dark-400);
}

/* Badges */
#classification-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.badge-good {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-bad {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-ugly {
  background-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

/* Alerts Section */
.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.alert-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
}

.alert-item.alert-critical {
  background-color: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b;
}

.alert-item-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.alert-item-desc {
  font-size: 0.85rem;
  color: var(--dark-300);
}

.alert-empty {
  color: var(--dark-400);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem 0;
}

/* Checklist Details */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.checklist-status {
  font-size: 1.2rem;
}

.checklist-info strong {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.15rem;
}

.checklist-info p {
  font-size: 0.8rem;
  color: var(--dark-400);
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

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

.data-table th, .data-table td {
  padding: 0.8rem 1.2rem;
}

.data-table th {
  background-color: rgba(2, 6, 23, 0.8);
  font-weight: 600;
  color: var(--dark-300);
}

.data-table tr {
  border-bottom: 1px solid var(--glass-border);
}

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

/* Welcome Placeholder */
.welcome-placeholder {
  padding: 5rem 2rem;
}

.placeholder-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--dark-600);
}

/* Optimize Sandbox layouts */
.optimize-workspace-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}

.control-menu {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.control-menu-item {
  border: none;
  background: rgba(2, 6, 23, 0.4);
  color: var(--dark-300);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.control-menu-item:hover {
  background-color: rgba(2, 6, 23, 0.8);
  color: #ffffff;
}

.control-menu-item.active {
  background-color: var(--dark-800);
  border-color: var(--primary-500);
  color: #ffffff;
}

.optimize-tabs .control-menu-item {
  text-align: center;
  padding: 0.6rem 1.1rem;
}

.optimize-tool-view {
  display: none;
}

.optimize-tool-view.active {
  display: block;
}

.sandbox-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.slider-row, .input-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.slider-row label, .input-row label {
  font-size: 0.8rem;
  color: var(--dark-300);
  font-weight: 500;
}

.input-row input {
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  background-color: rgba(2, 6, 23, 0.8);
  color: #ffffff;
  outline: none;
  font-family: var(--font-sans);
}

.code-viewport-container {
  margin-top: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.code-header {
  background-color: rgba(2, 6, 23, 0.8);
  padding: 0.6rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--dark-300);
}

.copy-btn {
  background-color: var(--primary-500);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.copy-btn:hover {
  background-color: var(--primary-600);
}

.code-view {
  background-color: #030712;
  padding: 1.5rem;
  color: #10b981;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  overflow-x: auto;
  max-height: 380px;
  white-space: pre-wrap;
}

/* Socialize (Partner Affiliate Link Card) */
.affiliate-alert-box {
  background-color: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 8px;
  padding: 2rem;
  max-width: 650px;
  margin: 2rem auto;
}

.border-glow-sky {
  border-color: var(--primary-500);
  box-shadow: 0 0 25px rgba(14, 165, 233, 0.15);
}

.affiliate-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-400);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.affiliate-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--dark-300);
  margin-bottom: 1.5rem;
}

.affiliate-btn {
  display: inline-block;
  text-decoration: none;
  background-color: var(--primary-500);
  color: #ffffff;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.socialize-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.guide-card {
  text-align: left;
}

.guide-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.guide-card p {
  font-size: 0.85rem;
  color: var(--dark-400);
  line-height: 1.4;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.help-modal-hidden {
  display: none !important;
}

#help-modal-body {
  text-align: left;
}

.modal-card {
  max-width: 450px;
  width: 90%;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
}

.border-glow-amber {
  border-color: var(--optimize-color);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.modal-close {
  position: absolute;
  right: 1.2rem;
  top: 0.8rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark-500);
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.modal-card p {
  font-size: 0.9rem;
  color: var(--dark-300);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.upgrade-btn-action {
  border: none;
  background-color: var(--optimize-color);
  color: #020617;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
}

.glowing-btn-amber {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.glowing-btn-amber:hover {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.55);
}

/* Animations */
.animate-pulse-slow {
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

0%, 100% { opacity: 1; }

50% { opacity: 0.5; }

}

.app-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--dark-500);
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
}

/* Loader */
.btn-loader {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 3px solid #ffffff;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {

0% { transform: rotate(0deg); }

100% { transform: rotate(360deg); }

}

/* Gateway Relationship Grid & AI Bot Matrix */
.gateway-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gateway-badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
}

.badge-handshake {
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

.badge-hidden {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.badge-blindness {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.bot-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.bot-status-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(15, 23, 42, 0.6);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.bot-icon {
  font-size: 1.2rem;
}

.bot-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-200);
}

.bot-perm {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Machine Simulator & Accordion Rules */
.density-badge {
  background-color: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.code-viewport-box {
  background-color: rgba(2, 6, 23, 0.85);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 8px;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.teaser-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  padding: 0.85rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background-color: rgba(30, 41, 59, 0.6);
}

.accordion-body {
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: var(--dark-300);
  border-top: 1px solid var(--glass-border);
  background-color: rgba(2, 6, 23, 0.4);
}

.teaser-btn {
  background-color: var(--primary-600);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.teaser-btn:hover {
  background-color: var(--primary-500);
}

/* Header Auth Button & Auth Modal UI */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-trigger-btn {
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--glass-border);
  color: #f1f5f9;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-trigger-btn:hover {
  background-color: rgba(30, 41, 59, 0.8);
  border-color: var(--primary-500);
}

.input-row-full {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.35rem;
}

.input-row-full label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-200);
}

.input-row-full input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  background-color: rgba(2, 6, 23, 0.8);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

.link-btn {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.link-btn:hover {
  color: #7dd3fc;
}

/* Auth tabs styling */
.auth-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--dark-700);
}

.auth-tab-btn {
  background: none;
  border: none;
  color: var(--dark-400);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.auth-tab-btn:hover {
  color: #ffffff;
}

.auth-tab-btn.active {
  color: var(--primary-400);
  border-bottom-color: var(--primary-400);
}

.opt-in-message {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  font-size: 0.75rem;
  color: var(--dark-400);
  margin-top: 1rem;
  cursor: pointer;
}

.opt-in-message input {
  margin-top: 0.15rem;
}

.auth-form-layout {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.auth-form-layout label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-300);
  margin-bottom: 0.25rem;
  display: block;
}

.auth-form-layout input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  background-color: rgba(2, 6, 23, 0.8);
  color: #ffffff;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.auth-form-layout input:focus {
  border-color: var(--primary-400);
}

.flex { display: flex; }

.gap-2 { gap: 0.5rem; }

.gap-3 { gap: 0.75rem; }

.gap-4 { gap: 1rem; }

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

.w-1\/2 { width: 50%; }

.mt-2 { margin-top: 0.5rem; }

.mt-3 { margin-top: 0.75rem; }

.mt-4 { margin-top: 1rem; }

.mb-2 { margin-bottom: 0.5rem; }

.mb-3 { margin-bottom: 0.75rem; }

.mb-4 { margin-bottom: 1rem; }

.pb-2 { padding-bottom: 0.5rem; }

.border-b { border-bottom-width: 1px; }

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

.text-muted { color: var(--dark-400); }

.text-xs { font-size: 0.75rem; }

.text-sm { font-size: 0.85rem; }

.font-semibold { font-weight: 600; }

.block { display: block; }

/* Dynamic Scanned Paths Audit Elements */
.info-help-btn {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid var(--sky-color);
  color: var(--sky-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  vertical-align: middle;
  transition: all 0.2s ease;
}

.info-help-btn:hover {
  background: var(--sky-color);
  color: #020617;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

.direct-link-btn {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--sky-color);
  text-decoration: none;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-weight: 500;
}

.direct-link-btn:hover {
  background: var(--sky-color);
  color: #020617;
  border-color: var(--sky-color);
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.wc-pill {
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.wc-pill-green {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.wc-pill-yellow {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #facc15;
}

.wc-pill-red {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.text-danger-glow {
  color: #f87171;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
  font-weight: 600;
}

/* Onboarding Landing Styles matching Slide1.png with Premium Depth */
.onboarding-card {
  background-color: #08090C !important;
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(6, 182, 212, 0.15) 0%, rgba(245, 158, 11, 0.06) 35%, rgba(139, 92, 246, 0.08) 70%, transparent 100%),
    linear-gradient(to right, rgba(31, 41, 55, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 41, 55, 0.07) 1px, transparent 1px);
  background-size: auto, 4rem 4rem, 4rem 4rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4rem 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.onboarding-hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* THE AEO & GEO INFRASTRUCTURE PLATFORM BADGE */
.onboarding-badge-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #cbd5e1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pulsing-dot-wrapper {
  position: relative;
  display: flex;
  height: 8px;
  width: 8px;
}

.pulsing-dot-ping {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: #22c55e;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulsing-dot {
  position: relative;
  display: inline-flex;
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background-color: #10b981;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* HEADLINE & SUBHEADLINE */
.onboarding-header-group {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.onboarding-header-group h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

/* ── Headline accent spans (per spec: Rose Crimson + Safety Amber) ── */
.text-accent-rose {
  color: #9F1239;
}

.text-accent-amber {
  color: #B45309;
}

/* Keep legacy gradient classes for any other uses */
.text-gradient-cyan {
  background: linear-gradient(135deg, #22d3ee 30%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #fbbf24 30%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.onboarding-subheadline {
  font-size: 1.125rem;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto;
  font-weight: 500;
}

/* SEARCH CONSOLE CARD */
.onboarding-console-card {
  max-width: 850px;
  margin: 0 auto 4rem auto;
  background: #111318 !important;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.active-visualize-glow {
  /* Rose Crimson accent per spec */
  border-color: rgba(159, 18, 57, 0.45);
  box-shadow: 0 0 40px rgba(159, 18, 57, 0.14), inset 0 0 12px rgba(159, 18, 57, 0.05);
}

.active-optimize-glow {
  /* Safety Amber accent per spec */
  border-color: rgba(180, 83, 9, 0.45);
  box-shadow: 0 0 40px rgba(180, 83, 9, 0.14), inset 0 0 12px rgba(180, 83, 9, 0.05);
}

.active-socialize-glow {
  /* Burnt Copper accent per spec */
  border-color: rgba(154, 52, 18, 0.45);
  box-shadow: 0 0 40px rgba(154, 52, 18, 0.14), inset 0 0 12px rgba(154, 52, 18, 0.05);
}

/* SEGMENTED TAB SWITCHER ROW */
.console-tabs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* SEARCH CONSOLE TAB BUTTONS */
.console-tab-btn {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  background: rgba(8, 9, 12, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  outline: none;
  color: #64748b;
  padding: clamp(1.2rem, 3vw, 1.5rem);
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  height: 100%;
  min-height: 480px;
  text-align: left;
}

.console-tab-btn:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
}

.console-tab-btn.active {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.console-tab-btn.active#btn-tab-visualize {
  border-color: rgba(159, 18, 57, 0.55) !important;
  box-shadow: 0 0 25px rgba(159, 18, 57, 0.15);
  background: rgba(159, 18, 57, 0.06);
}

.console-tab-btn.active#btn-tab-optimize {
  border-color: rgba(180, 83, 9, 0.55) !important;
  box-shadow: 0 0 25px rgba(180, 83, 9, 0.15);
  background: rgba(180, 83, 9, 0.06);
}

.console-tab-btn.active#btn-tab-socialize {
  border-color: rgba(154, 52, 18, 0.55) !important;
  box-shadow: 0 0 25px rgba(154, 52, 18, 0.15);
  background: rgba(154, 52, 18, 0.06);
}

/* Button interior text formatting */
.tab-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Per-tab title accent colors */
.tab-title.text-cyan { color: #9F1239; }

/* AI Visualize → Rose */
.tab-title.text-amber { color: #B45309; }

/* AIOptimize → Safety Amber */
.tab-title.text-violet { color: #9A3412; }

/* AISocialize → Burnt Copper */

.tab-subhead {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.tab-list, .tab-sublist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tab-list li, .tab-sublist li {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.tab-nested-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tab-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 0.25rem;
}

/* SCAN FORM LAYOUT */
.onboarding-form-layout {
  display: flex;
  gap: 1rem;
  max-width: 100%;
}

/* ==========================================================================
   High-Contrast White Background for URL Input Box
   ========================================================================== */
.onboarding-input-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.onboarding-input-icon {
  position: absolute;
  left: 1.2rem;
  font-size: 1.25rem;
  color: #0284c7; /* Vibrant blue icon visible against white */
  pointer-events: none;
  z-index: 2;
}

.onboarding-input-wrapper input {
  width: 100%;
  height: 56px;
  padding: 0 1.4rem 0 3.4rem;
  background-color: #ffffff !important; /* Clean Solid White Background */
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a !important; /* Deep Dark Slate text for crisp readability */
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.onboarding-input-wrapper input::placeholder {
  color: #64748b; /* Muted Slate placeholder readable on white */
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-weight: 400;
}

.onboarding-input-wrapper input:focus {
  outline: none;
  background-color: #ffffff !important;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3), 0 8px 25px rgba(0, 0, 0, 0.35);
}

.active-visualize-glow input:focus {
  border-color: #9F1239;
  box-shadow: 0 0 15px rgba(159, 18, 57, 0.2);
}

.active-optimize-glow input:focus {
  border-color: #B45309;
  box-shadow: 0 0 15px rgba(180, 83, 9, 0.2);
}

.active-socialize-glow input:focus {
  border-color: #9A3412;
  box-shadow: 0 0 15px rgba(154, 52, 18, 0.2);
}

/* ACTION CTAS */
/* SCAN ACTION CTA BUTTON */
.onboarding-submit-btn {
  height: 56px;
  padding: 0 2.2rem;
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-submit-btn:hover {
  transform: scale(1.02);
}

/* CTA Buttons — updated to spec accent tones (Burnt Copper) */
.onboarding-submit-btn.bg-cyan,
.onboarding-submit-btn.bg-amber,
.onboarding-submit-btn.bg-violet {
  background: var(--burnt-copper);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--burnt-copper-glow);
}

.onboarding-submit-btn.bg-cyan:hover,
.onboarding-submit-btn.bg-amber:hover,
.onboarding-submit-btn.bg-violet:hover {
  background: var(--burnt-copper-hover);
  box-shadow: 0 4px 30px var(--burnt-copper-glow);
}

/* ── AISocialize Extension Badge (styled class) ── */
.socialize-badge-pill {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #9A3412;
  background: rgba(154, 52, 18, 0.08);
  border: 1px solid rgba(154, 52, 18, 0.3);
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.socialize-badge-zap {
  font-size: 0.9rem;
}

.socialize-badge-link {
  text-decoration: underline;
  margin-left: 4px;
  color: #9A3412;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.socialize-badge-link:hover {
  opacity: 0.75;
}

/* ── 1-Click Instant Try Pills ── */
.instant-try-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* INSTANT DEMO PILLS */
.instant-try-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}

.instant-try-pill {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(183, 65, 14, 0.10);
  border: 1px solid rgba(183, 65, 14, 0.28);
  color: var(--burnt-copper-hover, #d45d2a);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.instant-try-pill:hover {
  background: rgba(183, 65, 14, 0.20);
  border-color: rgba(183, 65, 14, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.instant-try-pill:active {
  transform: scale(0.96);
}

.onboarding-submit-btn:active {
  transform: scale(0.97);
}

.onboarding-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ══════════════════════════════════════════════════════
   3-COLUMN INTERACTIVE TOOL CARDS
══════════════════════════════════════════════════════ */
.tool-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 850px;
  margin: 1.5rem auto 2.5rem auto;
}

.tool-card {
  background: #16181D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  outline: none;
}

.tool-card:hover { transform: translateY(-3px); }

.tool-card:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Accent hover glow per card */
.tool-card--rose:hover { border-color: rgba(159,18,57,0.55);  box-shadow: 0 8px 32px rgba(159,18,57,0.18);  }

.tool-card--amber:hover { border-color: rgba(180,83,9,0.55);   box-shadow: 0 8px 32px rgba(180,83,9,0.18);   }

.tool-card--copper:hover { border-color: rgba(154,52,18,0.55);  box-shadow: 0 8px 32px rgba(154,52,18,0.18);  }

/* Header badge */
.tool-card__badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.tool-card__badge--rose { background: rgba(159,18,57,0.15);  color: #BE1846; border: 1px solid rgba(159,18,57,0.3);  }

.tool-card__badge--amber { background: rgba(180,83,9,0.15);   color: #D0640C; border: 1px solid rgba(180,83,9,0.3);   }

.tool-card__badge--copper { background: rgba(154,52,18,0.15);  color: #B64016; border: 1px solid rgba(154,52,18,0.3);  }

/* Card title */
.tool-card__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.tool-card__title--rose { color: #9F1239; }

.tool-card__title--amber { color: #B45309; }

.tool-card__title--copper { color: #9A3412; }

/* Headline */
.tool-card__headline {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Checklist */
.tool-card__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.tool-card__checklist li {
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.tool-card__checklist li em {
  color: #64748b;
  font-style: normal;
}

.tool-card__nested-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem !important;
  font-weight: 700;
  color: #475569 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

/* Check icons */
.check-icon { font-size: 0.7rem; flex-shrink: 0; margin-top: 0.15rem; }

.check-icon--rose { color: #9F1239; }

.check-icon--amber { color: #B45309; }

.check-icon--copper { color: #9A3412; }

/* Deliverables Section */
.tool-card__deliverables {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.deliverables-title {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.tool-card__deliverables ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tool-card__deliverables li {
  font-size: 0.68rem !important;
  color: #64748b !important;
  line-height: 1.4;
}

/* Footer CTA */
.tool-card__footer { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.06); }

.tool-card__cta {
  width: 100%;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
  transition: all 0.2s ease;
}

.tool-card__cta--rose:hover { border-color: rgba(159,18,57,0.6);  color: #9F1239; background: rgba(159,18,57,0.07);  }

.tool-card__cta--amber:hover { border-color: rgba(180,83,9,0.6);   color: #B45309; background: rgba(180,83,9,0.07);   }

.tool-card__cta--copper:hover { border-color: rgba(154,52,18,0.6);  color: #9A3412; background: rgba(154,52,18,0.07);  }

/* Mobile: stack to single column */
@media (max-width: 768px) {
  .tool-cards-grid { grid-template-columns: 1fr; }
}

/* THREE FEATURE CARDS GRID (legacy) */
.onboarding-features-row {
  margin-top: 2.5rem;
}

.feature-card-item {
  background: #111318 !important; /* Dark glass surface #111318 */
  border: 1px solid rgba(255, 255, 255, 0.08); /* 1px subtle border */
  border-radius: 20px;
  padding: 2.2rem 2rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-card-item:hover {
  background: #15171e !important;
  transform: translateY(-4px);
}

.feature-card-item#feat-card-visualize:hover {
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.12), 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(6, 182, 212, 0.4);
}

.feature-card-item#feat-card-optimize:hover {
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.12), 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(245, 158, 11, 0.4);
}

.feature-card-item#feat-card-socialize:hover {
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.12), 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(139, 92, 246, 0.4);
}

.active-border-cyan {
  border-color: rgba(6, 182, 212, 0.5) !important;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

.active-border-amber {
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.1);
}

.active-border-violet {
  border-color: rgba(139, 92, 246, 0.5) !important;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.feature-card-icon-container {
  font-size: 1.3rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.border-cyan { border-color: rgba(6, 182, 212, 0.2) !important; }

.text-cyan { color: #22d3ee; }

.border-amber { border-color: rgba(245, 158, 11, 0.2) !important; }

.text-amber { color: #f59e0b; }

.border-violet { border-color: rgba(139, 92, 246, 0.2) !important; }

.text-violet { color: #a78bfa; }

.badge-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 23, 42, 0.8);
}

.feature-card-item h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.card-subhead {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  min-height: 2.8rem;
}

/* Checklist Styling */
.card-checker-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-checker-list li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: start;
  gap: 0.5rem;
  line-height: 1.4;
}

.check-icon {
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1;
}

.check-icon-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.list-cyan .check-icon { color: #22d3ee; }

.list-cyan .check-icon-svg { color: #06b6d4; }

.list-amber .check-icon { color: #f59e0b; }

.list-amber .check-icon-svg { color: #f59e0b; }

.list-violet .check-icon { color: #a78bfa; }

.list-violet .check-icon-svg { color: #8b5cf6; }

/* Nested checklist sections */
.nested-check-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.nested-group-title {
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  display: block;
  margin-bottom: 0.5rem;
}

/* Footer elements */
.card-footer-action {
  margin-top: auto;
  width: 100%;
}

.action-outline-btn {
  width: 100%;
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
}

.action-outline-btn.border-cyan {
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}

.action-outline-btn.border-cyan:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: #22d3ee;
}

.action-outline-btn.border-amber {
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.action-outline-btn.border-amber:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: #f59e0b;
}

.extension-badge-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  cursor: default;
}

/* Responsiveness for Onboarding */
@media (max-width: 1024px) {
  .onboarding-features-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .onboarding-form-layout {
    flex-direction: column;
  }
  .onboarding-submit-btn {
    width: 100%;
  }
}

/* Bento Grid Section Styles */
.onboarding-bento-section {
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
}

.bento-section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.bento-section-header p {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

.bento-grid-container {
  margin-top: 3rem;
}

.bento-item {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bento-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.bento-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.bento-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

/* Split Comparison Widget */
.bento-split-widget {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.split-side {
  text-align: left;
}

.border-right {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding-right: 1rem;
}

.split-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.8rem;
}

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

.split-list li {
  font-size: 0.72rem;
  line-height: 1.4;
}

.muted-list li {
  color: #475569;
}

.active-list li {
  color: #94a3b8;
}

/* Gateway folder Stack list */
.bento-stack-list {
  width: 100%;
}

.stack-item {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.stack-bullet {
  font-size: 1.1rem;
}

.stack-info strong {
  display: block;
  font-size: 0.82rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.stack-info p {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
}

/* Bento Preview Tabs */
.bento-tabs {
  gap: 2px;
}

.bento-tab-btn {
  background: transparent;
  border: none;
  color: #64748b;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.bento-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Code box */
.code-box {
  background: rgba(8, 9, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: #a7f3d0;
  text-align: left;
  overflow-x: auto;
}

/* Badges */
.bento-badge {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-family: monospace;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
}

.bento-badge-ent {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.bullet-green {
  color: #10b981;
  font-weight: bold;
  margin-right: 4px;
}

.bento-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bento-list li {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Responsiveness for Bento Grid */
@media (max-width: 1024px) {
  .bento-grid-container {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .bento-item.col-span-2 {
    grid-column: span 1 !important;
  }
}

/* ACCORDION SECTION STYLES */
.onboarding-accordion-section {
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
  margin-bottom: 2rem;
}

.accordion-section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.accordion-section-header p {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

.accordion-container {
  max-width: 850px;
  margin: 3rem auto 0 auto;
}

/* details element styling */
.accordion-item {
  background: #111318 !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.accordion-item[open] {
  border-color: rgba(255, 255, 255, 0.12);
  background: #13161c !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* summary style */
.accordion-header {
  padding: 1.2rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 750;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none; /* Hide default browser arrow */
  transition: background 0.2s ease;
}

.accordion-header::-webkit-details-marker {
  display: none; /* Hide default webkit arrow */
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.accordion-arrow {
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-arrow {
  transform: rotate(180deg);
}

/* content styles */
.accordion-content {
  padding: 0 1.8rem 1.8rem 1.8rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1.2rem;
}

.accordion-content p {
  color: #94a3b8;
}

/* Accordion Table inside content */
.accordion-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  background: rgba(8, 9, 12, 0.4);
  margin-top: 1rem;
}

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

.accordion-table th {
  background: rgba(15, 23, 42, 0.8);
  padding: 0.8rem 1.2rem;
  color: #ffffff;
  font-weight: 750;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion-table td {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #94a3b8;
}

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

/* Checklist inside content */
.accordion-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.accordion-checklist li {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.accordion-checklist code {
  background: rgba(8, 9, 12, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  color: #a78bfa;
}

/* Links Grid inside content */
.accordion-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.accordion-link-card {
  display: flex;
  flex-direction: column;
  background: rgba(8, 9, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.2rem;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.accordion-link-card:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.accordion-link-card strong {
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.accordion-link-card span {
  font-size: 0.72rem;
  color: #64748b;
}

/* FAQ list layout */
.faq-sub-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item h4 {
  font-size: 0.85rem;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.faq-item p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

@media (max-width: 768px) {

.accordion-links-grid {
    grid-template-columns: 1fr;
  }

.console-tabs-container {
    grid-template-columns: 1fr;
  }

.console-tab-btn {
    min-height: auto;
  }

}

/* ══════════════════════════════════════════════════════
   SPATIAL BENTO COMMAND DECK — NEW STYLES
   AI CRAWL RULE: inactive .deck-panel uses
   visibility:hidden + height:0 + overflow:hidden
   so ALL text is in DOM for GPTBot/ClaudeBot to index.
══════════════════════════════════════════════════════ */
.onboarding-deck-section {
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 4rem;
  margin-bottom: 2rem;
}

/* Section header */
.deck-section-header { text-align: center; margin-bottom: 3rem; }

.deck-section-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.deck-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.deck-section-sub {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 2-column grid */
.deck-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

/* Left column */
.deck-left-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Nav Cards */
.deck-nav-card {
  background: #16181D;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.deck-nav-card:hover {
  background: #1C1E26;
  transform: translateX(3px);
  border-color: rgba(255,255,255,0.12);
}

.deck-nav-card--active {
  border-color: rgba(159,18,57,0.5) !important;
  background: rgba(159,18,57,0.06) !important;
  box-shadow: 0 4px 16px rgba(159,18,57,0.1);
}

.deck-nav-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

.deck-nav-text h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.deck-nav-text p {
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.4;
}

.deck-nav-arrow {
  margin-left: auto;
  color: #334155;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.deck-nav-card--active .deck-nav-arrow { color: #9F1239; }

/* Right column — inspector shell */
.deck-right-col { position: sticky; top: 2rem; }

.deck-inspector-shell {
  background: #16181D;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

/* Terminal chrome bar */
.deck-terminal-bar {
  background: rgba(8,9,12,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.deck-terminal-dots {
  display: flex;
  gap: 0.3rem;
}

.deck-terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.deck-terminal-dots span:nth-child(1) { background: #EF4444; }

.deck-terminal-dots span:nth-child(2) { background: #F59E0B; }

.deck-terminal-dots span:nth-child(3) { background: #22C55E; }

.deck-terminal-filename {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #64748B;
  flex-grow: 1;
  text-align: center;
}

.deck-terminal-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Panels — AI CRAWL RULE:
   Active: normal flow.
   Inactive: height:0 + overflow:hidden + visibility:hidden
   keeps text in DOM for bots but invisible to humans. */
.deck-panel {
  padding: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.deck-panel--active {
  padding: 1.5rem;
  height: auto;
  overflow: visible;
  visibility: visible;
}

/* Panel prose */
.deck-panel-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.deck-panel-desc strong { color: #E2E8F0; }

.deck-prose-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.deck-prose-list li {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.55;
  padding-left: 0.8rem;
  border-left: 2px solid rgba(255,255,255,0.07);
}

.deck-prose-list li strong { color: #E2E8F0; }

.deck-prose-list li code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  background: rgba(255,255,255,0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: #a5b4fc;
}

/* Compare table */
.deck-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  margin-bottom: 1.2rem;
}

.deck-compare-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.5rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.deck-compare-table td {
  padding: 0.45rem 0.7rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.deck-compare-table td:first-child { color: #CBD5E1; font-weight: 600; }

.deck-compare-table td:last-child { color: #9F1239; font-weight: 600; }

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

/* Code block */
.deck-code-block { margin-top: 1rem; }

.deck-code-header {
  background: rgba(8,9,12,0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.4rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  color: #64748b;
}

.deck-code-lang {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  background: rgba(159,18,57,0.15);
  color: #9F1239;
  text-transform: uppercase;
}

.deck-code-pre {
  background: rgba(5,6,8,0.97);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0 0 8px 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 0;
}

.deck-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #a7f3d0;
  line-height: 1.65;
  white-space: pre;
}

/* Mobile: stack columns */
@media (max-width: 860px) {
  .deck-grid { grid-template-columns: 1fr; }
  .deck-right-col { position: static; }
  .deck-panel { height: auto; overflow: visible; visibility: visible; }
  .deck-panel:not(.deck-panel--active) { display: none; }
}

.onboarding-deck-section {
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
  margin-bottom: 2rem;
}

.deck-section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.deck-section-header p {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

.deck-grid-container {
  max-width: 1000px;
  margin: 3rem auto 0 auto;
}

.deck-nav-card {
  background: #111318 !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: start;
  gap: 1.2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.deck-nav-card:hover {
  background: #15171e !important;
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.12);
}

.active-deck-card {
  border-color: rgba(6, 182, 212, 0.5) !important;
  background: #13161c !important;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.08);
}

.deck-card-icon {
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.deck-card-text h3 {
  font-size: 0.95rem;
  font-weight: 750;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.deck-card-text p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.deck-inspector-card {
  background: #111318 !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.2rem;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.inspector-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.inspector-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.inspector-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.deck-code-preview {
  margin-top: 1.2rem;
}

.deck-code-header {
  background: rgba(8, 9, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 0.4rem 1rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deck-code-box {
  background: rgba(8, 9, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 1rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  color: #a7f3d0;
  text-align: left;
  overflow-x: auto;
  margin-top: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   4-LAYER MACHINE HIERARCHY & DELIVERY PIPELINE STYLES
───────────────────────────────────────────────────────────────────────── */
/* Standardized Pipeline Section */
.pipeline-section {
  margin: 3.5rem auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 1.5rem 0;
}

.pipeline-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pipeline-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.pipeline-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.pipeline-sub {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.pipeline-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.pipeline-steps-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

/* Step Card Base */
.pipeline-step-card {
  background: #16181D;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.pipeline-step-card:hover {
  background: #1C1E26;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.pipeline-step-card--active {
  border-color: rgba(159, 18, 57, 0.5) !important;
  background: rgba(159, 18, 57, 0.06) !important;
  box-shadow: 0 4px 20px rgba(159, 18, 57, 0.12);
}

/* Progressive downward tree-like stair-step indent per layer for horizontal layouts */
@media (min-width: 861px) {
  .pipeline-step-card:nth-child(2) {
    margin-top: 1.25rem;
  }
  .pipeline-step-card:nth-child(3) {
    margin-top: 2.5rem;
  }
  .pipeline-step-card:nth-child(4) {
    margin-top: 3.75rem;
  }
}

/* Colors for step numbers */
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-num--rose { color: #9F1239; }

.step-num--amber { color: #B45309; }

.step-num--copper { color: #9A3412; }

.step-num--emerald { color: #059669; }

.step-info h3 {
  font-size: 0.88rem;
  font-weight: 750;
  color: #E2E8F0;
  margin: 0 0 0.15rem 0;
}

.step-role {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.step-desc {
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

/* Right Column Output Sandbox */
.pipeline-sandbox-shell {
  background: #16181D;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.sandbox-header-bar {
  background: rgba(8, 9, 12, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sandbox-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.sandbox-dot.red { background: #EF4444; }

.sandbox-dot.yellow { background: #F59E0B; }

.sandbox-dot.green { background: #22C55E; }

.sandbox-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #64748B;
  margin-left: 0.5rem;
}

/* Panel visibility system (height:0 for BOT indexability) */
.pipeline-panel {
  padding: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: all 0.2s ease;
}

.pipeline-panel--active {
  padding: 1.5rem;
  height: auto;
  overflow: visible;
  visibility: visible;
}

.panel-details p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.panel-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.panel-code-box {
  background: rgba(5, 6, 8, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 0;
  text-align: left;
}

.panel-code-box code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #a7f3d0;
  line-height: 1.6;
}

/* Delivery Channels Bar styles */
.delivery-channels-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 2rem auto 0 auto;
  background: #16181D;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.2rem;
}

.delivery-method {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
}

.method-icon {
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.03);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.method-text h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #E2E8F0;
  margin: 0;
}

.method-text p {
  font-size: 0.65rem;
  color: #475569;
  margin: 0.15rem 0 0 0;
}

/* Mobile responsive styles */
@media (max-width: 860px) {
  .pipeline-steps-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-panel {
    height: auto;
    overflow: visible;
    visibility: visible;
  }
  .pipeline-panel:not(.pipeline-panel--active) {
    display: none;
  }
  .delivery-channels-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 520px) {

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

.delivery-channels-bar {
    grid-template-columns: 1fr;
  }

}

/* ─────────────────────────────────────────────────────────────────────────
   MEGA-FOOTER SECTION STYLES
───────────────────────────────────────────────────────────────────────── */
.mega-footer {
  background: var(--header-footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.mega-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-bento-wrapper {
  background: #16181D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.footer-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2.5rem 0;
  text-align: left;
}

.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E2E8F0;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.8rem;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #64748B;
  padding-top: 1rem;
}

@media (max-width: 860px) {

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

}

@media (max-width: 540px) {

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

.footer-brand-bar {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

}

.visualize-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.visualize-header-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.visualize-badge-icon {
  font-size: 1.6rem;
  padding: 0.5rem;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: 12px;
}

.visualize-header-title h2 {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  margin: 0;
  letter-spacing: -0.02em;
}

.visualize-header-sub {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  margin: 0.15rem 0 0 0;
  font-weight: 500;
}

/* Dual View Switcher Pill */
.view-mode-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: var(--input-code-bg, #1F222A);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mode-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

/* ═════════════════════════════════════════════════════════
   MILESTONE 3: EXECUTIVE MODE UI & PERCEPTION SIMULATOR
   ═════════════════════════════════════════════════════════ */

/* Mode Scoping: Handled via setVisualizeViewMode() in index.js — no CSS attribute selector needed */

/* Executive Top Banner */
.executive-banner-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--surface-bg, #16181D) 0%, rgba(22, 24, 29, 0.95) 100%);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.exec-banner-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
  min-width: 300px;
}

.exec-score-dial-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.score-dial-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-dial-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 10;
}

.score-dial-progress {
  fill: none;
  stroke: var(--accent-rose, #E11D48);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-in-out;
}

.score-dial-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-dial-value {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.score-dial-max {
  font-size: 0.65rem;
  color: var(--text-muted, #94a3b8);
  font-weight: 600;
}

.exec-status-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.exec-badge-good {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.exec-badge-warn {
  font-size: 0.72rem;
  font-weight: 700;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.exec-domain-tag {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-mono);
}

.exec-status-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
}

.exec-status-desc {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  margin: 0;
  line-height: 1.5;
  max-width: 580px;
}

.exec-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.exec-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.exec-cta-secondary {
  background: var(--input-code-bg, #1F222A);
  color: var(--text-main, #ffffff);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
}

.exec-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.exec-cta-primary {
  background: linear-gradient(135deg, var(--accent-amber-dark, #B45309) 0%, var(--accent-amber, #F59E0B) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--accent-amber-glow, rgba(245, 158, 11, 0.3));
}

.exec-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-amber-glow, rgba(245, 158, 11, 0.45));
}

/* Side-by-Side Visual Perception Engine Simulator */
.perception-simulator-container {
  background: var(--surface-bg, #16181D);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.simulator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.simulator-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.simulator-icon {
  font-size: 1.4rem;
  padding: 0.4rem;
  background: rgba(225, 29, 72, 0.12);
  border-radius: 10px;
}

.simulator-title-group h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  margin: 0;
}

.simulator-title-group p {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  margin: 0.1rem 0 0 0;
}

.simulator-meta-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.simulator-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 900px) {

.simulator-split-grid {
    grid-template-columns: 1fr;
  }

}

.simulator-window {
  background: var(--input-code-bg, #1F222A);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  overflow: hidden;
}

.window-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
}

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

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

.dot-red { background: #FF5F56; }

.dot-yellow { background: #FFBD2E; }

.dot-green { background: #27C93F; }

.window-url-bar {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
}

.machine-badge {
  color: #38BDF8;
}

.window-content {
  padding: 1.25rem;
  min-height: 240px;
}

.human-content-preview {
  background: #0f172a;
  border-radius: 8px;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.mock-logo {
  font-weight: 800;
  font-size: 0.85rem;
  color: #E11D48;
  letter-spacing: 0.05em;
}

.mock-menu {
  display: flex;
  gap: 0.8rem;
  font-size: 0.72rem;
  color: #94a3b8;
}

.mock-hero {
  text-align: left;
}

.mock-tag {
  font-size: 0.62rem;
  font-weight: 700;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.mock-hero h1 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.5rem 0 0.3rem 0;
}

.mock-hero p {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.mock-btn-row {
  display: flex;
  gap: 0.5rem;
}

.mock-btn {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
}

.mock-btn-primary {
  background: #E11D48;
  color: #ffffff;
}

.mock-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.machine-code-stream pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.token-comment { color: #64748B; font-style: italic; }

.token-key { color: #F59E0B; font-weight: 600; }

.token-header { color: #38BDF8; font-weight: 700; }

/* 4 Strategic Health Pillars */
.strategic-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {

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

}

@media (max-width: 580px) {

.strategic-pillars-grid {
    grid-template-columns: 1fr;
  }

}

.pillar-card {
  background: var(--surface-bg, #16181D);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(245, 158, 11, 0.15);
}

.pillar-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pillar-icon {
  font-size: 1.3rem;
}

.pillar-status-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.badge-pass {
  color: var(--badge-pass);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-fail {
  color: var(--badge-fail);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.pillar-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  margin: 0 0 0.35rem 0;
}

.pillar-desc {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
}

.pillar-footer {
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  padding-top: 0.5rem;
}

.pillar-meta {
  font-size: 0.7rem;
  color: var(--text-muted, #64748b);
  font-family: var(--font-mono);
}

/* Executive Route Table */
.executive-route-table-card {
  background: var(--surface-bg, #16181D);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.table-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.table-card-header h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  margin: 0;
}

.table-card-header p {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
  margin: 0.1rem 0 0 0;
}

.table-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  display: inline-block;
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
}

/* Specific Badge colors (Default/Dark) */
.table-count-badge#exec-machine-files-count {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.25);
}

.table-count-badge.status-amber-badge {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.table-responsive-wrapper {
  overflow-x: auto;
}

.exec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.exec-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.exec-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.05));
  font-size: 0.85rem;
}

.cell-path code {
  font-family: var(--font-mono);
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.badge-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

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

.status-yellow {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
}

.status-red {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.12);
}

.btn-fix-bridge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #F59E0B;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-fix-bridge:hover {
  background: #F59E0B;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* ═════════════════════════════════════════════════════════
   MILESTONE 4: DEVELOPER MODE UI, CODE DRAWERS & EDGE WAF
   ═════════════════════════════════════════════════════════ */

/* Matrix Filter Tabs */
.matrix-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.matrix-tab-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: var(--input-code-bg, #1F222A);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.matrix-tab-btn:hover {
  color: var(--text-main, #ffffff);
  border-color: rgba(255, 255, 255, 0.2);
}

.matrix-tab-btn.active {
  background: #3B82F6;
  color: #FFFFFF;
  border-color: #3B82F6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Developer Matrix Table */
.dev-matrix-table td {
  font-size: 0.82rem;
}

.dev-cat-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Code Drawers Tabs & Windows */
.drawer-file-tabs, .edge-tabs-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.drawer-tab-btn, .edge-tab-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: var(--input-code-bg, #1F222A);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.drawer-tab-btn:hover, .edge-tab-btn:hover {
  color: var(--text-main, #ffffff);
  border-color: rgba(255, 255, 255, 0.2);
}

.drawer-tab-btn.active, .edge-tab-btn.active {
  background: rgba(225, 29, 72, 0.15);
  color: #E11D48;
  border-color: rgba(225, 29, 72, 0.4);
}

.drawer-code-window {
  background: var(--input-code-bg, #1F222A);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  overflow: hidden;
}

.drawer-code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
}

.drawer-file-path {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #38BDF8;
}

.drawer-action-btns {
  display: flex;
  gap: 0.5rem;
}

.drawer-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-main, #ffffff);
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.drawer-btn-download {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10B981;
}

.drawer-btn-download:hover {
  background: #10B981;
  color: #FFFFFF;
}

.drawer-code-body {
  padding: 1.25rem;
  max-height: 380px;
  overflow-y: auto;
}

.drawer-code-body pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  color: #E2E8F0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Expandable Route Rows */
.btn-expand-row {
  background: transparent;
  border: none;
  color: #38BDF8;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.btn-expand-row:hover {
  background: rgba(56, 189, 248, 0.15);
}

.row-expanded-content {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin: 0.5rem 0;
  font-size: 0.8rem;
}

.mode-pill-btn.active {
  background: var(--burnt-copper);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px var(--burnt-copper-glow);
}

@media (max-width: 640px) {

.visualize-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }

.view-mode-switcher-pill {
    width: 100%;
  }

.mode-pill-btn {
    flex: 1;
  }

}

/* Audit Overlay Styling */
.audit-overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65); /* dark tinted glass */
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.audit-overlay-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.audit-overlay-card {
  max-width: 440px;
  width: 90%;
  text-align: center;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 30px var(--visualize-bg-glow);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.audit-overlay-backdrop.show .audit-overlay-card {
  transform: translateY(0);
}

.audit-overlay-loader {
  width: 72px;
  height: 72px;
  position: relative;
  margin-bottom: 0.5rem;
}

.audit-overlay-loader .spinner {
  animation: rotate 2s linear infinite;
  width: 100%;
  height: 100%;
}

.audit-overlay-loader .spinner .path {
  stroke: var(--burnt-copper);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

.audit-overlay-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.025em;
}

.audit-overlay-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.cancel-audit-btn {
  margin-top: 1rem;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  outline: none;
}

.cancel-audit-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
}

.cancel-audit-btn:active {
  transform: translateY(1px);
}

@keyframes rotate {

100% {
    transform: rotate(360deg);
  }

}

@keyframes dash {

0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }

50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }

100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }

}

/* Typography & Theme-Aware Contrast Utility Classes */
.font-sans {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif) !important;
}

.font-mono {
  font-family: var(--font-mono, 'JetBrains Mono', monospace) !important;
}

.text-white { color: #ffffff !important; }

.text-slate-100 { color: #f1f5f9 !important; }

.text-slate-200 { color: #e2e8f0 !important; }

.text-slate-300 { color: #cbd5e1 !important; }

.text-slate-400 { color: #94a3b8 !important; }

.text-slate-500 { color: #64748b !important; }

.text-slate-700 { color: #334155 !important; }

.text-slate-800 { color: #1e293b !important; }

.text-slate-900 { color: #0f172a !important; }

/* RE-ENFORCE DARK-LOCKED CONTAINER ISOLATION */
.dark-card-locked {
  background-color: #020617 !important;
  color: #f8fafc !important;
  border-color: #1e293b !important;
}

.dark-card-locked h1, 
.dark-card-locked h2, 
.dark-card-locked h3, 
.dark-card-locked h4, 
.dark-card-locked h5, 
.dark-card-locked .card-title {
  color: #ffffff !important;
}

.dark-card-locked p, 
.dark-card-locked span, 
.dark-card-locked label, 
.dark-card-locked div,
.dark-card-locked li {
  color: #cbd5e1 !important;
}

.dark-card-locked strong,
.dark-card-locked b {
  color: #ffffff !important;
}

/* Page-Level Inspector Markdown Preview Modal styles */
#markdown-preview-modal .modal-card {
  max-width: 800px;
  width: 90%;
  padding: 2rem;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.25);
  border-radius: 12px;
}

#markdown-modal-body {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  background: #040508;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: 6px;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
  text-align: left;
}

#markdown-modal-schema-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-copy-btn:hover {
  background: var(--burnt-copper);
  color: #FFFFFF;
  border-color: var(--burnt-copper);
  box-shadow: 0 4px 12px var(--burnt-copper-glow);
}

.modal-copy-btn.copied-active {
  background: #10B981 !important;
  border-color: #10B981 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

.markdown-code-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
}

#exec-section-3 {
  margin-bottom: 1.5rem;
}

.border-glow-cyan {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 25px rgba(14, 165, 233, 0.25) !important;
}

.border-glow-emerald {
  border-color: #10b981 !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25) !important;
}

.border-glow-amber {
  border-color: #f59e0b !important;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3) !important;
}

.border-glow-burnt {
  border-color: var(--burnt-copper) !important;
  box-shadow: 0 0 30px var(--burnt-copper-glow) !important;
}

.aioptimize-cta-btn {
  background: var(--burnt-copper) !important;
  border: 1px solid var(--burnt-copper) !important;
  transition: all 0.2s ease-in-out !important;
}

.aioptimize-cta-btn:hover {
  background: var(--burnt-copper-hover) !important;
  border-color: var(--burnt-copper-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(183, 65, 14, 0.4) !important;
}

.aioptimize-cta-btn:active {
  background: var(--burnt-copper-active) !important;
  border-color: var(--burnt-copper-active) !important;
  transform: translateY(0) !important;
}

.exec-row-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .exec-row-split {
    grid-template-columns: 1fr 2fr;
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  .exec-row-split {
    grid-template-columns: 1fr;
  }
}

/* .diy-sample-link removed — link no longer generated in getTreeStatusHtml() */

.section4-upsell-card {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  font-family: var(--font-sans), sans-serif;
  text-align: left;
}

.section4-upsell-card .upsell-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section4-upsell-card .upsell-header h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.section4-upsell-card .badge-icon {
  font-size: 1.25rem;
}

.section4-upsell-card .upsell-problem {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
}

.section4-upsell-card .upsell-solution-box {
  background: var(--surface-nested-bg);
  border-left: 4px solid var(--burnt-copper);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.section4-upsell-card .upsell-value {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

.section4-upsell-card .upsell-value code {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-family: monospace;
}

.section4-upsell-card .upsell-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section4-upsell-card #sec4-upgrade-btn {
  background: var(--burnt-copper) !important;
  border: 1px solid var(--burnt-copper) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px var(--burnt-copper-glow);
}

.section4-upsell-card #sec4-upgrade-btn:hover {
  background: var(--burnt-copper-hover) !important;
  border-color: var(--burnt-copper-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 65, 14, 0.4);
}

.section4-upsell-card #sec4-upgrade-btn:active {
  background: var(--burnt-copper-active) !important;
  border-color: var(--burnt-copper-active) !important;
  transform: translateY(0);
}

.section4-upsell-card .upsell-pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* AIOptimize Action Banner Redesign Styles */
.action-banner-urgent {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: var(--surface-bg);
  border: 2px solid var(--burnt-copper);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(183, 65, 14, 0.25);
  box-sizing: border-box;
  font-family: var(--font-sans), sans-serif;
  text-align: left;
}

.action-banner-urgent .action-banner-header {
  margin-bottom: 1.5rem;
}

.action-banner-urgent .urgency-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(220, 38, 38, 0.2);
  color: #ef4444;
  border: 1px solid rgba(220, 38, 38, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.action-banner-urgent h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.action-banner-urgent .urgency-subtext {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

.action-banner-urgent .action-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.action-banner-urgent .comparison-card {
  background: var(--surface-nested-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-banner-urgent .comparison-card.way-hard {
  border-left: 4px solid #ef4444;
}

.action-banner-urgent .comparison-card.way-easy {
  border-left: 4px solid var(--burnt-copper);
}

.action-banner-urgent .card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.action-banner-urgent .way-hard .card-tag {
  color: #ef4444;
}

.action-banner-urgent .way-easy .card-tag {
  color: #38bdf8;
}

.action-banner-urgent .comparison-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.action-banner-urgent .comparison-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.action-banner-urgent .comparison-card code {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  font-family: monospace;
}

.action-banner-urgent .action-banner-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.action-banner-urgent .btn-urgent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burnt-copper, #b7410e) 0%, #d97706 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
}

.action-banner-urgent .btn-urgent:hover {
  background: linear-gradient(135deg, #d97706 0%, var(--burnt-copper, #b7410e) 100%) !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6) !important;
}

.action-banner-urgent .btn-urgent:active {
  background: linear-gradient(135deg, var(--burnt-copper, #b7410e) 0%, #d97706 100%) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
  transform: translateY(0);
}

.action-banner-urgent .pricing-flexibility-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Sleek Toolbar and Metadata Bubble Bar Redesign Styles */
.visualize-toolbar .action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-sans), sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.visualize-toolbar .action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.visualize-meta-bubble .pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Custom styling for the enlarged buttons */
.btn-large {
  padding: 0.85rem 1.75rem !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  background: var(--burnt-copper) !important;
  border: 1px solid var(--burnt-copper) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px var(--burnt-copper-glow);
}

.btn-large:hover {
  background: var(--burnt-copper-hover) !important;
  border-color: var(--burnt-copper-hover) !important;
  box-shadow: 0 6px 20px var(--burnt-copper-glow);
}

.btn-large:active {
  background: var(--burnt-copper-active) !important;
  border-color: var(--burnt-copper-active) !important;
}

/* Right-aligned container for export buttons positioned directly below metadata bubble capsule */
.export-btn-container,
.export-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.5rem;
}

/* Styled export action buttons inside the right-aligned container */
.export-btn-container .action-btn,
.export-actions-row .action-btn {
  padding: 0.55rem 1.1rem !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem !important;
  background: var(--surface-bg) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  border-radius: 9999px !important;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.export-btn-container .action-btn:hover,
.export-actions-row .action-btn:hover {
  background: var(--burnt-copper-hover) !important;
  border-color: var(--burnt-copper-hover) !important;
  color: #ffffff !important;
}

/* Alternative B: Adaptive Floating Glass Dock Styling */
.floating-glass-dock {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(183, 65, 14, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--burnt-copper);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  font-family: var(--font-sans), sans-serif;
  transition: all 0.3s ease-in-out;
}

.dock-score-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 1.25rem;
}

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

.dock-score-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.dock-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dock-links::-webkit-scrollbar {
  display: none;
}

.dock-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  position: relative;
}

.dock-link:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -0.45rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.dock-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.dock-link.active {
  color: #121212;
  background: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 0 12px var(--burnt-copper-glow);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .floating-glass-dock {
    width: 90%;
    padding: 0.5rem 1rem;
    gap: 0.75rem;
    bottom: 1rem;
  }
  .dock-score-section {
    padding-right: 0.75rem;
  }
  .dock-score-title {
    font-size: 0.55rem;
  }
  .dock-score-val {
    font-size: 1rem;
  }
  .dock-links {
    gap: 0.35rem;
  }
  .dock-link {
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Compact Executive Context Strip styling (Managed via Harmonized Toolbar System) */

.strip-content-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.strip-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.strip-text {
  line-height: 1.4;
}

.strip-btn {
  padding: 0.4rem 1rem !important;
  font-size: 0.8rem !important;
  background: var(--burnt-copper) !important;
  border: 1px solid var(--burnt-copper) !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.strip-btn:hover {
  background: var(--burnt-copper-hover) !important;
  border-color: var(--burnt-copper-hover) !important;
}

#exec-onboarding-modal .modal-card {
  max-width: 600px;
  background-color: #08090C !important;
}

/* @media print overrides to force all section details to display for printing */
@media print {
  #section-1-details,
  #section-2-details,
  #section-3-details,
  #section-4-details {
    display: block !important;
    visibility: visible !important;
  }
  #sec1-remediation-banner,
  #sec2-remediation-banner,
  #sec3-remediation-banner,
  #sec4-remediation-banner {
    display: block !important;
    visibility: visible !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   RETURN TO SUMMARY BUTTON & HEADER OFFSET SCROLLING
   ═══════════════════════════════════════════════════════════════════ */

#summary-dial-anchor {
  scroll-margin-top: 100px;
}

.btn-return-summary-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-bottom: 3.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #f1f5f9 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  transition: transform 0.1s ease, border-bottom-width 0.1s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
  cursor: pointer !important;
  transform: translateY(0);
}

.btn-return-summary-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15) !important;
}

.btn-return-summary-outline:active {
  border-bottom-width: 1.5px !important;
  transform: translateY(2px) !important;
}

/* Contextual Remediation Banners styling */
.remediation-banner {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.remediation-banner:hover {
  transform: translateY(-2px);
}

.remediation-banner.border-glow-cyan:hover {
  box-shadow: 0 4px 25px rgba(14, 165, 233, 0.4) !important;
  border-color: rgba(14, 165, 233, 0.6) !important;
}

.remediation-banner.border-glow-emerald:hover {
  box-shadow: 0 4px 25px rgba(16, 185, 129, 0.4) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
}

.remediation-banner.border-glow-amber:hover {
  box-shadow: 0 4px 25px rgba(245, 158, 11, 0.4) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
}

.remediation-banner.border-glow-burnt:hover {
  box-shadow: 0 4px 25px rgba(220, 38, 38, 0.4) !important;
  border-color: rgba(220, 38, 38, 0.6) !important;
}

/* Option C Sub-Tabs & Glassmorphic Route Cards */
.sec2-subtabs-nav {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
}
.subtab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}
.subtab-btn.active {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}
.sec2-route-card {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sec2-route-card:hover {
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 4px 25px rgba(56, 189, 248, 0.2) !important;
  transform: translateY(-1px);
}
.route-path-text {
  color: #38bdf8 !important;
  font-family: var(--font-mono), monospace !important;
}


/* Module 4 Full-Width Accordion Expansion */
#dev-module-4-tbody tr[id^="dev-module-4-row-"] {
  width: 100% !important;
}
#dev-module-4-tbody tr[id^="dev-module-4-row-"] > td {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 1rem 1.25rem !important;
  background: rgba(15, 23, 42, 0.75) !important;
}
.module4-detail-card {
  width: 100% !important;
  box-sizing: border-box !important;
}



/* ==========================================================================
   Module 4 Full-Width Table & Accordion Spanning Overhaul
   ========================================================================== */
#sec2-module-4-container,
#module-4-table,
#dev-module-4-table,
#dev-module-4-wrapper,
#diy-module-4,
.table-responsive-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#module-4-table,
#dev-module-4-table,
.health-inspector-table,
.dev-expandable-table,
.table-responsive-wrapper table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  display: table !important;
}

#dev-module-4-tbody tr.module4-data-row,
#dev-module-4-tbody tr.module4-main-row {
  display: table-row !important;
}

#dev-module-4-tbody tr[id^="dev-module-4-row-"] {
  display: table-row;
  width: 100% !important;
}

#dev-module-4-tbody tr[id^="dev-module-4-row-"] > td,
.module4-detail-cell {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 1.25rem 1.5rem !important;
  background: rgba(15, 23, 42, 0.9) !important;
  border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.module4-detail-card {
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

.row-expanded-content {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Obsidian Bento Tokens for Asymmetric Drawers (Item 2)
   ========================================================================== */
.obsidian-bento-callout {
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid var(--burnt-copper);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.obsidian-bento-results {
  background: var(--surface-nested-bg, rgba(15, 23, 42, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Floating Glass Dock Conversion CTA Token (Item 3)
   ========================================================================== */
.dock-link-cta {
  background: linear-gradient(135deg, var(--burnt-copper, #b7410e) 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}

.dock-link-cta:hover {
  background: linear-gradient(135deg, #d97706 0%, var(--burnt-copper, #b7410e) 100%) !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.6);
  transform: translateY(-1px);
}

/* Action Banner Hover Reaction */
#aioptimize-action-banner {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#aioptimize-action-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(234, 88, 12, 0.25);
  border-color: rgba(234, 88, 12, 0.45) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   HARMONIZED TOP BANNER & ACTION TOOLBAR (Aceternity UI Motion System)
   ═══════════════════════════════════════════════════════════════════ */

.compact-exec-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.04) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.compact-exec-strip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.3) !important;
  border-color: rgba(245, 158, 11, 0.55) !important;
}

.strip-btn {
  padding: 0.55rem 1.15rem !important;
  font-family: var(--font-sans), sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  background: var(--burnt-copper) !important;
  border: 1px solid var(--burnt-copper) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px var(--burnt-copper-glow);
}

.strip-btn:hover {
  background: var(--burnt-copper-hover) !important;
  border-color: var(--burnt-copper-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--burnt-copper-glow) !important;
}

.strip-btn:active {
  background: var(--burnt-copper-active) !important;
  transform: translateY(0);
}

/* Harmonized Toolbar Action Buttons */
.visualize-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.visualize-toolbar .btn-large,
.btn-large {
  padding: 0.65rem 1.35rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  font-family: var(--font-sans), sans-serif !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

#btn-new-scan {
  background: var(--burnt-copper) !important;
  border: 1px solid var(--burnt-copper) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--burnt-copper-glow) !important;
}

#btn-new-scan:hover {
  background: var(--burnt-copper-hover) !important;
  border-color: var(--burnt-copper-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 65, 14, 0.45) !important;
}

#btn-new-scan:active {
  background: var(--burnt-copper-active) !important;
  transform: translateY(0);
}

#btn-refresh-analysis {
  background: var(--surface-nested-bg) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

#btn-refresh-analysis:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25) !important;
}

#btn-refresh-analysis:active {
  transform: translateY(0);
}

.pillar-corner-indicator {
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
  transition: all 0.25s ease;
  margin-left: auto;
  margin-right: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pillar-card:hover .pillar-corner-indicator {
  color: #fbbf24;
  transform: translate(2px, 2px);
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.easy-view-header {
  cursor: pointer;
  padding: 0.6rem 0.8rem;
  margin: -0.6rem -0.8rem 0.5rem -0.8rem;
  border-radius: 10px;
  transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}

.easy-view-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.easy-view-trigger-btn {
  padding: 0.35rem 0.9rem !important;
  font-family: var(--font-sans), sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-bottom: 3.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #f1f5f9 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s ease, border-bottom-width 0.1s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
  transform: translateY(0);
}

.easy-view-trigger-btn:hover,
.easy-view-header:hover .easy-view-trigger-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.easy-view-trigger-btn:active,
.easy-view-header:hover .easy-view-trigger-btn:active {
  border-bottom-width: 1.5px !important;
  transform: translateY(2px) !important;
}

/* Premium Orange Burnt Copper Button Styling */
.btn-burnt-copper {
  background: linear-gradient(135deg, var(--burnt-copper, #b7410e) 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.25s ease !important;
}

.btn-burnt-copper:hover {
  background: linear-gradient(135deg, #d97706 0%, var(--burnt-copper, #b7410e) 100%) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6) !important;
  transform: translateY(-1px) !important;
}

/* SEO vs AEO Comparison Section */
.seo-aeo-comparison-section {
  margin: 4rem auto;
  max-width: 1200px;
  padding: 3.5rem 2.5rem;
  background: #08090c;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 75%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 3rem 3rem, 3rem 3rem;
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.comparison-header {
  text-align: center;
  margin-bottom: 3rem;
}

.comparison-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-accent, #38bdf8);
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.comparison-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.comparison-subtitle {
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  line-height: 1.5;
}

.comparison-table th {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-primary, #ffffff);
  font-weight: 700;
  font-family: var(--font-headline);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

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

.comparison-row:hover {
  background: rgba(255, 255, 255, 0.015);
}

.comparison-feature-name {
  font-weight: 700;
  color: #cbd5e1;
  font-family: var(--font-headline);
}

.badge-legacy {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  line-height: 1.3;
}

.badge-aeo {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
  line-height: 1.3;
}

/* Bento Grid Section Styling */
.bento-grid-section {
  margin: 4rem auto;
  max-width: 1200px;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
}

.bento-grid-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.bento-grid-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--burnt-copper, #b7410e);
  background: rgba(183, 65, 14, 0.08);
  border: 1px solid rgba(183, 65, 14, 0.25);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.bento-grid-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bento-grid-subtitle {
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

.product-bento-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .product-bento-grid-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.bento-card {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.bento-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.bento-visualize .bento-card-glow {
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

.bento-optimize .bento-card-glow {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

.bento-socialize .bento-card-glow {
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.bento-card:hover .bento-card-glow {
  opacity: 1;
}

.bento-visualize:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.bento-optimize:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.bento-socialize:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.bento-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-pillar-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.bento-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.bento-card-body {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.bento-card-footer {
  margin-top: auto;
}

.bento-card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bento-visualize .bento-card-link { color: #38bdf8; }
.bento-optimize .bento-card-link { color: #f59e0b; }
.bento-socialize .bento-card-link { color: #a855f7; }

.bento-card:hover .bento-card-link {
  text-shadow: 0 0 10px currentColor;
}

/* ==========================================================================
   Section 4: Aceternity Infinite Moving Cards Logo Cloud
   ========================================================================== */
.provider-cloud-section {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 100%;
  padding: 3.5rem 0 2rem;
  overflow: hidden;
}

.provider-cloud-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 0 1.5rem;
}

.provider-cloud-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.provider-cloud-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.provider-cloud-subtitle {
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Aceternity Infinite Moving Cards Mask Container */
.infinite-moving-cards-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  /* Left & Right Smooth Edge Fade Mask */
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

/* Continuous Marquee Animation Track */
.infinite-moving-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  will-change: transform;
  animation: aceternity-scroll 38s linear infinite;
}

/* Pause On Hover */
.infinite-moving-cards-container:hover .infinite-moving-track {
  animation-play-state: paused;
}

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

/* Individual Aceternity Moving Card */
.provider-logo-card {
  width: 190px;
  min-width: 190px;
  flex-shrink: 0;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.provider-logo-card:hover {
  transform: translateY(-4px) scale(1.03);
  background: #0e1524;
}

.provider-logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.provider-logo-card:hover .provider-logo-icon {
  transform: scale(1.15);
}

.provider-svg {
  width: 36px;
  height: 36px;
}

.provider-name {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.01em;
  text-align: center;
}

.provider-bot-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

/* Brand Reactive Hover Glows */
.provider-logo-card[data-bot^="chatgpt"]:hover {
  border-color: rgba(16, 163, 127, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 163, 127, 0.25);
}
.provider-logo-card[data-bot^="claude"]:hover {
  border-color: rgba(217, 119, 6, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(217, 119, 6, 0.25);
}
.provider-logo-card[data-bot^="perplexity"]:hover {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(34, 211, 238, 0.25);
}
.provider-logo-card[data-bot^="gemini"]:hover {
  border-color: rgba(66, 133, 244, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(66, 133, 244, 0.25);
}
.provider-logo-card[data-bot^="apple-intelligence"]:hover {
  border-color: rgba(175, 82, 222, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(175, 82, 222, 0.25);
}
.provider-logo-card[data-bot^="copilot"]:hover {
  border-color: rgba(0, 120, 212, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 120, 212, 0.25);
}
.provider-logo-card[data-bot^="meta-ai"]:hover {
  border-color: rgba(0, 129, 251, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 129, 251, 0.25);
}
.provider-logo-card[data-bot^="mistral"]:hover {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(249, 115, 22, 0.25);
}
.provider-logo-card[data-bot^="amazon-q"]:hover {
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(236, 72, 153, 0.25);
}
.provider-logo-card[data-bot^="deepseek"]:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.25);
}
.provider-logo-card[data-bot^="doubao"]:hover {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(6, 182, 212, 0.25);
}
.provider-logo-card[data-bot^="qwen"]:hover {
  border-color: rgba(255, 106, 0, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 106, 0, 0.25);
}

/* ==========================================================================
   Section 6: E-E-A-T Citation Architecture Styles
   ========================================================================== */
/* Standardized E-E-A-T Deck */
.eeat-deck-section {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 1240px;
  padding: 3rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.eeat-container {
  width: 100%;
}

.eeat-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.eeat-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.eeat-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.85rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-gradient-eeat {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eeat-subtitle {
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.65;
}

.eeat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .eeat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .eeat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.eeat-card {
  position: relative;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eeat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.1);
}

.eeat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.eeat-icon-emerald { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }
.eeat-icon-cyan { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.25); }
.eeat-icon-indigo { background: rgba(129, 140, 248, 0.12); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.25); }
.eeat-icon-amber { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.25); }

.eeat-icon-svg {
  width: 22px;
  height: 22px;
}

.eeat-pillar-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.eeat-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.eeat-card-text {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.eeat-signal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* ==========================================================================
   Section 7: 4-Category Static FAQ Hub Styles
   ========================================================================== */
/* Standardized FAQ Hub */
.faq-hub-section {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 1000px;
  padding: 3rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-container {
  width: 100%;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-eyebrow {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #a855f7;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.faq-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.85rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-gradient-faq {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-subtitle {
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Category Filter Bar */
.faq-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.faq-filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(30, 41, 59, 0.8);
}

.faq-filter-btn.active-faq-filter {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2);
}

/* Accordion Item Styles */
.faq-accordion-deck {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item.is-open {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 1rem;
}

.faq-question-text {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.45;
}

.faq-accordion-item.is-open .faq-question-text {
  color: #ffffff;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #c084fc;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
}

.faq-accordion-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   Section 8: High-Conversion Shimmer CTA Deck Styles
   ========================================================================== */
/* Standardized Final CTA */
.final-cta-section {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 1140px;
  padding: 0 1.5rem;
}

.final-cta-card {
  position: relative;
  background: linear-gradient(135deg, #0d121f 0%, #060911 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.1);
}

.final-cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(183, 65, 14, 0.08) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.cta-pulse-dot {
  width: 7px;
  height: 7px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.final-cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient-cta {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.final-cta-desc {
  color: var(--text-muted, #94a3b8);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  background: linear-gradient(135deg, var(--burnt-copper, #b7410e) 0%, #d45d2a 100%);
  color: #ffffff;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(183, 65, 14, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.cta-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(183, 65, 14, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.cta-btn-icon {
  width: 18px;
  height: 18px;
}

.cta-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.cta-secondary-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.final-cta-guarantee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: #64748b;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

/* ==========================================================================
   Section 9: 5-Column Mega-Footer Styles
   ========================================================================== */
/* Standardized Mega Footer (Eliminate excessive stacking gap) */
.global-mega-footer {
  background: #04060a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 3.5rem;
}

.global-mega-footer .footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  font-size: 1.25rem;
}

.footer-logo-text {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.footer-version-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.65rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  color: #34d399;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

.footer-col-title {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: #38bdf8;
  transform: translateX(2px);
}

.footer-link.font-mono {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.78rem;
  color: #cbd5e1;
}

.footer-link.font-mono:hover {
  color: #34d399;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  gap: 1rem;
  font-size: 0.78rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #94a3b8;
}

.footer-divider {
  color: #334155;
  font-size: 0.6rem;
}

/* Launcher Card Actions */
.launcher-card {
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.launcher-card:hover {
  transform: translateY(-4px);
  background: rgba(15, 23, 42, 0.85);
}

.launcher-card#btn-tab-visualize:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
}

.launcher-card#btn-tab-optimize:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
}

.launcher-card#btn-tab-socialize:hover {
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(192, 132, 252, 0.15);
}

.launcher-card-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  user-select: none;
}

.launcher-btn-visualize {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.launcher-card#btn-tab-visualize:hover .launcher-btn-visualize {
  background: #38bdf8;
  color: #04060a;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
}

.launcher-btn-optimize {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.launcher-card#btn-tab-optimize:hover .launcher-btn-optimize {
  background: #fbbf24;
  color: #04060a;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.launcher-btn-socialize {
  background: rgba(192, 132, 252, 0.12);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
}
.launcher-card#btn-tab-socialize:hover .launcher-btn-socialize {
  background: #c084fc;
  color: #04060a;
  box-shadow: 0 4px 16px rgba(192, 132, 252, 0.4);
}

@keyframes input-pulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.08); }
  50% { border-color: rgba(56, 189, 248, 0.8); box-shadow: 0 0 15px rgba(56, 189, 248, 0.3); }
}

.input-highlight-pulse {
  animation: input-pulse 0.6s ease 2;
}

/* ==========================================================================
   Tactile 3D Glass & Metallic Badges & Executive Drawers
   ========================================================================== */

.status-badge--pass {
  background: linear-gradient(180deg, #064e3b 0%, #022c22 100%);
  border: 1px solid #10b981;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.15), 0 2px 4px rgba(0,0,0,0.4), 0 0 12px rgba(16,185,129,0.25);
  color: #ffffff;
  font-weight: 700;
}

.status-badge--warning {
  background: linear-gradient(180deg, #78350f 0%, #451a03 100%);
  border: 1px solid #f59e0b;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.15), 0 2px 4px rgba(0,0,0,0.4), 0 0 12px rgba(245,158,11,0.25);
  color: #ffffff;
  font-weight: 700;
}

.status-badge--blocked {
  background: linear-gradient(180deg, #881337 0%, #4c0519 100%);
  border: 1px solid #f43f5e;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.15), 0 2px 4px rgba(0,0,0,0.4), 0 0 14px rgba(244,63,94,0.35);
  color: #ffffff;
  font-weight: 700;
}

.score-dial-card {
  /* Retained class identifier */
}

.executive-drawer {
  /* Retained class identifier */
}

details.executive-drawer {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
}

details.executive-drawer summary {
  cursor: pointer;
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
}

details.executive-drawer summary:hover {
  color: #7dd3fc;
}

/* Typography Enforcement Rules */
body, h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.telemetry-value, .metric-score, .telemetry-http {
  font-family: 'JetBrains Mono', monospace;
}

/* 3-Tier Boardroom Refactor Layout Overrides */
.exec-action-triage {
  background: rgba(8, 9, 12, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.sec1-subgrid, .sec2-subgrid, .sec3-subgrid, .sec4-subgrid {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

#sec1-why-matters-box, #sec3-why-matters-box, #sec4-why-matters-box {
  display: none !important;
}

/* ==========================================================================
   V4 Cockpit Layout & Progression Stepper Styles
   ========================================================================== */
.pipeline-header {
  background-color: rgba(15, 17, 23, 0.8);
  backdrop-filter: blur(12px);
}

.pipeline-stepper .step-num {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pipeline-stepper .step-ready .step-num {
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.v4-cockpit-container {
  min-height: calc(100vh - 65px);
}

.v4-left-pane {
  min-width: 260px;
}

.v4-center-feed {
  min-width: 320px;
}

.cockpit-card {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

/* Discovery Stream & Cockpit Cards */
.discovery-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.discovery-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.feed-tab-switcher button {
  font-size: 11px;
}

.validator-pill {
  letter-spacing: 0.02em;
}

/* Inspector Studio Code Viewer & Diagnostics */
.manifest-code-viewer pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
}

.manifest-code-viewer code {
  color: #a1a1aa;
}

.diagnostic-card {
  transition: border-color 0.2s ease;
}

.diagnostic-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.inspector-format-pill {
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Explee Cockpit Layout & Design Tokens
   ========================================================================== */

/* Custom Clean Scrollbars */
.custom-scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: #1F2430;
  border-radius: 9999px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: #2E3648;
}

/* Timeline Progression Connectors */
.explee-stepper .step-circle {
  transition: all 0.2s ease;
}

.step-capsule-active {
  box-shadow: 0 0 16px rgba(0, 229, 153, 0.2);
}

/* Card Transitions */
.explee-stream-card {
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s ease, background-color 0.15s ease;
}

.explee-stream-card:hover {
  background-color: #161A24;
}

.explee-stream-card:active {
  transform: scale(0.99);
}

.campaign-tile {
  transition: all 0.15s ease;
}

.campaign-tile:hover {
  background-color: #171C26;
}

.competitor-chip {
  transition: all 0.15s ease;
}

.competitor-chip:hover {
  background-color: #171C26;
}




















