/* ═══════════════════════════════════════════════════════════════
   SPIDERLEARN — SPIDER-VERSE DESIGN SYSTEM
   Fonts: Bebas Neue (display) + Syne (headings) + Space Grotesk (body)
   Palette: Neon Red #E63946 · Electric Blue #4361EE · Deep Black #0A0A0F
═══════════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --red: #E63946;
  --red-dark: #B5202C;
  --red-glow: rgba(230, 57, 70, 0.6);
  --blue: #4361EE;
  --blue-light: #7B9EFF;
  --blue-glow: rgba(67, 97, 238, 0.5);
  --black: #0A0A0F;
  --black-2: #0F0F1A;
  --black-3: #141420;
  --black-4: #1A1A2E;
  --white: #FFFFFF;
  --white-dim: rgba(255,255,255,0.85);
  --white-muted: rgba(255,255,255,0.5);
  --white-faint: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.12);
  --glass-hover: rgba(255,255,255,0.1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-red: 0 0 30px rgba(230,57,70,0.4), 0 0 60px rgba(230,57,70,0.15);
  --shadow-blue: 0 0 30px rgba(67,97,238,0.4), 0 0 60px rgba(67,97,238,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: default;
}

::selection { background: var(--red); color: white; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── LOADING SCREEN ── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-web {
  position: relative;
  width: 160px;
  height: 160px;
}

.web-svg {
  width: 100%;
  height: 100%;
  animation: webSpin 3s linear infinite;
}

.web-ring {
  fill: none;
  stroke: var(--red);
  stroke-width: 0.8;
  stroke-dasharray: 4 4;
  opacity: 0.6;
}

.web-ring.r1 { animation: webPulse 2s ease-in-out infinite; }
.web-ring.r2 { animation: webPulse 2s ease-in-out infinite 0.3s; }
.web-ring.r3 { animation: webPulse 2s ease-in-out infinite 0.6s; }
.web-ring.r4 { animation: webPulse 2s ease-in-out infinite 0.9s; }

.web-line { stroke: var(--red); stroke-width: 0.5; opacity: 0.4; }

@keyframes webSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes webPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 0.9; } }

.loader-spider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  animation: spiderBounce 1s ease-in-out infinite;
}

@keyframes spiderBounce {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.2); }
}

.loader-text { text-align: center; }

.loader-brand {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 4px;
  color: white;
}

.loader-brand span { color: var(--red); }

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--white-faint);
  border-radius: 2px;
  margin: 1rem auto;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 2px;
  animation: loadFill 2s ease-in-out forwards;
}

@keyframes loadFill { from { width: 0; } to { width: 100%; } }

.loader-sub {
  color: var(--white-muted);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── PARTICLE CANVAS ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── HALFTONE OVERLAY ── */
.halftone-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

/* ── WEB BACKGROUND PATTERN ── */
.web-bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(230,57,70,0.3) 40px, rgba(230,57,70,0.3) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(230,57,70,0.3) 40px, rgba(230,57,70,0.3) 41px);
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-spider {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px var(--red));
  animation: spiderPulse 2s ease-in-out infinite;
}

@keyframes spiderPulse {
  0%,100% { filter: drop-shadow(0 0 8px var(--red)); }
  50% { filter: drop-shadow(0 0 16px var(--red)) drop-shadow(0 0 30px var(--red)); }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: white;
}

.logo-text span { color: var(--red); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: var(--white-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--red);
}

.nav-link:hover, .nav-link.active {
  color: white;
}

.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

/* ── BUTTONS ── */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--white-dim);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: white;
  background: rgba(230,57,70,0.1);
}

.btn-neon {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: none;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-neon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-neon:hover::before { opacity: 1; }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 50%, var(--red-dark) 100%);
  background-size: 200% 200%;
  border: none;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  animation: gradientShift 3s ease infinite;
}

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

