/* =============================================================================
   HOMEPAGE STYLES — Shoulder brand (purple primary, teal secondary)
   ============================================================================= */

/* Homepage accent palette */
.page-home {
  --purple: #7c5cfc;
  --teal: #00d4aa;
  --pink: #ff6b9d;
  --cyan: #22d3ee;
  --orange: #ff9f43;
}

/* Subtle structural grid — communicates system thinking */
.page-home::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

.page-home {
  position: relative;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.home-hero {
  position: relative;
  padding: 56px 0 52px;
}

/* Subtle gradient mesh background — restrained for authority */
.hero-mesh {
  position: absolute;
  inset: -80px 0;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  background:
    radial-gradient(ellipse 50% 70% at 20% 40%, rgba(124,92,252,0.10), transparent),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(124,92,252,0.05), transparent),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(100,181,255,0.04), transparent);
  pointer-events: none;
  animation: meshDrift 20s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  50%  { transform: translate(6px, -4px) scale(1.01); opacity: 0.92; }
  100% { transform: translate(-3px, 2px) scale(1); opacity: 1; }
}

@keyframes chipPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes highlightSweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

/* Hero grid: text left, terminal right — terminal dominant */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Hero text */
.hero-text {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.hero-beta-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(57, 217, 138, 0.10);
  border: 1px solid rgba(57, 217, 138, 0.30);
  color: var(--good);
  margin-bottom: 18px;
}

.hero-beta-note {
  font-size: 13px;
  color: var(--muted);
  margin: -16px 0 24px;
  max-width: 520px;
  line-height: 1.5;
}

.hero-beta-note a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(57, 217, 138, 0.50);
  text-underline-offset: 3px;
}

.hero-beta-note a:hover {
  color: var(--text);
  text-decoration-color: var(--good);
}

.hero-headline {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f0ecff 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 460px;
}

/* Hero actions */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.install-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(124,92,252,0.06);
  border: 1px solid rgba(124,92,252,0.22);
  border-radius: 12px;
  font-family: var(--mono);
  max-width: 420px;
  transition: all 0.2s;
}

.install-box-secondary {
  width: fit-content;
  max-width: 520px;
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.12);
}

.install-box:hover {
  border-color: rgba(124,92,252,0.35);
}

.install-prompt {
  color: var(--purple);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 15px;
  flex-shrink: 0;
}

.install-box code {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Copy button */
.copy-btn {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

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

.copy-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: rgba(255,255,255,0.55);
}

.copy-btn-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.copy-btn-reveal {
  opacity: 0;
  transform: translateY(1px);
  pointer-events: none;
  border-color: transparent;
  background: transparent;
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.install-box:hover .copy-btn-reveal,
.install-box:focus-within .copy-btn-reveal,
.cta-install:hover .copy-btn-reveal,
.cta-install:focus-within .copy-btn-reveal,
.copy-btn-reveal:focus-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

.copy-btn-reveal:hover,
.copy-btn-reveal:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.18);
}

@media (hover: none), (pointer: coarse) {
  .copy-btn-reveal {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    color: var(--muted);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
  }
}

/* =============================================================================
   TERMINAL MOCKUP
   ============================================================================= */

.hero-visual {
  position: relative;
}

.terminal {
  background: linear-gradient(#0d1117, #0d1117) padding-box,
              linear-gradient(135deg, rgba(34,211,238,0.25), rgba(124,92,252,0.25) 50%, rgba(34,211,238,0.25)) border-box;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(34,211,238,0.06),
    0 0 120px rgba(124,92,252,0.04),
    0 24px 80px rgba(0,0,0,0.5);
  position: relative;
}

/* Ambient glow behind terminal — controlled cyan/purple */
.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse 60% 50%, rgba(34,211,238,0.10), rgba(124,92,252,0.05) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
  font-size: 12px;
  color: var(--muted2);
  font-family: var(--mono);
  margin-left: 8px;
  flex: 1;
}

.terminal-title-link {
  color: inherit;
  text-decoration: none;
}

