/* ==========================================================================
   SecScan AI — Modern Dark Mode Developer & Cyber Platform Design System
   Architecture: High-Precision Bento Grid & Tactical Glassmorphism
   ========================================================================== */

/* --- ROOT VARIABLES & DESIGN TOKENS --- */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Color Palette */
  --bg-darkest: #05070b;
  --bg-primary: #07090e;
  --bg-secondary: #0c1017;
  --bg-tertiary: #121824;
  --bg-card: rgba(13, 19, 31, 0.72);
  --bg-card-hover: rgba(19, 28, 46, 0.88);
  --bg-glass: rgba(10, 15, 25, 0.82);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(0, 240, 255, 0.35);

  /* Accents */
  --accent-cyan: #00f0ff;
  --accent-cyan-dim: rgba(0, 240, 255, 0.15);
  --accent-cyan-glow: rgba(0, 240, 255, 0.3);

  --accent-emerald: #10b981;
  --accent-emerald-dim: rgba(16, 185, 129, 0.15);

  --accent-violet: #8b5cf6;
  --accent-violet-dim: rgba(139, 92, 246, 0.15);

  --accent-amber: #f59e0b;
  --accent-amber-dim: rgba(245, 158, 11, 0.15);

  --accent-red: #ef4444;
  --accent-red-dim: rgba(239, 68, 68, 0.15);

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 30px rgba(0, 240, 255, 0.22);
}

/* --- RESET & GLOBAL STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Atmospheric Ambient Lights */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.glow-top-left {
  top: -120px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-top-right {
  top: 100px;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-center {
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0) 75%);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }
.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald); }
.text-violet { color: var(--accent-violet); }
.text-amber { color: var(--accent-amber); }
.text-red { color: var(--accent-red); }
.w-full { width: 100%; }

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

