/* ============================================================
   VIANMAX ACADEMY — Main Stylesheet
   Brand: Vianmax Techno Ventures Pvt. Ltd.
   Primary: #004aad — Vianmax Blue
   Accent:  #f97316 — Academy Orange (education warmth)
   Secondary: #10b981 — Emerald (success / completion)
   ============================================================ */

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

:root {
  /* Brand colours */
  --primary:        #004aad;
  --primary-dark:   #003580;
  --primary-light:  #1a65c7;
  --primary-50:     #e6f0ff;
  --primary-100:    #c8dcff;

  --accent:         #f97316;
  --accent-dark:    #ea6b06;
  --accent-light:   #fb923c;
  --accent-50:      #fff7ed;

  --green:          #10b981;
  --green-dark:     #059669;
  --green-light:    #34d399;
  --green-50:       #ecfdf5;

  --cyan:           #06b6d4;
  --cyan-light:     #22d3ee;

  /* Neutral */
  --white:          #ffffff;
  --bg:             #f8fafc;
  --bg-alt:         #f1f5f9;
  --border:         #e2e8f0;
  --border-dark:    #cbd5e1;
  --text:           #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;

  /* Dark overlay for hero */
  --hero-overlay:   rgba(5, 15, 40, 0.72);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,.14);
  --shadow-primary: 0 8px 24px rgba(30,78,162,.25);

  /* Typography */
  --font-sans:  'Inter', 'Poppins', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Poppins', sans-serif;

  /* Spacing */
  --section-py: 5rem;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --transition: all .25s var(--ease);
}

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

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

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Utility classes ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.section-py { padding: var(--section-py) 0; }
.section-py-sm { padding: 3rem 0; }

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

.bg-white     { background: var(--white); }
.bg-gray      { background: var(--bg); }
.bg-alt       { background: var(--bg-alt); }
.bg-primary   { background: var(--primary); }
.bg-dark      { background: #0d1b3e; }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ── Preloader ───────────────────────────────────────────── */

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}
.navbar-logo img { height: 52px; width: auto; display: block; }
.navbar-logo span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.navbar-logo span em { color: var(--accent); font-style: normal; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
}

