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

:root {
  --bg: #080b14;
  --bg-surface: #0d1117;
  --bg-raised: #111827;
  --fg: #e2e8f0;
  --fg-dim: #94a3b8;
  --fg-faint: #64748b;
  --accent: #06b6d4;
  --accent-deep: #0891b2;
  --accent-glow: rgba(6, 182, 212, 0.08);
  --accent-border: rgba(6, 182, 212, 0.2);
  --border: #1e293b;
  --border-light: rgba(255,255,255,0.06);
  --code-bg: #151d2e;
  --code-fg: #cdd6f4;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --max-prose: 780px;
  --max-wide: 1060px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: #22d3ee; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max-prose); margin: 0 auto; padding: 0 1.5rem; }
.wrap--wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 1.5rem; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.topbar .inner {
  max-width: var(--max-wide); margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-weight: 700; font-size: 1.25rem;
  color: var(--accent); letter-spacing: -0.02em;
}
.brand:hover { color: var(--accent); text-decoration: none; }
.brand img { height: 52px; width: auto; }

.nav-links { display: flex; gap: 1.5rem; font-size: 0.95rem; font-weight: 500; }
.nav-links a { color: var(--fg-dim); }
.nav-links a:hover { color: #fff; }

.hero {
  position: relative;
  padding: 8rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .wrap--wide { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1; letter-spacing: -0.03em;
  color: #fff;
  max-width: 900px; margin: 0 auto 1.5rem;
  animation: fadeUp 0.7s ease both;
}

.hero .sub {
  font-size: 1.25rem; line-height: 1.65; color: var(--fg-dim);
  max-width: 640px; margin: 0 auto 2.5rem;
  animation: fadeUp 0.7s ease 0.12s both;
}

.hero .cta-row {
  display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.7s ease 0.24s both;
}

.hero .screenshot { animation: fadeUp 0.8s ease 0.4s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.3rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; font-family: inherit;
  cursor: pointer; border: 1.5px solid transparent; transition: all 0.2s;
}

.cta--primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
  font-family: var(--mono); font-weight: 500; font-size: 0.9rem;
}
.cta--primary:hover {
  background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.3);
}

.cta--secondary {
  background: transparent; color: var(--fg-dim); border-color: var(--border);
}
.cta--secondary:hover {
  color: #fff; border-color: rgba(255,255,255,0.25); text-decoration: none;
  transform: translateY(-2px);
}

.screenshot {
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2);
  margin: 2rem auto;
}

.hero .screenshot {
  max-width: 780px; margin-top: 0;
  border-color: var(--border);
  box-shadow: 0 0 80px rgba(6,182,212,0.08), 0 24px 80px rgba(0,0,0,0.5);
}

main { padding-bottom: 2rem; }

section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

section:first-of-type { border-top: none; }

section h2 {
  font-family: var(--sans); font-weight: 700;
  font-size: 2.1rem; line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 1.4rem; color: #fff;
}

section p { color: var(--fg-dim); margin-bottom: 1rem; }
section p:last-child { margin-bottom: 0; }

.problem-quote {
  font-family: var(--mono); font-weight: 500;
  font-size: 1.35rem; line-height: 1.55; letter-spacing: -0.01em;
  color: var(--fg); max-width: 640px;
  margin: 0 auto 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}

.problem-answer {
  font-size: 1.05rem; line-height: 1.75; color: var(--fg-dim);
  max-width: 640px; margin: 0 auto;
}

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  max-width: var(--max-wide); margin: 0 auto;
}

.steps {
  list-style: none; counter-reset: step; padding: 0;
}

.steps li {
  counter-increment: step; position: relative;
  padding-left: 3rem; margin-bottom: 1.6rem;
}

.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--accent-glow); border: 1.5px solid var(--accent);
  color: var(--accent); font-family: var(--sans); font-weight: 700;
  font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
}

.steps li strong { font-weight: 600; color: var(--fg); }
.steps li p { margin: 0.2rem 0 0; color: var(--fg-dim); font-size: 0.95rem; }

.compare-wrap {
  max-width: var(--max-wide); margin: 2rem auto 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}

.compare { width: 100%; border-collapse: collapse; font-size: 0.88rem; line-height: 1.4; }

.compare th, .compare td {
  padding: 0.7rem 0.65rem; text-align: center;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}

.compare th {
  font-weight: 600; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--fg-faint);
  border-bottom: 2px solid var(--border); padding-bottom: 0.8rem;
}

.compare td:first-child, .compare th:first-child {
  text-align: left; font-weight: 500; white-space: normal; min-width: 155px; color: var(--fg);
}

.compare td.yes { color: var(--accent); font-weight: 700; }
.compare td.no { color: #475569; }
.compare td.partial { color: #475569; font-size: 0.82rem; }

.compare th:last-child, .compare td:last-child {
  background: var(--accent-glow);
}
.compare th:last-child { color: var(--accent); font-weight: 700; letter-spacing: 0.03em; }
.compare tr:last-child td { border-bottom: 2px solid var(--border); }

.features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
  max-width: var(--max-wide); margin: 2rem auto 0;
}

.feature-card {
  padding: 1.6rem 1.5rem; border: 1px solid var(--border);
  border-radius: 12px; background: var(--bg-surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: 0 12px 40px rgba(6,182,212,0.06);
}

.feature-card h3 {
  font-family: var(--sans); font-weight: 700;
  font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--fg);
}

.feature-card p { font-size: 0.92rem; line-height: 1.6; color: var(--fg-dim); margin: 0; }

pre, code { font-family: var(--mono); font-size: 0.88rem; }

pre {
  background: var(--code-bg); color: var(--code-fg);
  padding: 1.1rem 1.3rem; border-radius: 8px; overflow-x: auto;
  margin: 1rem 0; line-height: 1.6;
  border: 1px solid var(--border);
}

p code {
  background: var(--bg-raised); padding: 0.15rem 0.4rem;
  border-radius: 4px; font-size: 0.9em; color: var(--accent);
}

.install p { font-size: 0.95rem; }

.faq-item { margin-bottom: 2rem; }
.faq-item h3 {
  font-family: var(--sans); font-weight: 700;
  font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--fg);
}
.faq-item p { font-size: 0.95rem; line-height: 1.65; }

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

footer .inner {
  max-width: var(--max-wide); margin: 0 auto; padding: 0 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; font-size: 0.88rem; color: var(--fg-faint);
}

footer a { color: var(--fg-dim); }
footer a:hover { color: var(--accent); }
.footer-brand { font-family: var(--mono); font-weight: 500; font-size: 0.95rem; color: var(--fg-dim); }
.footer-brand:hover { color: var(--accent); }
.footer-links { display: flex; gap: 1.2rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .hero { padding: 6rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero .screenshot { max-height: 300px; object-fit: cover; object-position: top; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split .screenshot { order: -1; }
  .features { grid-template-columns: 1fr; }
  .compare { font-size: 0.8rem; }
  .compare th, .compare td { padding: 0.5rem 0.35rem; }
  section { padding: 3.5rem 0; }
  .problem-quote { font-size: 1.3rem; }
  .nav-links { gap: 0.8rem; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero .sub { font-size: 1.05rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta { justify-content: center; }
  .topbar .inner { padding: 0.7rem 1rem; }
  .brand { font-size: 1rem; }
  .brand img { height: 36px; }
  .nav-links { gap: 0.7rem; font-size: 0.75rem; }
  .problem-quote { font-size: 1.15rem; padding-left: 1rem; }
  footer .inner { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .footer-brand { font-size: 0.88rem; }
}
