/* ============================================
   CRYPTO MARKET ACADEMY — styles-sections.css
   Ultra-Premium Section Styles v2.0
   ============================================ */

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 13, 0.4);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: all var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(5, 7, 13, 0.92);
  border-bottom-color: rgba(var(--primary-rgb), 0.08);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5),
              0 0 80px rgba(var(--primary-rgb), 0.03);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .nav__inner { padding: 0 32px; }
}

@media (min-width: 1024px) {
  .nav__inner { padding: 0 48px; }
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 1001;
  letter-spacing: -0.01em;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-primary),
              inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all var(--transition-base);
}

.nav__logo:hover .nav__logo-icon {
  box-shadow: var(--shadow-glow),
              inset 0 1px 0 rgba(255,255,255,0.25);
  transform: scale(1.05);
}

.nav__links {
  display: none;
  gap: 36px;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
}

.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1001;
}

.nav__cta {
  display: none;
}

@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 26px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 7, 13, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.mobile-menu a:hover {
  color: var(--primary-400);
}

.mobile-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.mobile-menu a:hover::after {
  width: 100%;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Hero background layers */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(var(--primary-rgb), 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(var(--accent-rgb), 0.04), transparent 50%),
    radial-gradient(ellipse 40% 30% at 90% 70%, rgba(var(--secondary-rgb), 0.03), transparent 50%),
    linear-gradient(180deg, var(--surface-900) 0%, var(--surface-950) 100%);
  pointer-events: none;
}

/* Animated orb - top right */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: float 25s ease-in-out infinite;
  filter: blur(40px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

.hero__content {
  order: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__content {
    order: 1;
    text-align: left;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--primary-rgb), 0.04));
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-400);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.1);
}

.hero__title {
  margin-bottom: 0;
  line-height: 1.05;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.85;
}

@media (min-width: 1024px) {
  .hero__subtitle { margin-bottom: 44px; }
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero__buttons { justify-content: flex-start; }
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Mobile visual placement */
.hero__visual--mobile {
  display: block;
  margin: 32px auto 36px;
  max-width: 420px;
}

.hero__visual--desktop {
  display: none;
  order: 2;
}

@media (min-width: 1024px) {
  .hero__visual--mobile {
    display: none;
  }

  .hero__visual--desktop {
    display: flex;
    order: 2;
  }
}

/* ---------- Device Mockup ---------- */
.device-mockup {
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850), var(--surface-900));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl),
              0 0 100px rgba(var(--primary-rgb), 0.05);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

