:root {
  color-scheme: dark;
  --bg-main: #030407;
  --bg-soft: #080a0f;
  --bg-card: rgba(10, 12, 19, 0.75);
  --bg-card-hover: rgba(16, 19, 30, 0.9);
  --accent: #ffffff;
  --accent-muted: #cbd5e1;
  --accent-amber: #f59e0b;
  --accent-amber-dim: rgba(245, 158, 11, 0.08);
  --accent-emerald: #10b981;
  --accent-emerald-dim: rgba(16, 185, 129, 0.08);
  --accent-blue: #38bdf8;
  --border: rgba(255, 255, 255, 0.055);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-premium: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --content-max-width: 1280px;
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background Gradients */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(circle at top, rgba(99, 102, 241, 0.04) 0%, rgba(245, 158, 11, 0.015) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.015) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Page Layout */
.page {
  position: relative;
  z-index: 1;
  width: min(100%, calc(var(--content-max-width) + 48px));
  margin: 0 auto;
  padding: 24px 24px 80px;
}

/* Navigation */
.topbar {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(3, 4, 6, 0.75);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

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

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #64748b 100%);
  color: #030407;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.05em;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

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

.brand-copy strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--text-dim);
  font-size: 11px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topnav a {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.topnav a:hover,
.topnav a.is-active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.04);
}

.ghost-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ghost-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Headings & Section Header */
.section-pad,
.section {
  padding-top: 96px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
}

.hero-copy h1,
.section-head h2,
.reality-callout h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-copy h1 span {
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head h2,
.reality-callout h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.lede,
.section-head p,
.reality-callout p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 68ch;
  margin-bottom: 32px;
}

/* Call to Actions */
.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.button-primary {
  background: var(--text-main);
  color: var(--bg-main);
  border: 1px solid transparent;
}

.button-primary:hover {
  background: #cbd5e1;
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 48px;
}

.pill-row li {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}

/* Hero & Metrics */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.hero-visual {
  display: flex;
  flex-direction: column;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-card span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-card strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-main);
  margin: 6px 0;
}

.metric-card small {
  font-size: 12px;
  color: var(--text-muted);
}

.metric-card code {
  font-family: var(--font-mono);
  color: var(--accent-amber);
  background: var(--accent-amber-dim);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

/* Visual Card Framing */
.glass-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.glass-card figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Interactive Simulator: Secrets Redaction */
.simulator-container {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.sim-controls {
  display: flex;
  gap: 6px;
}

.sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.sim-dot:nth-child(1) { background: #ff5f56; }
.sim-dot:nth-child(2) { background: #ffbd2e; }
.sim-dot:nth-child(3) { background: #27c93f; }

.sim-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.sim-action-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hover);
  color: var(--accent-amber);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-action-btn:hover {
  background: var(--accent-amber-dim);
  color: var(--text-main);
  border-color: var(--accent-amber);
}

.secrets-simulator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #030406;
  min-height: 280px;
}

.sim-panel {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.sim-panel:last-child {
  border-right: none;
}

.sim-panel-title {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.sim-panel-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  flex-grow: 1;
}

/* Highlight states in editor */
.sim-line {
  display: block;
}

.sim-line.danger {
  color: #f87171;
  background: rgba(248, 113, 113, 0.05);
}

.sim-line.secured {
  color: var(--accent-emerald);
  background: var(--accent-emerald-dim);
  transition: all 0.5s ease;
}

/* Vault Records Grid */
.vault-inventory-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vault-record {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.3s ease;
}

.vault-record.empty-state {
  justify-content: center;
  color: var(--text-dim);
  border-style: dashed;
  padding: 40px;
}

.vault-record-details {
  display: flex;
  flex-direction: column;
}

.vault-record-name {
  font-weight: 600;
  color: var(--text-main);
}

.vault-record-meta {
  font-size: 10px;
  color: var(--text-dim);
}

.vault-record-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.vault-record-status.encrypted {
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
}

/* Interactive Simulator: MCP Lifecycle */
.mcp-timeline-simulator {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #030406;
}

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

.mcp-stage-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.mcp-stage-card.is-active {
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.mcp-stage-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.mcp-stage-card strong {
  font-size: 14px;
  color: var(--text-main);
}

.mcp-stage-card p {
  font-size: 11px;
  color: var(--text-muted);
}

.mcp-stage-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.mcp-stage-card.is-active .mcp-stage-badge.running {
  background: var(--accent-amber-dim);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.2);
}

.mcp-stage-card.is-active .mcp-stage-badge.success {
  background: var(--accent-emerald-dim);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.2);
}

/* Connecting Lines between MCP Cards */
.mcp-stages::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 1px;
  background: var(--border);
  z-index: 1;
}

/* Live Timer Progress Bar */
.mcp-timer-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}

.mcp-timer-progress {
  width: 100%;
  height: 100%;
  background: var(--accent-amber);
  transform-origin: left;
  transform: scaleX(0);
}

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

.feature-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 24px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--accent);
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Reality check */
.section-reality {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  border-top: 1px solid var(--border);
  margin-top: 96px;
  padding-top: 80px;
}

.reality-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reality-points > div {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 24px 30px;
  box-shadow: var(--shadow-card);
}

.reality-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.reality-points p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Screenshots Showcase Slider */
.screenshots-gallery-block {
  margin-top: 48px;
}

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

.screenshots-row figure {
  display: flex;
  flex-direction: column;
}

.screenshots-row img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.screenshots-row figcaption {
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Install Section */
.install-shell {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  margin-top: 32px;
}

.tab-row {
  display: flex;
  position: relative;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 6px;
}

.tab-glider {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: var(--radius-lg);
  transition: color 0.2s ease;
}

.tab-button.is-active {
  color: var(--text-main);
}

.install-panels {
  padding: 24px;
}

.install-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.install-panel[hidden] {
  display: none;
}

.terminal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #030406;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.terminal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.terminal-top span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.copy-button {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
  color: var(--text-main);
}

.terminal-card pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
}

.terminal-card code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--accent-blue);
}

.install-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.note-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.note-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.note-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Releases */
.release-timeline {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  margin-top: 32px;
}

.release-featured {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.release-featured::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.release-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.release-featured h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.release-featured p {
  font-size: 14px;
  color: var(--text-muted);
}

.release-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.release-row {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.release-row:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.release-version {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.1);
  min-width: 68px;
  text-align: center;
}

.release-row p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  margin-top: 120px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.footer p {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Toasts */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 12, 19, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

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

.header-reveal { --delay: 50ms; }
.hero-reveal-1 { --delay: 150ms; }
.hero-reveal-2 { --delay: 250ms; }
.hero-reveal-3 { --delay: 350ms; }

/* Responsive adjustments */
@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-metrics {
    margin-top: 36px;
  }

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

@media (max-width: 880px) {
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .topnav {
    justify-content: flex-start;
  }

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

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

  .sim-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .mcp-stages {
    grid-template-columns: 1fr;
  }

  .mcp-stages::before {
    display: none;
  }

  .section-reality {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .screenshots-row {
    grid-template-columns: 1fr;
  }

  .install-notes {
    grid-template-columns: 1fr;
  }

  .release-timeline {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

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

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

  .tab-row {
    flex-direction: column;
    gap: 4px;
  }

  .tab-glider {
    display: none;
  }

  .tab-button.is-active {
    background: rgba(255, 255, 255, 0.05);
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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