:root {
  --bg: #12141a;
  --bg-soft: #1a1d26;
  --card: #1f2330;
  --text: #e8eaf0;
  --muted: #9aa0b0;
  --accent: #4d8;
  --accent-strong: #2e7d5b;
  --border: #2c3140;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 72px 24px 56px;
  background: radial-gradient(ellipse at 50% -20%, rgba(68, 153, 115, 0.22), transparent 60%);
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin-top: 20px;
  font-size: 44px;
  letter-spacing: 0.02em;
}

.hero-sub {
  margin-top: 6px;
  font-size: 20px;
  color: var(--muted);
}

.hero-desc {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted);
}

.hero-desc strong {
  color: var(--text);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #5fd89a, var(--accent-strong));
  color: #08110c;
  box-shadow: 0 6px 20px rgba(72, 199, 150, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 8px 26px rgba(72, 199, 150, 0.38);
}

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

/* ---------- Sections ---------- */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

section {
  margin-top: 72px;
}

section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 28px;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--accent);
}

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Screenshots ---------- */

.screenshot-block {
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 300px;
  color: var(--muted);
  padding: 16px;
  text-align: center;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

figure .shot {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

figure figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* 占位：截图文件缺失时显示的提示块 */
figure .shot-missing {
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: 12px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

.shot-hint {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  opacity: 0.7;
}

/* ---------- Pricing ---------- */

.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card {
  max-width: 420px;
  width: 100%;
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
}

.price-card h3 {
  font-size: 20px;
  color: var(--accent);
}

.price {
  margin: 12px 0 22px;
  font-size: 52px;
  font-weight: 700;
}

.price span {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  margin: 0 0 26px;
  text-align: center;
}

.price-card li {
  margin: 8px 0;
  color: var(--muted);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 34px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}