.btn-hero-primary .btn-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  filter: blur(8px);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(230,57,70,0.6), 0 0 80px rgba(230,57,70,0.2);
}

.btn-hero-primary:hover .btn-glow { opacity: 1; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.full-width { width: 100%; justify-content: center; }

/* ── MUSIC TOGGLE ── */
.music-toggle {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-toggle:hover { border-color: var(--red); box-shadow: 0 0 12px var(--red-glow); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(230,57,70,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(67,97,238,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(10,10,15,0.9) 0%, transparent 50%),
    linear-gradient(180deg, var(--black) 0%, var(--black-4) 50%, var(--black) 100%);
}

.hero-city {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background:
    linear-gradient(to top, var(--black) 0%, transparent 100%),
    repeating-linear-gradient(90deg,
      transparent 0px, transparent 60px,
      rgba(230,57,70,0.03) 60px, rgba(230,57,70,0.03) 62px
    );
}

.spider-web-hero {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.spider-web-hero svg { width: 100%; height: 100%; }

.hero-web-lines { animation: webFade 4s ease-in-out infinite; }
@keyframes webFade { 0%,100% { opacity: 0.3; } 50% { opacity: 0.7; } }

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,57,70,0.2), transparent);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(67,97,238,0.2), transparent);
  top: 20%; right: 10%;
  animation-delay: 3s;
}

.orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(230,57,70,0.15), transparent);
  bottom: 20%; left: 30%;
  animation-delay: 6s;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: heroReveal 1s ease forwards;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.3);
  color: var(--red);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(230,57,70,0); }
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: dotBlink 1s ease-in-out infinite;
}

@keyframes dotBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.title-line-1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--white-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: slideInLeft 0.8s ease 0.2s both;
}

.title-line-2 {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  letter-spacing: 8px;
  color: var(--red);
  text-shadow: 0 0 40px rgba(230,57,70,0.8), 0 0 80px rgba(230,57,70,0.4), 0 0 120px rgba(230,57,70,0.2);
  animation: slideInLeft 0.8s ease 0.4s both, heroGlow 3s ease-in-out infinite;
  line-height: 0.9;
}

@keyframes heroGlow {
  0%,100% { text-shadow: 0 0 40px rgba(230,57,70,0.8), 0 0 80px rgba(230,57,70,0.4); }
  50% { text-shadow: 0 0 60px rgba(230,57,70,1), 0 0 120px rgba(230,57,70,0.6), 0 0 200px rgba(230,57,70,0.3); }
}

.title-line-3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: slideInLeft 0.8s ease 0.6s both;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-subtitle {
  color: var(--white-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 1s both;
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red);
  text-shadow: 0 0 20px var(--red-glow);
  letter-spacing: 2px;
}

.stat span { font-family: var(--font-display); font-size: 1.5rem; color: var(--red); }

.stat p {
  font-size: 0.75rem;
  color: var(--white-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1.2s both;
  margin-bottom: 3rem;
}

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

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 0.8s ease 1.4s both;
}

.scroll-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse { 0%,100% { width: 40px; } 50% { width: 60px; } }

