/* ============================================================================
   LORDS OF LENDING - LANDING PAGE STYLES
   Clean white theme - Professional SaaS design
   ============================================================================ */

/* ============================================================================
   CSS VARIABLES - LIGHT THEME
   ============================================================================ */

:root {
  /* Background Colors - Light Theme */
  --landing-bg: #FFFFFF;
  --landing-bg-secondary: #F8FAFC;
  --landing-bg-tertiary: #F1F5F9;

  /* Text Colors - Dark for light bg */
  --landing-text: #1A202C;
  --landing-text-secondary: #4A5568;
  --landing-text-muted: #718096;
  --landing-text-dim: #A0AEC0;

  /* Brand Colors */
  --landing-accent: #0049fb;
  --landing-accent-light: #3371fc;
  --landing-accent-dark: #0038c7;
  --landing-accent-glow: rgba(0, 73, 251, 0.15);
  --landing-gold: #C9A227;
  --landing-gold-light: #D4B04A;

  /* Card & Surface - Light theme */
  --landing-card-bg: #FFFFFF;
  --landing-card-bg-hover: #F8FAFC;
  --landing-card-border: #E2E8F0;
  --landing-card-border-hover: #CBD5E1;

  /* Gradients - Subtle for light theme */
  --landing-gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 73, 251, 0.05), transparent);
  --landing-gradient-section: linear-gradient(180deg, transparent 0%, rgba(0, 73, 251, 0.02) 50%, transparent 100%);

  /* Spacing */
  --landing-section-padding: 120px;
  --landing-container-width: 1200px;

  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
}

body.landing-page {
  font-family: var(--font-family);
  background: var(--landing-bg);
  color: var(--landing-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.landing-container {
  max-width: var(--landing-container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.landing-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--landing-card-border);
  padding: 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

.nav-logo img {
  height: 36px;
  width: auto;
}

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

.nav-links a {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--landing-text);
}

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

.btn-ghost {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  color: var(--landing-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  background: var(--landing-card-bg);
  border-color: var(--landing-card-border-hover);
}

.btn-primary {
  padding: 10px 24px;
  background: var(--landing-accent);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--landing-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--landing-accent-glow);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-gold {
  background: var(--landing-gold);
  color: white;
}

.btn-gold:hover {
  background: var(--landing-gold-light);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--landing-text);
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.nav-toggle .close-icon {
  display: none;
}

.nav-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.nav-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

.nav-link-mobile {
  display: none;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--landing-text);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .gold {
  color: var(--landing-gold);
  -webkit-text-fill-color: var(--landing-gold);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--landing-text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-secondary {
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  color: var(--landing-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--landing-card-bg-hover);
  border-color: var(--landing-card-border-hover);
}

/* Hero Visual - Floating Module Cards */
.hero-visual {
  position: relative;
  overflow: visible;
  min-height: 440px;
}

.hero-cards-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 22px;
}

/* Gradient Fade Overlay - Right to Left */
.hero-cards-fade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 70%, rgba(255, 255, 255, 0.95) 100%);
  pointer-events: none;
  z-index: 10;
}

/* Hero Module Cards */
.hero-module-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.hero-module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Staggered positioning for visual interest */
.hero-module-1 { transform: translateY(0); }
.hero-module-2 { transform: translateY(22px); }
.hero-module-3 { transform: translateY(-11px); }
.hero-module-4 { transform: translateY(33px); }

.hero-module-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.hero-module-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
  color: white;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 11px;
}

.hero-module-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 11px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-module-title {
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--landing-text);
  margin: 0 0 9px;
  line-height: 1.3;
}

.hero-module-desc {
  font-size: 0.89rem;
  color: var(--landing-text-muted);
  line-height: 1.5;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-module-meta {
  display: flex;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--landing-card-border);
}

.hero-module-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.825rem;
  color: var(--landing-text-dim);
}

.hero-module-meta svg {
  color: var(--landing-text-dim);
}

/* ============================================================================
   PAIN POINTS SECTION
   ============================================================================ */