.terminal-title-link:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* Terminal tabs — iTerm/Chrome style strip below the chrome */
.terminal-tabs {
  display: flex;
  align-items: stretch;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 12px;
  gap: 2px;
}

.terminal-tab {
  position: relative;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 9px 14px 7px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  margin-bottom: -1px;
}

.terminal-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.terminal-tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
  background: rgba(34,211,238,0.06);
}

.terminal-tab:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.terminal-body--hidden {
  display: none;
}

/* Video toggle button in terminal chrome */
.terminal-video-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  color: var(--muted2);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  padding: 0 10px;
}

.video-toggle-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.terminal-video-toggle.active .video-toggle-label {
  display: none;
}

.terminal-video-toggle:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text);
  border-color: rgba(255,255,255,0.20);
}

.terminal-video-toggle .icon-close {
  display: none;
}

.terminal-video-toggle.active .icon-play {
  display: none;
}

.terminal-video-toggle.active .icon-close {
  display: block;
}

.terminal-video-toggle.active {
  background: rgba(255,107,107,0.12);
  border-color: rgba(255,107,107,0.25);
  color: var(--bad);
}

.terminal-video-toggle.active:hover {
  background: rgba(255,107,107,0.20);
}

/* YouTube embed container */
.terminal-video-embed {
  display: none;
}

.terminal-video-embed.active {
  display: block;
}

.terminal-video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.terminal-body {
  padding: 24px 26px;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.8;
}

.tl {
  white-space: nowrap;
}

.tl.spacer {
  height: 10px;
}

.tl.indent {
  padding-left: 100px;
  margin-top: -4px;
}

.t-prompt {
  color: var(--teal);
  font-weight: 700;
}

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

.t-dim {
  color: #6e7681;
}

.t-sev {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 1px 8px;
  border-radius: 4px;
  min-width: 72px;
  text-align: center;
  margin-right: 10px;
}

.t-sev.critical {
  color: #fff;
  background: rgba(255,107,107,0.35);
  border: 1px solid rgba(255,107,107,0.6);
  box-shadow: 0 0 8px rgba(255,107,107,0.25);
}

.t-sev.high {
  color: #ffbd2e;
  background: rgba(255,159,67,0.25);
  border: 1px solid rgba(255,159,67,0.5);
  box-shadow: 0 0 6px rgba(255,159,67,0.15);
}

.t-sev.medium {
  color: var(--warn);
  background: rgba(247,201,72,0.12);
  border: 1px solid rgba(247,201,72,0.25);
}

.t-sev.passed {
  color: #00d4aa;
  background: rgba(0,212,170,0.15);
  border: 1px solid rgba(0,212,170,0.4);
}

/* Risk signal — critical line accent */
.tl-critical {
  position: relative;
}

.tl-critical::before {
  content: '';
  position: absolute;
  inset: -2px -8px;
  background: rgba(255,107,107,0.04);
  border-radius: 4px;
  pointer-events: none;
}

/* Risk signal — highlight sweep on description */
.tl-highlight {
  position: relative;
  overflow: hidden;
}

.tl-highlight::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,107,107,0.05) 50%, transparent 100%);
  animation: highlightSweep 4s ease-in-out infinite;
  pointer-events: none;
}

.t-path {
  color: var(--info);
}

.t-ok {
  color: var(--teal);
  font-weight: 700;
}

.t-err {
  color: #ff6b6b;
  font-weight: 700;
}

.t-sum {
  color: var(--muted);
}

/* =============================================================================
   DEPTH DETAIL — expandable proof of intelligence
   ============================================================================= */

.depth-detail {
  margin-top: 10px;
}

.depth-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted2);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s;
  list-style: none;
}

.depth-toggle::-webkit-details-marker {
  display: none;
}

.depth-toggle:hover {
  color: var(--muted);
}

.depth-detail[open] .depth-toggle svg {
  transform: rotate(90deg);
}

.depth-toggle svg {
  transition: transform 0.15s;
  flex-shrink: 0;
}

.depth-terminal {
  margin-top: 6px;
  padding: 16px 20px;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 13px;
}

.depth-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 3px 0;
}