.hero-scroll-hint span {
  font-size: 0.75rem;
  color: var(--white-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hero Spider Figure */
.hero-spider-figure {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: spiderFloat 4s ease-in-out infinite;
}

@keyframes spiderFloat {
  0%,100% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(calc(-50% - 20px)) rotate(2deg); }
}

.spider-silhouette {
  width: clamp(200px, 25vw, 350px);
  filter: drop-shadow(0 0 30px rgba(230,57,70,0.5)) drop-shadow(0 0 60px rgba(230,57,70,0.2));
}

.web-glow-dot { animation: webDotPulse 1.5s ease-in-out infinite; }
@keyframes webDotPulse {
  0%,100% { opacity: 0.8; r: 8; }
  50% { opacity: 1; r: 12; filter: drop-shadow(0 0 8px var(--red)); }
}

/* ── TICKER ── */
.ticker-wrap {
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ticker {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: tickerScroll 20s linear infinite;
  width: max-content;
}

.ticker span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section {
  position: relative;
  z-index: 10;
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.3);
  color: var(--red);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 3px;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.glow-text {
  color: var(--red);
  text-shadow: 0 0 30px rgba(230,57,70,0.7), 0 0 60px rgba(230,57,70,0.3);
}

.section-sub {
  color: var(--white-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── COURSES SECTION ── */
.courses-section { max-width: 1400px; }

.courses-filter {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
  box-shadow: 0 0 20px rgba(230,57,70,0.4);
}

/* ── COURSE CARDS ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.course-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
  transform-style: preserve-3d;
  cursor: pointer;
  animation: cardReveal 0.6s ease both;
}

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

.course-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: rgba(230,57,70,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(230,57,70,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.course-card.featured {
  border-color: rgba(230,57,70,0.5);
  background: linear-gradient(135deg, rgba(230,57,70,0.08), rgba(67,97,238,0.05));
  box-shadow: 0 0 40px rgba(230,57,70,0.1);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.card-badge.unlocked {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.card-badge.locked {
  background: rgba(230,57,70,0.2);
  border: 1px solid rgba(230,57,70,0.4);
  color: #ff8a8a;
}

.featured-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: linear-gradient(135deg, var(--red), #FF6B6B);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  animation: featuredPulse 2s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(230,57,70,0); }
}

.card-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .card-thumbnail img { transform: scale(1.08); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.card-tag {
  background: rgba(67,97,238,0.3);
  border: 1px solid rgba(67,97,238,0.5);
  color: var(--blue-light);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.card-body { padding: 1.5rem; }

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-desc {
  color: var(--white-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.card-meta span {
  font-size: 0.75rem;
  color: var(--white-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

.card-price { display: flex; align-items: center; gap: 0.5rem; }

.price-old {
  font-size: 0.85rem;
  color: var(--white-muted);
  text-decoration: line-through;
}

.price-new {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  text-shadow: 0 0 15px rgba(230,57,70,0.5);
  letter-spacing: 1px;
}

.btn-buy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: none;
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-buy:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(230,57,70,0.5);
}

/* ── PRICING SECTION ── */
.pricing-section { background: transparent; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230,57,70,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.pricing-card.featured-pricing {
  border-color: rgba(230,57,70,0.5);
  background: linear-gradient(135deg, rgba(230,57,70,0.1), rgba(67,97,238,0.05));
  box-shadow: 0 0 60px rgba(230,57,70,0.15);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red), #FF6B6B);
  color: white;
  padding: 0.3rem 1.25rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--red);
  text-shadow: 0 0 20px rgba(230,57,70,0.5);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.pricing-note {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white-muted);
}

.pricing-desc {
  color: var(--white-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--white-dim);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--glass-border);
}

/* ── PAYMENT MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: overlayFade 0.3s ease;
}

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

.modal {
  background: linear-gradient(135deg, var(--black-3), var(--black-4));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 100px rgba(0,0,0,0.8), 0 0 60px rgba(230,57,70,0.1);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: var(--red); color: white; border-color: var(--red); }

.payment-header { text-align: center; margin-bottom: 2rem; }
.payment-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.payment-header h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.payment-course-label { color: var(--red); font-weight: 600; font-size: 0.9rem; }

.payment-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.pay-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
  transition: var(--transition);
}

.pay-step.active { opacity: 1; }

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  transition: var(--transition);
}

.pay-step.active .step-num {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(230,57,70,0.5);
}

.pay-step span { font-size: 0.75rem; color: var(--white-muted); white-space: nowrap; }
.pay-step.active span { color: white; }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--glass-border);
  min-width: 40px;
  margin-bottom: 1.2rem;
}

/* QR Code */
.qr-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.qr-glow-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: qrRingPulse 2s ease-in-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes qrRingPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%,-50%) scale(1.1); opacity: 0.2; }
}

