/* ═══════════════════════════════════════════════════════
   CII LM2 ONLINE COURSE — DESIGN SYSTEM
   Indigo/purple/lavender palette
   Font: Segoe UI, Arial, sans-serif
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --navy: #1B1464;
  --navy-mid: #2E2A8F;
  --navy-light: #4A4680;
  --gold: #9B2FAE;
  --gold-light: #C048D8;
  --gold-dim: #F8E8FB;
  --cream: #F5F4FC;
  --cream-dark: #EAE8F7;

  /* Neutrals */
  --white: #ffffff;
  --slate: #4A4680;
  --slate-light: #8880B0;
  --border: #D8D5EE;
  --border-light: #EAE8F7;

  /* Status Colors */
  --green: #2d6a4f;
  --green-light: #e8f5ee;
  --red: #c53030;
  --red-light: #fff5f5;
  --blue: #2b6cb0;
  --blue-light: #ebf4ff;
  --amber: #b7791f;
  --amber-light: #fffaf0;

  /* Typography */
  --font-heading: 'Segoe UI', Arial, sans-serif;
  --font-body: 'Segoe UI', Arial, sans-serif;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.06);
  --shadow: 0 2px 16px rgba(10,22,40,0.08);
  --shadow-lg: 0 8px 40px rgba(10,22,40,0.12);
  --shadow-xl: 0 16px 60px rgba(10,22,40,0.16);

  /* Border Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

.text-gold { color: var(--gold); }
.text-slate { color: var(--slate); }
.text-slate-light { color: var(--slate-light); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-dark {
  background: linear-gradient(135deg, #1B1464 0%, #2E2A8F 60%, #9B2FAE 100%);
  color: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(155,47,174,0.35);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 18px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(155,47,174,0.3);
}

.card-elevated {
  box-shadow: var(--shadow);
}

.card-dark {
  background: var(--navy-mid);
  border-color: rgba(255,255,255,0.08);
  color: var(--white);
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: var(--gold-dim);
  border: 1px solid rgba(155,47,174,0.3);
  color: var(--gold);
}

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

/* ── Forms ── */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(155,47,174,0.15);
}

.form-input::placeholder {
  color: var(--slate-light);
}

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

.form-error-text {
  font-size: 13px;
  color: var(--red);
  margin-top: 6px;
}

.form-help-text {
  font-size: 13px;
  color: var(--slate-light);
  margin-top: 6px;
}

/* ── Flash Messages ── */
.flash-messages {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}

.flash {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: flashSlide 0.3s ease;
}

@keyframes flashSlide {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.flash-success {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(45,106,79,0.2);
}

.flash-error {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(197,48,48,0.2);
}

.flash-warning {
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid rgba(183,121,31,0.2);
}

.flash-info {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(43,108,176,0.2);
}

.flash-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.flash-text {
  flex: 1;
}

.flash-close {
  font-size: 20px;
  opacity: 0.6;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.flash-close:hover { opacity: 1; }

/* ── Progress Bar ── */
.progress-track {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

/* ══════════════════════════════
   LANDING PAGE SPECIFIC STYLES
   ══════════════════════════════ */

/* ── Navigation Bar ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(27,20,100,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.nav-logo-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--white);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--gold-light); }

.nav-cta {
  padding: 10px 24px;
  font-size: 14px;
}

/* ── Logged-in user menu ── */
.nav-user-menu {
  position: relative;
}

.nav-user-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color var(--transition), color var(--transition);
}
.nav-user-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.nav-caret {
  font-size: 10px;
  opacity: 0.7;
}

.nav-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  min-width: 150px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 200;
}
.nav-user-dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: background var(--transition), color var(--transition);
}
.nav-user-dropdown a:hover {
  background: rgba(255,255,255,0.07);
  color: var(--gold-light);
}
.nav-user-menu.open .nav-user-dropdown {
  display: block;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── Hero Section ── */
.hero-landing {
  position: relative;
  background: linear-gradient(135deg, #1B1464 0%, #2E2A8F 60%, #9B2FAE 100%);
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-landing::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(155,47,174,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-landing::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,47,174,0.3), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.hero-text .badge {
  margin-bottom: var(--space-lg);
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.hero-text h1 span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-meta-icon {
  width: 40px;
  height: 40px;
  background: rgba(155,47,174,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.hero-meta-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.hero-meta-value {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* Hero Card (right side) */
.hero-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #1B1464 0%, #2E2A8F 60%, #9B2FAE 100%);
}

.hero-card-header {
  text-align: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-lg);
}

.hero-card-price {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
}

.hero-card-price .currency {
  font-size: 24px;
  vertical-align: super;
  color: var(--gold);
}

.hero-card-price .period {
  font-size: 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
}

.hero-card-subtitle {
  font-size: 14px;
  color: var(--white);
  margin-top: 4px;
}

.hero-card-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-lg);
}

.hero-card-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--white);
}

.hero-card-feature .check {
  width: 20px;
  height: 20px;
  background: rgba(45,106,79,0.2);
  color: #68d391;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.hero-card-guarantee {
  text-align: center;
  padding-top: var(--space-md);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ── Features Section ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(155,47,174,0.2);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Modules Section ── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.module-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition);
  position: relative;
}