.pain-section {
  padding: var(--landing-section-padding) 0;
  background: var(--landing-bg-secondary);
}

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

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--landing-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--landing-text);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--landing-text-muted);
  line-height: 1.7;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pain-item:hover {
  background: var(--landing-card-bg-hover);
  border-color: var(--landing-card-border-hover);
  transform: translateY(-2px);
}

.pain-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 10px;
  color: #EF4444;
  flex-shrink: 0;
}

.pain-icon svg {
  width: 20px;
  height: 20px;
}

.pain-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--landing-text);
}

.pain-content p {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */

.features-section {
  padding: var(--landing-section-padding) 0;
  background: var(--landing-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--landing-card-bg-hover);
  border-color: var(--landing-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 73, 251, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-dark) 100%);
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px -8px var(--landing-accent-glow);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--landing-text);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================================
   HOW IT WORKS SECTION
   ============================================================================ */

.how-it-works-section {
  padding: var(--landing-section-padding) 0;
  background: var(--landing-bg-secondary);
}

.steps-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--landing-card-border), var(--landing-card-border), transparent);
}

.step-item {
  flex: 1;
  max-width: 320px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--landing-bg);
  border: 2px solid var(--landing-accent);
  border-radius: 50%;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-accent);
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--landing-text);
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================================
   COURSE PREVIEW SECTION
   ============================================================================ */

.preview-section {
  padding: var(--landing-section-padding) 0;
  background: var(--landing-bg);
}

.preview-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 48px;
  align-items: start;
}

.module-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-accordion-item {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 12px;
  overflow: hidden;
}

.module-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s ease;
}

.module-accordion-header:hover {
  background: var(--landing-bg-secondary);
}

.module-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--landing-accent);
}

.module-title {
  flex: 1;
  font-weight: 600;
  color: var(--landing-text);
}

.module-meta {
  font-size: 0.8125rem;
  color: var(--landing-text-muted);
}

.module-chevron {
  color: var(--landing-text-muted);
  transition: transform 0.2s;
}

.module-accordion-item.active .module-chevron {
  transform: rotate(180deg);
}

.module-accordion-content {
  display: none;
  padding: 0 20px 20px;
  padding-left: 44px;
}

.module-accordion-item.active .module-accordion-content {
  display: block;
}

.module-accordion-content p {
  font-size: 0.875rem;
  color: var(--landing-text-secondary);
  margin: 0 0 16px;
}

.module-accordion-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-accordion-content li {
  font-size: 0.8125rem;
  color: var(--landing-text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.module-accordion-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--landing-accent);
  border-radius: 50%;
}

.module-more {
  padding: 16px 20px;
  text-align: center;
  color: var(--landing-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Preview CTA Card */
.preview-cta-card {
  position: sticky;
  top: 100px;
  background: linear-gradient(135deg, rgba(0, 73, 251, 0.1) 0%, rgba(0, 73, 251, 0.05) 100%);
  border: 1px solid var(--landing-accent);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.preview-badge {
  display: inline-block;
  background: var(--landing-gold);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.preview-cta-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-text);
  margin: 0 0 8px;
}

.preview-cta-card p {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  margin: 0 0 24px;
}

.preview-cta-card .btn-primary {
  width: 100%;
  margin-bottom: 20px;
}

.preview-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--landing-text-muted);
}

.preview-feature svg {
  color: var(--landing-gold);
}

/* ============================================================================
   CURRICULUM SECTION - Module Cards Grid
   ============================================================================ */

.curriculum-section {
  padding: var(--landing-section-padding) 0;
  background: var(--landing-bg);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.curriculum-card {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.curriculum-card:hover {
  border-color: var(--landing-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -10px rgba(0, 73, 251, 0.15);
}

.curriculum-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.curriculum-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.curriculum-start-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  background: var(--landing-accent);
  padding: 6px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.curriculum-start-btn:hover {
  background: var(--landing-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 251, 0.25);
}

.curriculum-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--landing-text);
  margin: 0 0 12px;
  line-height: 1.35;
}

.curriculum-desc {
  font-size: 0.875rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
}

.curriculum-meta {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--landing-card-border);
}

