:root {
  --bg-top: #fff9f1;
  --bg-bottom: #eef6ff;
  --card: rgba(255, 255, 255, 0.88);
  --text: #1d2433;
  --muted: #667085;
  --border: rgba(148, 163, 184, 0.24);
  --accent: #d9485f;
  --accent-hover: #b9384c;
  --accent-soft: rgba(217, 72, 95, 0.12);
  --success: #147d64;
  --shadow: 0 24px 60px rgba(23, 37, 84, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 197, 113, 0.35), transparent 28%),
    radial-gradient(circle at bottom right, rgba(84, 160, 255, 0.28), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 680px;
  padding: 40px 28px 30px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}

.description {
  margin: 16px 0 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.8;
}

.cta-panel {
  margin: 26px 0 8px;
  padding: 24px 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(217, 72, 95, 0.12), rgba(255, 184, 0, 0.16)),
    #fff;
  border: 1px solid rgba(217, 72, 95, 0.2);
  text-align: center;
}

.cta-copy h2 {
  margin: 12px 0 8px;
  font-size: 28px;
}

.cta-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(217, 72, 95, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 220px;
  padding: 20px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6a3d, #d9485f 60%, #8b1e3f);
  box-shadow: 0 16px 34px rgba(217, 72, 95, 0.34);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.payment-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 38px rgba(217, 72, 95, 0.42);
  filter: saturate(1.08);
}

.payment-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.status-card {
  width: 100%;
  max-width: 560px;
  padding: 40px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.status-card h1 {
  margin-bottom: 14px;
}

.status-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.8;
}

.status-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.status-link.primary {
  background: var(--accent);
  color: #fff;
}

.status-link.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 22px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.stat-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

button {
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

#submit-button {
  min-width: 132px;
  background: var(--accent);
  color: #fff;
}

#submit-button:hover {
  background: var(--accent-hover);
}

.secondary-button {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--success);
  font-size: 14px;
}

.message.error {
  color: #b42318;
}

.submissions {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.submissions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.submissions-header h2 {
  margin: 0;
  font-size: 18px;
}

.submission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.submission-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.submission-email {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.submission-time {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.submission-empty {
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.56);
  border: 1px dashed var(--border);
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .card {
    padding: 30px 18px 22px;
  }

  h1 {
    font-size: 34px;
  }

  .stats,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .payment-button {
    width: 100%;
    min-width: 0;
  }

  .cta-copy h2 {
    font-size: 24px;
  }

  .submission-item,
  .submissions-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .submission-time {
    white-space: normal;
  }
}
