:root {
  --burgundy: #4a0f24;
  --burgundy-2: #7a1f3d;
  --rose: #c58b98;
  --gold: #d8b36a;
  --gold-soft: #f3dfaa;
  --ivory: #fffaf0;
  --cream: #f6ead9;
  --charcoal: #21191c;
  --muted: #786b70;
  --line: #eadfd5;
  --success: #196b50;
  --shadow: 0 18px 50px rgba(74, 15, 36, 0.14);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at top, rgba(216, 179, 106, 0.18), transparent 36%),
    linear-gradient(180deg, #f8efe5, #fff 42%, #f8f2ec);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  width: min(100%, 540px);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 70px rgba(33, 25, 28, 0.08);
  position: relative;
  overflow: hidden;
}

.screen {
  display: none;
  min-height: 100vh;
  padding-bottom: 110px;
}

.screen.active {
  display: block;
}

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 1200;
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 9px 14px;
  text-align: center;
  background: #fff0b8;
  color: #5c4300;
  border-bottom: 1px solid #e7ca6a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

h1,
h2,
h3,
.brand {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: 36px;
  line-height: 1.03;
}

h2 {
  font-size: 29px;
  line-height: 1.08;
}

h3 {
  font-size: 23px;
}

p {
  line-height: 1.6;
}

.eyebrow {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: var(--gold-soft);
}

.eyebrow.dark {
  color: var(--burgundy-2);
}

.subcopy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

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

.btn-large {
  min-height: 58px;
  font-size: 16px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #3f2a00;
  box-shadow: 0 13px 28px rgba(216, 179, 106, 0.3);
}

.btn-burgundy {
  background: linear-gradient(135deg, var(--burgundy-2), var(--burgundy));
  color: #fff;
  box-shadow: 0 13px 28px rgba(74, 15, 36, 0.24);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2dd46f, #13984a);
  color: #fff;
  box-shadow: 0 13px 28px rgba(19, 152, 74, 0.25);
}

.pulse {
  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

.panel {
  margin: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.back-button {
  margin: 15px 18px 0;
  border: 0;
  border-radius: 12px;
  padding: 10px 13px;
  background: #f7f1ed;
  color: var(--burgundy);
  font-weight: 900;
}

label {
  display: block;
  margin: 16px 0 7px;
  font-size: 12px;
  font-weight: 900;
}

.input {
  width: 100%;
  min-height: 56px;
  border: 1.5px solid #ded2cb;
  border-radius: 15px;
  padding: 14px 15px;
  font-size: 16px;
  outline: none;
  background: #fffdfa;
}

.input:focus {
  border-color: var(--burgundy-2);
  box-shadow: 0 0 0 4px rgba(122, 31, 61, 0.1);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: #b63232;
  font-size: 11px;
  font-weight: 800;
}

.field-error.show {
  display: block;
}

.status-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff2d7;
  color: #765400;
  font-size: 10px;
  font-weight: 900;
}

.status-pill.success {
  background: #e7f8f0;
  color: var(--success);
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f5ece8;
  color: var(--burgundy);
  font-size: 26px;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
