:root {
  --bg: #001D27;
  --bg-alt: #002535;
  --accent: #00D4D0;
  --accent-dim: rgba(0, 212, 208, 0.15);
  --accent-glow: rgba(0, 212, 208, 0.3);
  --white: #E8F4F4;
  --muted: #7A9A9A;
  --dark: #00141C;
  --terminal-bg: #001118;
  --max-width: 1000px;
  --border: rgba(0, 212, 208, 0.1);
  --border-strong: rgba(0, 212, 208, 0.2);
  --border-subtle: rgba(0, 212, 208, 0.05);
  --header-bg: rgba(0, 29, 39, 0.9);
}

:root.light {
  --bg: #F0F2F4;
  --bg-alt: #E4E7EB;
  --accent: #00D4D0;
  --accent-dim: rgba(0, 212, 208, 0.12);
  --accent-glow: rgba(0, 212, 208, 0.2);
  --white: #001D27;
  --muted: #4A6A6A;
  --dark: #D8DCE0;
  --terminal-bg: #E8EBEE;
  --border: rgba(0, 29, 39, 0.1);
  --border-strong: rgba(0, 29, 39, 0.2);
  --border-subtle: rgba(0, 29, 39, 0.05);
  --header-bg: rgba(240, 242, 244, 0.9);
}

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

body {
  font-family: 'Martian Mono', monospace;
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  font-size: 14px;
}

.accent { color: var(--accent); }

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 4vw;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.logo-link { text-decoration: none; }
.logo { height: 32px; }
.header nav a {
  color: var(--accent);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 12px;
  font-weight: 400;
  transition: color 0.2s;
}
.header nav a:hover { color: var(--accent); }
.theme-toggle {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  margin-left: 1.5rem;
  padding: 4px;
  transition: color 0.2s;
  font-family: 'Martian Mono', monospace;
}
.theme-toggle:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: 'Martian Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-accent {
  background: var(--accent);
  color: var(--bg);
}
.btn-accent:hover {
  background: #00E8E4;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent-dim);
}

/* Hero */
.hero {
  padding: 120px 4vw 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-reassurance {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1.5rem;
  font-weight: 300;
}

/* Terminal */
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 40px var(--border-subtle);
  max-width: 700px;
}
.terminal-bar {
  background: var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28CA41; }
.terminal-title {
  font-size: 11px;
  color: var(--muted);
}
.terminal-body {
  padding: 20px;
  min-height: 200px;
  max-height: 450px;
  display: flex;
  flex-direction: column;
}
.terminal-output {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 16px;
}
.terminal-line {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 13px;
}
.terminal-line.system {
  color: var(--accent);
}
.terminal-line.user {
  color: var(--white);
}
.terminal-line.user::before {
  content: '› ';
  color: var(--muted);
}
.terminal-line.thinking {
  color: var(--muted);
  font-style: italic;
}
.thinking-spectrum {
  color: var(--accent);
  font-style: normal;
  letter-spacing: 1px;
}
.prompt-symbol {
  color: var(--accent);
  margin-right: 8px;
}
.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Martian Mono', monospace;
  font-size: 13px;
  caret-color: var(--accent);
}
.terminal-input::placeholder {
  color: rgba(122, 154, 154, 0.5);
}
.terminal-send {
  background: transparent;
  border: 1px solid var(--accent-glow);
  color: var(--accent);
  font-size: 14px;
  padding: 4px 10px;
  cursor: pointer;
  font-family: 'Martian Mono', monospace;
  transition: all 0.2s;
}
.terminal-send:hover {
  background: var(--accent-dim);
}

/* Result box shown at end of conversation */
.terminal-result {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1;
}
.result-verdict {
  color: var(--accent);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 13px;
}
.result-box {
  color: var(--accent);
  font-family: 'Martian Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  overflow-x: auto;
}
.result-cta-line a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.result-cta-line a:hover {
  text-decoration: underline;
}
.result-cta {
  margin-top: 1rem;
}
.result-cta-btn {
  font-size: 12px;
}
.result-section {
  margin-top: 1rem;
  line-height: 1.8;
}
.result-section-heading {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.result-item {
  color: var(--muted);
  font-size: 12px;
}

/* Sections */
.section {
  padding: 80px 4vw;
}
.section-alt {
  background: var(--bg-alt);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 500px;
  font-weight: 300;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.pricing-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-dim);
}
.tier-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tier-name {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.tier-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.tier-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.tier-features li {
  font-size: 12px;
  color: var(--white);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.feat-num {
  color: var(--accent);
  font-weight: 600;
}
.tier-example {
  font-size: 11px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}
.pricing-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 650px;
  font-weight: 300;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.step-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

/* The Gap */
.gap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gap-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
}
.gap-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.gap-card p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}
.gap-vibe {
  opacity: 0.5;
}
.gap-us {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.gap-us h3 {
  color: var(--accent);
}
.gap-us p {
  color: var(--white);
}
.gap-trad {
  opacity: 0.5;
}

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-stat {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.why-item h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.why-item p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

/* Not For */
.not-for-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.not-for-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 12px;
  color: var(--muted);
}

/* CTA */
.cta-section {
  text-align: center;
}
.cta-inner h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cta-inner p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  font-weight: 300;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 40px 4vw;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 12px;
  color: var(--muted);
}
.footer-logo {
  height: 5em;
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer-right {
  text-align: left;
}

/* Scrollbar */
.terminal-output::-webkit-scrollbar {
  width: 4px;
}
.terminal-output::-webkit-scrollbar-track {
  background: transparent;
}
.terminal-output::-webkit-scrollbar-thumb {
  background: var(--border-strong);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 100px 6vw 40px; }
  .hero h1 { font-size: 1.4rem; }
  .section { padding: 60px 6vw; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .gap-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .header nav a { margin-left: 1rem; font-size: 11px; }
  .footer-right { text-align: left; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .header nav { display: none; }
}
