/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Nav ───────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1a1a;
}

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

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #555;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.nav-link:hover { color: #fff; }

.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid #333;
  border-radius: 3px;
  color: #fff;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
}

.nav-cta:hover {
  background: #1a1a1a;
  border-color: #444;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 160px 24px 80px;
  text-align: center;
}

#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4a017;
  border: 1px solid #2a2000;
  background: rgba(212, 160, 23, 0.06);
  padding: 6px 16px;
  border-radius: 3px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.accent { color: #d4a017; }

.hero-sub {
  font-size: 17px;
  color: #888;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

kbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 2px 8px;
  color: #fff;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 36px;
  background: #d4a017;
  color: #0a0a0a;
  border: none;
  border-radius: 3px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary:hover { background: #e8b52a; }

.btn-secondary {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 36px;
  background: transparent;
  color: #888;
  border: 1px solid #333;
  border-radius: 3px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary:hover { border-color: #555; color: #fff; }

.btn-outline {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 36px;
  background: transparent;
  color: #fff;
  border: 1px solid #333;
  border-radius: 3px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-outline:hover { border-color: #555; background: #1a1a1a; }

.btn-download {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
  background: #d4a017;
  color: #0a0a0a;
  border-radius: 3px;
  letter-spacing: 0.02em;
  margin-top: 8px;
  transition: all 0.15s ease;
}

.btn-download:hover { background: #e8b52a; }

.btn-full { width: 100%; text-align: center; }

.hero-note {
  font-size: 13px;
  color: #555;
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

/* ─── Demo ──────────────────────────────────────────────────────────────── */
.demo {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.demo-window {
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0f0f0f;
  border-bottom: 1px solid #1a1a1a;
}

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

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #222;
}

.demo-dots span:first-child { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #555;
}

.demo-content {
  display: flex;
  min-height: 280px;
}

.demo-page {
  flex: 1;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-question {
  max-width: 340px;
}

.demo-q-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #555;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.demo-q-text {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 16px;
}

.demo-input {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #fff;
  margin-bottom: 12px;
  min-height: 40px;
}

.demo-cursor {
  animation: blink 1s infinite;
  color: #d4a017;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.demo-correct {
  background: #0d2818;
  border: 1px solid #1a4d2e;
  border-radius: 3px;
  padding: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #4ade80;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-correct.show { opacity: 1; }

.demo-panel {
  width: 220px;
  background: #0a0a0a;
  border-left: 1px solid #1a1a1a;
  padding: 20px 16px;
}

.demo-panel-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 16px;
}

.demo-panel-toggle {
  display: flex;
  border: 1px solid #222;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

.demo-toggle-active,
.demo-toggle-inactive {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 6px 4px;
  text-align: center;
}

.demo-toggle-active {
  background: #1a1a1a;
  color: #fff;
}

.demo-toggle-inactive {
  background: #111;
  color: #555;
}

.demo-panel-card {
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #0f0f0f;
}

.demo-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #444;
  margin-bottom: 4px;
}

.demo-card-answer {
  font-size: 14px;
  color: #e0e0e0;
}

/* ─── Features ──────────────────────────────────────────────────────────── */
.features {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-card {
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  padding: 28px 24px;
  background: #0f0f0f;
  transition: border-color 0.15s ease;
}

.feature-card:hover {
  border-color: #2a2a2a;
}

.feature-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: #d4a017;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ─── How it works ──────────────────────────────────────────────────────── */
.how {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.how h2,
.pricing h2,
.faq h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 40px;
  text-align: center;
}

.steps {
  display: grid;
  gap: 0;
}

.step {
  padding: 24px 0;
  border-bottom: 1px solid #1a1a1a;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #d4a017;
  grid-row: 1 / 3;
  padding-top: 2px;
}

.step h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.step p {
  font-size: 14px;
  color: #666;
}

/* ─── Robot ─────────────────────────────────────────────────────────────── */
.robot-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 60px;
}

.robot-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.robot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: robot-float 3s ease-in-out infinite;
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.robot-antenna {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.robot-antenna-ball {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4a017;
  animation: antenna-glow 2s ease-in-out infinite;
}

@keyframes antenna-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(212, 160, 23, 0.3); }
  50% { box-shadow: 0 0 12px rgba(212, 160, 23, 0.8); }
}

.robot-antenna-stick {
  width: 2px;
  height: 14px;
  background: #333;
}

.robot-head {
  width: 80px;
  height: 60px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  position: relative;
}

.robot-eyes {
  display: flex;
  gap: 16px;
  align-items: center;
}

.robot-eye {
  width: 20px;
  height: 20px;
  background: #0a0a0a;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.robot-pupil {
  width: 8px;
  height: 8px;
  background: #d4a017;
  border-radius: 50%;
  transition: transform 0.1s ease-out;
}

.robot-mouth {
  width: 20px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.robot:hover .robot-mouth {
  width: 14px;
  height: 8px;
  border-radius: 0 0 7px 7px;
  background: #d4a017;
}

.robot-body {
  width: 60px;
  height: 50px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.robot-screen {
  width: 42px;
  height: 10px;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 2px;
}

/* Thought bubble */
.thought-bubble {
  position: absolute;
  right: calc(100% + 16px);
  top: 4px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 6px 14px;
  white-space: nowrap;
}

.thought-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #d4a017;
  letter-spacing: 0.03em;
}

.thought-dot {
  position: absolute;
  background: #2a2a2a;
  border-radius: 50%;
}

.thought-dot-1 {
  width: 8px;
  height: 8px;
  right: -12px;
  bottom: 4px;
}

.thought-dot-2 {
  width: 5px;
  height: 5px;
  right: -6px;
  bottom: -2px;
}

.robot-feet {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.robot-foot {
  width: 18px;
  height: 8px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0 0 4px 4px;
}

.robot-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #333;
  margin-top: 20px;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.robot-section:hover .robot-caption {
  color: #555;
}

/* ─── Download page ────────────────────────────────────────────────────── */
.download-hero {
  max-width: 600px;
  margin: 0 auto;
  padding: 160px 24px 60px;
  text-align: center;
}

.download-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #d4a017;
  color: #d4a017;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: check-pop 0.4s ease-out;
}

@keyframes check-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.download-hero h1 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.download-sub {
  font-size: 14px;
  color: #555;
}

.download-sub a {
  color: #d4a017;
  text-decoration: underline;
}

.download-steps {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.download-steps h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 40px;
  text-align: center;
}

.download-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #1a1a1a;
  margin-top: 20px;
}

.download-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #555;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

/* ─── Privacy page ─────────────────────────────────────────────────────── */
.privacy-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.privacy-page h1 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.privacy-updated {
  font-size: 12px;
  color: #555;
  margin-bottom: 40px;
}

.privacy-section {
  margin-bottom: 32px;
}

.privacy-section h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #d4a017;
  margin-bottom: 10px;
}

.privacy-section p {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 8px;
}

.privacy-section ul {
  list-style: none;
  padding: 0;
}

.privacy-section li {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.privacy-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #333;
}

.privacy-section a {
  color: #d4a017;
  text-decoration: underline;
}

/* ─── Install ───────────────────────────────────────────────────────────── */
.install {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.install-steps {
  display: grid;
  gap: 0;
}

.install-step {
  padding: 24px 0;
  border-bottom: 1px solid #1a1a1a;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 20px;
  align-items: start;
}

.install-step:last-child { border-bottom: none; }

.install-step h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.install-step p {
  font-size: 14px;
  color: #666;
}

/* ─── Pricing ───────────────────────────────────────────────────────────── */
.pricing {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.price-card {
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  padding: 36px 32px;
  background: #0f0f0f;
  text-align: center;
  position: relative;
}

.price-card-featured {
  border-color: #2a2000;
}

.price-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #0a0a0a;
  background: #d4a017;
  padding: 3px 12px;
  border-radius: 0 0 3px 3px;
}

.price-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #d4a017;
  margin-bottom: 16px;
}

.price-amount {
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.price-period {
  font-size: 16px;
  font-weight: 400;
  color: #555;
}

.price-features {
  margin: 28px 0;
  text-align: left;
}

.price-features li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #888;
  padding: 8px 0;
  border-bottom: 1px solid #1a1a1a;
  letter-spacing: 0.02em;
}

.price-features li::before {
  content: "+";
  color: #d4a017;
  margin-right: 10px;
  font-weight: 600;
}

.price-features li:last-child { border-bottom: none; }

.price-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #444;
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid #1a1a1a;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.faq-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid #1a1a1a;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #444;
  letter-spacing: 0.02em;
}

.footer-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: 8px;
  display: inline-block;
}

.footer-link:hover {
  color: #d4a017;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .demo-content { flex-direction: column; }
  .demo-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid #1a1a1a;
  }
  .hero { padding-top: 120px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a { text-align: center; }
}
