:root {
  --bg: #0d1117;
  --bg-elevated: #161b22;
  --bg-card: #1c2230;
  --border: #2a3140;
  --text: #e6edf3;
  --text-muted: #9aa7b4;
  --accent: #4ea1ff;
  --accent-strong: #007acc;
  --radius: 14px;
  --max: 1080px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }

section { padding: 80px 24px; max-width: var(--max); margin: 0 auto; }

section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 0.6em;
}

.section-lede { text-align: center; color: var(--text-muted); max-width: 620px; margin: 0 auto 2.5em; }

.accent { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent-strong);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: #0a8be0; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.lede { color: var(--text-muted); font-size: 1.1rem; margin: 18px 0 28px; }
.sub { color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: #0a8be0; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Why */
.why-answer {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 1.08rem;
}

.pain-grid, .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.pain-card, .feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s;
}
.pain-card:hover, .feature-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.pain-card h3, .feature-card h3 { font-size: 1.12rem; }
.pain-card p, .feature-card p { color: var(--text-muted); margin: 0; }

.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }

/* Screenshots */
.shot { margin: 0 0 40px; text-align: center; }
.shot img {
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.shot figcaption { color: var(--text-muted); margin-top: 12px; font-size: 0.95rem; }

/* Requirements */
.req-list {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.req-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 46px;
}
.req-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  color: var(--accent);
  font-weight: 700;
}

/* Languages */
.lang-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lang-chips span {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Support */
.support { text-align: center; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 36px 24px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.copyright { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 20px 0 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .cta-row { justify-content: center; }
  .pain-grid, .feature-grid { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
}
