/* -------------------------------------------------------------------------- */
/* Design Tokens & CSS Variables                                              */
/* -------------------------------------------------------------------------- */
:root {
  --bg-main: #0b0f19;
  --bg-card: rgba(18, 26, 43, 0.7);
  --bg-card-hover: rgba(28, 38, 62, 0.8);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-active: rgba(245, 158, 11, 0.5);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-blue: #3b82f6;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  color: var(--accent-amber-light);
}

/* -------------------------------------------------------------------------- */
/* Navbar                                                                     */
/* -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 15, 25, 0.85);
  border-bottom: 1px solid var(--border-card);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  color: var(--accent-amber);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.version-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.btn-github {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-card);
  transition: all var(--transition-fast);
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* -------------------------------------------------------------------------- */
/* Hero Section                                                               */
/* -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 100px 0 60px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(0,0,0,0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent-amber-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.bg-purple-pill {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-amber-light) 0%, #f97316 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 40px;
}

/* Terminal Card */
.terminal-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  text-align: left;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto 36px;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-card);
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-tabs {
  display: flex;
  gap: 6px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-family: var(--font-body);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-amber-light);
  font-weight: 600;
}

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

.code-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.code-line .prompt {
  color: var(--accent-purple);
  user-select: none;
}

.code-line code {
  background: transparent;
  padding: 0;
  color: var(--text-main);
  flex-grow: 1;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

/* Quickstart Flow */
.quickstart-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}

.flow-step.highlight {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-amber);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
}

.flow-arrow {
  color: var(--text-dim);
}

.hero-jump-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent-amber-light);
  text-decoration: none;
  font-weight: 600;
}

.hero-jump-link:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* First-Talk Walkthrough                                                     */
.walkthrough-section {
  padding: 88px 0;
}

.walkthrough-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}

.walkthrough-steps {
  display: grid;
  gap: 12px;
}

.walkthrough-step {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.walkthrough-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.walkthrough-step.active {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow-glow);
}

.walkthrough-step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-amber-light);
  font-weight: 700;
  font-family: var(--font-mono);
}

.walkthrough-step-copy {
  display: grid;
  gap: 4px;
}

.walkthrough-step-copy strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.walkthrough-step-copy span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.walkthrough-panel {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.walkthrough-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 28px 16px;
  align-items: flex-start;
}

.walkthrough-kicker {
  color: var(--accent-amber-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.walkthrough-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.walkthrough-description {
  color: var(--text-muted);
  max-width: 660px;
}

.walkthrough-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.walkthrough-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.12);
}

.walkthrough-command-card,
.walkthrough-result-card,
.walkthrough-detail-card {
  background: rgba(11, 15, 25, 0.55);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.walkthrough-command-card {
  margin: 0 28px 20px;
  overflow: hidden;
}

.walkthrough-command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-card);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.walkthrough-command {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.walkthrough-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding: 0 28px 28px;
}

.walkthrough-visual {
  padding: 24px;
  min-height: 280px;
}

.walkthrough-detail-list {
  padding: 20px 24px 24px 42px;
  color: var(--text-muted);
}

.walkthrough-detail-list li + li {
  margin-top: 12px;
}

.wt-mini-terminal,
.wt-file-tree,
.wt-diff-card,
.wt-artifact-card {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.wt-mini-terminal {
  overflow: hidden;
}

.wt-mini-terminal-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.wt-mini-terminal-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.wt-mini-terminal-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.8;
  color: #dbeafe;
}

.wt-prompt {
  color: var(--accent-purple);
  margin-right: 8px;
}

.wt-success {
  color: #86efac;
}

.wt-dim {
  color: #93c5fd;
}

.wt-file-tree,
.wt-artifact-card {
  padding: 20px;
}

.wt-folder {
  color: var(--accent-amber-light);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 12px;
}

.wt-file,
.wt-artifact-file {
  font-family: var(--font-mono);
  color: #d1d5db;
}

.wt-indent {
  padding-left: 20px;
}

.wt-dual-preview {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 16px;
  align-items: end;
}

