/* ================================
   STRIKE - Futuristic Coding Platform
   Pure CSS Styling - No JavaScript
   ================================ */

/* ========== RESET & BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-bg: #0a0e27;
  --secondary-bg: #0f172a;
  --accent-blue: #00d4ff;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --card-bg: rgba(15, 23, 42, 0.6);
  --card-border: rgba(139, 92, 246, 0.3);
  
  /* Spacing */
  --section-padding: 100px 20px;
  --container-max: 1200px;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

/* ========== HEADER (MODERN NAVBAR) ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0; /* give breathing room around the centered pill */
  background: transparent; /* pill carries its own backdrop */
  animation: slideDown 0.6s ease-out;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, actions right */
  gap: 24px;
  height: 70px;
  margin: 10px 20px; /* side and top/bottom margins like modern navbars */
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  background: rgba(10, 14, 39, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  font-size: 22px;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.6));
}

.brand-name {
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-toggle { display: none; }

.nav-burger {
  display: none;
  width: 36px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto; /* push nav/menu/actions to the right on desktop */
}

.site-menu {
  list-style: none;
  display: flex;
  gap: 32px;
}

.site-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.site-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.25s ease;
}

.site-menu a:hover { color: var(--text-primary); }
.site-menu a:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 12px; }

/* Mobile header behavior */
@media (max-width: 768px) {
  .nav-burger { display: flex; position: relative; z-index: 1002; order: 2; }
  .brand { order: 1; }
  .site-nav { order: 3; }
  .site-nav {
    position: fixed;
    top: 45px; left: 0; right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 20px;
    gap: 12px;
    z-index: 1001;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  }
  .site-menu { flex-direction: column; gap: 10px; }
  .site-menu a {
    display: block;
    padding: 14px 12px;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.4);
  }
  .site-menu a:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: var(--accent-purple);
  }
  .nav-actions { justify-content: flex-start; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); }
  .btn { width: 100%; max-width: 320px; text-align: center; }
  .header .btn.btn-primary { padding: 12px 18px; font-size: 15px; }
}

/* Desktop layout: logo left, nav+CTA right */
@media (min-width: 769px) {
  .header-inner { justify-content: space-between; }
  .site-nav { gap: 24px; }
}

/* ========== CONTAINER ========== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding: 20px 0;
  animation: slideDown 0.6s ease-out;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 10px 16px;
  margin: 8px 20px;
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 999px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
}

.logo-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.logo-dot {
  color: var(--accent-cyan);
  font-size: 36px;
  margin-left: -5px;
  animation: pulse 2s ease-in-out infinite;
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.3s ease;
}

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

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

/* ===== NAV: Hamburger + Mobile Drawer ===== */
.menu-toggle { display: none; }

.hamburger {
  display: none;
  width: 36px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  transform: translateY(-120%);
  transition: transform 0.35s ease;
  z-index: 999;
}

.mobile-drawer ul {
  list-style: none;
  padding: 16px 20px 24px;
}

.mobile-drawer a {
  display: block;
  padding: 14px 8px;
  color: var(--text-primary);
  text-decoration: none;
}

.drawer-cta {
  display: inline-block;
  margin: 8px 8px 12px;
  padding: 12px 18px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
}

.menu-toggle:checked ~ .mobile-drawer {
  transform: translateY(0);
}

/* ========== HERO (LEGACY) ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
      radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
}

.hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
  color: var(--text-secondary);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title-line {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.title-line:nth-child(2) {
  animation-delay: 0.4s;
}

.title-line:nth-child(3) {
  animation-delay: 0.6s;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientFlow 3s ease infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1s;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 150px;
}

.stat-value {
  font-weight: 800;
  font-size: 24px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ========== BUTTONS ========== */
.btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--text-primary);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
  background: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

/* ========== HERO DECORATIONS ========== */
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 212, 255, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.card-1 {
  top: 15%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.card-2 {
  top: 60%;
  right: 15%;
  animation: float 8s ease-in-out infinite 1s;
}

.card-3 {
  bottom: 20%;
  left: 20%;
  animation: float 7s ease-in-out infinite 2s;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}
/* ========== HERO (MODERN) ========== */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px; /* space for fixed header */
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.18) 0%, transparent 50%);
  animation: gradientShift 16s ease infinite;
}

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

.hero-left .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(139, 92, 246, 0.08);
  margin-bottom: 16px;
}