.qr-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid var(--glass-border);
  background: white;
  padding: 8px;
  box-shadow: 0 0 30px rgba(230,57,70,0.3);
}

.qr-label {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--white-muted);
  letter-spacing: 1px;
}

.payment-amount-display {
  text-align: center;
  margin-bottom: 1rem;
}

.pay-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  text-shadow: 0 0 20px rgba(230,57,70,0.5);
  letter-spacing: 2px;
  display: block;
}

.pay-label { font-size: 0.8rem; color: var(--white-muted); }

.upi-apps {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.upi-app {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Upload Area */
.upload-area {
  border: 2px dashed var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.upload-area:hover {
  border-color: var(--red);
  background: rgba(230,57,70,0.05);
}

.upload-area.small { padding: 1rem; }

.upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.upload-area h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.upload-area p { font-size: 0.8rem; color: var(--white-muted); margin-bottom: 1rem; }

.screenshot-preview-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  margin-bottom: 0.5rem;
}

.preview-label { font-size: 0.8rem; color: #4ade80; text-align: center; }

/* Form */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--white-muted); margin-bottom: 0.4rem; letter-spacing: 0.5px; text-transform: uppercase; }

.form-input {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.15);
  background: rgba(230,57,70,0.05);
}

.form-input::placeholder { color: rgba(255,255,255,0.3); }

select.form-input option { background: var(--black-3); color: white; }

/* Success Animation */
.success-animation {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}

.success-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #4ade80;
  animation: successRing 0.6s ease forwards;
}

@keyframes successRing {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; box-shadow: 0 0 30px rgba(74,222,128,0.5); }
}

.success-checkmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #4ade80;
  animation: checkBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes checkBounce {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 0.75rem; }
