@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --ink-950: #0b100e;
  --ink-900: #111916;
  --ink-800: #1a2621;
  --ink-700: #293933;
  --parchment-50: #fbf9f4;
  --parchment-100: #f4efe4;
  --parchment-200: #e7decb;
  --gold-400: #dfc07a;
  --gold-500: #c8a252;
  --gold-600: #a68034;
  --cinnabar-500: #c83e2b;
  --cinnabar-600: #a92f1e;
  --jade-500: #2a725e;
  --jade-600: #1f5848;
  --text-dark: #161d1a;
  --text-muted: #58655f;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 34px rgba(11, 16, 14, 0.08);
  --shadow-elevated: 0 24px 60px rgba(11, 16, 14, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--parchment-50);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Top Announcement Bar */
.promo-bar {
  background: linear-gradient(90deg, var(--ink-950), #1c2823, var(--ink-950));
  color: var(--parchment-100);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(200, 162, 82, 0.28);
}

.promo-bar strong {
  color: var(--gold-400);
}

/* Header Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(17, 25, 22, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 162, 82, 0.2);
  color: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seal-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--cinnabar-500);
  border: 1.5px solid var(--gold-400);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(200, 62, 43, 0.35);
}

.brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--parchment-50);
}

.brand-sub {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.84);
}

.nav-links a:hover {
  color: var(--gold-400);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  border: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cinnabar-500), #df4d38);
  color: #fff;
  box-shadow: 0 10px 26px rgba(200, 62, 43, 0.36);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cinnabar-600), var(--cinnabar-500));
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--ink-950);
  box-shadow: 0 8px 24px rgba(200, 162, 82, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--parchment-50);
  border: 1px solid rgba(223, 192, 122, 0.5);
}

.btn-outline:hover {
  background: rgba(223, 192, 122, 0.12);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 18px 34px;
  font-size: 1.08rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 75% 25%, rgba(42, 114, 94, 0.25), transparent 50%),
              linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
  color: var(--parchment-50);
  padding: 68px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 162, 82, 0.14);
  border: 1px solid rgba(200, 162, 82, 0.45);
  color: var(--gold-400);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.85rem);
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 em {
  color: var(--gold-400);
  font-style: italic;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(244, 239, 228, 0.84);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.83rem;
  color: rgba(244, 239, 228, 0.8);
}

.hero-trust-strip strong {
  display: block;
  font-size: 1.15rem;
  color: var(--gold-400);
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 162, 82, 0.38);
  box-shadow: var(--shadow-elevated);
  background: var(--ink-800);
}

.hero-media-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.hero-overlay-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(11, 16, 14, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 162, 82, 0.4);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price-callout {
  text-align: right;
}

.price-callout .strike {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.price-callout .now {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.05;
}

/* Section Helpers */
.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--parchment-100);
}

.section-dark {
  background: var(--ink-900);
  color: var(--parchment-50);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinnabar-500);
  margin-bottom: 10px;
}

.section-dark .eyebrow {
  color: var(--gold-400);
}

.section-header h2 {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  margin-bottom: 14px;
}

/* Interactive Assessment Quiz */
.quiz-shell {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--parchment-200);
  padding: 36px;
}

.quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.quiz-step-bar {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--parchment-200);
  transition: background 0.25s ease;
}

.quiz-step-bar.active {
  background: var(--jade-500);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.quiz-opt {
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 2px solid var(--parchment-200);
  background: var(--parchment-50);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  transition: all 0.15s ease;
}

.quiz-opt:hover, .quiz-opt.selected {
  border-color: var(--jade-500);
  background: rgba(42, 114, 94, 0.08);
}

.quiz-result-box {
  background: linear-gradient(135deg, var(--ink-900), var(--ink-800));
  color: #fff;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 162, 82, 0.4);
}

/* Masters & Official IP Authorization Cards */
.masters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.master-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 162, 82, 0.28);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.master-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.master-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-400);
}

.red-chop {
  display: inline-block;
  border: 2px solid #e04f3c;
  color: #ff7b69;
  padding: 3px 9px;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.auth-cert-strip {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(200, 162, 82, 0.3);
  font-size: 0.78rem;
  color: var(--gold-400);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

/* Curriculum Weeks */
.week-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.week-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--parchment-200);
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.week-tab.active {
  background: var(--ink-900);
  color: var(--gold-400);
  border-color: var(--ink-900);
}

.lessons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lesson-preview-card {
  background: #fff;
  border: 1px solid var(--parchment-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.day-badge {
  background: var(--parchment-100);
  color: var(--ink-900);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 5px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Checkout Box & Order Bump */
.checkout-card {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--parchment-200);
}

.checkout-summary {
  background: var(--ink-900);
  color: var(--parchment-50);
  padding: 38px;
}

.checkout-form-pane {
  padding: 38px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-800);
}

.input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #d5cec0;
  font-size: 0.96rem;
  font-family: inherit;
  background: #fff;
}

.input:focus {
  outline: none;
  border-color: var(--jade-500);
  box-shadow: 0 0 0 3px rgba(42, 114, 94, 0.14);
}

/* Direct-Response Order Bump */
.order-bump-box {
  background: #fffbeb;
  border: 2px dashed #d97706;
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
}

.bump-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.bump-header input[type="checkbox"] {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  accent-color: var(--cinnabar-500);
  cursor: pointer;
}

.bump-tag {
  display: inline-block;
  background: var(--cinnabar-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gateway-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.gateway-btn {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--parchment-200);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gateway-btn.active {
  border-color: var(--ink-900);
  background: var(--parchment-50);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 16, 14, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--ink-900);
  color: #fff;
  border: 1px solid rgba(200, 162, 82, 0.4);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  padding: 26px;
  position: relative;
}

/* Sticky Mobile Bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(17, 25, 22, 0.97);
  border-top: 1px solid rgba(200, 162, 82, 0.35);
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--ink-950);
  color: rgba(244, 239, 228, 0.72);
  padding: 54px 0 90px;
  font-size: 0.86rem;
  border-top: 1px solid rgba(200, 162, 82, 0.2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

.footer-links a:hover {
  color: var(--gold-400);
}

@media (max-width: 900px) {
  .hero-grid,
  .masters-grid,
  .lessons-grid,
  .checkout-card,
  .quiz-options {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-sticky-cta {
    display: flex;
  }
  .hero-media-card img {
    height: 320px;
  }
}
