/* ═══════════════════════════════════════════════════════════════════════════
   LEARN PAGE STYLES - PyStatR+
   File: scss/pages/learn.css
   
   This file owns ALL Learn page styling including:
   - Learn hero section with navbar compensation
   - Platform cards
   - Topics grid
   - Membership section
   - Tutoring section
   - Learning paths
   - CTA section
   - Mobile responsive behavior
   
   NO other file should override these styles.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ==========================================================================
   LEARN PAGE HERO - Navbar Compensation
   ========================================================================== */

.learn-hero {
  position: relative;
  padding: 5rem 2rem 4rem;
  padding-top: calc(var(--navbar-height, 70px) + 3rem);
  background: linear-gradient(135deg, #0B1120 0%, #1E293B 100%);
  overflow: hidden;
}

@media (max-width: 767px) {
  .learn-hero {
    padding-top: calc(var(--navbar-height, 70px) + 5rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEARN PAGE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Container */
.learn-hero .container,
.learn-platforms-section .container,
.learn-topics-section .container,
.learn-membership-section .container,
.learn-tutoring-section .container,
.learn-paths-section .container,
.learn-why-section .container,
.learn-cta-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* White Separator - Learn Page Override */
.learn-hero + .section-separator-white {
  height: 0;
  display: none;
}

.learn-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.learn-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.learn-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.learn-glow-orb.orb-cyan {
  width: 400px;
  height: 400px;
  background: rgba(34, 211, 238, 0.15);
  top: -100px;
  right: -100px;
}

.learn-glow-orb.orb-blue {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.1);
  bottom: -50px;
  left: -50px;
}

/* Hero Grid Layout */
.learn-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.learn-hero-text {
  max-width: 600px;
}

.learn-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.text-white { color: white; }

.text-gradient-cyan {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.learn-hero-subtitle {
  font-size: 1.125rem;
  color: #9CA3AF;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.learn-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Pulsating Logo with Ripples */
.hero-logo-container {
  position: relative;
  width: 220px;
  height: 220px;
}

.logo-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.4);
  animation: ripple-expand 3s ease-out infinite;
}

.ripple-1 {
  width: 140px;
  height: 140px;
  animation-delay: 0s;
}

.ripple-2 {
  width: 140px;
  height: 140px;
  animation-delay: 1s;
}

.ripple-3 {
  width: 140px;
  height: 140px;
  animation-delay: 2s;
}

@keyframes ripple-expand {
  0% {
    width: 140px;
    height: 140px;
    opacity: 0.6;
    border-color: rgba(34, 211, 238, 0.6);
  }
  100% {
    width: 280px;
    height: 280px;
    opacity: 0;
    border-color: rgba(34, 211, 238, 0);
  }
}

.logo-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-glow 2s ease-in-out infinite;
  box-shadow: 
    0 0 40px rgba(34, 211, 238, 0.3),
    inset 0 0 25px rgba(34, 211, 238, 0.1);
}

@keyframes logo-glow {
  0%, 100% {
    box-shadow: 
      0 0 40px rgba(34, 211, 238, 0.3),
      inset 0 0 25px rgba(34, 211, 238, 0.1);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 
      0 0 60px rgba(34, 211, 238, 0.5),
      inset 0 0 35px rgba(34, 211, 238, 0.2);
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.hero-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.5));
}

/* Learn Page specific button overrides */
.learn-hero .btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 2px solid #22d3ee;
  color: #22d3ee;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

.learn-hero .btn-outline-cyan:hover {
  background: rgba(34, 211, 238, 0.1);
}

/* YouTube CTA - PyStatR+ Gold background for brand consistency */
.learn-topics-section .cta-button-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #FACC15, #EAB308);
  color: #0B1120;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.3);
}

.learn-topics-section .cta-button-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(250, 204, 21, 0.4);
  background: linear-gradient(135deg, #FDE047, #FACC15);
}

/* Keep YouTube icon red inside gold button */
.learn-topics-section .cta-button-large svg {
  color: #FF0000;
}

/* Section Headers */
.section-header-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label-dark {
  display: inline-block;
  color: #22d3ee;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-label-gold {
  display: inline-block;
  color: #f59e0b;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-label-cyan {
  display: inline-block;
  color: #22d3ee;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title-light {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin: 0;
}

.section-title-dark-page {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0B1120;
  margin: 0;
}

.section-subtitle-light {
  font-size: 1.125rem;
  color: #9CA3AF;
  margin-top: 1rem;
}

.section-subtitle-dark {
  font-size: 1.125rem;
  color: #6B7280;
  margin-top: 1rem;
}

/* Platforms Section */
.learn-platforms-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #0B1120 0%, #1E293B 100%);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.platform-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.3);
}