.wt-caption {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.wt-slide-card {
  background: #faf8f5;
  color: #111;
  border-radius: 14px;
  padding: 22px;
  min-height: 190px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.wt-slide-card h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.wt-phone-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 16px;
  min-height: 190px;
}

.wt-phone-dot {
  color: #86efac;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.wt-phone-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.wt-phone-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wt-phone-buttons span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.wt-diff-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px;
}

.wt-diff-side {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.wt-diff-side-active {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.wt-diff-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.wt-diff-arrow {
  color: var(--accent-amber-light);
  font-size: 1.5rem;
  font-weight: 700;
}

.wt-live-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #86efac;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.wt-artifact-file {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.wt-artifact-note {
  color: var(--text-muted);
  max-width: 28ch;
}

/* -------------------------------------------------------------------------- */
/* Simulator Section                                                          */
/* -------------------------------------------------------------------------- */
.demo-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.simulator-wrapper {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Laptop Frame */
.laptop-frame {
  background: #1e293b;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.laptop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  margin-right: 4px;
}

.bar-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.screen-controls {
  display: flex;
  gap: 8px;
}

.screen-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

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

.laptop-screen {
  position: relative;
  min-height: 420px;
  background: #faf8f5; /* Paper theme default */
  color: #111111;
  padding: 40px;
  transition: background 0.3s, color 0.3s;
}

/* Themes on projector screen */
.laptop-screen.theme-paper {
  background: #faf8f5;
  color: #111111;
}

.laptop-screen.theme-dark {
  background: #111827;
  color: #f9fafb;
}

.laptop-screen.theme-gt {
  background: #003057;
  color: #ffffff;
}

/* Slide Display Styling */
.slide-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a6d2f;
  margin-bottom: 8px;
}

.theme-dark .slide-eyebrow { color: var(--accent-amber-light); }
.theme-gt .slide-eyebrow { color: #eaaa00; }

.slide-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.slide-body {
  font-size: 1.1rem;
  line-height: 1.6;
}

.slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.grid-card {
  background: rgba(0, 0, 0, 0.04);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-dark .grid-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Drawers on Laptop Screen */
.notes-panel, .live-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.95);
  color: #ffffff;
  padding: 16px 24px;
  border-top: 2px solid var(--accent-amber);
  backdrop-filter: blur(8px);
}

.notes-panel.hidden, .live-overlay.hidden {
  display: none;
}

.notes-header, .overlay-header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

/* Phone Frame */
.phone-frame {
  background: #0f172a;
  border: 3px solid #334155;
  border-radius: 36px;
  padding: 16px 12px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 16px;
  background: #334155;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: #1e293b;
  border-radius: 24px;
  padding: 16px;
  color: #ffffff;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.connection-status {
  color: var(--accent-emerald);
  font-weight: 600;
}

.info-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent-amber-light);
}

.phone-notes-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent-purple);
}

.box-title {
  font-size: 0.7rem;
  color: var(--accent-purple);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.phone-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
  margin-bottom: 16px;
}

.remote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.remote-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.remote-btn.btn-primary {
  background: var(--accent-amber);
  color: #000;
  border-color: var(--accent-amber);
}

.remote-btn.btn-primary:hover {
  background: var(--accent-amber-light);
}

.phone-live-notes label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.phone-live-notes input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.8rem;
}

/* -------------------------------------------------------------------------- */
/* Features Grid                                                              */
/* -------------------------------------------------------------------------- */
.features-section {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bg-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.bg-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.bg-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.bg-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.bg-rose { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }
.bg-blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* -------------------------------------------------------------------------- */
/* Layouts Catalogue                                                          */
/* -------------------------------------------------------------------------- */
.layouts-section {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.5);
}

.layout-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.layout-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.layout-tab.active, .layout-tab:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-amber);
  color: var(--accent-amber-light);
}

.layout-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.code-view, .rendered-view {
  background: #0f172a;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.view-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-card);
}

.json-code {
  padding: 20px;
  font-size: 0.85rem;
  color: #38bdf8;
  overflow-x: auto;
  line-height: 1.5;
}

.slide-preview-box {
  background: #faf8f5;
  color: #111;
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -------------------------------------------------------------------------- */
/* AI Section                                                                 */
/* -------------------------------------------------------------------------- */
.ai-section {
  padding: 100px 0;
}

.ai-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  align-items: center;
}

.ai-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 16px 0;
}

.ai-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.agent-tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.agent-tool-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
}

.ai-checklist {
  list-style: none;
}

.ai-checklist li {
  margin-bottom: 8px;
  color: #c4b5fd;
  font-size: 0.95rem;
}

.ai-prompt-box {
  background: #0f172a;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.prompt-header {
  background: rgba(0,0,0,0.3);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-purple);
}

.agent-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 16px 0;
}

.agent-tab {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.agent-tab:hover,
.agent-tab.active {
  color: var(--text-main);
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.12);
}

.prompt-body {
  padding: 20px;
  font-size: 0.9rem;
}

.agent-context-line {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.prompt-quote {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-purple);
  margin: 6px 0 16px;
}

.agent-response {
  background: rgba(16, 185, 129, 0.1);
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-emerald);
  color: #a7f3d0;
}

/* -------------------------------------------------------------------------- */
/* CLI Table                                                                  */
/* -------------------------------------------------------------------------- */
.cli-section {
  padding: 80px 0;
}

.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.cli-table th, .cli-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-card);
}

.cli-table th {
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cli-table td code {
  color: var(--accent-amber-light);
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-card);
  padding: 48px 0;
  background: #080c14;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-meta {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 6px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

/* Responsive */
@media (max-width: 900px) {
  .simulator-wrapper, .layout-preview-grid, .ai-card, .walkthrough-shell, .walkthrough-body, .wt-dual-preview {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .nav-links {
    display: none;
  }
  .walkthrough-panel-head {
    flex-direction: column;
  }
  .walkthrough-badges {
    justify-content: flex-start;
  }
  .wt-diff-card {
    grid-template-columns: 1fr;
  }
  .wt-diff-arrow {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .walkthrough-section {
    padding: 72px 0;
  }
  .walkthrough-command-card,
  .walkthrough-body {
    margin: 0 16px 16px;
    padding-left: 0;
    padding-right: 0;
  }
  .walkthrough-body {
    padding: 0 16px 20px;
    margin: 0;
  }
  .walkthrough-panel-head {
    padding: 20px 16px 14px;
  }
  .walkthrough-command-card {
    margin: 0 16px 16px;
  }
  .walkthrough-visual {
    padding: 16px;
  }
  .walkthrough-detail-list {
    padding: 18px 18px 22px 36px;
  }
}
