@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0B1F3A;
  --navy-mid: #132d54;
  --gold: #C9A84C;
  --gold-light: #e8c96a;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --text-dark: #0B1F3A;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 200;
  background: rgba(11,31,58,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--gold); }

.book-btn {
  background: var(--gold);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.book-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* PROGRESS BAR */
.progress-container {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  z-index: 199;
  background: rgba(11,31,58,0.95);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 12px 2rem;
}

.progress-modules {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
}

.step-dot {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.3);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}

.step-dot.completed {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.step-dot.active {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

.step-dot:hover:not(.active) {
  border-color: rgba(201,168,76,0.5);
  color: rgba(255,255,255,0.6);
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s;
}
.step-line.completed { background: var(--gold); }

.step-label {
  display: none;
}

@media (min-width: 768px) {
  .step-label {
    display: block;
    font-size: 9px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .step-dot.active .step-label,
  .step-dot.completed .step-label { color: var(--gold-light); }
  .progress-container { padding-bottom: 28px; }
}

/* MAIN CONTENT */
.main-wrapper {
  padding-top: 130px;
  min-height: 100vh;
}

@media (min-width: 768px) {
  .main-wrapper { padding-top: 150px; }
}

.content-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .content-grid { grid-template-columns: 1fr 360px; }
}

/* MODULE HEADER */
.module-header {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
}

.module-header::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.15), transparent 70%);
  pointer-events: none;
}

.module-number {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.module-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}

.module-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
}

/* CONTENT CARD */
.content-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(11,31,58,0.06);
}

.content-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201,168,76,0.2);
}

.content-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 24px 0 10px;
}

.content-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.content-card ul, .content-card ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-card li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.highlight-box {
  background: rgba(201,168,76,0.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.highlight-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

/* VIDEO CARD */
.video-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(11,31,58,0.06);
}

.video-placeholder {
  background: var(--navy);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201,168,76,0.15), transparent 60%);
}

.play-btn {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-placeholder:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

.play-btn::after {
  content: '';
  border-left: 18px solid var(--navy);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.video-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.video-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: none;
}

.video-info {
  padding: 16px 20px;
}

.video-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.video-info p {
  font-size: 12px;
  color: var(--text-light);
}

/* SIDEBAR */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* BOOK CALL CARD */
.book-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 28px;
  color: var(--white);
}

@media (min-width: 768px) {
  .book-card {
    position: sticky;
    top: 160px;
  }
}

.book-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.book-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.book-card-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--gold), #a07830);
  color: var(--navy);
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.book-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.45);
}

.book-features {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.book-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.book-feature::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}

/* NAV BUTTONS */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  grid-column: 1 / -1;
}

.nav-prev, .nav-next {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.2s;
}

.nav-prev {
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--border);
}
.nav-prev:hover { background: var(--off-white); color: var(--navy); }

.nav-next {
  background: var(--navy);
  color: var(--white);
  margin-left: auto;
}
.nav-next:hover { background: var(--navy-mid); }

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 24px;
  font-size: 12px;
}
footer a { color: var(--gold-light); text-decoration: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.content-grid > * {
  animation: fadeUp 0.5s ease both;
}
.content-grid > *:nth-child(2) { animation-delay: 0.1s; }
.content-grid > *:nth-child(3) { animation-delay: 0.2s; }
.content-grid > *:nth-child(4) { animation-delay: 0.3s; }


/* ── SECONDARY BUTTON (Have Matt Call You) ── */
.book-card-btn + .book-card-btn { margin-top: 10px; }

.book-card-btn-alt {
  background: transparent;
  border: 1.5px solid rgba(201,168,76,0.55);
  color: var(--gold-light);
  box-shadow: none;
}

.book-card-btn-alt:hover {
  background: rgba(201,168,76,0.12);
  box-shadow: none;
}

@media (max-width: 480px) {
  .book-card { padding: 22px 18px; }
  .book-card-btn { font-size: 14px; padding: 13px 8px; white-space: nowrap; }
}

/* ── CLIENT STORIES (light content cards) ── */
.story-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.04));
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 22px 24px 12px;
  margin: 28px 0;
}

.story-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a07830;
  margin-bottom: 10px;
}

.story-box p {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.story-box .story-note {
  font-size: 12px !important;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
}