/* Subtle gradient border on mockup */
.device-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(165deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02), rgba(var(--primary-rgb),0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.device-mockup__bar {
  padding: 14px 20px;
  background: linear-gradient(180deg, var(--surface-700), var(--surface-750));
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.device-mockup__dots {
  display: flex;
  gap: 7px;
}

.device-mockup__dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.device-mockup__dots span:nth-child(1) { background: linear-gradient(180deg, #ff6058, #ff4d4d); }
.device-mockup__dots span:nth-child(2) { background: linear-gradient(180deg, #ffbd2e, #f5a623); }
.device-mockup__dots span:nth-child(3) { background: linear-gradient(180deg, #28ca42, #1db954); }

.device-mockup__url {
  flex: 1;
  background: var(--surface-800);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.04);
}

.device-mockup__body {
  padding: 28px;
  background: linear-gradient(180deg, var(--surface-850), var(--surface-900));
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.device-mockup__body-icon {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.device-mockup__body h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.device-mockup__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Mockup Internal Components ---------- */
.mockup-sidebar {
  width: 38%;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

.mockup-sidebar__title {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--primary-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.mockup-lesson {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.mockup-lesson span:first-child {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.mockup-lesson span:last-child {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.mockup-lesson--active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--primary-rgb), 0.08));
  border-left: 2px solid var(--primary-400);
}

.mockup-lesson--active span:first-child {
  font-size: 0.6rem;
  color: var(--primary-400);
}

.mockup-lesson--active span:last-child {
  font-size: 0.6rem;
  color: var(--text-primary);
  font-weight: 600;
}

.mockup-progress {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mockup-progress__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.52rem;
  color: var(--text-muted);
}

.mockup-progress__count {
  color: var(--primary-400);
  font-weight: 700;
}

.mockup-progress__bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}

.mockup-progress__fill {
  width: 2.5%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 99px;
}

.mockup-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, var(--surface-950), var(--surface-800));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

.mockup-video__chart {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  opacity: 0.1;
}

.mockup-video__play {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.4);
  z-index: 1;
}

.mockup-video__play span {
  font-size: 0.85rem;
  margin-left: 3px;
  color: var(--text-on-primary);
}

.mockup-video__duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.55rem;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
  z-index: 1;
}

.mockup-video__progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}

.mockup-video__progress-fill {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-400));
  border-radius: 99px;
}

.mockup-video__info {}

.mockup-video__title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.mockup-video__sub {
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.mockup-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.mockup-actions__next {
  flex: 1;
  padding: 7px 0;
  background: var(--gradient-primary);
  border-radius: 7px;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-on-primary);
  box-shadow: var(--shadow-primary);
}

.mockup-actions__notes {
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  text-align: center;
  font-size: 0.55rem;
  color: var(--text-muted);
}

/* ---------- Floating Badges ---------- */
.floating-badges {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg),
              0 0 30px rgba(0,0,0,0.3);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Gradient border on floating badges */
.floating-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.25), rgba(255,255,255,0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.floating-badge__icon {
  font-size: 1.1rem;
}

.floating-badge--tl {
  top: 5%;
  left: -12%;
  animation: float 7s ease-in-out infinite;
}

.floating-badge--tr {
  top: 12%;
  right: -10%;
  animation: float 7s ease-in-out 1.2s infinite;
}

.floating-badge--bl {
  bottom: 18%;
  left: -14%;
  animation: float 7s ease-in-out 2.4s infinite;
}

.floating-badge--br {
  bottom: 6%;
  right: -6%;
  animation: float 7s ease-in-out 3.6s infinite;
}

@media (max-width: 767px) {
  .floating-badge { display: none; }
}

/* ---------- Hero Mobile Adjustments ---------- */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 36px);
    padding-bottom: 56px;
  }

  .hero__content {
    text-align: center;
    order: 1;
  }

  .hero__badge {
    font-size: 0.72rem;
    padding: 8px 16px;
    margin-bottom: 22px;
  }

  .hero__title {
    font-size: 2.1rem;
    margin-bottom: 0;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin: 0 auto 32px;
    line-height: 1.75;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .hero__buttons .btn {
    justify-content: center;
    text-align: center;
  }

  .hero__visual--mobile .device-mockup {
    max-width: 100%;
    box-shadow: var(--shadow-xl);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__content {
    text-align: center;
    order: 1;
  }

  .hero__title {
    font-size: 2.6rem;
    margin-bottom: 0;
  }

  .hero__subtitle {
    margin: 0 auto 36px;
  }

  .hero__visual--mobile .device-mockup {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============ STATS ============ */
.stats {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--surface-950), var(--surface-900), var(--surface-950));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

/* Subtle glow behind stats */
.stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.04), transparent 70%);
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
  position: relative;
}

/* Divider between stats on desktop */
@media (min-width: 768px) {
  .stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
  }
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-300), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  .stats__grid {
    gap: 32px;
  }

  .stat__number {
    font-size: 2.2rem;
  }
}

/* ============ COURSES INTRO & CARDS ============ */
.courses-intro {
  background:
    radial-gradient(ellipse 80% 50% at 30% 50%, rgba(var(--primary-rgb), 0.04), transparent 60%),
    linear-gradient(180deg, var(--surface-900), var(--surface-850));
  position: relative;
}

.course-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .course-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .course-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.course-card {
  display: flex;
  flex-direction: column;
}

.course-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card .card-body p {
  flex: 1;
}

.course-card .card-footer {
  margin-top: auto;
  padding-top: 24px;
}

.course-card .card-footer .btn {
  width: 100%;
}

/* ============ COURSE SECTIONS (Detail) ============ */
.course-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(var(--primary-rgb), 0.03), transparent 60%),
    linear-gradient(180deg, var(--surface-850), var(--surface-900));
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.course-section:nth-child(even) {
  background:
    radial-gradient(ellipse 70% 50% at 50% 70%, rgba(var(--accent-rgb), 0.025), transparent 60%),
    linear-gradient(180deg, var(--surface-900), var(--surface-850));
}

.course-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 52px;
}

