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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --accent-1: #7c3aed;
  --accent-2: #06b6d4;
  --accent-3: #f59e0b;
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(124, 58, 237, 0.4);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1160px;
  --section-pad: 96px 0;
  --font-primary: "product sans", system-ui, sans-serif;

  --text-h1: 48px;
  --text-h2: 32px;
  --text-h3: 24px;
  --text-body: 16px;
  --text-small: 13px;

  --lh-tight: 1.15;
  --lh-heading: 1.25;
  --lh-body: 1.6;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.01em;

  /* Spacing (8pt system) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-normal);
  -webkit-font-smoothing: antialiased;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ─── SCROLL INDICATOR ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 9999;
  transition: width 0.1s;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 1px 0 var(--border),
    0 4px 24px rgba(0, 0, 0, 0.3);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}
.logo-text {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.logo em {
  color: var(--text-primary);
  font-style: normal;
}
.logo-text span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}
.nav-links .btn-nav {
  background: var(--gradient-main);
  color: #fff;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.nav-links .btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
  color: #fff;
  background: var(--gradient-main);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-bg-orb.orb1 {
  width: 600px;
  height: 600px;
  background: rgba(124, 58, 237, 0.12);
  top: -100px;
  left: -150px;
}
.hero-bg-orb.orb2 {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, 0.08);
  bottom: -100px;
  right: -100px;
}
.hero-bg-orb.orb3 {
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.06);
  top: 40%;
  left: 40%;
}

/* Centered single-column hero (images removed) */
.hero-content-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge i {
  font-size: 0.7rem;
}

/* H1 — largest heading on the page */
.hero-title {
  font-size: clamp(2.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-3);
}
.hero-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: var(--lh-body);
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 40px;
  backdrop-filter: blur(10px);
}
.hero-stat-item {
  text-align: center;
  padding: 0 32px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-num span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-main);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.55);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ─── SECTION COMMON ─── */
section {
  padding: var(--section-pad);
  position: relative;
}
.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #a78bfa;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* H2 — section headings */
.section-title {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: 1rem;
  line-height: var(--lh-body);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4);
}
.section-header .section-subtitle {
  margin: 0 auto;
}
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── ABOUT ─── */
#about {
  background: var(--bg-secondary);
}

/* Centered layout after image removal */
.about-centered {
  max-width: 860px;
  margin: 0 auto;
}

.about-body-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
}

/* 3-column grid for about features */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.about-feat:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.about-feat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  font-size: 1rem;
}