.module-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(155,47,174,0.3);
}

.module-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.module-preview-card h4 {
  font-size: 17px;
  margin-bottom: var(--space-sm);
}

.module-preview-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.module-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topic-pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--cream-dark);
  color: var(--slate);
}

/* ── Stats Section ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ── Testimonials Section ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 64px;
  color: var(--gold-dim);
  line-height: 1;
}

.testimonial-text {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.testimonial-role {
  font-size: 13px;
  color: var(--slate-light);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

/* ── FAQ Section ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: rgba(201,168,76,0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
}

/* ── Final CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: var(--white);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-text {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold); }

/* ══════════════════════════════
   AUTH PAGE STYLES
   ══════════════════════════════ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(155,47,174,0.10), transparent 70%);
  pointer-events: none;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #1B1464 0%, #2E2A8F 60%, #9B2FAE 100%);
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.auth-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.auth-logo-sub {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.auth-title {
  font-size: 24px;
  margin-top: var(--space-lg);
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: 15px;
  color: var(--slate-light);
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--cream-dark);
  font-size: 14px;
  color: var(--slate-light);
}

.auth-footer a {
  color: var(--gold);
  font-weight: 600;
  transition: color var(--transition);
}
.auth-footer a:hover { color: var(--navy); }

.auth-back {
  position: absolute;
  top: var(--space-xl);
  left: var(--space-xl);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  text-decoration: none;
  z-index: 2;
}
.auth-back:hover { color: var(--gold); }

/* ── Password Strength Indicator ── */
.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.password-strength-bar {
  flex: 1;
  height: 3px;
  background: var(--cream-dark);
  border-radius: 2px;
  transition: background var(--transition);
}

.password-strength-bar.weak { background: var(--red); }
.password-strength-bar.fair { background: var(--amber); }
.password-strength-bar.good { background: var(--gold); }
.password-strength-bar.strong { background: var(--green); }

/* ══════════════════════════════
   SECTION HEADERS
   ══════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.section-header .badge {
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.7;
}

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

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

/* ── Divider ── */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto var(--space-lg);
}

/* ══════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .hero-card {
    max-width: 480px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: var(--space-3xl) 0; }
  
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(27,20,100,0.98);
    backdrop-filter: blur(12px);
    padding: var(--space-lg);
    gap: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  /* On mobile, flatten the user dropdown into the nav column */
  .nav-links.open .nav-user-menu .nav-user-btn { display: none; }
  .nav-links.open .nav-user-menu .nav-user-dropdown {
    display: block;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    min-width: auto;
    border-radius: 0;
    overflow: visible;
  }
  .nav-links.open .nav-user-menu .nav-user-dropdown a {
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
  }
  .nav-links.open .nav-cta { width: 100%; justify-content: center; }
  
  .hero-landing {
    padding: 120px 0 60px;
  }
  
  .hero-meta {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .modules-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section { padding: var(--space-2xl) 0; }
  .container { padding: 0 var(--space-md); }
  
  .hero-landing { padding: 100px 0 48px; }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  .stat-number { font-size: 32px; }
  
  .auth-card {
    padding: var(--space-xl) var(--space-lg);
  }
  
  .btn-lg {
    padding: 16px 32px;
    font-size: 16px;
  }
}