.navbar-actions { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 300px; height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 32px rgba(0,0,0,.12);
  z-index: 1001;
  transition: right .35s var(--ease);
  padding: 5rem 2rem 2rem;
  display: flex; flex-direction: column; gap: .5rem;
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--bg-alt); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.1rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav .nav-link {
  font-size: .95rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 500;
  display: block;
}
.mobile-nav .nav-link:hover { background: var(--primary-50); color: var(--primary); }
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30,78,162,.3);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(249,115,22,.28);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover { background: var(--primary-50); transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: .45rem 1.1rem; font-size: .82rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

/* ── Badge ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .85rem;
  border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-primary { background: var(--primary-50); color: var(--primary); border: 1px solid var(--primary-100); }
.badge-accent   { background: var(--accent-50); color: var(--accent); border: 1px solid #fed7aa; }
.badge-green    { background: var(--green-50); color: var(--green-dark); border: 1px solid #a7f3d0; }
.badge-white    { background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.3); }

/* ── Section Headers ─────────────────────────────────────── */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header .eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-header .eyebrow::before {
  content: ''; display: block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
}
.section-header.center p { margin: 0 auto; }

/* ── HERO SLIDER ─────────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 72px;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s var(--ease);
  display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 7s linear;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0;
  background: var(--hero-overlay);
}
.slide-content {
  position: relative; z-index: 2;
  max-width: 720px;
  padding: 0 2rem;
  transform: translateY(30px);
  opacity: 0;
  transition: transform .8s .3s var(--ease), opacity .8s .3s var(--ease);
}
.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}
.slide-content .badge { margin-bottom: 1.25rem; }
.slide-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.slide-content h1 span { color: var(--accent-light); }
.slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}
.slide-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slide backgrounds — gradient placeholders */
.slide-1 .slide-bg { background: linear-gradient(135deg, #0d1b3e 0%, #004aad 50%, #1e4d6e 100%); }
.slide-2 .slide-bg { background: linear-gradient(135deg, #1a1060 0%, #0d1b3e 40%, #0c4a6e 100%); }
.slide-3 .slide-bg { background: linear-gradient(135deg, #1c0a00 0%, #0d1b3e 50%, #004aad 100%); }
.slide-4 .slide-bg { background: linear-gradient(135deg, #0c2e0c 0%, #0d1b3e 40%, #164e63 100%); }

/* Slide decorative grid lines */
.slide-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Slider controls */
.slider-controls {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 1rem;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 28px;
}

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* Slide count */
.slide-counter {
  position: absolute; bottom: 2.5rem; right: 2rem;
  color: rgba(255,255,255,.5);
  font-size: .82rem; font-weight: 600;
  z-index: 10;
}
.slide-counter span { color: var(--white); font-size: 1rem; }

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--primary-dark);
  padding: 1.5rem 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item-bar {
  display: flex; flex-direction: column;
  padding: .5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item-bar:last-child { border-right: none; }
.stat-item-bar .num {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-item-bar .num span { color: var(--accent-light); }
.stat-item-bar .lbl { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: .3rem; }

/* ── Welcome Section ─────────────────────────────────────── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.welcome-visual {
  position: relative;
}
.welcome-card {
  background: linear-gradient(135deg, var(--primary), #002f70);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.welcome-card::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.welcome-card .badge-row {
  display: flex; gap: .75rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.welcome-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 1rem;
}
.welcome-card p { font-size: .92rem; opacity: .85; line-height: 1.7; }

.welcome-float {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .75rem;
}
.welcome-float .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}
.welcome-float strong { font-size: 1.1rem; color: var(--text); display: block; }
.welcome-float span   { font-size: .78rem; color: var(--text-muted); }

.welcome-text .kpi-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: 2rem 0;
}
.kpi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.kpi-card .kpi-num {
  font-size: 1.8rem; font-weight: 900;
  color: var(--primary);
  font-family: var(--font-display);
  line-height: 1;
}
.kpi-card .kpi-lbl { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }

/* ── Course Categories ───────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.category-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.category-card:hover::after { transform: scaleX(1); }
.category-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}
.cat-1 .category-icon { background: var(--primary-50); color: var(--primary); }
.cat-2 .category-icon { background: #fdf4ff; color: #a21caf; }
.cat-3 .category-icon { background: var(--green-50); color: var(--green-dark); }
.cat-4 .category-icon { background: var(--accent-50); color: var(--accent); }
.category-card:hover .category-icon { transform: scale(1.1) rotate(5deg); }
.category-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: .5rem;
}
.category-card p {
  font-size: .83rem; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 1rem;
}
.category-audience {
  font-size: .75rem;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

/* ── Course Cards ────────────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  overflow: visible;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: visible;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.course-card > .cc-thumb-link { border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; }
.course-card > .course-body { flex: 1; display: flex; flex-direction: column; }
.course-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}
/* ── Udemy-style course card thumbnail ──────────────────── */
.cc-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.cc-thumb-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.course-card:hover .cc-thumb-img { transform: scale(1.04); }

.cc-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.cc-thumb-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  border: 2px solid #fff;
  padding: .45rem 1.2rem;
  border-radius: var(--radius-full);
}
.course-card:hover .cc-thumb-overlay { opacity: 1; }

.cc-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  font-size: .7rem;
  font-weight: 800;
  padding: .2rem .65rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 2;
}
.badge-bestseller    { background: #f59e0b; color: #1a1a1a; }
.badge-highest-rated { background: #7c3aed; color: #fff; }
.badge-coming-soon   { background: #64748b; color: #fff; }

/* Card title */
.cc-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cc-title a { color: var(--text); text-decoration: none; }
.cc-title a:hover { color: var(--primary); }

.cc-instructor {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.cc-alphasync-inline { color: var(--primary); font-weight: 700; font-size: .78rem; }

/* Rating row */
.cc-rating-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  margin-bottom: .55rem;
  font-size: .78rem;
}
.cc-rating-score { font-weight: 800; color: #b45309; font-size: .85rem; }
.cc-stars  { color: #f59e0b; font-size: .8rem; letter-spacing: -.5px; }
.cc-rating-count { color: var(--text-muted); }
.cc-dot    { color: var(--border); }
.cc-meta-item { color: var(--text-muted); }

/* Tags */
.cc-tags-row { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .75rem; }
.cc-tag {
  font-size: .7rem; font-weight: 600;
  padding: .18rem .6rem;
  border-radius: var(--radius-full);
  background: var(--bg-alt); color: var(--text-muted);
  border: 1px solid var(--border);
}
.cc-tag.level-beginner     { background: var(--green-50);   color: var(--green-dark); border-color: transparent; }
.cc-tag.level-intermediate { background: var(--primary-50); color: var(--primary);    border-color: transparent; }
.cc-tag.level-advanced     { background: var(--accent-50);  color: var(--accent);     border-color: transparent; }

/* Price row */
.cc-price-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding-top: .6rem;
  border-top: 1px solid var(--border);
}
.cc-price-now { font-size: 1.2rem; font-weight: 900; color: var(--text); }
.cc-price-old { font-size: .85rem; color: var(--text-muted); text-decoration: line-through; }
.cc-Enroll-btn {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.cc-Enroll-btn:hover { background: #002f70; color: #fff; }

/* Popover — JS-created, appended to body, position:fixed */
.cc-popover { display: none; } /* hidden data source inside each card */

#cc-popover-global {
  width: 280px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
  padding: 1.25rem;
  z-index: 9999;
  pointer-events: none;
  transition: opacity .15s ease;
  /* display/position set by JS */
}
#cc-popover-global.visible { pointer-events: auto; }
/* Arrow */
#cc-popover-global::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: #fff;
}
#cc-popover-global.arrow-top::before {
  top: -8px;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  transform: rotate(45deg);
}
#cc-popover-global.arrow-bottom::before {
  bottom: -8px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transform: rotate(45deg);
}
/* Content styles */
#cc-popover-global h4 { font-size: .92rem; font-weight: 800; margin-bottom: .75rem; color: #0f172a; }
#cc-popover-global ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 0; padding: 0; }
#cc-popover-global ul li { font-size: .82rem; color: #475569; padding-left: 1.3rem; position: relative; line-height: 1.5; }
#cc-popover-global ul li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
#cc-popover-global .btn,
#cc-popover-global a.btn {
  display: block !important; width: 100% !important; text-align: center !important;
  margin-top: .85rem !important; padding: .5rem 1rem !important;
  background: #004aad !important; color: #fff !important;
  border-radius: 8px !important; font-size: .82rem !important;
  font-weight: 700 !important; text-decoration: none !important;
  box-sizing: border-box !important;
}
#cc-popover-global .btn:hover { background: #003a8c !important; }

.course-body { padding: 1.5rem; }
.course-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .85rem; }
.course-tag {
  font-size: .72rem; font-weight: 600;
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-muted);
}
.course-tag.level-beginner { background: var(--green-50); color: var(--green-dark); }
.course-tag.level-intermediate { background: var(--primary-50); color: var(--primary); }
.course-tag.level-advanced { background: var(--accent-50); color: var(--accent); }

.course-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: .5rem; line-height: 1.4;
}
.course-card p {
  font-size: .84rem; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 1.25rem;
}
.course-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: .8rem; color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.course-meta i { color: var(--primary); }
.course-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.course-price {
  font-size: 1.1rem; font-weight: 800;
  color: var(--primary);
}
.course-price .old { text-decoration: line-through; color: var(--text-light); font-size: .82rem; font-weight: 400; display: block; }
.coming-soon-tag {
  font-size: .75rem; font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

/* ── Why Choose Us ───────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
}
.benefit-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.benefit-card h4 { font-size: .98rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.benefit-card p  { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Learning Paths ──────────────────────────────────────── */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.path-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.path-card.path-trader { background: linear-gradient(135deg, #004aad, #1e4d6e); }
.path-card.path-developer { background: linear-gradient(135deg, #4c1d95, #004aad); }
.path-card.path-pro { background: linear-gradient(135deg, #7c2d12, #004aad); }

.path-card::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.path-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}
.path-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  color: var(--white); margin-bottom: .75rem;
}
.path-card > p {
  font-size: .88rem; color: rgba(255,255,255,.75);
  line-height: 1.6; margin-bottom: 1.5rem;
}
.path-steps {
  display: flex; flex-direction: column; gap: .5rem;
}
.path-step {
  display: flex; align-items: center; gap: .75rem;
  font-size: .83rem; color: rgba(255,255,255,.85);
}
.path-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  font-size: .72rem; font-weight: 700; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.path-card .btn { margin-top: 2rem; }

/* ── Instructors ─────────────────────────────────────────── */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.instructor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.instructor-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateY(-4px);
}
.instructor-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: var(--white);
  font-family: var(--font-display);
  position: relative;
}
.instructor-avatar::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  z-index: -1;
}
.av-1 { background: linear-gradient(135deg, #004aad, #0ea5e9); }
.av-2 { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.av-3 { background: linear-gradient(135deg, #064e3b, #10b981); }
.av-4 { background: linear-gradient(135deg, #7c2d12, #f97316); }
.instructor-card h4 { font-size: .98rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.instructor-card .role { font-size: .8rem; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.instructor-card .bio  { font-size: .8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .75rem; }
.instructor-tags { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.instructor-tag {
  font-size: .7rem;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-card .quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--primary-100);
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem; right: 1.5rem;
}
.star-row { color: #f59e0b; font-size: .85rem; margin-bottom: 1rem; letter-spacing: .05em; }
.testimonial-card p { font-size: .88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; color: var(--white);
}
.testimonial-author strong { font-size: .88rem; color: var(--text); display: block; }
.testimonial-author span   { font-size: .78rem; color: var(--text-muted); }

/* ── Batches ─────────────────────────────────────────────── */
.batches-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.batches-table th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .85rem;
  font-weight: 600;
}
.batches-table th:first-child { border-radius: var(--radius-md) 0 0 0; }
.batches-table th:last-child  { border-radius: 0 var(--radius-md) 0 0; }
.batches-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-secondary);
  vertical-align: middle;
}
.batches-table tr:hover td { background: var(--bg); }
.batch-status {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700;
}
.status-open    { background: var(--green-50); color: var(--green-dark); }
.status-filling { background: var(--accent-50); color: var(--accent); }
.status-soon    { background: var(--bg-alt); color: var(--text-muted); }
.status-early   { background: var(--primary-50); color: var(--primary); }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #001f4a 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative; z-index: 1;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.cta-text p { font-size: 1rem; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 1.75rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.cta-form-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}
.cta-form-card h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.8); margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .9rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-control::placeholder { color: rgba(255,255,255,.4); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,.12);
}
.form-control option { background: #004aad; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #0a1628;
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .88rem; line-height: 1.7; margin: 1rem 0 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--white); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .8rem;
}
.footer-bottom a { color: var(--accent-light); }
.footer-bottom a:hover { color: var(--white); }

/* ── Back to top ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 500;
  box-shadow: var(--shadow-primary);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ── Reveal animation ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }
.reveal.delay-5 { transition-delay: .5s; }

/* ── Divider ─────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Cookie banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  max-width: 520px;
  background: #0a1628;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  z-index: 800;
  box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.cookie-banner.show { opacity: 1; visibility: visible; }
.cookie-banner p { font-size: .83rem; color: rgba(255,255,255,.75); flex: 1; margin: 0; }
.cookie-actions { display: flex; gap: .5rem; }

/* ============================================================
   NEW HERO — Feature Bar + Split Hero + Confidence Banner
   ============================================================ */

/* ── Hero Feature Bar ─────────────────────────────────────── */
.hero-feat-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: .9rem 0;
}
.hero-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hero-feat-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .75rem 1.5rem;
  border-right: 1px solid var(--border);
}
.hero-feat-item:last-child { border-right: none; }
.hero-feat-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  margin-top: .1rem;
}
.hero-feat-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .2rem;
}
.hero-feat-text p {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Hero Split ───────────────────────────────────────────── */
.hero-split {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hs-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #0b1d45 0%, #0e2d6b 40%, #0a3d62 70%, #0b4a6e 100%);
  z-index: 0;
}
.hs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 40, 0.45);
  z-index: 1;
}
.hs-chart-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hs-chart-lines svg {
  width: 100%;
  height: 100%;
}
.hs-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Left side */
.hs-discount-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.hs-discount-badge {
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: .3rem .65rem;
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hs-save-text {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
}
.hs-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.hs-sub {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 1.75rem;
}
.hs-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hs-trust {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hs-trust span {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* Right form card */
.hs-right { display: flex; justify-content: flex-end; }
.hs-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  width: 100%;
  max-width: 390px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  overflow: hidden;
  box-sizing: border-box;
}
.hs-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 1.25rem;
  text-align: center;
}
.hs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  min-width: 0;
}
.hs-form-row .hs-form-group {
  min-width: 0;
}
.hs-form-group input {
  width: 100%;
  min-width: 0;
}
.hs-form-group {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: .75rem;
}
.hs-form-group label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.req { color: #e53e3e; }
.hs-form-group input {
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: .55rem .75rem;
  font-size: .88rem;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  font-family: var(--font-sans);
}
.hs-form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,86,162,.12);
}
.hs-submit-btn {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--primary);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .2s, transform .15s;
  margin-top: .25rem;
}
.hs-submit-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hs-form-note {
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
}

/* ── Confidence Banner ───────────────────────────────────── */
.confidence-banner {
  background: linear-gradient(90deg, #0b1d45 0%, #0d2d6e 50%, #0b3060 100%);
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  overflow: hidden;
  position: relative;
}
.cb-rockets {
  display: flex;
  gap: .75rem;
  align-items: center;
  opacity: .5;
}
.cb-rockets .fa-rocket {
  color: #60a5fa;
  font-size: 1.05rem;
  transform: rotate(-45deg);
}
.cb-rockets .fa-rocket:nth-child(even) {
  font-size: .75rem;
  opacity: .6;
}
.cb-text {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cb-main {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.cb-with {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cb-box {
  border: 2.5px solid var(--cyan);
  color: var(--cyan-light);
  padding: .1rem .7rem .15rem;
  border-radius: 6px;
  display: inline-block;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-popover { display: none !important; }
  .hs-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hs-right { justify-content: center; }
  .hs-form-card { max-width: 100%; }
  .hero-feat-grid { grid-template-columns: 1fr; }
  .hero-feat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-feat-item:last-child { border-bottom: none; }
  .cb-rockets { display: none; }
}
@media (max-width: 600px) {
  .courses-grid { grid-template-columns: 1fr; }
  .hs-title { font-size: 2rem; }
  .hs-form-row { grid-template-columns: 1fr; }
  .cb-main, .cb-with { font-size: 1.1rem; }
}

/* ============================================================
   ALPHASYNC × ACADEMY — Integration Styles
   ============================================================ */

/* ── Shared AlphaSync tag ────────────────────────────────── */
.alphasync-tag-card {
  background: #eff6ff !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  border: 1px solid rgba(30,86,162,.2) !important;
}
.alphasync-tag-card .fa-bolt { color: var(--accent); }

/* ── 1. AlphaSync Showcase Section ──────────────────────── */
.as-showcase { background: #fff; }
.as-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.as-feat-list {
  list-style: none;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.as-feat-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .93rem;
  color: var(--text-secondary);
}
.as-feat-list li .fa-check-circle { color: var(--green); flex-shrink: 0; margin-top: .15rem; }

/* Dashboard mockup */
.as-showcase-dash { position: relative; }
.as-dash-browser {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,74,173,.18), 0 4px 16px rgba(0,0,0,.1);
  border: 1px solid rgba(0,74,173,.1);
}
.as-dash-bar {
  background: #1e2433;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.as-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.as-url-pill {
  flex: 1;
  max-width: 280px;
  margin: 0 auto;
  background: #2d3447;
  border-radius: 5px;
  padding: .25rem .7rem;
  font-size: .7rem;
  color: #8b9cb5;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.as-dash-body {
  background: #0d1117;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.as-db-hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.as-db-greeting { font-size: .78rem; font-weight: 700; color: #f1f5f9; }
.as-db-sub { font-size: .62rem; color: #6b7280; margin-top: .1rem; }
.as-market-pill {
  background: #0d2d1a;
  border: 1px solid #166534;
  border-radius: 6px;
  padding: .25rem .6rem;
  font-size: .62rem;
  font-weight: 700;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.as-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  animation: pulse-green 1.5s infinite;
}
@keyframes pulse-green {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.5; transform:scale(1.4); }
}
.as-kpi-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .5rem;
}
.as-kpi {
  background: #111827;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: .65rem .75rem;
}
.as-kpi-lbl { font-size: .56rem; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.as-kpi-val { font-size: .92rem; font-weight: 900; color: #f1f5f9; line-height: 1; }
.as-kpi-chg { font-size: .58rem; margin-top: .2rem; font-weight: 700; }
.as-kpi-chg.green { color: #4ade80; }
.as-kpi-chg.muted { color: #6b7280; }
.as-kpi-chg.purple { color: #a78bfa; }
.as-kpi-chg.amber { color: #fbbf24; }
.as-kpi-val.green { color: #4ade80; }
.as-kpi-val.purple { color: #818cf8; }
.as-chart-wrap {
  background: #111827;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: .75rem;
}
.as-chart-lbl { font-size: .62rem; font-weight: 700; color: #d1d5db; margin-bottom: .5rem; }
.as-signal-row {
  background: #111827;
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 8px;
  padding: .65rem .85rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.as-signal-badge { font-size: .62rem; font-weight: 700; color: #a78bfa; display: flex; align-items: center; gap: .3rem; }
.as-signal-name { font-size: .72rem; font-weight: 800; color: #f1f5f9; }
.as-signal-buy { background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.3); border-radius: 5px; padding: .15rem .5rem; font-size: .66rem; font-weight: 800; color: #4ade80; }
.as-signal-conf { font-size: .6rem; color: #6b7280; }
.as-signal-conf strong { color: #a78bfa; }
.as-signal-meta { font-size: .6rem; color: #6b7280; margin-left: auto; }
.as-dash-badge {
  text-align: center;
  margin-top: .85rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-50);
  border-radius: 8px;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

/* ── 2. Journey Section ──────────────────────────────────── */
.journey-section { background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%); }
.journey-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.journey-step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.35rem;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.journey-step:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.js-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.js-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: .75rem auto .9rem;
}
.journey-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.journey-step p { font-size: .84rem; color: var(--text-muted); line-height: 1.6; }
.js-platform { margin-top: .85rem; display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.js-tag {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
}
.academy-tag { background: var(--primary-50); color: var(--primary); }
.alphasync-tag { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.alphasync-tag .fa-bolt { color: var(--accent); }
.journey-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.1rem;
  padding: 0 .5rem;
  margin-top: 4.5rem;
  flex-shrink: 0;
}

/* ── 3. Feature Unlock Section ───────────────────────────── */
.unlock-section {}
.unlock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}
.unlock-courses { display: flex; flex-direction: column; gap: .6rem; }
.unlock-course-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .9rem 1.1rem;
  transition: box-shadow .2s;
}
.unlock-course-item:hover { box-shadow: var(--shadow-md); }
.active-course { border-color: var(--primary-light); background: var(--primary-50); }
.uc-dot {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
}
.uc-dot.done { background: var(--green-50); color: var(--green-dark); }
.uc-dot.inprog { background: #fffbeb; color: #d97706; }
.uc-dot.locked { background: var(--bg-alt); color: var(--text-light); }
.uc-info { flex: 1; }
.uc-name { font-size: .88rem; font-weight: 700; color: var(--text); }
.uc-unlocks { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }
.uc-badge { font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: var(--radius-full); flex-shrink: 0; }
.done-badge { background: var(--green-50); color: var(--green-dark); }
.inprog-badge { background: #fffbeb; color: #d97706; }
.locked-badge { background: var(--bg-alt); color: var(--text-muted); }

.unlock-features {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.unlock-feature-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.uf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
.uf-card {
  border-radius: var(--radius-md);
  padding: .75rem .6rem;
  text-align: center;
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 600;
}
.uf-card i { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.uf-status { font-size: .62rem; margin-top: .35rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: .25rem; }
.uf-card.unlocked { background: var(--green-50); border-color: #86efac; color: var(--green-dark); }
.uf-card.unlocked i { color: var(--green-dark); }
.unlocked-status { color: var(--green-dark); }
.uf-card.active-unlock { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.uf-card.active-unlock i { color: #d97706; }
.active-status { color: #d97706; }
.uf-card.locked-feat { background: var(--bg-alt); color: var(--text-muted); }
.uf-card.locked-feat i { color: var(--text-light); }
.locked-status { color: var(--text-muted); }

/* ── 4. Leaderboard Section ──────────────────────────────── */
.leaderboard-section { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.lb-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.lb-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.lb-period { font-size: .82rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.lb-live-pill {
  background: #0d2d1a;
  color: #4ade80;
  font-size: .7rem;
  font-weight: 800;
  padding: .2rem .7rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid #166534;
}
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table thead tr { background: var(--primary); }
.lb-table thead th {
  color: rgba(255,255,255,.85);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .75rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.lb-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.lb-table tbody tr:hover { background: var(--bg); }
.lb-table tbody td { padding: .8rem 1rem; font-size: .85rem; vertical-align: middle; }
.lb-gold { background: #fffbeb !important; }
.lb-silver { background: #f8fafc !important; }
.lb-bronze { background: #fff7ed !important; }
.lb-you-row { background: var(--primary-50) !important; }
.lb-rank { font-size: .82rem; font-weight: 700; color: var(--text-muted); }
.lb-rank.gold { color: #d97706; }
.lb-rank.silver { color: #64748b; }
.lb-rank.bronze { color: #b45309; }
.lb-student { display: flex; align-items: center; gap: .65rem; }
.lb-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.lb-student strong { font-size: .88rem; }
.lb-course-tag {
  font-size: .7rem;
  font-weight: 700;
  background: var(--primary-50);
  color: var(--primary);
  padding: .18rem .55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.lb-course-tag.fo { background: #f0fdf4; color: var(--green-dark); }
.lb-course-tag.smf { background: #eff6ff; color: var(--primary); }
.lb-portfolio { font-weight: 700; color: var(--text); }
.lb-pnl { font-weight: 800; }
.lb-pnl.green { color: var(--green-dark); }
.lb-bar-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
}
.lb-bar {
  height: 6px;
  border-radius: 3px;
  flex-shrink: 0;
}
.lb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-size: .78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: .75rem;
}

/* ── 5. Bundle Pricing Section ───────────────────────────── */
.bundle-section { background: #f8fafc; }
.bundle-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  align-items: start;
}
.bundle-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.bundle-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.bundle-featured {
  background: linear-gradient(135deg, var(--primary) 0%, #002f70 100%);
  border-color: transparent;
  transform: scale(1.03);
}
.bundle-featured:hover { transform: scale(1.03) translateY(-4px); }
.bundle-popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: .25rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.bundle-tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  background: var(--primary-50);
  color: var(--primary);
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1.25rem;
}
.bundle-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.bundle-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .75rem; }
.bundle-price { font-size: 1.6rem; font-weight: 900; color: var(--text); }
.bundle-price span { font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.bundle-emi { font-size: .78rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.bundle-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.bundle-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .84rem;
  color: var(--text-secondary);
}
.bundle-features li .fa-check { color: var(--green); flex-shrink: 0; margin-top: .15rem; }
.bundle-features li .fa-xmark { color: var(--text-light); flex-shrink: 0; margin-top: .15rem; }
.bundle-feat-dim { opacity: .5; }
/* Featured (dark bg) card — force white text on all list items */
.bundle-featured .bundle-features li { color: rgba(255,255,255,.9); }
.bundle-featured .bundle-features li .fa-check { color: #4ade80; }
.bundle-featured .bundle-features li .fa-xmark { color: rgba(255,255,255,.4); }
.bundle-featured .bundle-features li strong { color: #fff; }

/* ── Course Detail AlphaSync Block ───────────────────────── */
.alphasync-practice-block {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1.5px solid var(--primary-light) !important;
  border-radius: var(--radius-xl) !important;
  padding: 1.75rem !important;
}
.as-practice-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.as-practice-logo {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  padding: .3rem .85rem;
  border-radius: var(--radius-full);
}
.as-practice-badge {
  font-size: .75rem;
  font-weight: 700;
  background: var(--green-50);
  color: var(--green-dark);
  padding: .25rem .7rem;
  border-radius: var(--radius-full);
}
.as-exercise-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.as-exercise-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  transition: box-shadow .2s;
}
.as-exercise-card:hover { box-shadow: var(--shadow-md); }
.as-ex-num {
  font-size: .68rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}
.as-exercise-card h6 { font-size: .9rem; font-weight: 700; margin-bottom: .4rem; }
.as-exercise-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.55; margin-bottom: .75rem; }
.as-ex-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  background: var(--primary-50);
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  transition: background .2s;
}
.as-ex-cta:hover { background: var(--primary-100); }
.as-practice-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(30,86,162,.12);
}
.as-pf-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--text-secondary);
}

/* Sidebar AlphaSync Card */
.sidebar-alphasync-card {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-top: 1rem;
}
.sac-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
}
.sac-header .fa-bolt { color: var(--primary); font-size: 1rem; }
.sac-header span:first-of-type { font-size: .88rem; font-weight: 800; color: var(--primary); }
.sac-free-badge {
  margin-left: auto;
  background: var(--green-50);
  color: var(--green-dark);
  font-size: .65rem;
  font-weight: 800;
  padding: .15rem .5rem;
  border-radius: var(--radius-full);
}
.sidebar-alphasync-card p { font-size: .8rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: .75rem; }
.sac-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  margin-bottom: .85rem;
}
.sac-features span {
  font-size: .73rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.sac-features .fa-check { color: var(--green); }
.sac-try-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  padding: .55rem;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s;
}
.sac-try-btn:hover { background: var(--primary-dark); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .as-showcase-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .unlock-grid { grid-template-columns: 1fr; }
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-featured { transform: none; }
  .bundle-featured:hover { transform: translateY(-4px); }
  .journey-steps { flex-direction: column; gap: 1.5rem; }
  .journey-arrow { transform: rotate(90deg); margin: 0 auto; }
  .as-exercise-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .as-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .lb-table thead th:nth-child(4),
  .lb-table tbody td:nth-child(4) { display: none; }
  .uf-grid { grid-template-columns: repeat(3, 1fr); }
  .bundle-grid { gap: 1rem; }
}