.platform-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.platform-card:hover .platform-glow {
  opacity: 1;
}

.platform-glow.youtube { background: rgba(255, 215, 0, 0.2); }
.platform-glow.facebook { background: rgba(24, 119, 242, 0.2); }
.platform-glow.blog { background: rgba(34, 211, 238, 0.2); }

.platform-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.platform-icon svg {
  width: 36px;
  height: 36px;
}

.platform-card.youtube .platform-icon { color: #FFD700; }
.platform-card.facebook .platform-icon { color: #1877F2; }
.platform-card.blog .platform-icon { color: #22d3ee; }

.platform-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.platform-badge.free {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.platform-badge.subscription {
  background: rgba(34, 211, 238, 0.2);
  color: #22d3ee;
}

.platform-card h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.platform-card p {
  color: #9CA3AF;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #22d3ee;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.platform-link:hover {
  color: white;
}

.platform-link span {
  transition: transform 0.3s ease;
}

.platform-link:hover span {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CURRICULUM SECTION - Futuristic Track-Based Design
   ═══════════════════════════════════════════════════════════════════════════ */

.learn-curriculum-section {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.learn-curriculum-header {
  text-align: center;
  margin-bottom: 3rem;
}

.curriculum-label {
  display: inline-block;
  color: #F59E0B;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.curriculum-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0B1120;
  margin: 0 0 1rem;
  font-family: 'Poppins', sans-serif;
}

.curriculum-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.curriculum-highlight {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(250, 204, 21, 0.15);
  border-radius: 4px;
  color: #B45309;
  font-weight: 600;
}

/* Tracks Grid - Modern card layout */
.curriculum-tracks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.curriculum-track {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.curriculum-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #38BDF8;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.curriculum-track:hover::before {
  transform: scaleY(1);
}

.curriculum-track:hover {
  border-color: #38BDF8;
  box-shadow: 0 8px 24px -8px rgba(0, 51, 102, 0.1);
}

/* Track accent colors by data attribute */
.curriculum-track[data-track="intro"]::before { background: #38BDF8; }
.curriculum-track[data-track="python"]::before { background: #FACC15; }
.curriculum-track[data-track="r"]::before { background: #8b5cf6; }
.curriculum-track[data-track="stats"]::before { background: #10b981; }

.curriculum-track[data-track="intro"]:hover { border-color: #38BDF8; }
.curriculum-track[data-track="python"]:hover { border-color: #FACC15; }
.curriculum-track[data-track="r"]:hover { border-color: #8b5cf6; }
.curriculum-track[data-track="stats"]:hover { border-color: #10b981; }

.track-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.track-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.track-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0B1120;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.track-lang {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.track-lang.python {
  background: rgba(56, 189, 248, 0.15);
  color: #0891b2;
}

.track-lang.r {
  background: rgba(139, 92, 246, 0.15);
  color: #7c3aed;
}

/* Modules as tags */
.track-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.track-module {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s ease;
}

.curriculum-track:hover .track-module {
  background: #e2e8f0;
}

/* CTA Button */
.curriculum-cta {
  text-align: center;
}

.curriculum-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #F59E0B;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.curriculum-subscribe-btn:hover {
  background: #B45309;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.25);
  color: #ffffff;
}

.curriculum-subscribe-btn svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 640px) {
  .curriculum-tracks {
    grid-template-columns: 1fr;
  }
  
  .curriculum-track {
    padding: 1rem;
  }
  
  .track-module {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Membership Section */
.learn-membership-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #e5e7eb 100%);
}

.membership-card {
  position: relative;
  background: linear-gradient(135deg, #0B1120 0%, #1E3A5F 100%);
  border-radius: 24px;
  padding: 3rem;
  overflow: hidden;
}

.membership-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
  filter: blur(60px);
}

.membership-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.membership-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.membership-content h3 {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.membership-content > p {
  color: #9CA3AF;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.membership-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.membership-benefits li {
  color: #E5E7EB;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.membership-benefits .check {
  color: #22d3ee;
  font-weight: 700;
}

.membership-benefits strong {
  color: white;
}

.membership-pricing {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.pricing-label {
  color: #6B7280;
  font-size: 0.875rem;
  margin: 0 0 0.5rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #0B1120;
  margin: 0 0 1.5rem;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: #6B7280;
}

.membership-pricing .cta-button {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  color: #9CA3AF;
  font-size: 0.8rem;
  margin: 1rem 0 0;
}

/* Tutoring Section */
.learn-tutoring-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0B1120 0%, #1E293B 100%);
}

.tutoring-card {
  display: flex;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  align-items: flex-start;
}

.tutoring-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 211, 238, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.tutoring-content h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.tutoring-content > p {
  color: #9CA3AF;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tutoring-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.tutoring-detail strong {
  display: block;
  color: white;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.tutoring-detail span {
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* Learning Paths Section */
.learn-paths-section {
  padding: 6rem 2rem;
  background: white;
}

.paths-card {
  position: relative;
  background: linear-gradient(135deg, #0B1120 0%, #1E3A5F 100%);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  overflow: hidden;
}

.paths-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
  filter: blur(80px);
}

.paths-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.paths-card h3 {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  position: relative;
  z-index: 2;
}

.paths-card > p {
  color: #9CA3AF;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.paths-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.path-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  transition: all 0.3s ease;
}

.path-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-3px);
}

.path-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.path-icon.python { background: rgba(34, 211, 238, 0.15); }
.path-icon.r-lang { background: rgba(139, 92, 246, 0.15); }
.path-icon.stats { background: rgba(245, 158, 11, 0.15); }
.path-icon.ml { background: rgba(16, 185, 129, 0.15); }

.path-item h4 {
  color: #22d3ee;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.path-lang {
  color: #9CA3AF;
  font-weight: 500;
  font-size: 0.85rem;
}

.path-item p {
  color: #9CA3AF;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.5;
}

/* Why Learn Section */
.learn-why-section {
  padding: 6rem 2rem;
  background: #f8fafc;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem;
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

.why-icon.cyan { background: rgba(34, 211, 238, 0.15); }
.why-icon.amber { background: rgba(245, 158, 11, 0.15); }
.why-icon.emerald { background: rgba(16, 185, 129, 0.15); }

.why-card h4 {
  color: #0B1120;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.why-card p {
  color: #6B7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.learn-cta-section {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0B1120 0%, #1E293B 100%);
  overflow: hidden;
}

.learn-cta-section .cta-bg {
  position: absolute;
  inset: 0;
}

.learn-cta-section .cta-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(34, 211, 238, 0.15);
  top: -150px;
  left: -100px;
}

.cta-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(245, 158, 11, 0.1);
  bottom: -100px;
  right: -50px;
}

.learn-cta-section .cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 30px;
  color: #22d3ee;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.learn-cta-section h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.cta-description {
  color: #9CA3AF;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-primary-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s ease;
  min-width: 240px;
}

.cta-primary-btn.youtube {
  background: linear-gradient(135deg, #FACC15, #EAB308);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.3);
}

.cta-primary-btn.youtube:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(250, 204, 21, 0.4);
}

/* YouTube icon uses dark navy for contrast on gold background */
.cta-primary-btn.youtube .btn-icon svg {
  color: #0B1120;
}

.cta-primary-btn.youtube .btn-label {
  color: rgba(11, 17, 32, 0.7);
}

.cta-primary-btn.youtube .btn-platform {
  color: #0B1120;
}

.cta-primary-btn.youtube .btn-arrow {
  color: rgba(11, 17, 32, 0.6);
}

.cta-primary-btn.youtube:hover .btn-arrow {
  color: #0B1120;
}

.cta-primary-btn.facebook {
  background: linear-gradient(135deg, #1877F2, #0D65D9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-primary-btn.facebook:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(24, 119, 242, 0.3);
}

.cta-primary-btn .btn-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-primary-btn .btn-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.cta-primary-btn .btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.cta-primary-btn .btn-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
}

.cta-primary-btn .btn-platform {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.cta-primary-btn .btn-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.cta-primary-btn:hover .btn-arrow {
  transform: translateX(4px);
  color: white;
}

.cta-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.cta-tagline {
  color: #f59e0b;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.cta-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-features span {
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .learn-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .learn-hero-text {
    max-width: 100%;
  }
  
  .learn-hero-buttons {
    justify-content: center;
  }
  
  .learn-hero-visual {
    order: -1;
  }
  
  .hero-logo-container {
    width: 180px;
    height: 180px;
  }
  
  .logo-pulse {
    width: 120px;
    height: 120px;
  }
  
  .hero-logo-img {
    width: 75px;
    height: 75px;
  }
  
  .platforms-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .membership-grid {
    grid-template-columns: 1fr;
  }
  
  .membership-benefits {
    grid-template-columns: 1fr;
  }
  
  .tutoring-card {
    flex-direction: column;
    text-align: center;
  }
  
  .tutoring-details {
    grid-template-columns: 1fr;
    text-align: left;
  }
  
  .paths-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .paths-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .learn-hero {
    padding-top: calc(var(--navbar-height, 70px) + 3rem) !important;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .learn-hero-visual {
    display: none;
  }
  
  .topics-grid {
    grid-template-columns: 1fr;
  }
  
  .paths-grid-4 {
    grid-template-columns: 1fr;
  }
  
  .membership-card,
  .paths-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-buttons-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-primary-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-features {
    flex-direction: column;
    gap: 0.75rem;
  }
}
