:root {
  --bg: #0d0b0a;
  --card: #1a1512;
  --text: #f3e9dc;
  --muted: #c4b5a0;
  --accent: #e8c9a0;
  --btn: #c9a06c;
  --btn-hover: #d4b07e;
  --danger: #f08070;
  --line: rgba(232, 201, 160, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #0a0807 0%, #1a120e 50%, #241810 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(100%, 430px);
  margin: 0 auto;
  padding-bottom: 32px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 0.7 / 1;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.content {
  padding: 20px 18px 0;
}

h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 4px;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 16px;
}

.price-new {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}

.lead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.benefits {
  list-style: none;
  margin-bottom: 24px;
}

.benefits li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}

.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.order {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
  margin-bottom: 20px;
}

.order h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.order-note {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--muted);
}

.field input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  padding: 0 14px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s;
}

.field input:focus {
  border-color: var(--accent);
}

.field input::placeholder {
  color: rgba(196, 181, 160, 0.45);
}

.error {
  display: block;
  min-height: 16px;
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
}

.btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--btn-hover), var(--btn));
  color: #1a120e;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: transform 0.12s, filter 0.12s;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.privacy {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

.footer {
  text-align: center;
  padding: 0 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Thank you page */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.thanks-card {
  width: min(100%, 400px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
}

.thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(201, 160, 108, 0.15);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.thanks-card h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.thanks-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 8px;
}
