/* TESTAMIND Course Framework - Claude AI Course */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --tm-primary: #00f5d4;
  --tm-primary-dark: #00c4a7;
  --tm-secondary: #9b5de5;
  --tm-tertiary: #f15bb5;
  --tm-accent: #fee440;
  --tm-dark-950: #000814;
  --tm-dark-900: #001d3d;
  --tm-dark-800: #003566;
  --tm-text: #ffffff;
  --tm-text-secondary: #b8c5d6;
  --tm-text-muted: #6b7a8f;
  --tm-glass: rgba(255,255,255,0.03);
  --tm-glass-border: rgba(255,255,255,0.08);
  --tm-gradient: linear-gradient(135deg, #00f5d4 0%, #9b5de5 50%, #f15bb5 100%);
  --tm-radius: 16px;
  --tm-radius-sm: 10px;
  --tm-radius-btn: 14px;
  --mod1: #00f5d4;
  --mod2: #60a5fa;
  --mod3: #4ade80;
  --mod4: #a78bfa;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--tm-dark-950);
  color: var(--tm-text);
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--tm-dark-950); }
::-webkit-scrollbar-thumb { background: var(--tm-dark-800); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--tm-primary); }

/* ===== HEADER ===== */
.course-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,8,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--tm-glass-border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--tm-text);
}

.header-brand .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--tm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-nav a {
  color: var(--tm-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--tm-primary); }

.header-nav .btn-sm {
  background: rgba(0,245,212,0.1);
  color: var(--tm-primary);
  padding: 8px 18px;
  border-radius: var(--tm-radius-btn);
  border: 1px solid rgba(0,245,212,0.2);
  font-weight: 600;
  transition: all 0.2s;
}

.header-nav .btn-sm:hover {
  background: rgba(0,245,212,0.2);
  border-color: rgba(0,245,212,0.4);
}

/* ===== HERO (Landing Page) ===== */
.hero {
  padding: 120px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,245,212,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(155,93,229,0.05) 0%, transparent 40%);
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,245,212,0.08);
  border: 1px solid rgba(0,245,212,0.15);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--tm-primary);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 .gradient-text {
  background: var(--tm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--tm-text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 300;
}

/* Stats */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tm-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--tm-text-muted);
  margin-top: 4px;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tm-gradient);
  color: #000814;
  padding: 16px 40px;
  border-radius: var(--tm-radius-btn);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 6px 30px rgba(0,245,212,0.3);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,245,212,0.4);
}

/* ===== MODULES GRID ===== */
.modules-section {
  padding: 40px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.module-card {
  background: var(--tm-glass);
  border: 1px solid var(--tm-glass-border);
  border-radius: var(--tm-radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--module-color);
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--module-color);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.module-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}

.module-number {
  font-size: 0.8rem;
  color: var(--tm-text-muted);
  font-weight: 500;
}

.module-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--module-color);
}

