/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0d10;
  --surface: #13161c;
  --surface2: #1a1e27;
  --border: #222838;
  --fg: #e8edf5;
  --fg-muted: #8892a4;
  --fg-subtle: #555f72;
  --teal: #14b8a6;
  --teal-dim: #0d9488;
  --amber: #f59e0b;
  --red: #ef4444;
  --green: #22c55e;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === SECTION SHARED === */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-header {
  margin-bottom: 56px;
}
.section-headline {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* === HERO === */
.hero { padding: 80px 24px 96px; }
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; margin-bottom: 48px; }
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #0b0d10;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-dim); }
.btn-ghost {
  display: inline-block;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--fg); }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-number {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
}
.proof-label { font-size: 0.75rem; color: var(--fg-subtle); }
.proof-divider { width: 1px; height: 32px; background: var(--border); }

/* Terminal card */
.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.terminal-bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.terminal-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #22c55e; }
.terminal-title {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
  margin-left: 8px;
}
.terminal-body { padding: 20px; }
.chat-msg { margin-bottom: 20px; }
.chat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.chat-text { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.5; }
.chat-suggestions { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.suggestion-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.suggest-status {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 4px;
}
.suggest-status.green { background: rgba(34,197,94,0.15); color: var(--green); }
.suggest-status.amber { background: rgba(245,158,11,0.15); color: var(--amber); }
.suggest-name { font-size: 0.82rem; font-weight: 600; color: var(--fg); }
.suggest-reason { font-size: 0.72rem; color: var(--fg-subtle); }
.chat-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
}
.chat-placeholder { font-size: 0.8rem; color: var(--fg-subtle); }
.chat-send { color: var(--teal); display: flex; align-items: center; }

/* === FEATURES === */
.features { padding: 96px 24px; background: var(--surface); }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--teal-dim); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 18px;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-desc { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.6; }

/* === CHAT SECTION === */
.chat-section { padding: 96px 24px; background: var(--bg); }
.chat-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.chat-section-headline {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.chat-section-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}
.chat-examples { display: flex; flex-direction: column; gap: 20px; }
.chat-example { border-left: 2px solid var(--teal-dim); padding-left: 20px; }
.example-q { font-size: 0.88rem; font-weight: 600; color: var(--teal); margin-bottom: 6px; }
.example-a { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.55; }

/* Demo terminal */
.demo-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.demo-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
}
.demo-label { font-size: 0.75rem; color: var(--fg-subtle); }
.demo-messages { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.demo-msg-user {
  background: var(--teal-dim);
  color: #fff;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: 10px;
  max-width: 85%;
  align-self: flex-end;
}
.demo-msg-bot { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.demo-bot-label { font-size: 0.7rem; font-weight: 600; color: var(--teal); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; }
.demo-bot-body { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 14px; }
.demo-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.demo-item { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; }
.demo-item-name { font-size: 0.82rem; font-weight: 600; color: var(--fg); display: block; margin-bottom: 3px; }
.demo-item-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 3px;
}
.demo-item-tag.urgent { background: rgba(239,68,68,0.15); color: var(--red); }
.demo-item-tag.warning { background: rgba(245,158,11,0.15); color: var(--amber); }
.demo-item-detail { font-size: 0.72rem; color: var(--fg-subtle); }
.demo-action { }
.demo-action-btn {
  display: inline-block;
  background: var(--teal);
  color: #0b0d10;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.demo-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
}
.demo-input-text { font-size: 0.8rem; color: var(--fg-subtle); }
.demo-send-icon { color: var(--teal); display: flex; }

/* === OPERATIONS === */
.operations { padding: 96px 24px; background: var(--surface); }
.operations-inner { max-width: 1100px; margin: 0 auto; }
.ops-steps { display: flex; flex-direction: column; gap: 0; }
.ops-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.ops-step:last-child { border-bottom: none; }
.ops-step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg-subtle);
  letter-spacing: -0.04em;
}
.ops-step-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.ops-step-desc { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; max-width: 600px; }

/* === PRICING === */
.pricing { padding: 96px 24px; background: var(--bg); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal-dim);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #0b0d10;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.price-amount { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--fg); letter-spacing: -0.04em; }
.price-period { font-size: 0.85rem; color: var(--fg-muted); }
.pricing-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.55; margin-bottom: 28px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--fg-muted); }
.pricing-feature svg { color: var(--teal); flex-shrink: 0; }
.pricing-cta {
  display: block;
  text-align: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  transition: border-color 0.2s;
}
.pricing-cta:hover { border-color: var(--fg-muted); }
.cta-featured { background: var(--teal); color: #0b0d10; border-color: var(--teal); }
.cta-featured:hover { background: var(--teal-dim); border-color: var(--teal-dim); }

/* === CLOSING === */
.closing { padding: 96px 24px; background: var(--surface); }
.closing-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}
.closing-cta {
  display: inline-block;
  background: var(--teal);
  color: #0b0d10;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 10px;
  transition: background 0.2s;
}
.closing-cta:hover { background: var(--teal-dim); }

/* === FOOTER === */
.footer { padding: 64px 24px 40px; background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--fg); margin-bottom: 10px; }
.footer-tagline { font-size: 0.85rem; color: var(--fg-muted); max-width: 260px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 0.85rem; color: var(--fg-muted); transition: color 0.2s; }
.footer-link:hover { color: var(--fg); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-copy { font-size: 0.78rem; color: var(--fg-subtle); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .chat-section-inner { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 20px 72px; }
  .features, .chat-section, .operations, .pricing, .closing { padding: 64px 20px; }
  .ops-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .ops-step-num { font-size: 1.5rem; }
}