/* ============================================
   SPIDER ACADEMY — STYLES.CSS
   Theme: Spider-Man | Red #E31C1C + Dark #0A0A2E
   Fonts: Bebas Neue + Rajdhani + Orbitron
   ============================================ */

:root {
  --red: #E31C1C;
  --red-dark: #A01010;
  --red-glow: rgba(227, 28, 28, 0.4);
  --blue-dark: #0A0A2E;
  --blue-mid: #12124A;
  --blue-light: #1E1E6E;
  --white: #F5F0EB;
  --gray: #8A8A9A;
  --gold: #FFD700;
  --web-color: rgba(227, 28, 28, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--blue-dark);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  overflow-x: hidden;
  cursor: default;
}

/* ===== WEB CANVAS BACKGROUND ===== */
#webCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
}

/* ===== PARTICLES ===== */
.particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  font-size: 12px;
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(10, 10, 46, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(227, 28, 28, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
}

.spider-icon { font-size: 1.8rem; animation: spiderPulse 2s ease-in-out infinite; }

@keyframes spiderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2) rotate(10deg); }
}

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

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

.nav-badge {
  background: var(--red);
  color: white;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 4px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(227,28,28,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(30,30,110,0.4) 0%, transparent 50%);
  z-index: -1;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 18vw, 220px);
  color: rgba(227, 28, 28, 0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 10px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  background: rgba(227, 28, 28, 0.15);
  border: 1px solid rgba(227, 28, 28, 0.4);
  color: var(--red);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s ease forwards;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.9;
  margin-bottom: 24px;
}

.hero-title .line1 {
  display: block;
  font-size: clamp(60px, 10vw, 120px);
  color: var(--white);
  animation: fadeSlideUp 0.8s 0.1s ease both;
}

.hero-title .line2 {
  display: block;
  font-size: clamp(70px, 12vw, 150px);
  color: var(--white);
  animation: fadeSlideUp 0.8s 0.2s ease both;
}

.hero-title .line3 {
  display: block;
  font-size: clamp(40px, 7vw, 90px);
  color: var(--gray);
  letter-spacing: 8px;
  animation: fadeSlideUp 0.8s 0.3s ease both;
}

.red-text { color: var(--red); text-shadow: 0 0 30px var(--red-glow); }

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(245, 240, 235, 0.75);
  margin-bottom: 32px;
  animation: fadeSlideUp 0.8s 0.4s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.8s 0.5s ease both;
}

.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
}
.stat-divider { color: rgba(227,28,28,0.3); font-size: 2rem; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: white;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 3px;
  padding: 18px 40px;
  border-radius: 6px;
  transition: all 0.3s;
  animation: fadeSlideUp 0.8s 0.6s ease both;
  position: relative;
  overflow: hidden;
}

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

.hero-cta:hover::before { left: 100%; }
.hero-cta:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 10px 30px var(--red-glow); }
.hero-cta svg { width: 20px; height: 20px; }

/* ===== HERO SPIDER SUIT ===== */
.hero-spider {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  animation: heroFloat 4s ease-in-out infinite;
}

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

.spider-suit {
  width: 280px;
  height: 380px;
  position: relative;
}

.suit-body {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 40% 30%, #C41010, #7A0000);
  border-radius: 50% 50% 40% 40%;
  position: relative;
  box-shadow: 0 0 60px rgba(227,28,28,0.4), inset 0 0 40px rgba(0,0,0,0.5);
}

.suit-chest {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 80px;
}

.chest-spider {
  color: #1A1A1A;
  width: 100%;
  height: 100%;
}

.chest-spider svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.8));
}

.web-swing {
  position: absolute;
  top: -60px;
  left: 50%;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(227,28,28,0.8), transparent);
  transform-origin: top center;
  animation: webSwing 3s ease-in-out infinite;
}

