/* Design Jam — Landing Page */

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

:root {
  --bg: #141210;
  --surface: #1a1816;
  --raised: #211f1c;
  --card: #1a1816;
  --hover: #2a2724;
  --border: #2a2620;
  --border-vis: #3a352e;
  --text: #f0ece4;
  --text-2: #b0a898;
  --text-3: #8a8075;
  --text-muted: #6b6358;
  --text-ghost: #3a352e;
  --gold: #e2a832;
  --gold-bright: #f5c24a;
  --gold-dim: #b8872a;
  --gold-glow: rgba(226,168,50,0.12);
  --gold-border: rgba(226,168,50,0.25);
  --gold-bg: rgba(226,168,50,0.06);
  --green: #5b5;
  --mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', Consolas, 'Liberation Mono', monospace;
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #332e28 #141210; }

body {
  font-family: var(--mono);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, var(--border-vis) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

::selection { background: rgba(226,168,50,0.2); color: var(--text); }
a { color: inherit; text-decoration: none; }


/* ================================================================
   NAV
   ================================================================ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 0 32px; height: 44px;
  display: flex; align-items: center; gap: 24px;
  background: rgba(20, 18, 16, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { font-weight: 500; font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted); }
.nav-brand b { color: var(--text); font-weight: 600; }
.nav-links { display: flex; gap: 0; margin-left: auto; list-style: none; }
.nav-links a { font-size: 11px; color: var(--text-muted); letter-spacing: 0.03em; padding: 0 1rem; height: 44px; display: flex; align-items: center; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-2); }
.nav-install {
  font-family: var(--mono); font-size: 11px; padding: 6px 14px;
  border: 1px solid var(--border); background: var(--gold-bg);
  color: var(--gold-dim); border-radius: 4px; cursor: pointer;
  letter-spacing: 0.03em; transition: all 0.2s; text-decoration: none;
}
.nav-install:hover {
  background: rgba(226,168,50,0.1); color: var(--gold);
  border-color: var(--gold-dim);
}


/* ================================================================
   SECTIONS (shared)
   ================================================================ */

section { position: relative; z-index: 1; padding: 0 32px; }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-label { font-size: 9px; color: var(--text-ghost); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 32px; }
.section-label .sl { color: var(--text-ghost); }

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.vis { opacity: 1; transform: none; }

.gold-div {
  max-width: 1000px; height: 1px; margin: 0 auto;
  border: none; border-top: 1px dashed var(--border);
  background: none;
}

/* Blueprint corner crosses */
.bp { position: relative; }
.bp::before, .bp::after {
  content: '+';
  position: absolute;
  font-size: 13px;
  color: var(--text-ghost);
  font-family: var(--mono);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}
.bp::before { top: 6px; left: 10px; }
.bp::after { bottom: 6px; right: 10px; }


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

.hero {
  min-height: calc(100vh - 300px); display: flex; align-items: center;
  justify-content: center; padding-top: 44px; padding-bottom: 40px;
  position: relative;
}
.hero-inner {
  text-align: center; max-width: 840px; width: 100%;
  display: grid; grid-template-columns: 1fr 0fr;
  transition: grid-template-columns 0.8s cubic-bezier(0.16,1,0.3,1),
              max-width 0.8s cubic-bezier(0.16,1,0.3,1),
              gap 0.8s cubic-bezier(0.16,1,0.3,1);
  gap: 0;
}
.hero-inner.hero-split {
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  gap: 48px;
}

.hero-col-text {
  display: flex; flex-direction: column; justify-content: center;
}
.hero-split .hero-col-text { text-align: left; }
.hero-split .hero-actions { justify-content: flex-start; }

.hero-col-visual {
  opacity: 0; overflow: hidden; min-width: 0;
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  display: flex; align-items: center;
}
.hero-split .hero-col-visual {
  opacity: 1; overflow: visible;
}

.hero-canvas-wrap {
  width: 100%; aspect-ratio: 4 / 3; position: relative;
  border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; background: var(--bg);
}
.hero-canvas-wrap canvas {
  display: block; width: 100%; height: 100%;
}

.hero-mockup {
  position: absolute; inset: 0;
  display: flex; align-items: stretch; justify-content: flex-end;
  opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
}
.hero-mockup.visible { opacity: 1; }

/* ---- Hero pins ---- */
.hero-pin {
  position: absolute; width: 26px; height: 26px;
  border-radius: 50% 50% 50% 0; background: var(--gold);
  color: var(--bg); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; font-family: var(--mono);
  transform: rotate(-45deg) scale(0); transform-origin: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 0 16px rgba(226,168,50,0.3);
  z-index: 100; opacity: 0; pointer-events: none;
  transition: left 0.6s cubic-bezier(0.16,1,0.3,1), top 0.6s cubic-bezier(0.16,1,0.3,1);
}
.hero-pin.show {
  animation: pin-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
  pointer-events: auto;
}
.hero-pin.fade-out {
  animation: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  transform: rotate(-45deg) scale(1);
}
.hero-pin .lp-tip {
  position: absolute; left: 30px; top: 50%;
  transform: rotate(45deg) translateY(-50%);
  background: var(--surface); border: 1px solid var(--border);
  border-left: 2px solid var(--gold-dim);
  border-radius: 0 4px 4px 0; padding: 8px 14px;
  font-size: 12px; font-weight: 300; color: var(--text-2);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.hero-pin.show-tip .lp-tip { opacity: 1; }

@keyframes pin-pop {
  0% { opacity: 0; transform: rotate(-45deg) scale(0); }
  100% { opacity: 1; transform: rotate(-45deg) scale(1); }
}

/* ---- Static sidebar mockup — replicates extension .dj-main-sidebar ---- */
.hm-sidebar {
  width: 280px; height: 100%;
  background: #111; color: #eee;
  font-family: var(--mono); font-size: 13px; line-height: 1.4;
  border-left: 1px solid #2a2a2a;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* Controls bar — .dj-sb-controls */
.hm-controls {
  padding: 12px 14px; border-bottom: 1px solid #2a2a2a;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.hm-brand {
  font-size: 13px; font-weight: 600; color: #888;
  letter-spacing: 0.4px; margin-right: auto;
}
.hm-brand span { color: #eee; }
.hm-ctrl-btn {
  width: 30px; height: 28px; border-radius: 4px;
  border: 1px solid #2a2a2a; background: transparent;
  color: #888; cursor: default;
  display: flex; align-items: center; justify-content: center;
}
.hm-ctrl-btn.hm-active {
  color: #e0a820; border-color: rgba(224,168,32,0.25);
  background: rgba(224,168,32,0.06);
}
.hm-ctrl-btn.hm-stop {
  color: #c55; border-color: rgba(200,80,80,0.25);
}

/* Tool strip — .dj-sb-tools */
.hm-tools {
  padding: 8px 14px; border-bottom: 1px solid #2a2a2a;
  display: flex; gap: 4px; flex-shrink: 0;
}
.hm-tool-btn {
  flex: 1; font-family: var(--mono); font-size: 12px;
  padding: 7px 0; border-radius: 4px;
  border: 1px solid transparent; background: transparent;
  color: #888; cursor: default;
  display: flex; align-items: center; justify-content: center;
  gap: 4px; letter-spacing: 0.3px;
}

/* Section header — .dj-sb-section-header */
.hm-section-hd {
  padding: 10px 14px; display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid #1e1e1e; flex-shrink: 0;
}
.hm-section-label {
  font-size: 11px; color: #888; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hm-section-count {
  font-size: 11px; color: #888; font-variant-numeric: tabular-nums;
}
.hm-section-spacer { flex: 1; }
.hm-section-action {
  font-size: 11px; color: #888; letter-spacing: 0.3px;
}

/* Note list — .dj-sb-notes */
.hm-notes {
  flex: 1; overflow-y: auto; padding: 8px 10px;
}
.hm-note {
  padding: 10px 12px; border-radius: 4px;
  border-left: 3px solid #333; margin-bottom: 5px;
  background: transparent;
}
.hm-note.hm-selected {
  border-left-color: #e0a820;
  background: rgba(224,168,32,0.03);
}
.hm-note-row {
  display: flex; align-items: baseline; gap: 6px;
}
.hm-note-num {
  font-size: 12px; color: #e0a820; font-weight: 600;
  flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.hm-note-text {
  font-size: 12px; color: #aaa;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}
.hm-note-sel {
  font-size: 10px; color: #888; margin-top: 3px;
  letter-spacing: 0.2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Export bar — .dj-sb-export */
.hm-export-bar {
  padding: 10px 14px; border-top: 1px solid #2a2a2a; flex-shrink: 0;
}
.hm-export-btn {
  display: block; width: 100%;
  font-family: var(--mono); font-size: 12px; padding: 9px 0;
  border-radius: 4px; border: 1px solid rgba(224,168,32,0.25);
  background: rgba(224,168,32,0.06); color: rgba(224,168,32,0.7);
  cursor: default; letter-spacing: 0.4px; text-align: center;
}

.hero-title {
  font-size: clamp(56px, 9vw, 110px); line-height: 0.9;
  letter-spacing: -0.05em; margin-bottom: 32px;
  transition: all 0.8s cubic-bezier(0.16,1,0.3,1);
}
.hero-title .l { display: block; font-weight: 300; color: var(--text-muted); }
.hero-title .b { display: block; font-weight: 800; color: var(--text); }
.hero-title .cur { color: var(--gold); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-tagline { font-size: 18px; font-weight: 300; color: var(--text-2); line-height: 1.8; margin-bottom: 10px; }
.hero-sub { font-size: 13px; font-weight: 300; color: var(--text-3); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; }

.btn {
  font-family: var(--mono); font-size: 13px; padding: 10px 24px;
  border-radius: 4px; cursor: pointer; letter-spacing: 0.03em;
  transition: all 0.2s; border: 1px solid; text-decoration: none; display: inline-block;
}
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--bg); font-weight: 600; }
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: 0 0 24px var(--gold-glow); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text-3); }
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text-2); }



/* ================================================================
   LIVE SIDEBAR
   ================================================================ */



/* ================================================================
   FEATURES
   ================================================================ */

.features { padding-top: 40px; padding-bottom: 80px; }
.features-stack { display: flex; flex-direction: column; gap: 16px; }

.feat-card {
  background: rgba(20, 18, 16, 0.7); border: 1px solid var(--border); border-radius: 6px;
  padding: 40px 36px; position: relative;
  backdrop-filter: blur(4px);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.feat-card-label {
  margin: -40px -36px 24px;
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: var(--gold-dim);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.feat-card-label::after {
  content: attr(data-ref);
  font-size: 9px; color: var(--text-ghost); letter-spacing: 0.04em;
}
.feat-card h3 { font-size: 22px; font-weight: 300; margin-bottom: 12px; letter-spacing: -0.02em; }
.feat-card > p { font-size: 13px; font-weight: 300; color: var(--text-3); line-height: 1.8; margin-bottom: 24px; max-width: 600px; }
.feat-list { list-style: none; margin-bottom: 24px; columns: 2; column-gap: 32px; }
.feat-list li { font-size: 13px; font-weight: 300; color: var(--text-2); padding: 5px 0; display: flex; align-items: center; gap: 8px; break-inside: avoid; }
.feat-list li::before { content: '\2713'; color: var(--text-muted); font-size: 12px; flex-shrink: 0; }
.feat-price { font-size: 14px; font-weight: 500; color: var(--text-3); letter-spacing: 0.03em; }
.feat-price b { color: var(--gold); font-size: 20px; }


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

.how-section { padding-top: 80px; padding-bottom: 80px; }
.how-section h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 300; margin-bottom: 48px; color: var(--text-2); letter-spacing: -0.02em; }
.how-section h2 em { font-style: normal; color: var(--gold); font-weight: 300; }
.how-section h2 b { font-weight: 600; color: var(--text); }

.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.how-steps::before {
  content: ''; position: absolute; top: 18px; left: 48px; right: 48px; height: 1px;
  background: var(--gold-dim); opacity: 0.15;
}
.how-step { text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.how-step .sn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--gold-border); background: var(--bg);
  font-size: 12px; font-weight: 600; color: var(--gold-dim); margin-bottom: 16px;
}
.how-step h4 { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.how-step p { font-size: 12px; font-weight: 300; color: var(--text-3); line-height: 1.7; }


/* ================================================================
   INTERACTIVE ASCII DEMO
   ================================================================ */

.ascii-demo { padding-top: 60px; padding-bottom: 100px; }
.ascii-demo h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 300; margin-bottom: 12px; letter-spacing: -0.02em; }
.ascii-demo .desc { font-size: 13px; font-weight: 300; color: var(--text-3); margin-bottom: 36px; max-width: 560px; line-height: 1.8; }
.ascii-demo .desc b { color: var(--gold); font-weight: 500; }

.canvas-demo {
  display: flex; gap: 0;
  border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; background: var(--card);
  height: 480px;
}

/* ---- Component list (left sidebar) ---- */

.comp-list {
  width: 220px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  overflow-y: auto; padding: 10px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: var(--border-vis) transparent;
}
.comp-list::-webkit-scrollbar { width: 3px; }
.comp-list::-webkit-scrollbar-track { background: transparent; }
.comp-list::-webkit-scrollbar-thumb { background: var(--border-vis); border-radius: 2px; }

.comp-item {
  border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.comp-item:hover { border-color: var(--border-vis); }
.comp-item.active { border-color: var(--gold-border); background: var(--gold-bg); }

.comp-preview {
  padding: 10px 12px;
  background: var(--raised);
  border-bottom: 1px solid var(--border);
  min-height: 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}

.comp-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
}
.comp-name { font-size: 11px; color: var(--text-2); font-weight: 400; }
.comp-jam {
  font-family: var(--mono); font-size: 10px; padding: 3px 8px;
  border: 1px solid var(--gold-border); border-radius: 3px;
  background: var(--gold-bg); color: var(--gold-dim);
  cursor: pointer; letter-spacing: 0.03em; transition: all 0.2s;
  white-space: nowrap;
}
.comp-jam:hover { background: rgba(226,168,50,0.1); color: var(--gold); border-color: var(--gold-dim); }

/* ---- Mini component previews ---- */

.cp-bar { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.cp-bar.small { padding: 2px 0; }
.cp-center { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; }
.cp-center.tight { gap: 3px; padding: 3px 0; }
.cp-three { display: flex; gap: 4px; }
.cp-three.small { gap: 3px; }
.cp-spacer { flex: 1; }
.cp-block { border-radius: 2px; }
.cp-block.dark { background: var(--text-muted); height: 6px; }
.cp-block.light { background: var(--border-vis); height: 6px; }
.cp-block.accent { background: var(--gold-dim); height: 6px; opacity: 0.6; }
.cp-block.gold-bg { background: var(--gold); height: 6px; }
.cp-block.fill { width: 100%; }
.cp-block.w12 { width: 12px; }
.cp-block.w16 { width: 16px; }
.cp-block.w20 { width: 20px; }
.cp-block.w24 { width: 24px; }
.cp-block.w30 { width: 30px; }
.cp-block.w40 { width: 40px; }
.cp-block.w50 { width: 50px; }
.cp-block.w60 { width: 60px; }
.cp-block.h2 { height: 4px; }
.cp-block.h3 { height: 5px; }
.cp-block.h4 { height: 8px; }
.cp-block.h6 { height: 10px; }
.cp-minicard {
  flex: 1; background: var(--surface); border-radius: 3px; padding: 5px 4px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.cp-minicard.gold-border { border-color: rgba(226,168,50,0.35); }
.cp-input {
  width: 80%; height: 8px; border: 1px solid var(--border-vis); border-radius: 2px; background: var(--surface);
}

/* ---- Canvas area (right) ---- */

.canvas-area {
  flex: 1; display: flex; flex-direction: column; background: var(--bg);
}
.canvas-wrap {
  flex: 1; position: relative; overflow: hidden; width: 100%; height: 100%;
}


/* ================================================================
   PRIVACY
   ================================================================ */

.privacy { padding-top: 60px; padding-bottom: 80px; }
.privacy h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 300; margin-bottom: 12px; letter-spacing: -0.02em; color: var(--text); }
.privacy h2 em { font-style: normal; color: var(--gold); }
.privacy .desc { font-size: 13px; font-weight: 300; color: var(--text-3); margin-bottom: 40px; max-width: 600px; line-height: 1.8; }

.privacy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 32px;
}

.prv-card {
  padding: 28px 24px; background: rgba(20, 18, 16, 0.7);
  border: 1px solid var(--border); border-radius: 6px;
  backdrop-filter: blur(4px);
  transition: border-color 0.3s;
}
.prv-card:hover { border-color: var(--border-vis); }
.prv-icon { font-size: 18px; color: var(--text-muted); margin-bottom: 14px; }
.prv-card h4 { font-size: 14px; font-weight: 500; margin-bottom: 10px; color: var(--text); }
.prv-card p { font-size: 12px; font-weight: 300; color: var(--text-3); line-height: 1.7; }

.prv-ascii {
  max-width: 480px;
}
.prv-ascii pre {
  padding: 16px 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 11px; line-height: 1.5; color: var(--text-3);
  font-family: var(--mono); white-space: pre; overflow-x: auto;
}


/* ================================================================
   PRICING
   ================================================================ */

.pricing { padding-top: 60px; padding-bottom: 100px; }
.pricing h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 300; margin-bottom: 12px; letter-spacing: -0.02em; }
.pricing .desc { font-size: 13px; font-weight: 300; color: var(--text-3); margin-bottom: 40px; }
.pricing-stack { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }

.price-free {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px;
  background: rgba(20, 18, 16, 0.7); border: 1px solid var(--border); border-radius: 6px;
}
.pf-tier { font-size: 14px; font-weight: 500; color: var(--text-2); flex-shrink: 0; min-width: 44px; }
.pf-features { flex: 1; font-size: 12px; font-weight: 300; color: var(--text-3); letter-spacing: 0.02em; }
.pf-btn { flex-shrink: 0; }

.price-jam {
  padding: 32px 28px;
  background: rgba(20, 18, 16, 0.7); border: 1px solid var(--gold-border); border-radius: 6px;
  backdrop-filter: blur(4px);
  transition: box-shadow 0.5s;
}
.pj-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.pj-tier { font-size: 10px; color: var(--gold-dim); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.pj-sub { font-size: 13px; font-weight: 300; color: var(--text-2); }
.pj-amount { font-size: 36px; font-weight: 800; color: var(--text); flex-shrink: 0; line-height: 1; }
.pj-amount small { font-size: 13px; font-weight: 300; color: var(--text-3); }
.pj-tiers { margin-bottom: 24px; }
.pj-tier-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-bottom: 1px dashed var(--border);
  font-size: 12px; font-weight: 300;
}
.pj-tier-row:last-child { border-bottom: none; }
.ptr-label { flex: 1; color: var(--text-3); }
.ptr-price { font-weight: 600; color: var(--text-2); min-width: 36px; text-align: right; }
.pj-tier-row.active { background: var(--gold-bg); border-radius: 4px; border-bottom-color: transparent; }
.pj-tier-row.active .ptr-label { color: var(--text-2); }
.pj-tier-row.active .ptr-price { color: var(--gold); font-size: 14px; }

.pj-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.pj-features { list-style: none; }
.pj-features li { font-size: 12px; font-weight: 300; color: var(--text-2); padding: 5px 0; }
.pj-features li::before { content: '\2014 '; color: var(--text-muted); }
.pj-preview {
  padding: 12px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 10px; line-height: 1.25; color: var(--text-muted); white-space: pre; overflow: hidden;
  font-family: var(--mono);
}
.pj-btn { width: 100%; text-align: center; }


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

.cta-section { padding-top: 80px; padding-bottom: 140px; text-align: center; }
.cta-section h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-section h2 .gold { color: var(--gold); }
.cta-section > .section-inner > p { font-size: 13px; font-weight: 300; color: var(--text-3); margin-bottom: 36px; }

.cta-btn {
  font-family: var(--mono); font-size: 14px; padding: 14px 36px;
  background: var(--gold); border: 1px solid var(--gold);
  color: var(--bg); font-weight: 600; border-radius: 4px; cursor: pointer;
  letter-spacing: 0.03em; box-shadow: 0 0 24px var(--gold-glow);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1); text-decoration: none; display: inline-block;
}
.cta-btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: 0 0 40px rgba(226,168,50,0.25); }

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(226,168,50,0.15), 0 0 60px rgba(226,168,50,0.05); }
  50% { box-shadow: 0 0 50px rgba(226,168,50,0.3), 0 0 90px rgba(226,168,50,0.1); }
}
.cta-note { font-size: 11px; color: var(--text-muted); margin-top: 20px; }


