/* ============================================================
   ShipForge — Industrial Forge Aesthetic
   Dark charcoal + molten amber + steel
   ============================================================ */

/* --- Variables --- */
:root {
  --bg: #0d0d12;
  --bg-2: #13131a;
  --bg-3: #191922;
  --fg: #f0ede8;
  --fg-2: #9e9aa8;
  --fg-3: #5c5866;
  --accent: #ff6b2c;
  --accent-dim: rgba(255, 107, 44, 0.15);
  --accent-glow: rgba(255, 107, 44, 0.08);
  --border: #25252f;
  --border-2: #1d1d27;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: 'Outfit', sans-serif; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--border-2);
  background: rgba(13,13,18,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 100px 2rem 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 20%; left: 30%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,44,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-label {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255,107,44,0.3);
  background: var(--accent-dim);
  padding: 4px 12px; border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-headline br { display: block; }
.hero-sub {
  font-size: 1.1rem; color: var(--fg-2);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex; align-items: center; gap: 0;
}
.stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0 1.5rem;
}
.stat:first-child { padding-left: 0; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.5rem;
  color: var(--accent);
}
.stat-label { font-size: 0.8rem; color: var(--fg-3); }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* --- Terminal --- */
.hero-terminal {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,107,44,0.05) inset;
}
.terminal-bar {
  background: var(--bg-3);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title {
  margin-left: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem; color: var(--fg-3);
}
.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: 'Outfit', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
}
.t-line { color: var(--fg-2); }
.t-line.t-dim { color: var(--fg-3); }
.t-line.t-green { color: #4ade80; }
.t-prompt { color: var(--accent); font-weight: 600; }
.t-input { color: var(--fg); }
.t-cursor { animation: blink 1.2s step-end infinite; }
.t-divider { height: 1px; background: var(--border); margin: 0.75rem 0; }
@keyframes blink { 50% { opacity: 0; } }

/* --- How --- */
.how {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-2);
}
.how-header { margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--fg);
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 2rem 0; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.step-body { font-size: 0.9rem; color: var(--fg-2); line-height: 1.65; }
.step-arrow {
  display: flex; align-items: center;
  padding: 3rem 1.5rem 0;
  opacity: 0.5;
}

/* --- Features --- */
.features {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-2);
}
.features-header { margin-bottom: 3.5rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  overflow: hidden;
}
.feat {
  background: var(--bg-2);
  padding: 2rem;
  transition: background 0.2s;
}
.feat:hover { background: var(--bg-3); }
.feat-icon { margin-bottom: 1.25rem; }
.feat-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.feat-body { font-size: 0.85rem; color: var(--fg-2); line-height: 1.6; }

/* --- Manifesto --- */
.manifesto {
  background: var(--bg-2);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  padding: 100px 2rem;
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}
.manifesto-bar {
  width: 40px; height: 3px;
  background: var(--accent);
  margin-bottom: 2rem;
  border-radius: 1px;
}
.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-style: normal;
}
.manifesto-body {
  font-size: 1.05rem; color: var(--fg-2);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.manifesto-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3);
}

/* --- Closing --- */
.closing {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.closing-inner { text-align: center; }
.closing-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1rem;
}
.closing-body {
  font-size: 1.05rem; color: var(--fg-2);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.closing-products {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.75rem;
}
.closing-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  color: var(--fg-3);
  border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 2px;
  background: var(--bg-2);
  letter-spacing: 0.04em;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-2);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  color: var(--fg);
}
.footer-tagline { font-size: 0.8rem; color: var(--fg-3); padding-left: 32px; }
.footer-copy { font-size: 0.8rem; color: var(--fg-3); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; gap: 2.5rem; }
  .hero-headline br { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .stat { padding: 0 1rem; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero { padding: 70px 1.25rem 60px; }
  .how, .features, .manifesto, .closing { padding: 70px 1.25rem; }
  .footer { padding: 2rem 1.25rem; }
}