.depth-key {
  color: var(--muted2);
  min-width: 110px;
  flex-shrink: 0;
  font-size: 12px;
}

.depth-val {
  color: var(--text);
  font-size: 13px;
}

.depth-val.depth-high {
  color: var(--bad);
}

.depth-val.depth-unknown {
  color: var(--muted2);
  font-style: italic;
}

.depth-val.depth-fix {
  color: var(--teal);
}

.terminal-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-align: left;
  margin: 0 0 4px;
}

.terminal-tagline a {
  color: inherit;
  text-decoration: none;
}

.terminal-tagline a:hover {
  color: #7ee9d0;
}

/* Terminal trust drift styling */
.t-header {
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.t-section {
  color: var(--text);
  font-weight: 600;
}

.t-drift-bad {
  color: #ff6b6b;
}

.t-drift-warn {
  color: #ffbd2e;
}

.t-link-eco {
  color: var(--teal, #00d4aa);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.t-link-eco:hover {
  color: #33e0be;
  text-decoration: underline;
}

/* Try repo link (replaces GitHub link) */
.try-repo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.30);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.try-repo-link:hover {
  background: rgba(124,92,252,0.20);
  border-color: rgba(124,92,252,0.45);
}

/* =============================================================================
   PROOF LINKS — real scan results below hero
   ============================================================================= */

.hero-proof-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(124,92,252,0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(124,92,252,0.08), rgba(13,17,23,0.88) 42%, rgba(34,211,238,0.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.hero-proof-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-proof-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0abfc;
}

.hero-proof-headline {
  margin: 10px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.hero-proof-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.proof-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 96px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(7,12,24,0.58);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.proof-link:hover {
  transform: translateY(-2px);
  border-color: rgba(124,92,252,0.36);
  background: rgba(12,18,32,0.82);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

.proof-link:focus-visible {
  outline: 2px solid rgba(34,211,238,0.8);
  outline-offset: 2px;
}

.proof-link-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.proof-link-meta {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted2);
}

.proof-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.01em;
}

.proof-link:hover .proof-link-cta {
  color: var(--teal);
}

/* =============================================================================
   SEARCH BAR
   ============================================================================= */

.hero-search-row {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto 28px;
  padding: 28px 32px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top right, rgba(124,92,252,0.14), transparent 38%),
    linear-gradient(180deg, rgba(14,19,34,0.94), rgba(10,14,25,0.92));
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}

.hero-search-heading {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.search-label {
  font-size: 15px;
  color: var(--muted2);
  text-align: center;
  margin: 12px 0 22px;
}

.search-form {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
  border-color: rgba(124,92,252,0.35);
  box-shadow: 0 0 0 4px rgba(124,92,252,0.08);
}

.search-icon {
  color: var(--muted2);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-family: var(--sans);
  padding: 10px 0;
}

.search-input::placeholder {
  color: var(--muted2);
}

.search-btn {
  padding: 10px 20px;
  background: rgba(124,92,252,0.15);
  border: 1px solid rgba(124,92,252,0.25);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: var(--sans);
}

.search-btn:hover {
  background: rgba(124,92,252,0.22);
  border-color: rgba(124,92,252,0.35);
}

.btn-arrow {
  margin-left: 2px;
}

/* =============================================================================
   TRUST STRIP
   ============================================================================= */

.trust-strip {
  padding: 32px 0 0;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(57, 217, 138, 0.04);
  border: 1px solid rgba(57, 217, 138, 0.12);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.trust-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-item strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.trust-item span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.trust-icon {
  flex-shrink: 0;
  color: var(--good);
  margin-top: 1px;
}

.trust-item-link:hover {
  background: rgba(57, 217, 138, 0.08);
  border-color: rgba(57, 217, 138, 0.25);
}

.trust-item-link span {
  color: var(--good);
}

/* =============================================================================
   COMPONENT CARDS
   ============================================================================= */

.components-section {
  padding: 52px 0 36px;
}

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

.comp-card {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s;
  overflow: hidden;
}

/* Colored top accent bar */
.comp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.comp-cli::before { background: var(--teal); }
.comp-threats::before { background: var(--info); }
.comp-engine::before { background: var(--purple); }

/* Card hover — subtle lift, no glow */
.comp-card:hover {
  transform: translateY(-2px);
}

.comp-cli:hover {
  border-color: rgba(0,212,170,0.20);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  background: rgba(0,212,170,0.02);
}

.comp-threats:hover {
  border-color: rgba(100,181,255,0.20);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  background: rgba(100,181,255,0.02);
}

.comp-engine:hover {
  border-color: rgba(124,92,252,0.20);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  background: rgba(124,92,252,0.02);
}

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

.comp-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.comp-cli .comp-icon {
  color: var(--teal);
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.15);
}

.comp-threats .comp-icon {
  color: var(--info);
  background: rgba(100,181,255,0.1);
  border: 1px solid rgba(100,181,255,0.15);
}

.comp-engine .comp-icon {
  color: var(--purple);
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.15);
}

.comp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.comp-status.live {
  color: var(--teal);
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.22);
}