/* H3-level text inside cards */
.about-feat-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.4;
}
.about-feat-desc {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── COURSES ─── */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  backdrop-filter: blur(10px);
}
.course-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(124, 58, 237, 0.2);
}
.course-thumb {
  position: relative;
  overflow: hidden;
  height: 190px;
}
.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.course-card:hover .course-thumb img {
  transform: scale(1.06);
}
.course-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
  color: #fff;
}
.badge-new {
  background: var(--gradient-main);
}
.badge-hot {
  background: var(--gradient-warm);
}
.badge-popular {
  background: var(--gradient-cool);
}
.course-body {
  padding: var(--space-3);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.course-level {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.course-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fbbf24;
  margin-left: auto;
}
.course-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.course-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: var(--lh-body);
  flex: 1;
  margin-bottom: 18px;
}
.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.course-stats {
  display: flex;
  align-items: center;
  gap: 14px;
}
.course-stat {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.course-stat i {
  font-size: 0.7rem;
}
.btn-enroll {
  background: var(--gradient-main);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.btn-enroll:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* ─── COURSE DETAIL ─── */
#course-detail {
  background: var(--bg-secondary);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}
.detail-intro-text {
  font-size: 0.97rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 14px;
}
.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}
.detail-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.detail-feat i {
  color: #a78bfa;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.detail-feat-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.detail-feat-text {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}
.curriculum {
  margin-top: 8px;
}
.curriculum-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.curriculum-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.2s;
}
.curriculum-item:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}
.curriculum-item i {
  color: #a78bfa;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.curriculum-item span {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.detail-sidebar {
  position: sticky;
  top: 92px;
}
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.detail-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.detail-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.7) 0%,
    transparent 60%
  );
}
.detail-card-body {
  padding: 24px;
}
.detail-price {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.detail-price sup {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: super;
}
.detail-price s {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 10px;
}
.detail-price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.price-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}
.btn-full {
  width: 100%;
  display: block;
  text-align: center;
  margin-bottom: 12px;
}
.detail-includes {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.detail-includes-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}
.detail-include {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 400;
  padding: 6px 0;
  color: var(--text-secondary);
}
.detail-include i {
  color: #22d3ee;
  font-size: 0.85rem;
}
.batch-highlight:hover {
  transform: translateY(-2px);
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.batch-highlight {
  margin: 16px 0;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a1f3d, #1a1f3a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.batch-item {
  text-align: center;
  font-size: 14px;
  color: #e6e6e6;
  line-height: 1.5;
}

.batch-item strong {
  color: #ffffff;
  font-weight: 600;
}

.batch-divider {
  height: 1px;
  margin: 12px 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}
/*countdown timer styles*/
.countdown-timer:hover {
  transform: translateY(-2px);
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.countdown-timer {
  margin-top: 20px;
  padding: 12px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

#countdown {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  gap: 6px;
}

#countdown span {
  flex: 1;
  background: #222;
  padding: 8px 4px;
  border-radius: 6px;
}

#countdown b {
  display: block;
  font-size: 16px;
  color: #ffcc00;
}

#countdown small {
  font-size: 10px;
  opacity: 0.8;
}

/* ─── TESTIMONIALS ─── */
#testimonials {
  overflow: hidden;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  backdrop-filter: blur(10px);
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.testi-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}
.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #fbbf24;
  font-size: 0.85rem;
}
.testi-text {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
}
.testi-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.testi-role {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ─── STATS BANNER ─── */
#stats {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12) 0%,
    rgba(6, 182, 212, 0.08) 100%
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── CONTACT ─── */
#contact {
  background: var(--bg-secondary);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info-items {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  font-size: 1rem;
}
.contact-info-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.contact-info-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(12px);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-1);
  background: rgba(124, 58, 237, 0.05);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.footer-social:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--border-accent);
  color: #a78bfa;
}
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: var(--text-small);
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--text-primary);
}

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
  z-index: 500;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  transform: translateY(-3px);
}

/* ─── MOBILE MENU ─── */
/*
  FIX: Use visibility + opacity for smooth toggling instead of
  display:none/flex which prevents CSS transitions and can
  interfere with JS classList toggling.
*/
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  /* Hidden by default */
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  pointer-events: none;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: #a78bfa;
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  z-index: 10;
  transition:
    color 0.2s,
    transform 0.2s;
}
.mobile-close:hover {
  color: #a78bfa;
  transform: rotate(90deg);
}

/* ─── MODAL ─── */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 15px;
  z-index: 1200;
}
.modal-box {
  width: 100%;
  max-width: 500px;
  background: #0f172a;
  border-radius: 12px;
  position: relative;
}
.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.close-btn:hover {
  color: var(--text-primary);
}
.success-msg {
  display: none;
  color: #22c55e;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 12px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
    max-width: 480px;
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: -1px;
  }
  .hero-stats {
    padding: 16px 20px;
    width: 100%;
    justify-content: center;
  }
  .hero-stat-item {
    padding: 0 16px;
  }
  .hero-stat-num {
    font-size: 1.6rem;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(3) {
    border-right: 1px solid var(--border);
  }
  .detail-features {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  .hero-content-centered {
    padding: 0 4px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: var(--ls-wide);
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
  }
  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }
  .hero-stat-item {
    padding: 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-centered {
    max-width: 100%;
  }
  .detail-sidebar {
    max-width: 100%;
  }
}
