:root {
  --bg: #0b0d12;
  --bg2: #12161f;
  --card: #171c28;
  --line: #2a3344;
  --text: #e8ecf4;
  --muted: #9aa6bd;
  --accent: #ff6b4a;
  --accent2: #ffb347;
  --ok: #3dd68c;
  --danger: #ff5c7a;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1080px, 92vw); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11,13,18,.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-weight: 800; letter-spacing: .02em; font-size: 1.15rem; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 18px; align-items: center; font-size: .95rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: .95rem;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ff8f4a); color: #1a0b06; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-soft { background: #243047; color: var(--text); }
.btn-block { width: 100%; }
.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(ellipse 70% 50% at 70% 0%, rgba(255,107,74,.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(255,179,71,.12), transparent 55%);
}
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,107,74,.12); color: var(--accent2);
  border: 1px solid rgba(255,107,74,.35); font-size: .85rem; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.2; margin: 0 0 16px; }
.hero p.lead { color: var(--muted); font-size: 1.12rem; line-height: 1.7; max-width: 640px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.stats { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .92rem; }
.stats strong { color: var(--text); }
section { padding: 56px 0; }
section h2 { font-size: 1.7rem; margin: 0 0 10px; }
.section-desc { color: var(--muted); margin: 0 0 28px; line-height: 1.6; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .95rem; }
.pain::before { content: "痛点"; display: inline-block; font-size: .75rem; color: var(--danger); margin-bottom: 8px; font-weight: 700; }
.compare .before, .compare .after { min-height: 180px; }
.compare .label {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 10px;
}
.compare .before .label { color: var(--danger); }
.compare .after .label { color: var(--ok); }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem; line-height: 1.55; color: #c9d3e7;
  white-space: pre-wrap; word-break: break-word;
}
.price-card {
  border: 1px solid rgba(255,107,74,.45);
  background: linear-gradient(180deg, #1b2230, #151a24);
}
.price-card .price { font-size: 2.4rem; font-weight: 800; margin: 8px 0 4px; }
.price-card .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.price-list li { padding: 8px 0; color: var(--muted); border-bottom: 1px dashed var(--line); }
.price-list li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: .88rem; }

/* App */
.app-shell { padding: 28px 0 60px; }
.app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.trial-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: #1d2433;
  border: 1px solid var(--line); font-size: .88rem; color: var(--muted);
}
.trial-pill.unlocked { border-color: rgba(61,214,140,.45); color: var(--ok); }
textarea, input, select {
  width: 100%; background: #0f131b; color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font: inherit; outline: none;
}
textarea:focus, input:focus, select:focus { border-color: var(--accent); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .9rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.shots { display: grid; gap: 12px; margin-top: 20px; }
.shot {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px;
}
.shot-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.shot-role { font-weight: 800; }
.shot-tip { color: var(--muted); font-size: .82rem; }
.shot-prompt { margin: 0; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: #223049; color: var(--text); padding: 12px 18px;
  border-radius: 999px; border: 1px solid var(--line); opacity: 0;
  pointer-events: none; transition: opacity .2s ease; z-index: 50;
}
.toast.show { opacity: 1; }
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: none; align-items: center; justify-content: center; z-index: 40; padding: 16px;
}
.modal-mask.open { display: flex; }
.modal { width: min(420px, 100%); }
.hint { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.err { color: var(--danger); font-size: .9rem; margin-top: 8px; }
