/* ===========================
   BUILDSSHIP — Theme CSS
   =========================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --fg: #f5f0e8;
  --fg-muted: #9a9588;
  --accent: #ff6b2c;
  --accent-dim: rgba(255, 107, 44, 0.12);
  --border: #2a2a2a;
  --terminal-bg: #0f0f0f;
  --terminal-border: #1e1e1e;
}

/* --- Typography --- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Syne', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono, .tb-line, .terminal-body, .tb-title, .mono-label, .tb-prompt, .tb-done, .tb-active, .blinking {
  font-family: 'DM Mono', 'Courier New', monospace;
}

/* --- Layout --- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'DM Mono', monospace;
}

.section-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 4rem;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,44,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid rgba(255,107,44,0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  font-family: 'DM Mono', monospace;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

.day-count {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--fg);
  display: block;
}

.headline-sub {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.mono-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  font-family: 'DM Mono', monospace;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #0a0a0a;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  font-family: 'Syne', sans-serif;
}

.hero-btn:hover {
  background: #ff8a4d;
  transform: translateY(-1px);
}

.arrow {
  font-size: 1.1rem;
}

.hero-footnote {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #555;
  font-family: 'DM Mono', monospace;
}

/* Terminal Widget */
.terminal-widget {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,107,44,0.05);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #141414;
  border-bottom: 1px solid #1e1e1e;
}

.tb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

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

.tb-title {
  font-size: 0.7rem;
  color: #555;
  margin-left: 0.5rem;
  font-family: 'DM Mono', monospace;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tb-line {
  font-size: 0.8rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Mono', monospace;
}

.tbl-prompt {
  color: var(--accent);
  font-weight: 700;
  min-width: 1rem;
}

.tbl-done {
  color: #28c840;
  min-width: 1rem;
  display: inline-block;
  text-align: center;
}

.tbl-active {
  color: var(--accent);
  min-width: 1rem;
  display: inline-block;
}

.blinking {
  color: #e8e3d9;
  animation: blink 1.2s step-end infinite;
}

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

.terminal-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #1e1e1e;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tf-tag {
  font-size: 0.65rem;
  font-family: 'DM Mono', monospace;
  padding: 0.25rem 0.6rem;
  background: rgba(255,107,44,0.1);
  color: var(--accent);
  border-radius: 3px;
  letter-spacing: 0.05em;
}

/* Hero Stats */
.hero-stats {
  max-width: 1100px;
  margin: 5rem auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: center;
}

.stat-div {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* --- HOW IT WORKS --- */
.how {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
}

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

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.step-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* --- EMPLOYEE --- */
.employee {
  padding: 8rem 2rem;
  background: var(--bg-2);
}

.emp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.emp-card {
  background: var(--bg-2);
  padding: 2.5rem;
}

.emp-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.emp-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.emp-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* --- MANIFESTO --- */
.manifesto {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.manifesto-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--fg-muted);
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
  margin: 0 0 5rem;
  max-width: 700px;
  line-height: 1.6;
  font-style: normal;
}

.manifesto-gap {}

.gap-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 3rem;
}

.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.gap-col-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
}

.gap-col-title.old { color: #666; }
.gap-col-title.new { color: var(--accent); }

.gap-col-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* --- PRICING --- */
.pricing {
  padding: 8rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin-bottom: 2rem;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
}

.pc-badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  font-family: 'DM Mono', monospace;
}

.pc-name {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  font-family: 'DM Mono', monospace;
}

.pc-price {
  margin-bottom: 1.5rem;
}

.pc-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--fg);
}

.pc-period {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-left: 0.25rem;
}

.pc-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pc-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pc-features li {
  font-size: 0.85rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Mono', monospace;
}

.pc-features li::before {
  content: '→';
  color: var(--accent);
  font-size: 0.8rem;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.pricing-note a {
  color: var(--accent);
  text-decoration: none;
}

/* --- CLOSING --- */
.closing {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- FOOTER --- */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-name {
  font-size: 1.2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-family: 'DM Mono', monospace;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: #444;
  font-family: 'DM Mono', monospace;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-div {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
  }

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

  .emp-grid {
    grid-template-columns: 1fr;
  }

  .gap-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}