/* CraftStudio Landing Page — Dark creative tool aesthetic */

:root {
  --bg: #06060F;
  --bg-raised: #0C0C1E;
  --bg-card: #10102A;
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --violet: #7B61FF;
  --violet-dim: rgba(123, 97, 255, 0.1);
  --text: #EDECFF;
  --text-muted: #8A8AAD;
  --text-faint: #4A4A66;
  --border: rgba(255, 255, 255, 0.06);
  --font-head: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

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

/* ── NAVBAR ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.brand-mark {
  color: var(--amber);
  font-size: 20px;
}
.nav-links {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 96px 48px 80px;
  align-items: center;
}
.hero-content { max-width: 520px; }
.hero-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 4px;
  padding: 5px 12px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-title br { display: block; }
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
}

/* Code canvas */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.code-canvas {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,166,35,0.08);
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.7;
}
.code-line { color: #A8A7C8; }
.code-line.blank { height: 10px; }
.c-kw  { color: #C792EA; }
.c-fn  { color: #82AAFF; }
.c-str { color: #C3E88D; }
.c-comment { color: #546E7A; font-style: italic; }
.highlight { color: var(--amber); }
.highlight .c-comment { color: rgba(245,166,35,0.6); }

/* ── MANIFESTO ── */
.manifesto {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 50%, var(--bg) 100%);
  padding: 80px 48px;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-text {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  font-style: normal;
  quotes: none;
}
.manifesto-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CAPABILITIES ── */
.capabilities {
  padding: 100px 48px;
  background: var(--bg);
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 60px;
}
.cap-header { margin-bottom: 56px; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.cap-card {
  background: var(--bg-raised);
  padding: 36px 32px;
}
.cap-card--primary {
  background: var(--amber-dim);
  border-left: 2px solid var(--amber);
}
.cap-icon {
  font-size: 24px;
  color: var(--amber);
  margin-bottom: 16px;
  font-family: monospace;
}
.cap-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.cap-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PIPELINE ── */
.pipeline {
  padding: 100px 48px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 100%);
}
.pipeline-header { margin-bottom: 64px; }
.pipeline-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 56px;
}
.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--amber-dim);
  color: rgba(245,166,35,0.3);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.step-body h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}
.pipeline-callout {
  text-align: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-raised);
}
.pipeline-callout em { color: var(--amber); font-style: normal; }

/* ── CLOSING ── */
.closing {
  padding: 120px 48px 100px;
  text-align: center;
  background: var(--bg);
}
.closing-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FOOTER ── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-faint);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 28px 48px; gap: 40px; }
  .hero-visual { order: -1; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .pipeline-steps { flex-direction: column; gap: 16px; }
  .step-connector { width: 40px; height: 1px; }
  .navbar { padding: 20px 28px; }
  .capabilities, .pipeline, .closing { padding: 60px 28px; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .cap-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 40px; }
}