@media (min-width: 768px) {
  .course-header {
    grid-template-columns: 1fr auto;
  }
}

.course-header__rank {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
}

.course-header__title {
  margin-bottom: 10px;
}

.course-header__tagline {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.75;
}

.course-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.course-header__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.course-header__price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.course-header__price-range {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Customization Banner */
.course-customization {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--accent-rgb), 0.03));
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

/* Shine effect on customization banner */
.course-customization::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.4), transparent);
}

.course-customization__icon {
  font-size: 1.6rem;
}

.course-customization__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 200px;
  line-height: 1.7;
}

.course-customization__text strong {
  color: var(--primary-400);
}

/* Course USP Banner */
.course-usp {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), rgba(99,102,241,0.03));
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-xl);
  padding: 26px 32px;
  margin-bottom: 44px;
  position: relative;
}

.course-usp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
}

.course-usp p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.course-usp strong {
  color: var(--primary-400);
}

@media (max-width: 767px) {
  .course-usp {
    padding: 20px;
  }
  .course-usp p {
    font-size: 0.88rem;
  }
}

/* ============ MODULE ACCORDION ============ */
.modules {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.module {
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.module::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), transparent, rgba(var(--accent-rgb), 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.module:hover {
  border-color: rgba(var(--primary-rgb), 0.1);
}

.module:hover::before {
  opacity: 1;
}

.module.active {
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.06);
}

.module.active::before {
  opacity: 1;
}

.module__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  cursor: pointer;
  gap: 14px;
  transition: background var(--transition-fast);
  flex-wrap: wrap;
}

.module__header:hover {
  background: rgba(255,255,255,0.02);
}

.module__header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.module__number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--primary-rgb), 0.05));
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-400);
  flex-shrink: 0;
}

.module__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module__count {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  background: rgba(255,255,255,0.04);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.06);
}

.module__arrow {
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-base);
  flex-shrink: 0;
}

.module.active .module__arrow {
  transform: rotate(180deg);
  color: var(--primary-400);
}

.module__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.module.active .module__body {
  max-height: 700px;
}

.module__lessons {
  padding: 0 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lesson {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.lesson:hover {
  background: rgba(255,255,255,0.03);
}

.lesson__num {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.04);
}

.lesson__title {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.lesson__duration {
  margin-left: auto;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

/* Course CTA */
.course-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
  align-items: center;
}

@media (max-width: 767px) {
  .module__header {
    padding: 16px 18px;
    gap: 12px;
  }

  .module__number {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }

  .module__title {
    font-size: 0.88rem;
  }

  .module__count {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .module__lessons {
    padding: 0 18px 18px;
  }

  .lesson {
    padding: 10px 12px;
    gap: 12px;
  }

  .lesson__num {
    width: 26px;
    height: 26px;
    font-size: 0.68rem;
  }

  .lesson__title {
    font-size: 0.84rem;
  }

  .course-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .course-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .course-header {
    flex-direction: column;
    gap: 24px;
  }

  .course-header__rank {
    font-size: 3.5rem;
  }

  .course-header__title {
    font-size: 1.6rem;
  }

  .course-header__tagline {
    font-size: 0.92rem;
  }

  .course-header__meta {
    gap: 10px;
  }

  .course-header__price {
    text-align: center;
    padding: 22px 28px;
    background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.06), rgba(var(--primary-rgb), 0.02));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    position: relative;
    overflow: hidden;
    align-items: center;
    margin-top: 10px;
  }

  .course-header__price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-400), transparent);
  }

  .course-header__price-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .course-header__price-range {
    font-size: 1.7rem;
  }

  .course-customization {
    padding: 20px 18px;
    border-radius: var(--radius-lg);
  }

  .course-customization__text {
    font-size: 0.88rem;
  }
}

/* ============ WHY US (3 Columns) ============ */
.why-us {
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(var(--primary-rgb), 0.04), transparent 60%),
    linear-gradient(180deg, var(--surface-900), var(--surface-850));
  position: relative;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .why-us__grid { grid-template-columns: repeat(3, 1fr); }
}

