/* WDM2VST Ultra — minimal landing page styles */

:root {
  --bg: #0e1116;
  --surface: #161b22;
  --surface-2: #1c232c;
  --border: #262e3a;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #4f8cff;
  --accent-hover: #6fa3ff;
  --max-width: 1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.2px;
}
.brand:hover { text-decoration: none; }
.site-header nav a {
  color: var(--text-muted);
  margin-left: 24px;
  font-size: 15px;
}
.site-header nav a:hover,
.site-header nav a.active { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-narrow { padding: 56px 0 32px; }
.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.hero .lead {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  margin: 0 4px;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-large { padding: 14px 28px; font-size: 16px; }

/* Sections */
section { padding: 64px 0; border-bottom: 1px solid var(--border); }
section h2 { font-size: 28px; margin: 0 0 32px; letter-spacing: -0.3px; }
section p { color: var(--text-muted); }

/* Feature grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.card h3 { margin: 0 0 12px; font-size: 18px; color: var(--text); }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Endpoint table */
.endpoints table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.endpoints th, .endpoints td {
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.endpoints th {
  background: var(--surface-2);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.endpoints tr:last-child td { border-bottom: none; }

/* Requirements list */
.requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}
.requirements li {
  padding: 8px 0 8px 24px;
  position: relative;
}
.requirements li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* CTA */
.cta { text-align: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { margin-bottom: 24px; }

/* Pricing */
.pricing { padding: 56px 0; }
.price-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}
.price-card h2 { font-size: 22px; margin: 0 0 16px; }
.price { margin: 24px 0; }
.price .amount {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
}
.price .currency {
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 4px;
}
.includes {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 32px 0;
  color: var(--text);
}
.includes li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.includes li:last-child { border-bottom: none; }
.includes li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  color: #4caf50;
  font-weight: bold;
}
.cta-row { margin: 32px 0 16px; }
.muted { color: var(--text-muted); }
.muted.small { font-size: 13px; }

/* FAQ */
.faq h2 { text-align: center; margin-bottom: 40px; }
.qa {
  max-width: 720px;
  margin: 0 auto 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.qa:last-child { border-bottom: none; }
.qa h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--text);
}
.qa p { margin: 0; color: var(--text-muted); }

/* Legal pages */
.legal {
  padding: 64px 24px;
  max-width: 760px;
}
.legal h1 { font-size: 32px; margin: 0 0 8px; letter-spacing: -0.5px; }
.legal h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  letter-spacing: -0.2px;
  color: var(--text);
}
.legal h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--text);
  font-size: 15px;
}
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .muted { color: var(--text-muted); margin-bottom: 32px; font-size: 14px; }

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer p { margin: 0; color: var(--text-muted); font-size: 14px; }
.site-footer nav a {
  color: var(--text-muted);
  margin-left: 20px;
  font-size: 14px;
}
.site-footer nav a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 700px) {
  .hero h1 { font-size: 30px; }
  .hero { padding: 56px 0 40px; }
  section { padding: 48px 0; }
  section h2 { font-size: 24px; margin-bottom: 24px; }
  .price-card { padding: 28px 20px; }
  .price .amount { font-size: 44px; }
  .site-header .container { height: auto; padding: 12px 24px; flex-wrap: wrap; }
  .site-header nav a:first-child { margin-left: 0; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
  .site-footer nav a:first-child { margin-left: 0; }
}