.headline {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 18px;
}

.lede {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  margin-bottom: 26px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.kpis { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.kpi {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--text-secondary);
}
.kpi span { color: var(--text-primary); font-weight: 800; margin-right: 6px; }

.hero-right { position: relative; height: 420px; }
.glass-orb, .glass-card, .glass-ring {
  position: absolute;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(0, 212, 255, 0.18));
  backdrop-filter: blur(10px);
}
.glass-orb { width: 160px; height: 160px; top: 20px; left: 10px; border-radius: 999px; animation: float 7s ease-in-out infinite; }
.glass-card { width: 220px; height: 280px; bottom: 20px; left: 120px; animation: float 9s ease-in-out infinite 0.6s; }
.glass-ring { width: 180px; height: 180px; top: 120px; right: 10px; border-radius: 999px; box-shadow: inset 0 0 0 12px rgba(139,92,246,0.15); animation: float 8s ease-in-out infinite 0.3s; }

@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { height: 300px; }
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--accent-cyan);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: scroll 2s ease-in-out infinite;
}

/* ========== ABOUT SECTION ========== */
.about {
  padding: var(--section-padding);
  position: relative;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.section-title.center {
  text-align: center;
}

.about-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-subtitle {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.about-highlights {
  margin: 18px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 16px;
}

.about-highlights li::before {
  content: '✔';
  margin-right: 8px;
  color: var(--accent-cyan);
}

.about-highlights li {
  color: var(--text-secondary);
}

.about-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed var(--card-border);
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.06);
}

.callout-emoji {
  font-size: 20px;
}

.callout-text {
  color: var(--text-secondary);
}

.about-visual {
  position: relative;
  height: 400px;
}

.visual-box {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 212, 255, 0.2));
  border-radius: 30px;
  border: 2px solid var(--card-border);
  backdrop-filter: blur(10px);
  box-shadow: 
      0 0 60px rgba(139, 92, 246, 0.3),
      inset 0 0 60px rgba(139, 92, 246, 0.1);
  animation: pulse-glow 4s ease-in-out infinite;
}

/* ========== COURSES SECTION ========== */
.courses {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--primary-bg), var(--secondary-bg));
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 60px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.course-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  cursor: pointer;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 212, 255, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
}

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

