/* ============================================
   LR Dental Deals - Landing Page Styles
   v3 newsletter brand alignment
   Mobile-first responsive design
   ============================================ */

:root {
  --navy: #0f2b46;
  --navy-light: #1e4060;
  --blue: #2874a6;
  --blue-hover: #1f5f8b;
  --gold: #d4a745;
  --gold-bg: #fffdf6;
  --gold-border: #f0e6c8;
  --green: #27ae60;
  --green-bg: #f6fdf9;
  --purple: #8856a8;
  --muted: #7a9bb5;
  --muted-light: #9abdd6;
  --body-text: #444444;
  --body-dark: #0f2b46;
  --subtle-text: #556677;
  --card-bg: #f8fafc;
  --border: #e2e8f0;
  --page-bg: #f4f6f8;
  --white: #ffffff;
  --font-headline: Georgia, 'Times New Roman', Times, serif;
  --font-body: Arial, Helvetica, sans-serif;
  --max-width: 680px;
  --radius: 0;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Section Title ---- */
.section-title {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--body-dark);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.2;
}

.section-title--light {
  color: var(--white);
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.benefits__grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.benefits__grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background-color: var(--navy);
  padding: 60px 0 48px;
  text-align: center;
  position: relative;
}

.hero__accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--blue);
}

.hero__title {
  font-family: var(--font-headline);
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero__tagline {
  font-family: var(--font-headline);
  font-size: 1rem;
  color: var(--muted-light);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 32px;
}

.hero__privacy {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

/* ============================================
   SIGNUP FORM
   ============================================ */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}

.signup-form__input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--body-dark);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.signup-form__input::placeholder {
  color: #8899a8;
}

.signup-form__input:focus {
  border-color: var(--blue);
}

.signup-form__button {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: bold;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s ease;
  width: 100%;
}

.signup-form__button:hover {
  background: var(--blue-hover);
}

/* Dark section form variant */
.signup-form--dark .signup-form__input {
  background: rgba(255, 255, 255, 0.95);
}

/* ============================================
   BENEFITS (What You Get)
   ============================================ */
.benefits {
  padding: 56px 0;
  background: var(--white);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  padding: 24px;
  text-align: left;
}

.benefit-card--gold {
  border-left-color: var(--gold);
  background: var(--gold-bg);
  border-color: var(--gold-border);
  border-left-color: var(--gold);
}

.benefit-card__badge {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}

.benefit-card__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.benefit-card--blue .benefit-card__label {
  color: var(--blue);
}

.benefit-card--gold .benefit-card__label {
  color: var(--gold);
}

.benefit-card__text {
  font-size: 0.95rem;
  color: var(--subtle-text);
  line-height: 1.6;
}

/* ============================================
   SAMPLE ISSUE PREVIEW
   ============================================ */
.sample {
  padding: 56px 0;
  background: var(--page-bg);
}

.sample__card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
}

.sample__masthead {
  background-color: var(--navy);
  padding: 28px 24px 20px;
  text-align: center;
  border-top: 4px solid var(--blue);
}

.sample__masthead-title {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.sample__masthead-meta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 1.5px;
}

.sample__body {
  padding: 0;
}

.sample__item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.sample__item:last-child {
  border-bottom: none;
}

.sample__item--featured {
  background: var(--card-bg);
}

.sample__item--green {
  border-left: 4px solid var(--green);
  background: var(--green-bg);
}

.sample__section-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.sample__section-badge--blue {
  color: var(--blue);
}

.sample__section-badge--gold {
  color: var(--gold);
}

.sample__section-badge--green {
  color: var(--green);
}

.sample__deal-title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--body-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.sample__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.sample__price {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--gold);
  background: var(--navy);
  padding: 6px 14px;
  display: inline-block;
}

.sample__price-meta {
  font-size: 0.85rem;
  color: var(--subtle-text);
}

.sample__price-meta s {
  color: #8899a8;
}

.sample__deal-desc {
  font-size: 0.9rem;
  color: var(--subtle-text);
  line-height: 1.5;
}

.sample__footer {
  padding: 14px 24px;
  background: var(--card-bg);
  text-align: center;
  border-top: 1px solid var(--border);
}

.sample__footer p {
  font-size: 0.85rem;
  color: var(--subtle-text);
  font-style: italic;
}

/* ============================================
   BONUS SECTIONS
   ============================================ */
.bonus {
  padding: 56px 0;
  background: var(--white);
}

.bonus__content {
  max-width: 520px;
  margin: 0 auto;
}

.bonus__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bonus__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.bonus__emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.bonus__name {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--body-dark);
  margin-bottom: 4px;
}

.bonus__desc {
  font-size: 0.9rem;
  color: var(--subtle-text);
  line-height: 1.5;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
  padding: 48px 0;
  background: var(--page-bg);
}

.social-proof__content {
  text-align: center;
}

.social-proof__number {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: bold;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.social-proof__text {
  font-size: 1rem;
  color: var(--subtle-text);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 56px 0;
  background-color: var(--navy);
  text-align: center;
  position: relative;
}

.final-cta__accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--blue);
}

.final-cta__subtext {
  font-size: 1rem;
  color: var(--muted-light);
  margin-bottom: 28px;
}

.final-cta__privacy {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 28px 0;
  background: var(--navy);
  border-top: 1px solid var(--navy-light);
  text-align: center;
}

.footer__brand {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer__brand a {
  color: var(--muted-light);
  font-weight: bold;
}

.footer__brand a:hover {
  color: var(--white);
}

.footer__privacy {
  font-size: 0.75rem;
  color: #3d5f7a;
}

/* ============================================
   RESPONSIVE: 768px+
   ============================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__tagline {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .signup-form {
    flex-direction: row;
    gap: 0;
  }

  .signup-form__input {
    flex: 1;
  }

  .signup-form__button {
    width: auto;
    white-space: nowrap;
  }

  .benefits {
    padding: 72px 0;
  }

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

  .benefit-card {
    border-left-width: 3px;
    border-top: 3px solid var(--blue);
    border-left: 1px solid var(--border);
  }

  .benefit-card--gold {
    border-top-color: var(--gold);
    border-left-color: var(--gold-border);
  }

  .sample {
    padding: 72px 0;
  }

  .sample__deal-title {
    font-size: 1.15rem;
  }

  .bonus {
    padding: 72px 0;
  }

  .social-proof {
    padding: 64px 0;
  }

  .social-proof__number {
    font-size: 3.5rem;
  }

  .final-cta {
    padding: 72px 0;
  }
}
