:root {
  --bg: #0a0a14;
  --panel: #12122a;
  --panel-2: #171735;
  --border: #24244a;
  --brand: #5566ff;
  --brand-light: #8899ff;
  --heat: #ff6a2b;
  --heat-dim: #ff6a2b33;
  --text: #e4e4ec;
  --text-dim: #8888aa;
  --text-faint: #55556e;
  --ok: #44ff88;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.6;
}
.mono { font-family: 'IBM Plex Mono', monospace; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* header */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(160deg, var(--brand), #3344cc);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: white;
}
nav { display: flex; align-items: center; gap: 32px; }
nav a { color: var(--text-dim); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }
.langsel {
  display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 8px; padding: 4px;
}
.langsel a { text-decoration: none; }
.langsel span {
  display: inline-block; padding: 5px 10px; font-size: 13px; border-radius: 6px; color: var(--text-faint); cursor: pointer;
}
.langsel span.active { background: var(--brand); color: white; }
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: none; cursor: pointer;
}
.btn-primary { background: var(--brand); color: white; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* hero */
.hero { padding: 72px 0 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.hero h1 span { color: var(--heat); }
.hero p.lead { font-size: 18px; color: var(--text-dim); margin: 20px 0 32px; max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-shot {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden;
}
.hero-shot img { width: 100%; display: block; }
.hero-shot-caption {
  padding: 12px 16px; font-size: 12px; color: var(--text-faint);
  border-top: 1px solid var(--border); font-family: 'IBM Plex Mono', monospace;
}

/* video section */
.video-section { padding: 64px 0; border-top: 1px solid var(--border); }
.video-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; margin-top: 28px;
}
.video-card video { width: 100%; display: block; }

/* section shared */
section { padding: 64px 0; border-top: 1px solid var(--border); }
.kicker { color: var(--brand-light); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
h2 { font-size: 28px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.section-lead { color: var(--text-dim); max-width: 60ch; font-size: 16px; margin-bottom: 40px; }

/* workflow steps */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow::before {
  content: ""; position: absolute; top: 22px; left: 11%; right: 11%; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--heat));
  opacity: .5;
}
.flow-step { position: relative; padding-right: 10px; }
.flow-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--panel-2);
  border: 2px solid var(--brand); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'IBM Plex Mono', monospace; position: relative; z-index: 1; margin-bottom: 18px;
}
.flow-step:last-child .flow-num { border-color: var(--heat); }
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { font-size: 14px; color: var(--text-dim); }

/* screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.shot img { width: 100%; display: block; border-bottom: 1px solid var(--border); }
.shot h3 { font-size: 15px; padding: 16px 18px 6px; }
.shot p { font-size: 13px; color: var(--text-dim); padding: 0 18px 18px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.feature { background: var(--panel); padding: 28px; }
.feature h3 { font-size: 16px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-dim); }
.feature .tag { display: inline-block; font-size: 11px; color: var(--heat); font-family: 'IBM Plex Mono', monospace; margin-bottom: 10px; }

/* languages */
.langs-row { display: flex; gap: 16px; flex-wrap: wrap; }
.lang-pill {
  flex: 1; min-width: 160px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; text-align: center;
}
.lang-pill .flag { font-size: 28px; margin-bottom: 8px; }
.lang-pill .name { font-weight: 600; }
.lang-pill .sample { font-size: 13px; color: var(--text-dim); margin-top: 6px; font-family: 'IBM Plex Mono', monospace; }

/* pricing */
.pricing-box {
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border); border-radius: 16px; padding: 44px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.pricing-box .price { font-size: 42px; font-weight: 700; font-family: 'IBM Plex Mono', monospace; }
.pricing-box .price span { font-size: 16px; color: var(--text-dim); font-family: 'IBM Plex Sans'; }
.trial-note { display: flex; align-items: center; gap: 10px; color: var(--ok); font-size: 14px; margin-top: 14px; }
.trial-note::before { content: "●"; font-size: 10px; }
ul.checklist { list-style: none; margin-top: 18px; }
ul.checklist li { font-size: 14px; color: var(--text-dim); padding: 6px 0; padding-left: 22px; position: relative; }
ul.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-light); }

footer { border-top: 1px solid var(--border); padding: 32px 0; display: flex; justify-content: space-between; color: var(--text-faint); font-size: 13px; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--text-faint); }

@media (max-width: 860px) {
  .hero, .features, .flow, .langs-row, .pricing-box, .gallery { grid-template-columns: 1fr !important; }
  .flow::before { display: none; }
  nav { display: none; }
}