.module-desc {
  color: var(--tm-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.module-lessons {
  list-style: none;
}

.module-lessons li {
  padding: 10px 0;
  border-top: 1px solid var(--tm-glass-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-lessons li a {
  color: var(--tm-text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  flex: 1;
  transition: color 0.2s;
}

.module-lessons li a:hover {
  color: var(--module-color);
}

.lesson-num {
  font-size: 0.75rem;
  color: var(--tm-text-muted);
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

.lesson-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--tm-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.lesson-check.completed {
  background: var(--module-color);
  border-color: var(--module-color);
}

.lesson-check.completed::after {
  content: '\2713';
  font-size: 11px;
  color: #000;
  font-weight: 700;
}

.lesson-duration {
  font-size: 0.75rem;
  color: var(--tm-text-muted);
}

/* ===== LESSON PAGE LAYOUT ===== */
.lesson-page {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
}

/* Sidebar */
.sidebar {
  width: 300px;
  height: calc(100vh - 64px);
  position: fixed;
  top: 64px;
  right: 0;
  background: rgba(0,8,20,0.95);
  backdrop-filter: blur(10px);
  border-left: 1px solid var(--tm-glass-border);
  overflow-y: auto;
  z-index: 100;
  transition: transform 0.3s;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--tm-glass-border);
}

.sidebar-header a {
  color: var(--tm-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-progress {
  padding: 16px 20px;
  border-bottom: 1px solid var(--tm-glass-border);
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--tm-glass);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--tm-gradient);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--tm-text-muted);
}

.sidebar-modules {}

.sidebar-module {
  border-bottom: 1px solid var(--tm-glass-border);
}

.sidebar-module-title {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--module-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.sidebar-module-title:hover {
  background: rgba(255,255,255,0.02);
}

.sidebar-module-title .arrow {
  transition: transform 0.2s;
  font-size: 0.7rem;
}

.sidebar-module.open .arrow {
  transform: rotate(90deg);
}

.sidebar-lessons {
  list-style: none;
  display: none;
}

.sidebar-module.open .sidebar-lessons {
  display: block;
}

.sidebar-lessons li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 20px;
  color: var(--tm-text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.2s;
  border-right: 3px solid transparent;
}

.sidebar-lessons li a:hover {
  background: rgba(255,255,255,0.02);
  color: var(--tm-text-secondary);
}

.sidebar-lessons li a.active {
  background: rgba(0,245,212,0.05);
  color: var(--tm-text);
  border-right-color: var(--module-color);
}

.sidebar-lessons li a .s-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--tm-glass-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.sidebar-lessons li a .s-check.done {
  background: var(--tm-primary);
  border-color: var(--tm-primary);
  color: #000;
}

.sidebar-lessons li a .s-check.done::after {
  content: '\2713';
  font-weight: 700;
}

/* Main content area */
.lesson-main {
  flex: 1;
  margin-right: 300px;
  display: flex;
  flex-direction: column;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 24px;
  font-size: 0.82rem;
  color: var(--tm-text-muted);
  border-bottom: 1px solid var(--tm-glass-border);
}

.breadcrumbs a {
  color: var(--tm-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover { color: var(--tm-primary); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }

/* Lesson Header */
.lesson-header {
  padding: 24px;
  border-bottom: 1px solid var(--tm-glass-border);
}

.lesson-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.lesson-meta .tag {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.lesson-meta .tag-module {
  background: rgba(var(--module-color-rgb, 0,245,212), 0.1);
  color: var(--module-color);
  border: 1px solid rgba(var(--module-color-rgb, 0,245,212), 0.2);
}

.lesson-meta .tag-duration {
  background: rgba(255,255,255,0.05);
  color: var(--tm-text-muted);
}

.lesson-meta .tag-level {
  background: rgba(255,255,255,0.05);
  color: var(--tm-text-muted);
}

.lesson-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}

.lesson-header .lesson-subtitle {
  color: var(--tm-text-muted);
  font-size: 0.95rem;
}

/* Player area */
.player-wrapper {
  flex: 1;
  position: relative;
  min-height: 500px;
}

.player-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

/* Navigation bar */
.lesson-nav {
  padding: 16px 24px;
  border-top: 1px solid var(--tm-glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,8,20,0.8);
  backdrop-filter: blur(10px);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--tm-radius-btn);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-btn-prev {
  background: var(--tm-glass);
  border: 1px solid var(--tm-glass-border);
  color: var(--tm-text-secondary);
}

.nav-btn-prev:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--tm-text);
}

.nav-btn-next {
  background: rgba(0,245,212,0.1);
  border: 1px solid rgba(0,245,212,0.2);
  color: var(--tm-primary);
}

.nav-btn-next:hover {
  background: rgba(0,245,212,0.2);
  border-color: rgba(0,245,212,0.3);
  transform: translateY(-1px);
}

.nav-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.btn-complete {
  background: rgba(0,245,212,0.15);
  border: 1px solid rgba(0,245,212,0.3);
  color: var(--tm-primary);
  padding: 10px 22px;
  border-radius: var(--tm-radius-btn);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  transition: all 0.2s;
}

.btn-complete:hover {
  background: rgba(0,245,212,0.25);
  transform: translateY(-1px);
}

.btn-complete.is-completed {
  background: var(--tm-primary);
  color: #000814;
  border-color: var(--tm-primary);
}

/* ===== MOBILE SIDEBAR TOGGLE ===== */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  background: var(--tm-dark-900);
  border: 1px solid var(--tm-glass-border);
  border-radius: 50%;
  color: var(--tm-primary);
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ===== FOOTER ===== */
.course-footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--tm-glass-border);
  background: var(--tm-dark-950);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--tm-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--tm-primary); }

.footer-copy {
  color: var(--tm-text-muted);
  font-size: 0.8rem;
}

.footer-copy a {
  color: var(--tm-primary);
  text-decoration: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 60px 24px;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0,245,212,0.03), transparent);
}

.cta-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--tm-text-secondary);
  margin-bottom: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(100%);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: flex;
  }

  .lesson-main {
    margin-right: 0;
  }

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

@media (max-width: 600px) {
  .hero { padding: 100px 16px 40px; }
  .stats-row { gap: 20px; }
  .stat-number { font-size: 1.6rem; }
  .lesson-header { padding: 16px; }
  .lesson-nav { padding: 12px 16px; }
  .nav-btn { padding: 8px 16px; font-size: 0.85rem; }
  .header-nav a:not(.btn-sm) { display: none; }
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99;
}

.sidebar-overlay.active { display: block; }

/* ===== LEAD CAPTURE ===== */
.lc-section {
  padding: 40px 24px;
  text-align: center;
}

.lc-card {
  max-width: 580px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(0,245,212,0.06), rgba(155,93,229,0.04));
  border: 2px solid rgba(0,245,212,0.15);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.lc-card:hover {
  border-color: rgba(0,245,212,0.3);
}

.lc-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px;
  height: 4px;
  background: var(--tm-gradient);
  border-radius: 20px 20px 0 0;
}

