@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
  --gold: #CFB87C;
  --gold-dark: #a89860;
  --gold-darker: #8a7048;
  --black: #000000;
  --white: #ffffff;
  --grey: #808080;
  --grey-light: #f9f9f9;
  --error: #dc2626;
  --success: #10b981;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.7; }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 48px 0; } }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--black);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) { .hero { padding: 64px 0 48px; } }

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}
.hero::before { left: 0; }
.hero::after  { right: 0; }

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.1s forwards;
}

@media (max-width: 768px) { .hero__inner { padding: 0 24px; } }

.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__headline {
  color: var(--white);
  max-width: 820px;
}

.hero__headline span { color: var(--gold); }

.hero__sub {
  color: #cccccc;
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 640px;
}

/* Progression pills */
.hero__visual {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.prog-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  white-space: nowrap;
}
.prog-pill--pain  { background: rgba(220,38,38,0.15);  color: #f87171; animation: fadeUp 0.5s ease-out 0.3s forwards; }
.prog-pill--scale { background: rgba(207,184,124,0.18); color: var(--gold); animation: fadeUp 0.5s ease-out 0.5s forwards; }
.prog-pill--train { background: rgba(16,185,129,0.15);  color: #34d399; animation: fadeUp 0.5s ease-out 0.7s forwards; }

.prog-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.prog-pill__dot--red   { background: #ef4444; }
.prog-pill__dot--gold  { background: var(--gold); }
.prog-pill__dot--green { background: #10b981; }

.prog-arrow {
  font-size: 1rem;
  color: #555;
  opacity: 0;
  animation: fadeUp 0.5s ease-out 0.4s forwards;
}
.prog-arrow:last-of-type { animation-delay: 0.6s; }

/* ─── VALUE CARDS ─────────────────────────────────────────── */
.value-section {
  background: var(--white);
}

.value-section__title {
  text-align: center;
  margin-bottom: 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; gap: 16px; } }

.card {
  border: 2px solid #eeeeee;
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(207,184,124,0.15);
}

.card:nth-child(1) { animation: fadeUp 0.5s ease-out 0.1s forwards; }
.card:nth-child(2) { animation: fadeUp 0.5s ease-out 0.3s forwards; }
.card:nth-child(3) { animation: fadeUp 0.5s ease-out 0.5s forwards; }

.card__icon {
  width: 64px;
  height: 64px;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
}

.card__body {
  color: var(--grey);
  font-size: 0.95rem;
}

/* ─── SOCIAL PROOF ────────────────────────────────────────── */
.social-proof {
  background: var(--black);
  padding: 48px 0;
  text-align: center;
}

.social-proof__name {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

.social-proof__stat {
  color: #aaaaaa;
  margin-top: 8px;
  font-size: 0.95rem;
}

.social-proof__tagline {
  color: var(--white);
  font-style: italic;
  margin-top: 12px;
  font-size: 1rem;
}

/* ─── FORM SECTION ────────────────────────────────────────── */
.form-section {
  background: var(--grey-light);
}

.form-section__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.form-section__title { margin-bottom: 8px; }
.form-section__sub {
  color: var(--grey);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.lead-form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  text-align: left;
}

@media (max-width: 480px) { .lead-form { padding: 28px 20px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group:last-of-type { margin-bottom: 24px; }

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

label .required-star {
  color: var(--error);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  height: 48px;
  padding: 12px 16px;
  border: 2px solid #cccccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(207,184,124,0.15);
}

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

.field-error {
  font-size: 0.75rem;
  color: var(--error);
  min-height: 18px;
  display: block;
}

/* Submit Button */
.btn-primary {
  display: block;
  width: 100%;
  height: 52px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

.btn-primary:hover:not(:disabled) {
  background: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(168,152,96,0.4);
}

.btn-primary:active:not(:disabled) {
  background: var(--gold-darker);
  transform: translateY(1px);
}

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

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 12px;
}

/* Success / Error messages */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: #ecfdf5;
  border: 2px solid var(--success);
  border-radius: 12px;
  color: #065f46;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 16px;
}

.form-error-msg {
  display: none;
  text-align: center;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 12px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: #888888;
  text-align: center;
  padding: 24px;
  font-size: 0.8125rem;
}

/* ─── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section {
  background: var(--grey-light);
  padding: 80px 0;
}

@media (max-width: 768px) { .testimonials-section { padding: 48px 0; } }

.testimonials-section__title {
  text-align: center;
  margin-bottom: 8px;
}

.testimonials-section__sub {
  text-align: center;
  color: var(--grey);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #eeeeee;
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--black);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  margin-top: 4px;
}

.testimonial-card__source {
  font-size: 0.75rem;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-card__source::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.testimonial-card__source--ig::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3ClinearGradient id='ig' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23f09433'/%3E%3Cstop offset='25%25' stop-color='%23e6683c'/%3E%3Cstop offset='50%25' stop-color='%23dc2743'/%3E%3Cstop offset='75%25' stop-color='%23cc2366'/%3E%3Cstop offset='100%25' stop-color='%23bc1888'/%3E%3C/linearGradient%3E%3Crect width='24' height='24' rx='6' fill='url(%23ig)'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='white' stroke-width='1.8'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.2' fill='white'/%3E%3C/svg%3E");
}

.testimonial-card__source--comment::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23CFB87C' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E");
}

/* ─── ACCESS PAGE ─────────────────────────────────────────── */
.access-hero {
  background: var(--black);
  padding: 80px 0 60px;
  text-align: center;
}

.access-hero__headline {
  color: var(--white);
}

.access-hero__headline span {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.access-hero__sub {
  color: #aaaaaa;
  margin-top: 12px;
  font-size: 1.125rem;
}

.access-main {
  background: var(--grey-light);
  padding: 60px 0;
}

.access-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

@media (max-width: 480px) { .access-card { padding: 32px 20px; } }

.access-confirm {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 32px;
  line-height: 1.8;
}

.access-list {
  list-style: none;
  margin-top: 12px;
}

.access-list li {
  padding: 6px 0;
  font-size: 0.95rem;
}

.access-list li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 700;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 36px;
  background: var(--gold);
  color: var(--black);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s, box-shadow 0.2s;
  margin: 24px auto;
  display: flex;
  width: fit-content;
}

.btn-download:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(168,152,96,0.4);
}

.btn-download svg { width: 20px; height: 20px; }

.divider {
  height: 1px;
  background: #eeeeee;
  margin: 36px 0;
}

.next-steps { margin-bottom: 36px; }
.next-steps h3 { margin-bottom: 16px; }

.steps-list {
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}

.steps-list li::before {
  content: counter(steps);
  min-width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.cta-block {
  background: var(--black);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
  margin-top: 36px;
}

.cta-block h3 { color: var(--white); margin-bottom: 8px; }
.cta-block p  { color: #aaaaaa; margin-bottom: 28px; font-size: 0.95rem; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  background: var(--gold);
  color: var(--black);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-cta-primary:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(168,152,96,0.35);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-cta-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
