:root {
  --green: #0b6b3a;
  --gold: #d6a642;
  --dark: #102016;
  --cream: #fff8ea;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: radial-gradient(circle at top, #fff8ea, #e7eadf 45%, #bfcbb9);
  color: var(--dark);
  min-height: 100vh;
}

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

.hero {
  max-width: 980px;
  width: 100%;
  text-align: center;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(214,166,66,0.5);
  border-radius: 28px;
  padding: 70px 35px;
  box-shadow: 0 28px 80px rgba(16,32,22,0.18);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: var(--green);
  font-weight: 700;
  font-family: Arial, sans-serif;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1.04;
  margin: 0 0 20px;
}

.hero p {
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 40px;
}

.btn-3d,
.confirm-btn {
  border: 0;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-3d {
  font-size: 1.1rem;
  padding: 20px 34px;
  color: var(--white);
  background: linear-gradient(145deg, #12804a, #07592f);
  border-radius: 16px;
  box-shadow: 0 9px 0 #063b22, 0 22px 36px var(--shadow);
}

.btn-3d:hover { transform: translateY(-2px); }
.btn-3d:active { transform: translateY(7px); box-shadow: 0 2px 0 #063b22, 0 10px 22px var(--shadow); }

.modal,
.thanks-screen {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 12, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}

.modal.active,
.thanks-screen.active { display: flex; }

.modal-card,
.thanks-card {
  width: min(94vw, 480px);
  background: var(--cream);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  border: 1px solid rgba(214,166,66,0.7);
  position: relative;
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark);
}

.modal-card h2,
.thanks-card h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.modal-text,
.thanks-card p {
  font-family: Arial, sans-serif;
  margin-bottom: 22px;
}

label {
  display: block;
  margin: 16px 0 7px;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

input {
  width: 100%;
  padding: 15px 14px;
  border-radius: 12px;
  border: 1px solid #c8bea5;
  font-size: 1rem;
  background: white;
}

input:focus {
  outline: 2px solid rgba(11,107,58,0.25);
  border-color: var(--green);
}

.error {
  min-height: 22px;
  color: #9b1c1c;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.confirm-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gold), #b98422);
  color: #1d1608;
  box-shadow: 0 7px 0 #805a16, 0 16px 26px rgba(0,0,0,0.22);
}

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

.download-link {
  display: inline-block;
  margin-top: 12px;
  font-family: Arial, sans-serif;
  color: var(--green);
  font-weight: 800;
}