.lc-badge {
  display: inline-block;
  background: rgba(0,245,212,0.1);
  border: 1px solid rgba(0,245,212,0.2);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--tm-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.lc-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--tm-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lc-desc {
  color: var(--tm-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.lc-form-row {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 12px;
}

.lc-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(0,8,20,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Heebo', sans-serif;
  direction: ltr;
  text-align: left;
  outline: none;
  transition: border-color 0.2s;
}

.lc-input::placeholder {
  color: var(--tm-text-muted);
  direction: rtl;
  text-align: right;
}

.lc-input:focus {
  border-color: var(--tm-primary);
  box-shadow: 0 0 0 3px rgba(0,245,212,0.1);
}

.lc-btn {
  padding: 14px 24px;
  background: var(--tm-gradient);
  color: #000814;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  min-width: 140px;
}

.lc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,245,212,0.3);
}

.lc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.lc-privacy {
  font-size: 0.78rem;
  color: var(--tm-text-muted);
  margin: 0;
}

.lc-error {
  color: #f87171;
  font-size: 0.85rem;
  margin-top: 8px;
  display: none;
}

/* Success State */
.lc-success {
  display: none;
  animation: lcReveal 0.5s ease;
}

.lc-success.show { display: block; }

@keyframes lcReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.lc-success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.lc-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tm-primary);
  margin-bottom: 8px;
}

.lc-prompts-list {
  text-align: right;
  max-width: 440px;
  margin: 16px auto 0;
  list-style: none;
}

.lc-prompts-list li {
  padding: 12px 16px;
  margin-bottom: 8px;
  background: rgba(0,8,20,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--tm-text-secondary);
  line-height: 1.6;
  transition: border-color 0.2s;
}

.lc-prompts-list li:hover {
  border-color: rgba(0,245,212,0.15);
}

.lc-prompts-list li strong {
  color: var(--tm-primary);
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* Exit-Intent Popup */
.lc-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lc-popup-overlay.active {
  display: flex;
  animation: lcFadeIn 0.3s ease;
}

@keyframes lcFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lc-popup {
  background: linear-gradient(145deg, #001d3d, #000814);
  border: 1px solid rgba(0,245,212,0.2);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: lcSlideUp 0.3s ease;
}

@keyframes lcSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.lc-popup-close {
  position: absolute;
  top: 12px;
  left: 12px;
  background: none;
  border: none;
  color: var(--tm-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.lc-popup-close:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* Hero-inline Lead Capture */
.lc-hero-wrap {
  max-width: 700px;
  margin: 40px auto 0;
}

.lc-card-hero {
  max-width: 100%;
  padding: 24px 28px;
}

.lc-hero-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lc-hero-text {
  flex: 1;
  text-align: right;
}

.lc-hero-text .lc-badge {
  margin-bottom: 8px;
}

.lc-hero-text .lc-subtitle {
  font-size: 0.85rem;
  color: var(--tm-text-muted);
}

.lc-hero-form {
  flex: 1;
  min-width: 0;
}

.lc-hero-form .lc-form-row {
  flex-direction: column;
  gap: 8px;
}

.lc-hero-form .lc-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.95rem;
}

.lc-hero-form .lc-input {
  width: 100%;
}

.lc-hero-form .lc-privacy {
  font-size: 0.7rem;
  margin-top: 6px;
}

/* ===== MORE COURSES GRID ===== */
.more-courses-section {
  padding: 60px 24px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.courses-grid-sm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.course-card-sm {
  background: var(--tm-glass);
  border: 1px solid var(--tm-glass-border);
  border-radius: var(--tm-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--tm-text);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.course-card-sm:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.course-card-sm.course-purple { border-color: rgba(155,93,229,0.25); }
.course-card-sm.course-purple:hover { border-color: rgba(155,93,229,0.5); }
.course-card-sm.course-green { border-color: rgba(74,222,128,0.2); }
.course-card-sm.course-green:hover { border-color: rgba(74,222,128,0.4); }
.course-card-sm.course-blue { border-color: rgba(96,165,250,0.2); }
.course-card-sm.course-blue:hover { border-color: rgba(96,165,250,0.4); }

.course-card-sm img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.course-card-sm-body {
  padding: 16px;
  flex: 1;
  position: relative;
}

.course-card-sm-price {
  position: absolute;
  top: -14px;
  left: 12px;
  background: var(--tm-secondary);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.course-card-sm.course-green .course-card-sm-price { background: #4ade80; color: #000; }
.course-card-sm.course-blue .course-card-sm-price { background: #60a5fa; }

.course-card-sm-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.course-card-sm-body p {
  font-size: 0.8rem;
  color: var(--tm-text-muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .lc-hero-row { flex-direction: column; gap: 16px; }
  .lc-hero-text { text-align: center; }
  .courses-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 600px) {
  .lc-card { padding: 28px 20px; }
  .lc-form-row { flex-direction: column; }
  .lc-btn { width: 100%; }
  .lc-popup { padding: 28px 20px; }
  .courses-grid-sm { grid-template-columns: 1fr 1fr; gap: 12px; }
  .course-card-sm img { height: 100px; }
  .course-card-sm-body { padding: 12px; }
  .course-card-sm-body h3 { font-size: 0.9rem; }
}
