/* ===== Reset & Base ===== */

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

:root {
  --bg: #0e0e10;
  --bg-alt: #141418;
  --surface: #1c1c22;
  --border: #2a2a32;
  --text: #e8e6e3;
  --text-secondary: #9a9a9a;
  --text-muted: #6a6a6a;
  --accent: #c8c4be;
  --accent-hover: #e8e6e3;
  --code-bg: #1a1a20;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1080px;
  --section-padding: 120px 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--accent-hover);
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--code-bg);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border);
}


/* ===== Top Banner ===== */

.top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: #2563eb;
  border-bottom: none;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
}

.top-banner:hover {
  background: #1d4ed8;
  color: #fff;
}

.top-banner-text {
  color: inherit;
}

.top-banner-arrow {
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.15s;
}

.top-banner:hover .top-banner-arrow {
  transform: translateX(2px);
  color: #fff;
}


/* ===== Nav ===== */

.nav {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-logo:hover {
  color: var(--text);
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 450;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px !important;
  transition: opacity 0.15s;
}

.nav-cta:hover {
  opacity: 0.85;
  color: var(--bg) !important;
}


/* ===== Hero ===== */

.hero {
  padding: 198px 24px 100px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 64px;
}


/* ===== Buttons ===== */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: 0.85;
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-lg {
  font-size: 16px;
  padding: 14px 36px;
}


/* ===== Terminal ===== */

.hero-terminal {
  max-width: 540px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  background: var(--surface);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.terminal-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  font-family: var(--mono);
}

.terminal-body {
  padding: 16px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
}

.terminal-line {
  display: flex;
  gap: 8px;
}

.terminal-prompt {
  color: var(--text-muted);
  user-select: none;
}

.terminal-cmd {
  color: var(--text);
}

.terminal-output span {
  color: var(--text-secondary);
}

.terminal-highlight span {
  color: var(--text);
}

.terminal-spacer {
  height: 16px;
}

.terminal-fade {
  color: var(--text-muted) !important;
  font-size: 12px;
}


/* ===== Sections ===== */

.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-narrow {
  max-width: 680px;
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 56px;
}


/* ===== Steps ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-family: var(--mono);
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ===== Cards ===== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--text-muted);
}

.card-icon {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-audience {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}


/* ===== Features Grid ===== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.feature h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ===== Testimonial ===== */

.testimonial {
  text-align: center;
  border: none;
  padding: 0;
}

.testimonial p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial cite {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;
}


/* ===== Reading List ===== */

.reading-list {
  margin-bottom: 56px;
}

.reading-list-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.reading-list-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reading-item {
  display: block;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.reading-item:hover {
  border-color: var(--text-muted);
}

.reading-item-company {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.reading-item-title {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}


/* ===== Why Built ===== */

.why-built {
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.why-built h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.why-built p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}


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

.section-cta {
  text-align: center;
}

.section-cta h2 {
  margin-bottom: 16px;
}

.section-cta p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-note {
  font-size: 14px !important;
  color: var(--text-muted) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}


/* ===== Footer ===== */

.footer {
  border-top: 1px solid var(--border);
  padding: 24px;
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-secondary);
}


/* ===== Options Grid ===== */

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0 40px;
}

.option-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.option-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.option-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.option-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.options-coda {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}


/* ===== Pricing Split ===== */

.pricing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  text-align: left;
}

.pricing-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.pricing-tier {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}


/* ===== Responsive ===== */

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 20px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .top-banner {
    font-size: 12px;
    padding: 8px 16px;
  }

  .hero {
    padding: 156px 20px 60px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .steps,
  .cards,
  .features-grid,
  .options-grid,
  .pricing-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-terminal {
    max-width: 100%;
  }

  .testimonial p {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .section h2 {
    font-size: 26px;
  }
}
