/* ── Assembl Landing — Dark lab aesthetic ────────────────────────────────── */

:root {
  --bg:          #08080d;
  --bg-card:     #0f0f18;
  --bg-hover:    #161622;
  --text:        #e4e4ec;
  --text-muted:  #7a7a8e;
  --text-dim:    #3e3e52;
  --accent:      #7c6cf0;
  --accent-dim:  rgba(124, 108, 240, 0.12);
  --green:       #4ade80;
  --border:      #1a1a28;
  --radius:      10px;
  --font:        'Inter', -apple-system, sans-serif;
  --mono:        'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }
.dim    { color: var(--text-dim); font-weight: 400; font-size: 0.85rem; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */

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

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 20px !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(124, 108, 240, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 108, 240, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
}

.cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: opacity 0.2s, transform 0.2s;
}
.cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.cta-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.cta-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── Terminal ─────────────────────────────────────────────────────────────── */

.hero-terminal {
  max-width: 600px;
  background: #0c0c14;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal-bar {
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  background: #0f0f18;
  border-bottom: 1px solid var(--border);
}
.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.hero-terminal pre {
  padding: 20px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.8;
  overflow-x: auto;
}
.hero-terminal code { color: var(--text-muted); }
.t-dim    { color: var(--text-dim); }
.t-accent { color: var(--accent); }
.t-green  { color: var(--green); }

/* ── Sections ────────────────────────────────────────────────────────────── */

section {
  padding: 100px 0;
}

section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-header {
  margin-bottom: 56px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Framework Cards ─────────────────────────────────────────────────────── */

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
}

.card-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.card-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-detail span {
  font-size: 0.72rem;
  font-family: var(--mono);
  color: var(--text-dim);
  padding: 3px 8px;
  background: rgba(124, 108, 240, 0.06);
  border: 1px solid rgba(124, 108, 240, 0.1);
  border-radius: 4px;
}

/* ── Split — Framework vs Config ─────────────────────────────────────────── */

.split {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}

.split-col h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.split-col ul {
  list-style: none;
}

.split-col li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.split-col li:last-child { border-bottom: none; }

.li-icon {
  font-size: 0.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.config .li-icon { color: var(--green); }

/* ── Verticals ───────────────────────────────────────────────────────────── */

.verticals .section-sub { margin-bottom: 48px; }

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vertical {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
}
.vertical:hover {
  border-color: var(--accent);
  background: var(--bg-card);
}

.v-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.vertical p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ── Proof — Ruthie ──────────────────────────────────────────────────────── */

.proof-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.proof-name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.proof-role {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.proof-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.link-out {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: opacity 0.2s;
}
.link-out:hover { opacity: 0.8; }

.proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat {
  text-align: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── How It Works — Steps ────────────────────────────────────────────────── */

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

.step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
  position: relative;
}
.step:hover { border-color: var(--accent); }

.step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ── Contact ─────────────────────────────────────────────────────────────── */

.contact {
  text-align: center;
  padding: 140px 0;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .proof-content { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .vertical-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .vertical-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-terminal { display: none; }
}
