/* Foreign-Trained Dentist USA — elegant editorial styles
   Palette: deep navy #0d2136, champagne gold #c6a15b, warm ivory */

:root {
  --navy: #0d2136;
  --navy-2: #12283f;
  --navy-3: #1a3350;
  --gold: #c6a15b;
  --gold-light: #e6cf96;
  --gold-dark: #9a7739;
  --ink: #26241f;
  --muted: #6d675c;
  --paper: #ffffff;
  --ivory: #faf7f1;
  --line: #e7dfd0;
  --radius: 6px;
  --maxw: 1120px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 1.06rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--navy); }

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5.5rem 0; }

/* ---------- section headings ---------- */
.section-kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}

section h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin-top: 1.1rem;
}

.contact h2::after { margin-left: auto; margin-right: auto; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- header ---------- */
.site-header {
  background: rgba(13, 33, 54, 0.98);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(198, 161, 91, 0.35);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.05rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: #fff;
}

.brand em {
  font-style: normal;
  color: var(--gold);
}

.site-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }

.site-nav a {
  font-family: var(--sans);
  color: #cfc7b4;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.site-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ---------- language toggle ---------- */
.lang-toggle {
  display: flex;
  border: 1px solid rgba(198, 161, 91, 0.5);
  border-radius: 999px;
  overflow: hidden;
}

.lang-toggle button {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.85rem;
  background: transparent;
  color: #cfc7b4;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-toggle button.active {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(198, 161, 91, 0.14), transparent 60%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  padding: 6rem 0 6.5rem;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: center;
}

.cover-frame {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(198, 161, 91, 0.55);
}

.cover-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(198, 161, 91, 0.25);
  pointer-events: none;
}

.cover-frame img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.9rem;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.es-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
  line-height: 1.35;
}

.tagline {
  font-size: 1.16rem;
  color: #ddd5c2;
  margin-bottom: 0.9rem;
  max-width: 36rem;
  line-height: 1.7;
}

.author-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: #a89e86;
  margin-bottom: 2.2rem;
}

.buy-buttons { display: flex; gap: 1.1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); }

.btn-apple { background: #0a0a0a; color: #fff; border: 1px solid #2c2c2c; }
.btn-apple:hover { background: #1c1c1c; }

.btn-bn { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.btn-bn:hover { background: var(--gold-light); }

.btn-price {
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.drm-note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #8d99ab;
}

/* ---------- inside ---------- */
.inside { background: var(--ivory); }

.inside-list { list-style: none; margin-top: 0.5rem; max-width: 52rem; }

.inside-list li {
  padding: 1.3rem 0 1.3rem 2.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  position: relative;
}

.inside-list li:last-child { border-bottom: none; }

.inside-list li::before {
  content: "—";
  position: absolute;
  left: 0.75rem;
  top: 1.35rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.inside-list strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--navy);
}

/* ---------- story ---------- */
.story .section-inner { max-width: 880px; }

.story p { margin-bottom: 1.4rem; font-size: 1.16rem; line-height: 1.85; color: #3a372f; }
.story strong { color: var(--navy); }

.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3.6em;
  float: left;
  line-height: 0.85;
  padding-right: 0.12em;
  padding-top: 0.05em;
  color: var(--gold-dark);
}

.story blockquote {
  margin: 3rem auto 0;
  padding: 0 1rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.5;
  color: var(--navy);
  max-width: 42rem;
  position: relative;
}

.story blockquote::before {
  content: "“";
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-style: normal;
}

/* ---------- tutoring ---------- */
.tutoring {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(198, 161, 91, 0.1), transparent 60%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}

.tutoring .section-inner { max-width: 880px; }

.tutoring .section-kicker { color: var(--gold-light); }

.tutoring h2 { color: #fff; }

.tutoring p {
  margin-bottom: 1.3rem;
  font-size: 1.14rem;
  line-height: 1.8;
  color: #ddd5c2;
}

.tutoring strong { color: var(--gold-light); font-weight: 600; }

.btn-messenger {
  background: transparent;
  color: #fff;
  border: 1px solid var(--gold);
  margin-top: 1.2rem;
}

.btn-messenger:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(198, 161, 91, 0.25);
}

.btn-large { font-size: 0.9rem; padding: 1.1rem 2.6rem; }

/* ---------- resources ---------- */
.resources { background: var(--ivory); }

.resources .section-inner { max-width: 880px; }

.resources p { margin-bottom: 1rem; font-size: 1.08rem; color: #3a372f; }

.resource-list { list-style: none; margin: 2rem 0; display: grid; gap: 1.1rem; }

.resource-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 18px rgba(13, 33, 54, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 33, 54, 0.1);
}

.resource-list strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  display: block;
  margin-bottom: 0.35rem;
}

.resource-list span { color: var(--muted); font-size: 1rem; line-height: 1.65; }

.affiliate-note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- contact ---------- */
.contact { text-align: center; }

.contact .section-inner { max-width: 760px; }

.contact .section-kicker { text-align: center; }

.contact h2 { text-align: center; }

.contact p {
  font-size: 1.14rem;
  margin-bottom: 2.2rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #8d99ab;
  padding: 3rem 0 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(198, 161, 91, 0.35);
}

.footer-brand {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.site-footer p { font-size: 0.88rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero-cover { max-width: 260px; margin: 0 auto; }
  .hero h1 { font-size: 2.2rem; }
  .es-title { font-size: 1.3rem; }
  section { padding: 4rem 0; }
  section h2 { font-size: 2rem; }
  .story blockquote { font-size: 1.35rem; }
}

@media (max-width: 640px) {
  .header-inner { justify-content: center; text-align: center; padding: 1rem 1.25rem; }
  .site-nav { justify-content: center; gap: 1.1rem; }
  .section-inner { padding: 0 1.35rem; }
  .hero-inner { padding: 0 1.35rem; }
  .hero h1 { font-size: 1.85rem; }
  .buy-buttons .btn { width: 100%; justify-content: center; }
}