.bg-subtle-pattern {
  background: radial-gradient(circle at 50% 0%, rgba(20, 30, 48, 0.35) 0%, transparent 70%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
  background: rgba(12, 17, 26, 0.95);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 60;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.announcement-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.announcement-text {
  color: var(--text-secondary);
}

.announcement-text strong {
  color: var(--text-primary);
}

.ca-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
  margin-left: 0.35rem;
}

.announcement-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.announcement-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Pulse dot */
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* --- STICKY GLASS NAVBAR --- */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
  transition: transform 0.25s ease;
}

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

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

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-version {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-item:hover {
  color: var(--text-primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sys-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  padding: 0.25rem 0.65rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

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

.btn-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #0077ff 100%);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 180, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 25px rgba(0, 180, 255, 0.45);
}

.glow-btn {
  position: relative;
  overflow: hidden;
}

.glow-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.glow-btn:hover::before {
  left: 200%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1.5px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.25s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 4.25rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 9, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 49;
  display: none;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- HERO SECTION --- */
.hero-section {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.badge-num {
  font-weight: 600;
}

.badge-sep {
  color: var(--text-dim);
}

.badge-txt {
  color: var(--text-secondary);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.gradient-text {
  display: inline;
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 65%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-subtext strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 680px;
  margin-bottom: 2rem;
}

.quick-install-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(10, 15, 25, 0.9);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
}

.cli-prompt {
  color: var(--accent-cyan);
  font-weight: 700;
  user-select: none;
}

.quick-install-box code {
  color: var(--text-primary);
  font-size: 0.85rem;
  overflow-x: auto;
  white-space: nowrap;
  flex: 1;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.copy-btn-sm {
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
}

.copy-btn.copied {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-specs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

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

.pill-dot.emerald { background: var(--accent-emerald); box-shadow: 0 0 6px var(--accent-emerald); }
.pill-dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }
.pill-dot.violet { background: var(--accent-violet); box-shadow: 0 0 6px var(--accent-violet); }
.pill-dot.amber { background: var(--accent-amber); box-shadow: 0 0 6px var(--accent-amber); }
.pill-dot.green { background: #22c55e; box-shadow: 0 0 6px #22c55e; }

/* --- HERO CONSOLE MOCKUP --- */
.hero-console-wrapper {
  width: 100%;
  max-width: 1080px;
  margin-top: 1rem;
}

.console-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 240, 255, 0.07);
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(9, 13, 21, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27c93f; }

.console-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

.console-tab-active {
  color: var(--text-primary);
  font-weight: 500;
}

.console-pill-live {
  color: var(--accent-emerald);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.console-engine-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
}

.console-engine-tag strong {
  color: var(--accent-cyan);
}

/* Console Metrics Grid */
.console-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metric-card {
  background: var(--bg-secondary);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-title {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.metric-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.metric-val {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

.metric-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.metric-delta {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 600;
}

.delta-up {
  color: var(--accent-emerald);
}

.metric-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Console Body & Logs */
.console-body {
  padding: 1.25rem 1.5rem;
  background: rgba(7, 10, 16, 0.95);
  min-height: 190px;
}

.console-log-stream {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.log-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.log-line.highlight-line {
  background: rgba(16, 185, 129, 0.07);
  border-left: 2px solid var(--accent-emerald);
  padding: 0.25rem 0.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.log-ts {
  color: var(--text-dim);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.log-lvl {
  font-weight: 600;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.log-lvl.info { color: var(--accent-cyan); }
.log-lvl.success { color: var(--accent-emerald); }
.log-lvl.warn { color: var(--accent-amber); }

.log-msg {
  color: var(--text-primary);
  word-break: break-word;
}

.log-msg code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--accent-cyan);
}

.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(11, 16, 26, 0.9);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

.terminal-prompt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--accent-cyan);
  font-weight: 700;
}

@keyframes blink {
  50% { opacity: 0; }
}

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

.badge-subtle {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

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

.spec-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- THREE COLUMN CAPABILITIES --- */
.features-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
}

.cyan-glow {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
}

.emerald-glow {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.violet-glow {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
  color: var(--accent-violet);
}

.feature-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.feature-specs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-specs li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: 700;
}

/* --- BENTO GRID ARCHITECTURE --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  grid-column: span 6;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
}

.bento-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.bento-wide {
  grid-column: span 8;
}

.bento-tall {
  grid-column: span 4;
}

.bento-card.bento-highlight {
  border-color: rgba(0, 240, 255, 0.25);
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.85) 0%, rgba(9, 14, 24, 0.75) 100%);
}

.bento-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.bento-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Provider Chip Grid */
.provider-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.provider-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  font-size: 0.775rem;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  font-weight: 500;
}

.provider-chip.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
  font-weight: 600;
}

.chip-glow {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.chip-glow.cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* Bento Code Snippet */
.bento-code-snippet {
  background: rgba(6, 8, 14, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

.snippet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.7rem;
}

.badge-ok {
  color: var(--accent-emerald);
  font-weight: 600;
}

.bento-code-snippet pre {
  padding: 0.85rem 1rem;
  overflow-x: auto;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Syntax Tokens */
.tok-k { color: #f472b6; }
.tok-s { color: #34d399; }
.tok-c { color: #64748b; font-style: italic; }

/* Radar Visual for Tall Card */
.radar-visual {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, rgba(5, 8, 14, 0.9) 70%);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.radar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.2);
}

.radar-circle.c1 { width: 90px; height: 90px; }
.radar-circle.c2 { width: 160px; height: 160px; }

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform-origin: top left;
  background: linear-gradient(45deg, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
  animation: radarRotate 4s linear infinite;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-ping {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
  animation: pingPulse 1.8s infinite;
}

.radar-ping.p1 { background: var(--accent-red); box-shadow: 0 0 10px var(--accent-red); }
.radar-ping.p3 { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }

@keyframes pingPulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.bento-stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-lbl {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.mitre-metric-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: var(--radius-full);
}

.bar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
}

.bar-legend strong {
  color: var(--accent-cyan);
}

/* Telemetry Bar Grid */
.telemetry-bar-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.telemetry-item {
  display: grid;
  grid-template-columns: 220px 1fr 60px;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

.t-name {
  color: var(--text-secondary);
}

.t-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.t-bar {
  height: 100%;
  background: #475569;
  border-radius: var(--radius-full);
}

.t-bar.emerald-fill { background: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }
.t-bar.cyan-fill { background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }

.t-val {
  text-align: right;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- INTERACTIVE SIMULATOR CARD --- */
.simulator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
}

.sim-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.sim-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.sim-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.sim-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--accent-cyan);
}

/* Simulator Progress Bar */
.sim-progress-wrapper {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sim-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

.sim-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-progress-text {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
}

/* Simulator Result Grid */
.sim-result-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
}

.sim-card-summary, .sim-card-remediation {
  background: rgba(7, 10, 16, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.sim-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-target-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.badge-status-resolved {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-weight: 600;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.score-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--accent-emerald);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.score-number {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.score-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.findings-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.finding-item {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #64748b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.finding-item.crit { border-left-color: var(--accent-red); background: rgba(239, 68, 68, 0.05); }
.finding-item.high { border-left-color: var(--accent-amber); background: rgba(245, 158, 11, 0.05); }

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

.vuln-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
}

.vuln-pill.red { background: rgba(239, 68, 68, 0.2); color: var(--accent-red); }
.vuln-pill.amber { background: rgba(245, 158, 11, 0.2); color: var(--accent-amber); }

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

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

.finding-mitre {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.finding-mitre code {
  color: var(--accent-cyan);
}

/* Remediation Card */
.remediation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.remediation-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.remediation-body {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
}

.remediation-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-muted);
}

/* --- DEVELOPER INTEGRATIONS & TABS --- */
.code-tabs-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.code-tabs-header {
  display: flex;
  align-items: center;
  background: rgba(8, 12, 20, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 1rem;
  overflow-x: auto;
}

.code-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.code-tab:hover {
  color: var(--text-primary);
}

.code-tab.active {
  color: var(--accent-cyan);
}

.code-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-cyan);
}

.code-tab-panels {
  padding: 1.5rem;
  background: rgba(6, 8, 14, 0.98);
}

.code-panel {
  display: none;
}

.code-panel.active {
  display: block;
}

.panel-inner {
  position: relative;
}

.panel-inner .copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

.panel-inner pre {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-primary);
  overflow-x: auto;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

/* --- TOKEN & CA NOTICE SECTION --- */
.token-section {
  position: relative;
}

.token-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 27, 45, 0.85) 0%, rgba(10, 14, 24, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 158, 11, 0.1);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.token-glow {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.token-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.token-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.token-ca-box {
  background: rgba(6, 9, 15, 0.95);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 650px;
  margin: 0 auto;
}

.ca-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.725rem;
}

.ca-chain-badge {
  color: var(--text-secondary);
  font-weight: 600;
}

.ca-status-badge {
  color: var(--accent-amber);
  font-weight: 700;
}

.ca-address-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.ca-key-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ca-val-text {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.04em;
}

.ca-warning-note {
  font-size: 0.7875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- CREATOR & CONTRIBUTORS --- */
.creator-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.75rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.lead-card {
  border-color: rgba(0, 240, 255, 0.25);
}

.team-card-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.avatar-ring {
  position: relative;
  flex-shrink: 0;
}

.avatar-img {
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.contrib-avatar-ph {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  border: 2px solid var(--accent-violet);
}

.founder-badge, .contrib-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.founder-badge {
  background: var(--accent-cyan);
  color: #030712;
}

.contrib-badge {
  background: var(--accent-violet);
  color: #fff;
}

.team-meta {
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
}

.team-bio {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.team-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
}

.link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.link-item:hover {
  color: var(--accent-cyan);
}

/* --- FAQ ACCORDION --- */
.faq-container {
  max-width: 840px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: all 0.25s ease;
}

.faq-item[open] {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
}

.faq-answer strong {
  color: var(--text-primary);
}

/* --- BOTTOM CTA --- */
.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.12) 0%, rgba(12, 17, 28, 0.95) 75%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  max-width: 1000px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-cli-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
}

.cta-cli-wrap code {
  color: var(--text-primary);
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darkest);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.875rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 320px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-emerald);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.footer-col-title {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: rgba(13, 20, 32, 0.95);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), var(--shadow-glow-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(16px);
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide, .bento-tall, .bento-card {
    grid-column: span 1;
  }
  .features-three-col {
    grid-template-columns: 1fr;
  }
  .sim-result-grid {
    grid-template-columns: 1fr;
  }
  .creator-grid {
    grid-template-columns: 1fr;
  }
  .console-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .sys-status, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-section {
    padding-top: 2.5rem;
  }
  .console-metrics-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
  }
  .telemetry-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