/* ================================================================
   FOOTER
   ================================================================ */

footer { position: relative; z-index: 1; padding: 32px 32px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 960px; margin: 0 auto; display: flex; align-items: center; gap: 24px;
  font-size: 10px; color: var(--text-muted); letter-spacing: 0.04em;
}
.footer-brand { font-weight: 500; color: var(--text-muted); }
.footer-brand b { color: var(--text-2); }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-2); }


/* ================================================================
   SHARED ANIMATIONS
   ================================================================ */



/* ================================================================
   CLI TERMINAL
   ================================================================ */

.cli {
  position: fixed; bottom: 24px; right: 24px;
  width: 440px; max-height: 340px;
  background: rgba(20, 18, 16, 0.97); border: 1px solid var(--border);
  border-radius: 6px; box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 600; display: flex; flex-direction: column; overflow: hidden;
  font-family: var(--mono);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.cli.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cli.minimized { max-height: 36px; }
.cli.minimized .cli-body { display: none; }

.cli-bar {
  display: flex; align-items: center; padding: 9px 14px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
  cursor: pointer; user-select: none;
}
.cli-dots { display: flex; gap: 6px; margin-right: 10px; }
.cli-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-vis); }
.cli-dots span:first-child { background: #d45; }
.cli-title { font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; flex: 1; }
.cli-toggle { font-size: 10px; color: var(--text-ghost); cursor: pointer; padding: 2px; }

.cli-body {
  flex: 1; overflow-y: auto; padding: 12px 16px;
  font-size: 12px; line-height: 1.6;
  scrollbar-width: thin; scrollbar-color: var(--border-vis) transparent;
}
.cli-body::-webkit-scrollbar { width: 3px; }
.cli-body::-webkit-scrollbar-track { background: transparent; }
.cli-body::-webkit-scrollbar-thumb { background: var(--border-vis); border-radius: 2px; }

.cli-line { white-space: pre-wrap; word-break: break-word; }
.cli-line.cmd { color: var(--text-2); }
.cli-line.comment { color: var(--gold-dim); font-style: italic; }
.cli-line.change { color: var(--text-3); }
.cli-line.ok { color: var(--green); }
.cli-line.dim { color: var(--text-muted); }
.cli-line.heading { color: var(--text-3); margin-top: 6px; }

.cli-cursor {
  display: inline-block; width: 7px; height: 15px;
  background: var(--gold-dim); animation: blink 1s step-end infinite;
  vertical-align: text-bottom; margin-left: 2px;
}
.cli::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none; border-radius: 6px;
}


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

@media (max-width: 900px) {
  .canvas-demo { flex-direction: column; height: auto; }
  .comp-list {
    width: 100%; flex-direction: row; overflow-x: auto; overflow-y: hidden;
    border-right: none; border-bottom: 1px solid var(--border);
    flex-shrink: 0; padding: 8px;
  }
  .comp-item { min-width: 160px; flex-shrink: 0; }
  .canvas-area { min-height: 360px; }
}

@media (max-width: 800px) {
  .feat-list { columns: 1; }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .how-steps::before { display: none; }
  .pj-body { grid-template-columns: 1fr; }
  .price-free { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cli { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
  section { padding-left: 16px; padding-right: 16px; }
  .hero-title { font-size: clamp(44px, 12vw, 90px); }
  .cta-section h2 { font-size: 2rem; }
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .privacy-grid { grid-template-columns: 1fr; }
  .hero-col-visual { display: none; }
  .hero-pin { display: none; }
  .hero-inner.hero-split { grid-template-columns: 1fr; gap: 0; }
  .hero-split .hero-col-text { text-align: center; }
  .hero-split .hero-actions { justify-content: center; }
}
