:root {
  --bg: #0a0806;
  --bg-card: #15110c;
  --gold: #d4a94a;
  --gold-light: #f0d68a;
  --text: #f2ece1;
  --text-dim: #b8ada0;
  --danger-bg: #2b1210;
  --danger-text: #ff8b7a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.wrap { max-width: 640px; margin: 0 auto; padding: 32px 20px 80px; }
.alert {
  background: var(--danger-bg); color: var(--danger-text);
  border: 1px solid #4a2320; border-radius: 999px;
  padding: 10px 18px; font-size: 14px; font-weight: 600;
  display: inline-flex; gap: 8px; align-items: center; margin: 0 auto 24px; text-align: center;
}
.center { text-align: center; }
h1.hero { font-size: 30px; text-align: center; margin: 0 0 16px; }
h1.hero em { color: var(--gold-light); font-style: italic; }
.subtitle { color: var(--text-dim); text-align: center; font-size: 16px; margin-bottom: 24px; }
.hero-img { width: 100%; border-radius: 16px; margin: 24px 0; display: block; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid #3a2f1f; color: var(--gold);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  position: relative; top: -20px; margin: 0 auto; width: fit-content;
}
.section-title { font-size: 24px; margin: 40px 0 8px; }
.section-sub { color: var(--text-dim); margin-bottom: 20px; font-size: 15px; }
.entity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.entity-grid > div {
  background: var(--bg-card); border-radius: 10px; overflow: hidden;
  aspect-ratio: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; text-align: center; padding: 6px;
  border: 1px solid #2a2216; color: var(--gold-light); cursor: pointer; transition: border-color .15s;
}
.d-entity.selected { border-color: var(--gold); background: #1e1810; }
.d-dor-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.d-dor-btn {
  background: var(--bg-card); border: 1px solid #2a2216; color: var(--text); border-radius: 12px;
  padding: 16px; font-size: 15px; text-align: left; cursor: pointer; font-family: inherit;
}
.d-dor-btn.selected { border-color: var(--gold); background: #1e1810; color: var(--gold-light); }
.d-input {
  width: 100%; padding: 14px; border-radius: 10px; border: 1px solid #3a2f1f; background: #0e0b08;
  color: var(--text); margin-bottom: 12px; font-size: 15px; font-family: inherit;
}
.d-date-row { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; }
.d-select { appearance: none; -webkit-appearance: none; }
.pain-card {
  background: var(--bg-card); border: 1px solid #2a2216; border-radius: 12px;
  padding: 16px; display: flex; gap: 14px; margin-bottom: 12px;
}
.pain-card .emoji { font-size: 20px; }
.pain-card strong { display: block; margin-bottom: 4px; }
.pain-card span { color: var(--text-dim); font-size: 14px; }
.cta-btn {
  display: block; width: 100%; text-align: center; background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #221a0d; font-weight: 800; font-size: 16px; padding: 16px; border-radius: 12px;
  border: none; cursor: pointer; margin: 24px 0 8px; text-decoration: none;
}
.cta-sub { text-align: center; color: var(--text-dim); font-size: 13px; margin-bottom: 24px; }
.chat-card {
  background: var(--bg-card); border: 1px solid #2a2216; border-radius: 14px;
  padding: 16px; margin-bottom: 14px;
}
.chat-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.chat-bubble { background: #1e2b23; color: #d7f5e3; border-radius: 10px; padding: 8px 12px; margin: 4px 0; font-size: 14px; display: inline-block; max-width: 85%; }
.chat-meta { font-size: 12px; color: var(--gold); margin-top: 4px; }
.guarantee {
  background: var(--bg-card); border: 1px solid #3a2f1f; border-radius: 14px;
  padding: 20px; text-align: center; margin: 32px 0;
}
.faq details { border-bottom: 1px solid #2a2216; padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--text-dim); margin-top: 8px; font-size: 14px; }
.urgency-bar {
  background: linear-gradient(90deg, #7a1c1c, #3a0f0f); color: #ffd9d0; text-align: center;
  padding: 10px; font-weight: 700; font-size: 13px; border-radius: 10px; margin-bottom: 20px;
}
.price-box { text-align: center; margin: 20px 0; }
.price-box .old { text-decoration: line-through; color: var(--text-dim); font-size: 15px; }
.price-box .new { color: var(--gold-light); font-size: 34px; font-weight: 800; }
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; z-index: 999; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box { background: var(--bg-card); border: 1px solid #3a2f1f; border-radius: 16px; padding: 24px; max-width: 380px; width: 100%; }
.modal-box h3 { margin-top: 0; }
.modal-box input {
  width: 100%; padding: 12px; border-radius: 10px; border: 1px solid #3a2f1f; background: #0e0b08; color: var(--text); margin-bottom: 10px; font-size: 15px;
}
.modal-box .close { background: none; border: none; color: var(--text-dim); float: right; cursor: pointer; font-size: 18px; }