.comp-status.live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: chipPulse 2s ease-in-out infinite;
}

.comp-status.soon {
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
}

.comp-status.soon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted2);
}

.comp-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.comp-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.comp-footer {
  margin-top: auto;
}

.comp-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--info);
}

.comp-cmd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(0,212,170,0.12);
  border-radius: 8px;
}

.comp-cmd code {
  flex: 1;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
}

/* Operational status panel (Decision Engine) — terminal-style */
.engine-status-panel {
  margin: 4px 0 0;
  padding: 10px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
}

.engine-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.engine-status-label {
  color: var(--muted);
}

.engine-status-value {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.engine-status-value.pending {
  color: var(--muted2);
}

.engine-status-value.active {
  color: var(--teal);
}

/* =============================================================================
   HOW IT WORKS
   ============================================================================= */

.how-section {
  padding: 56px 0;
}

.section-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--text);
}

.steps-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step-connector {
  width: 56px;
  height: 1px;
  margin-top: 26px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.step-connector.visible {
  transform: scaleX(1);
}

.step-connector::after {
  content: '\2192';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--muted2);
  font-size: 13px;
  background: var(--bg);
  padding: 0 4px;
}

.step-num {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.step:hover .step-num {
  transform: scale(1.1);
}

.step-green .step-num {
  color: var(--purple);
  background: rgba(124,92,252,0.08);
  border: 1px solid rgba(124,92,252,0.25);
}

.step-green:hover .step-num {
  border-color: rgba(124,92,252,0.4);
}

.step-blue .step-num {
  color: var(--info);
  background: rgba(100,181,255,0.08);
  border: 1px solid rgba(100,181,255,0.25);
}

.step-blue:hover .step-num {
  border-color: rgba(100,181,255,0.4);
}

.step-purple .step-num {
  color: var(--teal);
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.25);
}

.step-purple:hover .step-num {
  border-color: rgba(0,212,170,0.4);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* =============================================================================
   DIFFERENTIATORS
   ============================================================================= */

.diff-section {
  padding: 0 0 56px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.diff-card {
  padding: 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: all 0.3s;
}

.diff-card:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}

.diff-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}

.diff-card:hover .diff-icon {
  /* No glow — clean and sharp */
}

.icon-teal {
  color: var(--purple);
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.2);
}

.icon-green {
  color: var(--good);
  background: rgba(57,217,138,0.1);
  border: 1px solid rgba(57,217,138,0.2);
}

.icon-blue {
  color: var(--info);
  background: rgba(100,181,255,0.1);
  border: 1px solid rgba(100,181,255,0.2);
}

.icon-purple {
  color: var(--pink);
  background: rgba(255,107,157,0.1);
  border: 1px solid rgba(255,107,157,0.2);
}

.diff-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.diff-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* =============================================================================
   STATS
   ============================================================================= */