.why-us__col {
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Gradient border on hover */
.why-us__col::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.why-us__col:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-us__col:hover::before {
  opacity: 1;
}

/* Highlighted middle column */
.why-us__col--highlight {
  background: var(--gradient-primary);
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: var(--shadow-primary-lg),
              var(--shadow-xl),
              0 0 60px rgba(var(--primary-rgb), 0.1);
  transform: scale(1);
}

.why-us__col--highlight::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 1;
}

@media (min-width: 768px) {
  .why-us__col--highlight {
    transform: scale(1.05);
  }
}

.why-us__col--highlight:hover {
  transform: scale(1.08) translateY(-6px);
  box-shadow: var(--shadow-glow-lg),
              var(--shadow-2xl);
}

.why-us__col-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.why-us__col--highlight .why-us__col-header {
  border-bottom-color: rgba(255,255,255,0.25);
}

.why-us__col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.why-us__col--highlight .why-us__col-title {
  color: #fff;
}

.why-us__col-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.why-us__col--highlight .why-us__col-sub {
  color: rgba(255,255,255,0.75);
}

.why-us__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-us__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.why-us__col--highlight .why-us__item {
  color: rgba(255,255,255,0.92);
}

.why-us__item-icon {
  flex-shrink: 0;
  font-size: 1.05rem;
  margin-top: 2px;
}

.why-us__item-icon--check { color: var(--primary-400); }
.why-us__item-icon--cross { color: #ef4444; }

.why-us__col--highlight .why-us__item-icon--check {
  color: #fff;
}

@media (max-width: 767px) {
  .why-us__grid {
    gap: 20px;
  }

  .why-us__col--highlight {
    order: -1;
  }
}

/* ============ EARNINGS MODEL ============ */
.earnings {
  background:
    radial-gradient(ellipse 70% 50% at 70% 50%, rgba(var(--primary-rgb), 0.05), transparent 60%),
    linear-gradient(180deg, var(--surface-850), var(--surface-900));
  position: relative;
}

.earnings__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .earnings__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .earnings__grid { grid-template-columns: repeat(4, 1fr); }
}

.earnings__card {
  text-align: center;
  padding: 36px 24px;
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.earnings__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.earnings__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.earnings__card:hover::before {
  opacity: 1;
}

.earnings__card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.earnings__card-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-300), var(--primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.earnings__card-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .earnings__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============ REVIEWS ============ */
.reviews {
  background:
    radial-gradient(ellipse 70% 50% at 30% 50%, rgba(var(--primary-rgb), 0.04), transparent 60%),
    linear-gradient(180deg, var(--surface-900), var(--surface-850));
  position: relative;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s var(--ease-out);
  cursor: grab;
}

.slider-track:active {
  cursor: grabbing;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850));
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: linear-gradient(165deg, var(--surface-700), var(--surface-800));
  border-color: rgba(var(--primary-rgb), 0.2);
  color: var(--primary-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md),
              0 0 20px rgba(var(--primary-rgb), 0.1);
}

.review-card {
  min-width: calc(100% - 0px);
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Subtle top shine */
.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
}

@media (min-width: 768px) {
  .review-card { min-width: calc(50% - 14px); }
}

@media (min-width: 1024px) {
  .review-card { min-width: calc(33.333% - 19px); }
}

.review-card__stars {
  color: var(--primary-400);
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: 3px;
}

.review-card__text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-on-primary);
  box-shadow: var(--shadow-primary);
}

.review-card__name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.review-card__location {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============ FAQ ============ */
.faq {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(var(--primary-rgb), 0.035), transparent 60%),
    linear-gradient(180deg, var(--surface-850), var(--surface-900));
  position: relative;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .faq__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

.faq-item {
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.faq-item:hover {
  border-color: rgba(var(--primary-rgb), 0.12);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item.active {
  border-color: rgba(var(--primary-rgb), 0.2);
}

.faq-item.active::before {
  opacity: 1;
}

.faq-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  gap: 18px;
  transition: background var(--transition-fast);
}

.faq-item__header:hover {
  background: rgba(255,255,255,0.02);
}

.faq-item__question {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
}

.faq-item__icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
  color: var(--primary-400);
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-item.active .faq-item__body {
  max-height: 350px;
}

.faq-item__answer {
  padding: 0 28px 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 767px) {
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner__title {
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.cta-banner__text {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-banner .btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.55);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media (max-width: 767px) {
  .cta-banner__title {
    font-size: 1.6rem;
  }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--surface-950);
  padding: 100px 0 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

/* Subtle top glow */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.03), transparent 70%);
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 320px;
  line-height: 1.75;
}

.footer__heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 0;
}