@keyframes webSwing {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION COMMON ===== */
section { position: relative; z-index: 1; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(227,28,28,0.3);
  border-radius: 20px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: 4px;
  line-height: 1;
}

/* ===== COURSE MODULES ===== */
.course {
  padding: 100px 48px;
  background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.module-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(227,28,28,0.2);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}

.module-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: rgba(227,28,28,0.06);
  line-height: 1;
  pointer-events: none;
}

.module-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.4s;
}

.module-card:hover {
  border-color: rgba(227,28,28,0.5);
  background: rgba(227,28,28,0.05);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(227,28,28,0.1);
}

.module-card:hover::after { width: 100%; }

.module-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.module-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--white);
}

.module-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245,240,235,0.65);
  margin-bottom: 16px;
}

.module-lessons {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
}

/* Locked card */
.locked-card {
  position: relative;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,46,0.85);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2;
  border: 1px solid rgba(227,28,28,0.3);
}

.lock-icon { font-size: 2.5rem; animation: lockPulse 2s ease-in-out infinite; }

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

.lock-overlay p {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--red);
  text-align: center;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 48px;
  background: var(--blue-dark);
}

.features-inner {
  max-width: 900px;
  margin: 0 auto;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all 0.3s;
}

.feature-item:hover {
  border-color: rgba(227,28,28,0.3);
  background: rgba(227,28,28,0.04);
  transform: translateX(6px);
}

.feature-icon { font-size: 2rem; flex-shrink: 0; }

.feature-text h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: var(--white);
}

.feature-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245,240,235,0.65);
}

/* ===== ENROLL SECTION ===== */
.enroll {
  padding: 100px 48px;
  background: linear-gradient(180deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}

.enroll::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,28,28,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.enroll-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.enroll-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 32px;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.price-original {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  color: var(--gray);
  text-decoration: line-through;
}

.price-current {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--red);
  line-height: 1;
  text-shadow: 0 0 20px var(--red-glow);
}

.price-badge {
  background: var(--gold);
  color: #1A1A1A;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 4px;
}

.enroll-perks {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enroll-perks li {
  font-size: 1rem;
  color: rgba(245,240,235,0.85);
  letter-spacing: 0.5px;
}

.pay-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 2px;
  padding: 20px 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.pay-btn:hover::before { left: 100%; }
.pay-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--red-glow);
}

.btn-spider { font-size: 1.5rem; animation: spiderPulse 2s ease-in-out infinite; }
.btn-arrow { margin-left: auto; }

.pay-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 12px;
  letter-spacing: 1px;
}

/* ===== QR PANEL ===== */
.qr-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(227,28,28,0.25);
  border-radius: 16px;
  padding: 40px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.qr-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(227,28,28,0.02) 20px,
    rgba(227,28,28,0.02) 21px
  );
  pointer-events: none;
}

/* Locked state */
.qr-locked {
  text-align: center;
  position: relative;
  z-index: 1;
}

.lock-spider {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
  animation: spiderPulse 2s ease-in-out infinite;
}

.lock-web-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 20px;
  animation: lockPulse 2s ease-in-out infinite;
}

.qr-locked h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 4px;
  color: var(--gray);
  margin-bottom: 12px;
}

.qr-locked p {
  font-size: 0.9rem;
  color: rgba(245,240,235,0.5);
  letter-spacing: 1px;
}

.web-lines {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.wl {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227,28,28,0.3), transparent);
  animation: webPulse 2s ease-in-out infinite;
}

.wl1 { width: 120px; animation-delay: 0s; }
.wl2 { width: 80px; animation-delay: 0.3s; }
.wl3 { width: 40px; animation-delay: 0.6s; }

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

/* Unlocked state */
.qr-unlocked {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: unlockReveal 0.8s ease forwards;
}