.stats-section {
  padding: 48px 0;
  background: rgba(124,92,252,0.015);
  border-top: 1px solid rgba(124,92,252,0.06);
  margin: 0 calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-value {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-blue .stat-value { color: var(--info); }
.stat-teal .stat-value { color: var(--purple); }
.stat-purple .stat-value { color: var(--teal); }
.stat-red .stat-value { color: var(--bad); }

.stat-blue:hover {
  border-color: rgba(100,181,255,0.20);
}
.stat-teal:hover {
  border-color: rgba(124,92,252,0.20);
}
.stat-purple:hover {
  border-color: rgba(0,212,170,0.20);
}
.stat-red:hover {
  border-color: rgba(255,107,107,0.20);
}

.stat-label {
  font-size: 12px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* =============================================================================
   CTA
   ============================================================================= */

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

.cta-card {
  position: relative;
  padding: 48px;
  background: rgba(124,92,252,0.04);
  border: 1px solid rgba(124,92,252,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  flex-wrap: wrap;
}

.cta-glow {
  display: none;
}

.cta-text h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  position: relative;
}

.cta-text p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
  position: relative;
}

.cta-install {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(124,92,252,0.22);
  border-radius: 10px;
}

.cta-install code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--purple);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =============================================================================
   HERO SECONDARY (GitHub link + runtime hint)
   ============================================================================= */

/* Primary action row — install + GitHub side by side */
.hero-primary-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-primary-cta {
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.26);
}

.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-secondary-cta:hover {
  color: var(--text);
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.github-link:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
}

.github-link svg {
  flex-shrink: 0;
}

.hero-today-next {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin: -20px 0 32px;
  letter-spacing: 0.2px;
}

/* 2-column component grid variant */
.components-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* =============================================================================
   WHY THIS MATTERS
   ============================================================================= */

.why-matters-section {
  padding: 64px 0 56px;
}

.why-matters-section {
  position: relative;
}

/* Gradient fade into the lighter today-section */
.why-matters-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.015));
  pointer-events: none;
}

.why-matters-body {
  text-align: center;
  font-size: 18px;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* =============================================================================
   SHARED: SECTION LEAD, CLOSE, ABILITY LIST
   ============================================================================= */

.section-lead {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.section-close {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin: 32px auto 0;
  max-width: 560px;
  line-height: 1.6;
}

.section-close.strong {
  color: var(--text);
  font-weight: 600;
}

.section-close-statement {
  text-align: center;
  margin: 48px auto 0;
  max-width: 560px;
}

.section-close-statement p {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-close-statement p:last-child {
  margin-bottom: 0;
}

.trust-contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.trust-contrast-card {
  padding: 28px 28px 26px;
  border-radius: 20px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}

.trust-contrast-card-muted {
  background: rgba(255,255,255,0.02);
}

.trust-contrast-card-active {
  background: linear-gradient(160deg, rgba(124,92,252,0.12), rgba(12,18,32,0.92) 48%, rgba(34,211,238,0.06));
  border-color: rgba(124,92,252,0.22);
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
}

.trust-contrast-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.trust-contrast-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-contrast-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.trust-contrast-list li::before {
  content: '→';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================================================
   DECISION FLOW DIAGRAM
   ============================================================================= */

.decision-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 36px auto;
  max-width: 680px;
}

.decision-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  transition: all 0.4s ease;
  min-width: 140px;
}

.node-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.node-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}

/* Node color variants */
.node-code .node-icon {
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.node-findings .node-icon {
  color: var(--info);
  background: rgba(100,181,255,0.08);
  border: 1px solid rgba(100,181,255,0.15);
}

.node-intel .node-icon {
  color: var(--purple);
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.2);
}

/* System Graph node */
.node-graph .node-icon {
  color: var(--teal);
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.15);
}

/* Destination node — the "active" glow */
.node-intel {
  border-color: rgba(124,92,252,0.25);
  background: rgba(124,92,252,0.04);
  box-shadow: 0 0 24px rgba(124,92,252,0.08);
}

/* Arrows between nodes */
.decision-arrow {
  color: var(--muted2);
  padding: 0 8px;
  flex-shrink: 0;
}

.decision-arrow.arrow-active {
  color: var(--purple);
}