.curriculum-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--landing-text-dim);
}

.curriculum-meta svg {
  color: var(--landing-text-dim);
  opacity: 0.7;
}

/* Curriculum CTA */
.curriculum-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(0, 73, 251, 0.08) 0%, rgba(124, 58, 237, 0.05) 100%);
  border: 1px solid var(--landing-accent);
  border-radius: 20px;
  padding: 40px;
}

.curriculum-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.curriculum-cta-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-text);
  margin: 0 0 8px;
}

.curriculum-cta-info p {
  font-size: 1rem;
  color: var(--landing-text-muted);
  margin: 0;
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */

.faq-section {
  padding: var(--landing-section-padding) 0;
  background: var(--landing-bg-secondary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 12px;
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--landing-bg-secondary);
}

.faq-chevron {
  color: var(--landing-text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.cta-section {
  padding: var(--landing-section-padding) 0;
  text-align: center;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px;
  background: linear-gradient(135deg, rgba(0, 73, 251, 0.1) 0%, rgba(0, 73, 251, 0.05) 100%);
  border: 1px solid var(--landing-accent);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-headline {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--landing-text);
}

.cta-subhead {
  font-size: 1.125rem;
  color: var(--landing-text-muted);
  margin-bottom: 32px;
}

.cta-box .btn-primary {
  font-size: 1.125rem;
  padding: 18px 40px;
}

.cta-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--landing-text-dim);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.landing-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--landing-card-border);
  background: var(--landing-bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 32px;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--landing-text);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--landing-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--landing-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--landing-card-border);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--landing-text-dim);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--landing-text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--landing-text-muted);
}

/* ============================================================================
   AUTH MODAL
   ============================================================================ */

.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal.active {
  display: flex;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.auth-modal-content {
  position: relative;
  background: var(--landing-card-bg);
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modal-appear 0.2s ease;
}

@keyframes modal-appear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.auth-modal-content .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--landing-card-border);
}

.auth-modal-content .modal-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--landing-text);
}

.auth-modal-content .modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--landing-text-muted);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-modal-content .modal-close:hover {
  color: var(--landing-text);
  background: var(--landing-bg-secondary);
}

.auth-modal-content .modal-body {
  padding: 24px;
  overflow-y: auto;
}

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

.auth-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--landing-text);
  margin-bottom: 6px;
}

.auth-form .form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  background: var(--landing-card-bg);
  color: var(--landing-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-form .form-control:focus {
  outline: none;
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 3px var(--landing-accent-glow);
}

.auth-form .form-control::placeholder {
  color: var(--landing-text-dim);
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: #EF4444;
  margin-top: 6px;
}

.form-error.visible {
  display: block;
}

.auth-link {
  color: var(--landing-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
}

.auth-link:hover {
  text-decoration: underline;
}

.btn-full {
  width: 100%;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--landing-text-muted);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--landing-card-border);
}

.auth-divider span {
  font-size: 0.8125rem;
  color: var(--landing-text-muted);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--landing-text-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--landing-accent);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 48px;
    display: none; /* Hide floating cards on tablet */
  }

  .preview-content {
    grid-template-columns: 1fr;
  }

  .preview-cta-card {
    position: static;
    order: -1;
    margin-bottom: 32px;
  }

  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .curriculum-cta-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --landing-section-padding: 80px;
  }

  .landing-nav {
    padding: 12px 0;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--landing-card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--landing-card-border);
    font-size: 1rem;
    color: var(--landing-text);
  }

  .nav-link-mobile {
    display: block;
    font-weight: 600;
    color: var(--landing-accent) !important;
  }

  .nav-buttons {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-cta {
    padding: 24px;
  }

  .curriculum-cta-info h3 {
    font-size: 1.25rem;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
  }

  .steps-row::before {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 48px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 50px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

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

  .cta-headline {
    font-size: 1.5rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
}