.success-msg { color: var(--white-muted); text-align: center; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── AUTH MODAL ── */
.auth-modal { max-width: 420px; }
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo { font-size: 3rem; margin-bottom: 0.75rem; filter: drop-shadow(0 0 15px var(--red)); }
.auth-header h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.auth-header p { color: var(--white-muted); font-size: 0.875rem; }
.auth-switch { text-align: center; font-size: 0.875rem; color: var(--white-muted); margin-top: 1rem; }
.auth-switch a { color: var(--red); text-decoration: none; font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
.auth-divider span { font-size: 0.75rem; color: var(--white-muted); }

/* ── TESTIMONIALS ── */
.testimonials-section { overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(230,57,70,0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.testi-stars { font-size: 1rem; margin-bottom: 1rem; }

.testimonial-card p {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author { display: flex; align-items: center; gap: 0.75rem; }

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testi-author strong { display: block; font-size: 0.9rem; font-weight: 700; }
.testi-author span { font-size: 0.75rem; color: var(--white-muted); }

.testi-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.testi-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-btn:hover { background: var(--red); border-color: var(--red); box-shadow: 0 0 15px rgba(230,57,70,0.4); }

/* ── FAQ ── */
.faq-container { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.faq-item:hover { border-color: rgba(230,57,70,0.3); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: white;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover { color: var(--red); }

.faq-icon {
  font-size: 1.25rem;
  color: var(--red);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--white-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CONTACT SECTION ── */
.contact-section { max-width: 1200px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-left .section-title { text-align: left; font-size: clamp(2rem, 4vw, 3rem); }
.contact-left p { color: var(--white-muted); margin-bottom: 2rem; line-height: 1.7; }

.email-form { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.email-form .form-input { flex: 1; }

.sub-success {
  color: #4ade80;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 8px;
}

.contact-info-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
}

.contact-info-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.contact-item:last-child { border-bottom: none; }
.contact-item > span { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.8rem; color: var(--white-muted); }

/* ── FOOTER ── */
.footer {
  position: relative;
  background: var(--black-2);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 2rem;
  overflow: hidden;
  z-index: 10;
}

.footer-web-bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(230,57,70,0.5) 30px, rgba(230,57,70,0.5) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(230,57,70,0.5) 30px, rgba(230,57,70,0.5) 31px);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 3px;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo span { color: var(--red); }

.footer-brand p {
  color: var(--white-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links { display: flex; gap: 0.75rem; }

.social-link {
  width: 38px;
  height: 38px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(230,57,70,0.4);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--red); padding-left: 4px; }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.footer-bottom p { font-size: 0.8rem; color: var(--white-muted); }
.footer-tagline { color: var(--red) !important; font-style: italic; }

/* ── WHATSAPP BUTTON ── */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: waBounce 3s ease-in-out infinite;
}

@keyframes waBounce {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.whatsapp-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

.whatsapp-btn svg { width: 28px; height: 28px; }

.wa-tooltip {
  position: absolute;
  right: 65px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-btn:hover .wa-tooltip { opacity: 1; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 3000;
  background: linear-gradient(135deg, var(--black-3), var(--black-4));
  border: 1px solid var(--glass-border);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: toastSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 300px;
}

@keyframes toastSlide {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── FULL PAGE (Dashboard / Admin) ── */
.full-page {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--black);
  overflow: hidden;
  animation: pageSlideIn 0.4s ease;
}

@keyframes pageSlideIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

.dashboard-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── SIDEBAR ── */
.dashboard-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--black-2);
  border-right: 1px solid var(--glass-border);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
}

.admin-sidebar { background: linear-gradient(180deg, var(--black-2), var(--black-4)); }

.sidebar-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: white;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.sidebar-logo span { color: var(--red); }

.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white-muted);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.sidebar-link:hover, .sidebar-link.active {
  background: rgba(230,57,70,0.1);
  color: white;
  border-left: 3px solid var(--red);
  padding-left: calc(1rem - 3px);
}

.sidebar-back {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--white-muted);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: left;
}

.sidebar-back:hover { border-color: var(--red); color: white; }

/* ── DASHBOARD MAIN ── */
.dashboard-main {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem;
  background: var(--black);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.dash-sub { color: var(--white-muted); font-size: 0.875rem; }

.dash-stats-mini { display: flex; gap: 1.5rem; }

.mini-stat {
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
}

.mini-stat span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--red);
  display: block;
  letter-spacing: 1px;
}

.mini-stat p { font-size: 0.7rem; color: var(--white-muted); text-transform: uppercase; letter-spacing: 1px; }

.dash-tab { display: none; }
.dash-tab.active { display: block; animation: fadeInUp 0.4s ease; }

.tab-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

/* My Courses Grid */
.my-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.my-course-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.my-course-card:hover { border-color: rgba(230,57,70,0.3); transform: translateY(-4px); }

.my-course-thumb { width: 100%; height: 140px; object-fit: cover; }

.my-course-body { padding: 1.25rem; }
.my-course-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }

.progress-bar-wrap { background: var(--glass); border-radius: 4px; height: 6px; margin-bottom: 0.5rem; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 4px; transition: width 0.5s ease; }
.progress-label { font-size: 0.75rem; color: var(--white-muted); margin-bottom: 1rem; }

.my-course-actions { display: flex; gap: 0.5rem; }

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--white-muted);
}

.empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.875rem; margin-bottom: 1.5rem; }

/* Progress List */
.progress-list { display: flex; flex-direction: column; gap: 1rem; }

.progress-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.progress-item-info { flex: 1; }
.progress-item-title { font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.progress-item-pct { font-family: var(--font-display); font-size: 1.5rem; color: var(--red); letter-spacing: 1px; flex-shrink: 0; }

/* Recent List */
.recent-list { display: flex; flex-direction: column; gap: 0.75rem; }

.recent-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.recent-item:hover { border-color: rgba(230,57,70,0.3); }
.recent-icon { font-size: 1.5rem; flex-shrink: 0; }
.recent-info { flex: 1; }
.recent-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; }
.recent-time { font-size: 0.75rem; color: var(--white-muted); }

/* Profile Card */
.profile-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 600px;
}