.decision-example {
  margin: 42px auto 0;
  max-width: 980px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.decision-example-header {
  max-width: 680px;
  margin: 0 auto 22px;
  text-align: center;
}

.decision-example-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.decision-example-header h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.decision-example-header p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.decision-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.decision-example-card {
  min-height: 170px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(7,12,24,0.55);
}

.decision-example-card-alert {
  border-color: rgba(255,107,107,0.18);
  background: linear-gradient(180deg, rgba(255,107,107,0.08), rgba(7,12,24,0.7));
}

.decision-example-label {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.decision-example-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.decision-example-card code {
  font-family: var(--mono);
  font-size: 12px;
  color: #f8fafc;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

/* =============================================================================
   WHAT YOU CAN DO TODAY — OUTCOME CARDS
   ============================================================================= */

.today-section {
  padding: 56px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.035) 50%, rgba(255,255,255,0.015) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin: 0 calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.outcome-card {
  padding: 28px 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: all 0.3s;
}

.outcome-card:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.2);
  border-left: 3px solid var(--purple);
  padding-left: 21px;
}

.outcome-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 16px;
}

.outcome-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.outcome-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* =============================================================================
   BUILT FOR AI / SHIPPERS / TRUST — TEXT SECTIONS
   ============================================================================= */

.built-for-ai-section,
.shippers-section,
.trust-section,
.trust-foundation-section {
  padding: 56px 0;
  text-align: center;
}

.trust-section-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.trust-section-link:hover {
  color: var(--text);
}

.trust-section-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-section-links .trust-section-link {
  margin-top: 20px;
}

.trust-partner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(124,92,252,0.30);
  background: linear-gradient(135deg, rgba(124,92,252,0.18), rgba(34,211,238,0.12));
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 34px rgba(0,0,0,0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.trust-partner-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(124,92,252,0.42);
  background: linear-gradient(135deg, rgba(124,92,252,0.24), rgba(34,211,238,0.16));
  box-shadow: 0 20px 40px rgba(0,0,0,0.24);
}

.trust-foundation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.trust-foundation-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  border-radius: 18px;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.trust-foundation-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124,92,252,0.22);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.trust-foundation-card-accent {
  background: linear-gradient(160deg, rgba(124,92,252,0.1), rgba(12,18,32,0.92) 52%, rgba(34,211,238,0.05));
  border-color: rgba(124,92,252,0.18);
}

.trust-foundation-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.trust-foundation-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* =============================================================================
   UNLOCK NEXT
   ============================================================================= */

.unlock-section {
  padding: 56px 0;
  background: rgba(124,92,252,0.02);
  border-top: 1px solid rgba(124,92,252,0.08);
  border-bottom: 1px solid rgba(124,92,252,0.08);
  margin: 0 calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

/* =============================================================================
   NO ALERT GENERATOR — CONTRAST CARDS
   ============================================================================= */

.no-alert-section {
  padding: 56px 0;
}

.no-alert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.no-alert-card {
  padding: 32px 28px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.65;
}

.no-alert-card p {
  margin: 0;
}

.no-alert-old {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.04);
  color: var(--muted);
  opacity: 0.7;
}

.no-alert-new {
  background: rgba(124,92,252,0.05);
  border: 1px solid rgba(124,92,252,0.22);
  border-left: 3px solid var(--purple);
  color: var(--text);
  font-weight: 500;
}

/* =============================================================================
   HOW EVOLUTION LINE
   ============================================================================= */

.how-evolution {
  text-align: center;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  margin: 36px 0 0;
}

/* =============================================================================
   COMPARISON TABLE (kept for potential reuse but removed from page)
   ============================================================================= */

.compare-section {
  padding: 0 0 56px;
}

.compare-desc {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  margin: -28px auto 36px;
  line-height: 1.6;
}

.compare-table-wrap {
  max-width: 680px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border2);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
}

.compare-table thead th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted2);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table .col-shoulder {
  color: var(--purple);
}

.comp-feature {
  color: var(--text);
  font-weight: 500;
}

.comp-yes {
  color: var(--muted2);
}

.comp-yes.shoulder {
  color: var(--purple);
  font-weight: 600;
}

.comp-partial {
  color: var(--muted2);
  font-style: italic;
}