.footer__links a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.footer__links a:hover {
  color: var(--primary-400);
  padding-left: 16px;
}

.footer__links a:hover::before {
  width: 8px;
}

.footer__bottom {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer__copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 28px;
}

.footer__legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--primary-400);
}

@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============ LOGIN MODAL ============ */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 5, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: 20px;
}

.login-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.login-modal {
  background: linear-gradient(165deg, var(--surface-800), var(--surface-850), var(--surface-900));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-2xl);
  padding: 48px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-2xl),
              0 0 80px rgba(var(--primary-rgb), 0.05);
  transform: translateY(24px) scale(0.95);
  transition: transform var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Gradient border on modal */
.login-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(165deg, rgba(var(--primary-rgb), 0.2), rgba(255,255,255,0.05), rgba(var(--accent-rgb), 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.login-overlay.active .login-modal {
  transform: translateY(0) scale(1);
}

.login-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
  padding: 0;
  line-height: 1;
}

.login-modal__close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.login-modal__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--primary-rgb), 0.05));
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 28px;
  box-shadow: var(--shadow-primary);
}

.login-modal h3 {
  margin-bottom: 10px;
}

.login-modal p {
  font-size: 0.92rem;
  margin-bottom: 32px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input {
  padding: 16px 20px;
  background: var(--surface-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
  background: var(--surface-750);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.login-error {
  font-size: 0.82rem;
  color: #ef4444;
  display: none;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
}

.login-error.show {
  display: block;
}

/* ============ DOWNLOAD PANEL ============ */
.download-panel {
  display: none;
  background: linear-gradient(165deg, rgba(40, 200, 64, 0.08), rgba(40, 200, 64, 0.02));
  border: 1px solid rgba(40, 200, 64, 0.18);
  border-radius: var(--radius-2xl);
  padding: 40px 36px;
  margin-top: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 200, 64, 0.5), transparent);
}

.download-panel.show {
  display: block;
}

.download-panel__icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.download-panel__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.download-panel__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.download-panel .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.download-panel__desktop {
  display: inline-flex;
}

.download-panel__mobile-warning {
  display: none;
}

@media (max-width: 767px) {
  .download-panel {
    padding: 32px 24px;
    border-radius: var(--radius-xl);
  }

  .download-panel__desktop {
    display: none;
  }

  .download-panel__mobile-warning {
    display: block;
    background: linear-gradient(165deg, var(--surface-800), var(--surface-850));
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 8px;
  }

  .download-panel__mobile-warning-icon {
    font-size: 2rem;
    margin-bottom: 14px;
  }

  .download-panel__mobile-warning-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-400);
    margin-bottom: 8px;
  }

  .download-panel__mobile-warning-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
  }
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-out);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  background: rgba(12, 18, 32, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-2xl),
              0 0 60px rgba(0,0,0,0.4);
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 220px;
  line-height: 1.65;
}

.cookie-banner__text a {
  color: var(--primary-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--primary-300);
}

.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.cookie-banner__btn--accept {
  background: var(--gradient-primary);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-primary);
}

.cookie-banner__btn--accept:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.cookie-banner__btn--decline {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner__btn--decline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

/* ============ SCROLL PROGRESS (override) ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-shine);
  background-size: 200% auto;
  z-index: 10001;
  transition: none;
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.5),
              0 0 24px rgba(var(--primary-rgb), 0.25);
}

/* ============ ADDITIONAL RESPONSIVE FIXES ============ */
@media (max-width: 767px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
  }

  .stat__number {
    font-size: 2rem;
  }

  .course-cards-grid {
    gap: 20px;
  }

  .card {
    padding: 28px;
  }

  .section-header {
    margin-bottom: 44px;
  }

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

  .why-us__grid {
    gap: 20px;
  }

  .why-us__col--highlight {
    order: -1;
  }

  .earnings__grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .faq__grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .modules {
    gap: 10px;
  }

  .cta-banner__title {
    font-size: 1.6rem;
  }
}

/* ============ PRINT STYLES ============ */
@media print {
  .nav,
  .cookie-banner,
  .scroll-progress,
  .floating-badges {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

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