/* ══════════════════════════════════════════════════════════
   INSTAPROMAX — DESIGN SYSTEM & GLOBAL STYLES
   ══════════════════════════════════════════════════════════ */

:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --bg: #05050f;
  --bg-card: #0d0d1f;
  --bg-card2: #111127;
  --border: rgba(124, 58, 237, 0.2);
  --border-light: rgba(255, 255, 255, 0.08);
  --text: #f1f0ff;
  --text-muted: #94929e;
  --text-dim: #6b6880;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Selection ── */
::selection { background: rgba(124, 58, 237, 0.4); color: #fff; }

/* ═══════════════ UTILITIES ═══════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 0;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--primary-light);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #5b21b6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid rgba(124, 58, 237, 0.5);
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

.hidden { display: none !important; }

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 5, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.8));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta { margin-left: auto; }

.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: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

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

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.7);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--primary-light);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeSlideDown 0.8s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px #10b981; transform: scale(1); }
  50% { box-shadow: 0 0 16px #10b981; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  animation: fadeSlideDown 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s ease 0.2s both;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
  animation: fadeSlideDown 0.8s ease 0.3s both;
}

.play-icon {
  font-size: 0.85em;
  background: rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 28px;
  backdrop-filter: blur(10px);
  animation: fadeSlideDown 0.8s ease 0.4s both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 22px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline;
}

/* Suffix (%, x, k+, +) sits on same row as number */
.stat > span:not(.stat-num):not(.stat-label) {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline;
}

.stat-num-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  gap: 1px;
}

.stat-num-row span:not(.stat-num) {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 5px;
  text-align: center;
  background: none;
  -webkit-text-fill-color: var(--text-dim);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  animation: fadeIn 1s ease 1s both;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ═══════════════ MARQUEE ═══════════════ */
.marquee-section {
  padding: 0;
  background: rgba(124, 58, 237, 0.05);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.marquee-track {
  overflow: hidden;
  padding: 20px 0;
}

.marquee-content {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.marquee-content span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.marquee-dot {
  color: var(--primary-light) !important;
}

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

/* ═══════════════ SERVICES ═══════════════ */
.services-grid,
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.6s ease forwards;
}

.service-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card2);
}

.card-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .card-glow::after,
.card-glow:hover::after { opacity: 1; }

.featured-card {
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.04));
}

.featured-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.04em;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--icon-color, #7c3aed) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color, #7c3aed) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.check {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}

.service-link {
  color: var(--primary-light);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--accent-light);
  letter-spacing: 0.04em;
}

/* ═══════════════ COURSES ═══════════════ */
.courses-section {
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.03), transparent);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.6s ease forwards;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 8px 40px rgba(6, 182, 212, 0.1);
}

.course-header {
  padding: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--course-color, #7c3aed) 20%, transparent), transparent);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.course-icon { font-size: 2.5rem; }

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

.course-level {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-level.beginner { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.course-level.intermediate { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.course-level.advanced { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.course-duration { font-size: 0.75rem; color: var(--text-dim); }

.course-body {
  padding: 0 24px 20px;
  flex: 1;
}

.course-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.course-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.course-stats {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.course-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.price-original {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
}

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

/* ═══════════════ PRICING ═══════════════ */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.save-badge {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 700;
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.toggle-switch input { display: none; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(124, 58, 237, 0.3);
  border-radius: 100px;
  border: 1px solid rgba(124, 58, 237, 0.5);
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  top: 3px;
  left: 3px;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: rgba(124, 58, 237, 0.6);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.6s ease forwards;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
}

.pricing-popular {
  border-color: rgba(124, 58, 237, 0.6) !important;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.04));
  transform: scale(1.02) translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.pricing-popular:hover {
  transform: scale(1.02) translateY(-14px) !important;
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 12px;
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.plan-price .price-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.plan-price .price-period {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
  line-height: 1.6;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.feat-check { color: var(--green); font-weight: 700; }
.feat-x { color: var(--text-dim); }
.feat-off { color: var(--text-dim); text-decoration: line-through; }

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials-section {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.6s ease forwards;
}

.testimonial-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--av-color, #7c3aed) 25%, transparent);
  border: 2px solid color-mix(in srgb, var(--av-color, #7c3aed) 50%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--av-color, #7c3aed);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-role {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 2px;
}

/* ═══════════════ FAQ ═══════════════ */
.faq-section { background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.03), transparent); }

.faq-container { max-width: 800px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.5s ease forwards;
}

.faq-item.open { border-color: rgba(124, 58, 237, 0.4); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ═══════════════ CTA BANNER ═══════════════ */
.cta-banner {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
  text-align: center;
}

.cta-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 70%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(6, 182, 212, 0.05));
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

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

/* ═══════════════ CONTACT ═══════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-wrap {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-3px);
}

/* ── Contact Form ── */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6880' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: #1a1a2e; }

.btn-spinner {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

.form-success {
  text-align: center;
  padding: 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-logo {
  font-size: 1.3rem !important;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  font-size: 1.3rem;
  text-decoration: none;
  transition: transform 0.2s;
  display: inline-block;
}

.footer-socials a:hover { transform: scale(1.2); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

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

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--primary-light); }

/* ═══════════════ KEYFRAMES ═══════════════ */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 1.8rem; }

  /* Nav */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 32px 40px;
    gap: 8px;
    z-index: 999;
    justify-content: flex-start;
  }

  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.3rem; padding: 14px 0; }
  .nav-cta { display: none; }
  .hamburger { display: flex; z-index: 1000; }

  /* Hero */
  .hero { padding: 100px 20px 100px; }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 0;
  }
  .stat { padding: 12px 16px; }
  .stat-divider { height: 1px; width: 100%; display: none; }

  /* Grids */
  .services-grid, .services-grid-4 { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-popular { transform: none !important; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stat-num, .stat span:not(.stat-num):not(.stat-label) { font-size: 1.6rem; }
  .pricing-card { padding: 28px 20px; }
  .plan-price .price-amount { font-size: 2.4rem; }
}