.comp-no {
  color: var(--muted2);
  opacity: 0.5;
}

.comp-soon {
  color: var(--muted2);
  font-size: 12px;
  font-style: italic;
}

.compare-table tbody tr {
  transition: background 0.15s;
}

.compare-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

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

/* =============================================================================
   CTA TRUST SIGNALS
   ============================================================================= */

.cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--border2);
  margin-top: 8px;
  position: relative;
}

.trust-signal {
  font-size: 12px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-signal::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
  font-size: 13px;
}

/* =============================================================================
   TRUST DRIFT BLOCK (Why AI changes break trust)
   ============================================================================= */

.trust-drift-block {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.trust-drift-prose p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 16px;
}

.trust-drift-questions {
  font-size: 18px;
  color: var(--text);
  font-weight: 600;
  font-style: italic;
  line-height: 1.8;
  margin: 24px 0 !important;
}

.trust-drift-answer {
  font-size: 17px;
  color: var(--teal);
  font-weight: 600;
}

/* =============================================================================
   ECOSYSTEM TRUST INTELLIGENCE
   ============================================================================= */

.ecosystem-section {
  padding: 56px 0;
  text-align: center;
}

.ecosystem-terminal {
  max-width: 520px;
  margin: 32px auto 0;
}

.ecosystem-terminal .terminal {
  text-align: left;
}

.ecosystem-terminal .terminal-body {
  padding: 20px 24px;
}

.ecosystem-terminal .depth-row {
  padding: 4px 0;
}

.ecosystem-terminal .depth-key {
  min-width: 130px;
}

/* =============================================================================
   CLI PROOF GRID
   ============================================================================= */

.cli-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.cli-proof-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  text-align: center;
  transition: all 0.3s;
}

.cli-proof-card:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.cli-proof-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--teal);
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.15);
}

.cli-proof-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* =============================================================================
   SCROLL REVEAL (disabled — all elements visible immediately)
   ============================================================================= */