@keyframes unlockReveal {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.qr-success-badge {
  display: inline-block;
  background: rgba(0,200,100,0.15);
  border: 1px solid rgba(0,200,100,0.4);
  color: #00C864;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.qr-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 24px;
}

.qr-container {
  position: relative;
  display: inline-block;
  padding: 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 40px var(--red-glow), 0 0 80px rgba(227,28,28,0.1);
  animation: qrGlow 2s ease-in-out infinite;
}

@keyframes qrGlow {
  0%, 100% { box-shadow: 0 0 30px var(--red-glow), 0 0 60px rgba(227,28,28,0.1); }
  50% { box-shadow: 0 0 50px var(--red-glow), 0 0 100px rgba(227,28,28,0.2); }
}

.qr-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--red);
  border-style: solid;
}

.qr-corner.tl { top: -4px; left: -4px; border-width: 3px 0 0 3px; }
.qr-corner.tr { top: -4px; right: -4px; border-width: 3px 3px 0 0; }
.qr-corner.bl { bottom: -4px; left: -4px; border-width: 0 0 3px 3px; }
.qr-corner.br { bottom: -4px; right: -4px; border-width: 0 3px 3px 0; }

.qr-image {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
}

.qr-spider-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  background: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.qr-instruction {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(245,240,235,0.75);
  letter-spacing: 0.5px;
}

.qr-timer {
  margin-top: 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 1px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--blue-mid);
  border: 1px solid rgba(227,28,28,0.4);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: modalSlideIn 0.4s ease forwards;
  box-shadow: 0 0 60px rgba(227,28,28,0.2);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(227,28,28,0.3); }

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

.modal-spider { font-size: 2rem; }

.modal-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 3px;
}

.modal-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--red);
  text-align: center;
  line-height: 1;
  margin-bottom: 8px;
}

.modal-desc {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

/* Steps */
.modal-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--gray);
  transition: all 0.3s;
}

.step.active .step-num {
  background: var(--red);
  border-color: var(--red);
  color: white;
  box-shadow: 0 0 12px var(--red-glow);
}

.step.done .step-num {
  background: #00C864;
  border-color: #00C864;
  color: white;
}

.step-text {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--gray);
  text-transform: uppercase;
}

.step.active .step-text { color: var(--red); }

.step-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

/* Form */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227,28,28,0.1);
}

.payment-methods { margin-bottom: 24px; }

.pm-label {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pm-options {
  display: flex;
  gap: 12px;
}

.pm-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  flex: 1;
  justify-content: center;
}

.pm-option:has(input:checked) {
  border-color: var(--red);
  background: rgba(227,28,28,0.1);
  color: var(--red);
}

.pm-option input { display: none; }

.modal-pay-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--red-glow);
}

/* Processing */
.modal-processing {
  text-align: center;
  padding: 20px 0;
}

.processing-spider {
  font-size: 3rem;
  animation: spiderSpin 1s linear infinite;
  display: block;
  margin-bottom: 16px;
}

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

.processing-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--gray);
  margin-bottom: 20px;
}

.processing-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.processing-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #FF6B6B);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Success */
.modal-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 16px;
  animation: successBounce 0.6s ease;
}

@keyframes successBounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.modal-success h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  color: #00C864;
  margin-bottom: 8px;
}

.modal-success p {
  color: var(--gray);
  margin-bottom: 24px;
}

.modal-access-btn {
  background: linear-gradient(135deg, #00C864, #009940);
  color: white;
  border: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 16px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.modal-access-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,200,100,0.3);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background: #050510;
  padding: 60px 48px 40px;
  border-top: 1px solid rgba(227,28,28,0.2);
  z-index: 1;
  overflow: hidden;
}

.footer-web {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(227,28,28,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30,30,110,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-tagline {
  font-style: italic;
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 24px;
}

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

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: rgba(138,138,154,0.5);
  letter-spacing: 1px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--blue-dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-spider { display: none; }
  .enroll-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  .course, .features, .enroll { padding: 60px 20px; }
  .modules-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .footer { padding: 40px 20px 30px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .modal { padding: 28px 20px; }
  .pm-options { flex-direction: column; }
}