@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Outfit:wght@300;400;600;800&display=swap');

/* ── Design tokens ── */
:root {
  --bg: #0a0e14;
  --bg2: #0f1419;
  --bg3: #151b23;
  --bg4: #1a2130;
  --text: #e6edf3;
  --text2: #8b949e;
  --text3: #484f58;
  --accent: #58a6ff;
  --green: #3fb950;
  --orange: #d29922;
  --red: #f85149;
  --purple: #bc8cff;
  --border: #21262d;
}

/* ── Page wrapper ── */
.mute-landing {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  margin: -2rem -1rem 0;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(88,166,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(188,140,255,0.04) 0%, transparent 50%);
  animation: mute-drift 20s ease-in-out infinite alternate;
}

@keyframes mute-drift {
  0%   { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(-3%,2%) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text2);
  margin-bottom: 1rem;
  font-weight: 300;
}

.tagline-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text3);
  margin-bottom: 3rem;
}

.tagline-sub strong {
  color: var(--green);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
}

.btn:hover { transform: translateY(-1px); opacity: 0.9; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.3rem;
}

.replaces {
  font-size: 0.8rem;
  color: var(--text3);
  margin-top: 1rem;
}

.replaces span {
  text-decoration: line-through;
  opacity: 0.5;
  margin: 0 0.3rem;
}

/* ── Sections ── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--text);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 700px;
  margin-bottom: 3rem;
}

/* ── Grids ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
}

/* ── Cards ── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: rgba(88,166,255,0.2);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card p {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.6;
  margin: 0;
}

.card a { color: var(--accent); font-size: 0.85rem; }

/* ── Divider ── */
.divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Pills ── */
.pill-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pill {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  color: var(--text2);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  display: inline-block;
}

.pill.accent  { border-color: rgba(88,166,255,0.3);  color: var(--accent); }
.pill.green   { border-color: rgba(63,185,80,0.3);   color: var(--green);  }
.pill.purple  { border-color: rgba(188,140,255,0.3); color: var(--purple); }

/* ── Architecture strip ── */
.arch-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
  overflow-x: auto;
}

.arch-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.arch-node {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  text-align: center;
  min-width: 110px;
}

.arch-node-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
}

.arch-node-desc {
  font-size: 0.6rem;
  color: var(--text3);
}

.arch-arrow {
  color: var(--text3);
  font-size: 1.2rem;
}

/* ── Comparison table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.compare-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--border);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text2);
}

.compare-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}

.compare-table tr:hover td { background: var(--bg2); }
.compare-table .yes { color: var(--green); }
.compare-table .no  { color: var(--text3); }
.compare-table .mute-col { color: var(--accent); font-weight: 600; }

/* ── Deploy box ── */
.deploy-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--green);
  overflow-x: auto;
}

.deploy-box .comment { color: var(--text3); }

/* ── Pricing ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.price-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.price-card:hover  { border-color: rgba(88,166,255,0.3); }
.price-card.featured { border-color: var(--accent); }

.price-tier {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text3);
  margin-bottom: 0.5rem;
}

.price-amt {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.price-per {
  font-size: 0.7rem;
  color: var(--text3);
  margin-bottom: 1.25rem;
}

.price-feat {
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 2;
  text-align: left;
}

.price-feat .check { color: var(--green); margin-right: 0.4rem; }

/* ── Hostile banner ── */
.hostile-banner {
  background: linear-gradient(135deg, rgba(248,81,73,0.05) 0%, rgba(210,153,34,0.05) 100%);
  border: 1px solid rgba(248,81,73,0.15);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 2rem;
}

.hostile-banner h3 {
  color: var(--orange);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.hostile-banner p {
  color: var(--text2);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--purple), var(--green));
  border-radius: 2px;
}

.tl-item {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -0.35rem;
  top: 0.35rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.tl-item:nth-child(2)::before { border-color: var(--purple); }
.tl-item:nth-child(3)::before { border-color: var(--green);  }

.tl-phase {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.tl-item:nth-child(2) .tl-phase { color: var(--purple); }
.tl-item:nth-child(3) .tl-phase { color: var(--green);  }

.tl-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.tl-desc {
  font-size: 0.82rem;
  color: var(--text2);
}

/* ── Bottom line ── */
.bottom-line {
  text-align: center;
  padding-bottom: 2rem;
}

.bottom-line .section-title {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.bottom-line .section-intro {
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 3rem 1.25rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.6rem; }
  .section { padding: 3rem 1.25rem; }
  .compare-table { font-size: 0.75rem; }
  .compare-table td,
  .compare-table th { padding: 0.5rem; }
}