.reveal {
  opacity: 1;
  transform: none;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-subtitle {
    max-width: 560px;
  }

  .install-box {
    margin: 0 auto;
  }

  .hero-primary-row {
    justify-content: center;
  }

  .hero-proof-strip {
    grid-template-columns: 1fr;
  }

  .hero-proof-intro {
    text-align: center;
  }

  .trust-contrast-grid,
  .decision-example-grid,
  .trust-foundation-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  .home-hero {
    padding: 56px 0 32px;
  }

  .hero-headline {
    font-size: 38px;
  }

  .components-grid,
  .components-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .no-alert-grid {
    grid-template-columns: 1fr;
  }

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

  .decision-example {
    padding: 20px;
  }

  .decision-example-card {
    min-height: 0;
  }

  .hero-proof-strip {
    padding: 16px;
  }

  .hero-proof-headline {
    font-size: 20px;
  }

  .hero-search-row {
    padding: 24px 20px 26px;
  }

  .hero-search-heading {
    font-size: 24px;
  }

  .search-box {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .search-btn {
    width: 100%;
  }

  .steps-track {
    flex-direction: column;
    align-items: center;
  }

  .step {
    padding: 0;
    max-width: 320px;
  }

  .step-connector {
    width: 2px;
    height: 28px;
    margin: 8px 0;
  }

  .step-connector::after {
    content: '\2193';
  }

  .trust-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .decision-flow {
    flex-direction: column;
    gap: 0;
  }

  .decision-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .decision-node {
    min-width: auto;
    width: 100%;
    max-width: 240px;
  }

  .trust-contrast-card,
  .trust-foundation-card {
    padding: 22px;
  }

  .step-connector {
    transform-origin: top;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .cta-actions {
    align-items: center;
  }

  .cta-trust {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .terminal-body {
    overflow-x: auto;
  }

  .tl.indent {
    padding-left: 0;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .hero-primary-row {
    flex-direction: column;
    align-items: stretch;
  }

  .install-box {
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .install-box-secondary {
    width: 100%;
  }

  .hero-primary-cta,
  .hero-secondary-cta {
    justify-content: center;
  }

  .install-box code {
    min-width: 0;
    flex: 1 1 0;
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .install-box .copy-btn,
  .cta-install .copy-btn {
    margin-left: auto;
  }

  .cta-install {
    width: 100%;
    flex-wrap: wrap;
  }

  .cta-install code {
    min-width: 0;
    flex: 1 1 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 40px 0 20px;
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .terminal-body {
    font-size: 11px;
    padding: 14px 16px;
  }

  .tl .t-sev {
    min-width: 56px;
    font-size: 10px;
    padding: 1px 4px;
    margin-right: 6px;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
  }

  .cli-proof-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .stat-value {
    font-size: 32px;
  }

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

  .proof-link {
    min-height: 0;
  }

  .decision-example-header h3 {
    font-size: 20px;
  }
}

/* =============================================================================
   REDUCED MOTION
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  .hero-mesh {
    animation: none;
  }

  .comp-status.live::before {
    animation: none;
  }

  .comp-card,
  .diff-card,
  .stat-card,
  .step-num,
  .outcome-card {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tl-highlight::after {
    animation: none;
  }

  .step-connector {
    transform: scaleX(1);
    transition: none;
  }
}

/* ==========================================================================
   Homepage Alerts Ticker
   ========================================================================== */

.home-alerts-ticker {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.ticker-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ticker-header-recent {
  margin-top: 20px;
}

.ticker-icon {
  font-size: 10px;
  color: var(--bad);
}

.ticker-header .pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(247,201,72,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(247,201,72,0); }
}

.ticker-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
}

.ticker-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ticker-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.ticker-severity {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.ticker-severity.critical {
  background: rgba(255,107,107,0.15);
  color: var(--bad);
}

.ticker-severity.high {
  background: rgba(255,143,107,0.15);
  color: #ff8f6b;
}

.ticker-severity.medium {
  background: rgba(247,201,72,0.15);
  color: var(--warn);
}

.ticker-severity.low {
  background: rgba(57,217,138,0.15);
  color: var(--good);
}

.ticker-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .home-alerts-ticker {
    padding: 0 16px;
  }
}

/* =============================================================================
   BETA SCOPE SECTION — what we cover today
   ============================================================================= */

.beta-scope-section {
  padding: 56px 0;
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  background: rgba(57, 217, 138, 0.02);
}

.beta-scope-header {
  text-align: center;
  margin-bottom: 32px;
}

.beta-scope-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(57, 217, 138, 0.10);
  border: 1px solid rgba(57, 217, 138, 0.30);
  color: var(--good);
  margin-bottom: 14px;
}

.beta-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 32px;
}

.beta-scope-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 20px 22px;
}

.beta-scope-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted2);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.beta-scope-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.beta-scope-pill {
  font-family: var(--mono);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(57, 217, 138, 0.08);
  border: 1px solid rgba(57, 217, 138, 0.25);
  color: var(--text);
}

.beta-scope-honest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 36px;
}

.beta-scope-honest-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 20px 22px;
}

.beta-scope-honest-confident {
  border-color: rgba(57, 217, 138, 0.25);
}

.beta-scope-honest-learning {
  border-color: rgba(247, 201, 72, 0.25);
}

.beta-scope-honest-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}

.beta-scope-honest-confident .beta-scope-honest-kicker {
  color: var(--good);
}

.beta-scope-honest-learning .beta-scope-honest-kicker {
  color: var(--warn);
}

.beta-scope-honest-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.beta-scope-honest-card li + li {
  margin-top: 6px;
}

.beta-scope-coming {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(100, 181, 255, 0.04);
  border: 1px solid rgba(100, 181, 255, 0.20);
  border-radius: 12px;
  padding: 22px 26px;
}

.beta-scope-coming-text {
  flex: 1;
}

.beta-scope-coming-text h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.beta-scope-coming-text p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 60ch;
}

@media (max-width: 700px) {
  .beta-scope-grid,
  .beta-scope-honest {
    grid-template-columns: 1fr;
  }
  .beta-scope-coming {
    flex-direction: column;
    align-items: flex-start;
  }
}