.profile-avatar-big { font-size: 4rem; flex-shrink: 0; filter: drop-shadow(0 0 15px var(--red)); }
.profile-info { flex: 1; }

/* ── ANALYTICS ── */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.analytics-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.analytics-card:hover { border-color: rgba(230,57,70,0.3); transform: translateY(-4px); }
.analytics-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.analytics-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--red); letter-spacing: 2px; margin-bottom: 0.25rem; }
.analytics-label { font-size: 0.8rem; color: var(--white-muted); text-transform: uppercase; letter-spacing: 1px; }

.recent-activity { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 1.5rem; }
.recent-activity h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }

.activity-log { display: flex; flex-direction: column; gap: 0.75rem; }

.activity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-dot.green { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.5); }
.activity-dot.red { background: var(--red); box-shadow: 0 0 8px rgba(230,57,70,0.5); }
.activity-dot.blue { background: var(--blue); box-shadow: 0 0 8px rgba(67,97,238,0.5); }

.activity-time { margin-left: auto; font-size: 0.75rem; color: var(--white-muted); flex-shrink: 0; }

/* Admin Courses List */
.admin-courses-list { display: flex; flex-direction: column; gap: 1rem; }

.admin-course-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
}

.admin-course-item:hover { border-color: rgba(230,57,70,0.3); }
.admin-course-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.admin-course-info { flex: 1; }
.admin-course-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.admin-course-meta { font-size: 0.75rem; color: var(--white-muted); }
.admin-course-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* Payments List */
.payments-list { display: flex; flex-direction: column; gap: 1rem; }

.payment-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.payment-item-info { flex: 1; min-width: 200px; }
.payment-item-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.payment-item-course { font-size: 0.8rem; color: var(--white-muted); }
.payment-item-status { padding: 0.3rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.status-pending { background: rgba(251,191,36,0.2); border: 1px solid rgba(251,191,36,0.4); color: #fbbf24; }
.status-approved { background: rgba(74,222,128,0.2); border: 1px solid rgba(74,222,128,0.4); color: #4ade80; }
.status-rejected { background: rgba(230,57,70,0.2); border: 1px solid rgba(230,57,70,0.4); color: #ff8a8a; }
.payment-item-actions { display: flex; gap: 0.5rem; }

/* Users List */
.users-list { display: flex; flex-direction: column; gap: 0.75rem; }

.user-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.user-info { flex: 1; }
.user-name { font-weight: 600; font-size: 0.9rem; }
.user-email { font-size: 0.75rem; color: var(--white-muted); }
.user-courses { font-size: 0.75rem; color: var(--red); }

/* Upload Form */
.upload-form { max-width: 600px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-spider-figure { display: none; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(10,10,15,0.97); backdrop-filter: blur(20px); flex-direction: column; padding: 1.5rem; gap: 0.5rem; border-bottom: 1px solid var(--glass-border); }
  .nav-links.open { display: flex; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 1.5rem 3rem; }
  .hero-cta { flex-direction: column; }
  .hero-stats { gap: 1rem; }

  .courses-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .dashboard-sidebar { width: 220px; }
  .dashboard-main { padding: 1.5rem; }

  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-card { flex-direction: column; }

  .email-form { flex-direction: column; }
  .section { padding: 4rem 1.5rem; }
}

@media (max-width: 480px) {
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar { width: 100%; height: auto; flex-direction: row; flex-wrap: wrap; padding: 1rem; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .dashboard-main { padding: 1rem; }
  .analytics-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
}

/* ── UTILITY ── */
.hidden { display: none !important; }
.visible { display: block !important; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }