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

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1C1917;
  background: #FAFAF9;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1C1917;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-brand img {
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #F97316;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s;
}

.nav-cta:hover { background: #EA580C; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background-color: #FAFAF9;
  background-image: radial-gradient(#DDD9D6 1px, transparent 1px);
  background-size: 24px 24px;
  color: #1C1917;
  padding: 100px 0 80px;
  text-align: center;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F97316;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.30);
  padding: 4px 14px;
  border-radius: 100px;
}

.hero-headline {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: #1C1917;
  max-width: 720px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: #78716C;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: #F97316;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}

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

.btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  color: #6B6561;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: color 0.15s, border-color 0.15s;
}

.btn-ghost:hover { color: #1C1917; border-color: rgba(0, 0, 0, 0.30); }

/* ── Hero Stats ──────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
  padding-top: 40px;
  width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  min-width: 130px;
}

.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: #1C1917;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: #9A9390;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: #F5F4F2; }

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #1C1917;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 16px;
  color: #6B6561;
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ── Feature Cards ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature {
  background: #ffffff;
  border: 1px solid #E7E5E4;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}

.feature:hover { border-color: #F97316; }

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.10);
  border-radius: 8px;
  margin-bottom: 16px;
  color: #F97316;
}

.feature h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1C1917;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: #6B6561;
  line-height: 1.7;
}

/* ── Terminal Chrome ────────────────────────────────────────────────────── */
.terminal {
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #1e293b;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

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

.terminal-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.terminal-dots .dot-red   { background: #ff5f57; }
.terminal-dots .dot-yellow { background: #febc2e; }
.terminal-dots .dot-green  { background: #28c840; }

.terminal-filename {
  font-family: ui-monospace, 'Cascadia Code', Menlo, monospace;
  font-size: 12px;
  color: #64748b;
}

.terminal .code-block {
  border-radius: 0;
  border: none;
  background: #0f172a;
  margin: 0;
}

/* ── Code Blocks ────────────────────────────────────────────────────────── */
.code-block {
  background: #0f172a;
  color: #e2e8f0;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  padding: 18px 20px;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre;
}

.code-block code { background: none; padding: 0; }

.pos { color: #22c55e; }

/* ── Setup ──────────────────────────────────────────────────────────────── */
.setup-tabs {
  display: grid;
  grid-template-columns: minmax(0, 600px);
  gap: 28px;
}

.setup-heading {
  font-size: 15px;
  font-weight: 600;
  color: #1C1917;
  margin-bottom: 10px;
}

.setup-desc {
  font-size: 14px;
  color: #6B6561;
  margin-bottom: 12px;
  line-height: 1.7;
}

.setup-note {
  font-size: 13px;
  color: #6B6561;
  margin-top: 10px;
}

.setup-note code {
  font-family: ui-monospace, 'Cascadia Code', Menlo, monospace;
  font-size: 12px;
  background: #F0EDE9;
  padding: 1px 5px;
  border-radius: 3px;
  color: #292524;
}

.setup-note-box {
  margin-top: 40px;
  max-width: 600px;
  padding: 16px 20px;
  background: rgba(249, 115, 22, 0.07);
  border-left: 3px solid #F97316;
  font-size: 14px;
  color: #C2410C;
  border-radius: 0 6px 6px 0;
}

/* ── Examples ───────────────────────────────────────────────────────────── */
.examples { display: flex; flex-direction: column; gap: 56px; }

.example-prompt {
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid #E7E5E4;
  border-left: 3px solid #F97316;
  border-radius: 0 8px 8px 0;
  padding: 18px 24px;
  margin-bottom: 12px;
}

.example-prompt p {
  font-size: 15px;
  color: #1C1917;
  font-style: italic;
  line-height: 1.6;
}

.example-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B6561;
  margin-bottom: 8px;
}

/* ── CTA Section ────────────────────────────────────────────────────────── */
.cta {
  background-color: #FFF7ED;
  background-image: radial-gradient(#F5D9C0 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 96px 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #1C1917;
  letter-spacing: -0.02em;
}

.cta-note {
  font-size: 14px;
  color: #9A9390;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: #1C1917;
  color: #9A9390;
  padding: 40px 0;
  border-top: 1px solid #2D2825;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand strong { color: #FAFAF9; font-size: 15px; }
.footer-tagline { font-size: 13px; }

.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.footer-nav a {
  color: #9A9390;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-nav a:hover { color: #C9C5C3; }

.footer-email {
  text-align: right;
  font-size: 13px;
}

.footer-email a {
  color: #9A9390;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-email a:hover { color: #C9C5C3; }

/* ── Privacy page ───────────────────────────────────────────────────────── */
.privacy-header {
  background-color: #1C1917;
  background-image: radial-gradient(#2D2825 1px, transparent 1px);
  background-size: 24px 24px;
  color: #f0f4f8;
  padding: 64px 0 56px;
}

.privacy-header h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 20px;
}

.privacy-header p {
  color: #9A9390;
  margin-top: 6px;
  font-size: 14px;
}

.privacy-body {
  padding: 56px 0 80px;
}

.privacy-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1C1917;
  margin: 36px 0 10px;
}

.privacy-body h2:first-child { margin-top: 0; }

.privacy-body p, .privacy-body li {
  font-size: 15px;
  color: #6B6561;
  line-height: 1.75;
  margin-bottom: 10px;
}

.privacy-body ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.privacy-body a { color: #F97316; }

.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #6B6561;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.15s;
}

.back-link:hover { color: #F97316; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .hero-stats { gap: 10px; }
  .stat { padding: 12px 20px; min-width: 110px; }
  .section { padding: 64px 0; }
  .features-grid { gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-nav { justify-content: flex-start; }
  .footer-email { text-align: left; }
}