.card-icon {
  font-size: 60px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
  animation: float 3s ease-in-out infinite;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.course-card:hover .card-glow {
  opacity: 1;
  animation: rotate 8s linear infinite;
}

/* ========== COMMUNITY SECTION ========== */
.community {
  padding: var(--section-padding);
  background: var(--secondary-bg);
  position: relative;
}

.wave-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider path {
  fill: var(--primary-bg);
}

.community-container {
  padding-top: 60px;
}

.community-text {
  text-align: center;
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 50px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
}

.social-icon:hover::before {
  opacity: 1;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  padding: var(--section-padding);
  background: var(--primary-bg);
}

.testimonial-marquee {
  margin-top: 30px;
}

.marquee-viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-viewport:hover .marquee-track {
  animation-play-state: paused;
}

/* Ensure multiple cards are visible at once */
.marquee-track .testimonial-card {
  flex: 0 0 340px; /* base width so >1 card shows on laptops */
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 35px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 340px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 50px rgba(6, 182, 212, 0.3);
}

.quote-icon {
  font-size: 60px;
  color: var(--accent-purple);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.3;
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}

.author-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========== CTA SECTION ========== */
.cta {
  padding: var(--section-padding);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(0, 212, 255, 0.1));
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.cta-container {
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-text {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.btn-cta {
  padding: 16px 40px;
  font-size: 16px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: var(--text-primary);
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  box-shadow: 0 15px 50px rgba(139, 92, 246, 0.5);
  transition: all 0.3s ease;
  animation: pulse-glow 3s ease-in-out infinite;
}

.btn-cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.7);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--secondary-bg);
  padding: 60px 20px 30px;
  border-top: 1px solid var(--card-border);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-tagline {
  color: var(--text-secondary);
  margin-top: 10px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-social-link:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border-color: var(--accent-purple);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 14px;
}

/* ========== ANIMATIONS ========== */
@keyframes slideDown {
  from {
      transform: translateY(-100%);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

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

@keyframes gradientShift {
  0%, 100% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
}

@keyframes gradientFlow {
  0% {
      background-position: 0% center;
  }
  50% {
      background-position: 100% center;
  }
  100% {
      background-position: 0% center;
  }
}

@keyframes pulse {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.5;
  }
}

@keyframes pulse-glow {
  0%, 100% {
      box-shadow: 
          0 0 60px rgba(139, 92, 246, 0.3),
          inset 0 0 60px rgba(139, 92, 246, 0.1);
  }
  50% {
      box-shadow: 
          0 0 80px rgba(139, 92, 246, 0.5),
          inset 0 0 80px rgba(139, 92, 246, 0.2);
  }
}

@keyframes float {
  0%, 100% {
      transform: translateY(0px);
  }
  50% {
      transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%, 100% {
      transform: translateX(-50%) translateY(0);
  }
  50% {
      transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes scroll {
  0% {
      opacity: 0;
      transform: translateX(-50%) translateY(0);
  }
  50% {
      opacity: 1;
  }
  100% {
      opacity: 0;
      transform: translateX(-50%) translateY(15px);
  }
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

@keyframes marqueeScroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

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

/* Tablet */
@media (max-width: 968px) {
  .nav-menu {
      gap: 25px;
  }
  
  .about-container {
      grid-template-columns: 1fr;
      gap: 40px;
  }
  
  .visual-box {
      height: 300px;
  }
  
  .courses-grid {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .testimonials-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .marquee-track {
      animation-duration: 28s;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
      --section-padding: 60px 20px;
  }
  
  .navbar {
      padding: 15px 0;
  }
  
  .logo {
      font-size: 24px;
  }
  
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  
  .hero {
      min-height: 90vh;
      padding-top: 60px;
  }
  
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-subtitle {
      font-size: 1rem;
  }
  
  .stat-item {
      min-width: 120px;
      padding: 12px 14px;
  }
  
  .hero-buttons {
      flex-direction: column;
      align-items: center;
  }
  
  .btn {
      width: 100%;
      max-width: 280px;
      text-align: center;
  }
  
  .floating-card {
      width: 60px;
      height: 60px;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .about-text {
      font-size: 16px;
  }
  
  .about-highlights {
      grid-template-columns: 1fr;
  }
  
  .courses-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .course-card {
      padding: 30px 20px;
  }
  
  .card-icon {
      font-size: 50px;
  }
  
  .card-title {
      font-size: 20px;
  }
  
  .social-links {
      gap: 20px;
  }
  
  .social-icon {
      width: 60px;
      height: 60px;
  }
  
  .social-icon svg {
      width: 24px;
      height: 24px;
  }
  
  .testimonials-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .testimonial-card {
      padding: 25px;
      min-width: 280px;
  }
  
  .cta-title {
      font-size: 1.8rem;
  }
  
  .cta-text {
      font-size: 16px;
  }
  
  .btn-cta {
      padding: 16px 40px;
      font-size: 16px;
      width: 100%;
      max-width: 300px;
  }
  
  .footer-container {
      flex-direction: column;
      text-align: center;
  }
  .footer-brand {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  .footer .logo {
      justify-content: center;
      margin: 0 auto;
  }
  
  .footer-tagline {
      max-width: 100%;
  }
  
  .wave-divider svg {
      height: 60px;
  }
}

/* Desktop: ensure ~3 cards visible in viewport */
@media (min-width: 1024px) {
  .marquee-track .testimonial-card {
      flex: 0 0 380px; /* 3 x 380 + 2*30 gap ≈ 1200px */
  }
}

/* Small Mobile */
@media (max-width: 380px) {
  .hero-title {
      font-size: 2rem;
  }
  
  .section-title {
      font-size: 1.7rem;
  }
  
  .logo {
      font-size: 20px;
  }
  
  .card-icon {
      font-size: 40px;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
  }

  .marquee-track {
      animation: none !important;
  }
}

/* Focus States */
a:focus,
button:focus {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
      --card-border: rgba(139, 92, 246, 0.8);
  }
  
  .course-card,
  .testimonial-card,
  .social-icon {
      border-width: 2px;
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--primary-bg), var(--secondary-bg));
}
.features-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.35);
}
.feature-icon { font-size: 28px; margin-bottom: 12px; filter: drop-shadow(0 0 12px rgba(139,92,246,0.6)); }
.feature-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature-text { color: var(--text-secondary); line-height: 1.7; }
