/* ===== Tokens ===== */
:root {
  --background: #f5f6f8;
  --foreground: #1d2433;
  --muted-fg: #6b7280;
  --card: #ffffff;
  --navy: #112a55;
  --navy-dark: #08172e;
  --gold: #d9a627;
  --gold-dark: #a87f1a;
  --gold-light: #e7c065;
  --border: #e3e6ec;
  --radius: 12px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; }
a { color: inherit; }

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }

/* ===== Layout ===== */
.container { width: 100%; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 880px; }
.container-lg { max-width: 1120px; }
.center { text-align: center; }
.text-gold { color: var(--gold); }
.gold-divider { height: 6px; background: var(--gold); }

/* ===== Hero ===== */
.hero { background: var(--navy); color: #fff; }
.nav {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-logo { height: 48px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: #fff;
  font-size: 1.25rem; font-weight: 700;
  border-bottom: 2px dotted var(--gold);
  padding-bottom: 6px;
  transition: color .15s ease;
}
.nav-phone:hover { color: var(--gold); }
@media (min-width: 768px) {
  .nav { flex-direction: row; justify-content: center; gap: 0; }
  .nav-logo { height: 64px; }
  .nav-phone { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; }
}

.hero-inner { max-width: 880px; margin: 0 auto; padding: 48px 24px; }
.hero-copy h1 {
  text-align: center;
  font-size: 2.25rem; color: #fff; margin-bottom: 20px;
}
.hero-copy p {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem; line-height: 1.6;
  max-width: 640px; margin: 0 auto;
}
@media (min-width: 768px) {
  .hero-copy h1 { font-size: 3.25rem; }
  .hero-copy p { font-size: 1.125rem; }
  .hero-inner { padding: 64px 24px; }
}
.hero-tag {
  text-align: center; color: var(--gold);
  font-weight: 700; font-size: 1.125rem; letter-spacing: 0.04em;
  margin: 40px 0 12px;
}

.form-card {
  max-width: 640px; margin: 0 auto;
  background: #fff; border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .form-card { padding: 32px; } }

#PageForm { display: grid; gap: 12px; }
#PageForm input {
  width: 100%; padding: 14px 16px;
  background: transparent;
  border: 2px solid rgba(217, 166, 39, 0.5);
  border-radius: 8px;
  font-size: 0.9rem; color: var(--foreground);
  font-family: inherit;
  transition: border-color .15s ease;
}
#PageForm input::placeholder { color: var(--muted-fg); }
#PageForm input:focus { outline: none; border-color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-align: center;
  font-weight: 800; color: var(--foreground);
  border-radius: 8px; padding: 14px 40px;
  font-size: 1rem;
  transition: filter .15s ease, transform .15s ease;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.3);
}
.btn-block { width: 100%; }
.btn-gold {
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
}
.btn-gold:hover { background: linear-gradient(to bottom, var(--gold-dark), var(--gold)); }
.btn-gold:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-cta { font-size: 1.25rem; padding: 18px 64px; }
@media (min-width: 768px) { .btn-cta { font-size: 1.5rem; } }

.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.3) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ===== Testimonial ===== */
.testimonial { background: var(--background); }
.testimonial-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: end;
}
.testimonial-copy { padding: 56px 0; text-align: center; }
.testimonial-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem; line-height: 1.5;
  color: rgba(29,36,51,0.8);
  margin-bottom: 24px;
}
.testimonial-name { color: var(--gold-dark); font-weight: 700; font-size: 1.125rem; margin-bottom: 4px; }
.testimonial-role { color: var(--muted-fg); font-size: 0.875rem; margin-bottom: 32px; }
.testimonial-image { display: flex; justify-content: center; align-items: end; }
.testimonial-image img { width: 288px; max-width: 100%; }
@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonial-copy { text-align: left; padding: 80px 0; }
  .testimonial-quote { font-size: 1.875rem; }
  .testimonial-image { justify-content: flex-end; }
  .testimonial-image img { width: 384px; }
}

/* ===== Protect ===== */
.protect { padding: 64px 0; background: var(--background); }
.protect h2 { font-size: 2rem; margin-bottom: 24px; }
.protect p { color: var(--muted-fg); margin-bottom: 24px; }
.protect .btn { margin-top: 8px; }
@media (min-width: 768px) {
  .protect { padding: 80px 0; }
  .protect h2 { font-size: 2.75rem; }
}

/* ===== Learn ===== */
.learn { padding: 64px 0; background: var(--background); }
.learn-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; }
.learn-card h2 {
  text-align: center; color: #fff;
  font-size: 2rem; margin-bottom: 40px;
}
.learn-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.learn-intro { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; }
.check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.b-title { color: #fff; font-weight: 700; }
.b-desc { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.learn-image { display: flex; justify-content: center; }
.learn-image img { width: 100%; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.learn-cta { margin-top: 40px; }
.reviews { margin-top: 32px; }
.reviews img { max-width: 420px; width: 100%; margin: 0 auto; }
@media (min-width: 768px) {
  .learn { padding: 80px 0; }
  .learn-card { padding: 56px; }
  .learn-card h2 { font-size: 2.75rem; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Media ===== */
.media { padding: 40px 0; background: var(--background); }
.media-eyebrow {
  text-align: center; color: var(--muted-fg);
  text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.16em;
  font-weight: 500; margin-bottom: 24px;
}
.media-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 40px;
}
.media-logos img { height: 40px; object-fit: contain; }
@media (min-width: 768px) {
  .media-logos { gap: 64px; }
  .media-logos img { height: 56px; }
}

/* ===== Footer ===== */
.footer { background: var(--navy); padding: 48px 0; color: #fff; }
.footer-logo { height: 40px; margin: 0 auto 32px; }
.footer-disclaimer { color: rgba(255,255,255,0.5); font-size: 0.75rem; line-height: 1.6; }
.copyright { background: var(--navy-dark); padding: 16px; text-align: center; }
.copyright p { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
@media (min-width: 768px) { .footer-logo { height: 48px; } }

/* ===== Modal ===== */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.modal-card {
  position: relative; background: #fff; border-radius: var(--radius);
  border: 1px solid rgba(217, 166, 39, 0.3);
  padding: 28px; max-width: 560px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.modal-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-desc { color: var(--muted-fg); font-size: 0.875rem; margin-bottom: 16px; line-height: 1.6; }
.consent-box {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid rgba(217, 166, 39, 0.3);
  background: var(--background);
  border-radius: 8px; padding: 16px; margin-bottom: 16px;
  font-size: 0.875rem; line-height: 1.6;
}
.consent-box input { width: 16px; height: 16px; accent-color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.consent-box a { color: var(--gold); text-decoration: underline; }
.consent-box a:hover { color: var(--gold-dark); }
