/* ============================================================
   TECHMERISE — PREMIUM EDTECH LANDING PAGE
   Ultra-Modern CSS | Dark Mode | Glassmorphism | Animations
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --primary: #FFC107;
  --primary-dark: #FF8F00;
  --secondary: #111827;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --success: #22C55E;
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --border: rgba(17,24,39,0.08);
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
  --bg: #0A0E1A;
  --bg-alt: #0F1629;
  --surface: #131929;
  --surface-2: #1A2235;
  --border: rgba(255,255,255,0.07);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.6);
}

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

/* NOTE: scroll-behavior:smooth is intentionally REMOVED here.
   Lenis handles all smooth scrolling. Native smooth-scroll
   on <html> would conflict and cause jitter / double-scroll. */
html {
  font-size: 16px;
  /* Let Lenis own the scroll — no native smooth override */
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overscroll-behavior: none;   /* prevent elastic bounce fighting Lenis */
  transition: background 0.3s ease, color 0.3s ease;
}

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

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

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-alt {
  background: var(--bg-alt);
}

[data-theme="dark"] .section-alt {
  background: var(--bg-alt);
}

/* ── Loader ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--secondary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-logo {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  animation: pulse-scale 1.2s ease-in-out infinite;
}

.loader-logo span {
  color: var(--primary);
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  width: 0;
  animation: load-bar 2s ease-out forwards;
}

.loader-text {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.05em;
}

@keyframes load-bar {
  0% { width: 0; }
  60% { width: 70%; }
  100% { width: 100%; }
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 0;
}

[data-theme="dark"] #navbar.scrolled {
  background: rgba(10,14,26,0.90);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  color: #000;
  box-shadow: 0 4px 12px rgba(255,193,7,0.4);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(17,24,39,0.05);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  background: rgba(255,255,255,0.06);
}

.nav-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.has-dropdown { position: relative; }

.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  min-width: 560px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 24px;
}

.mega-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  margin-bottom: 2px;
}

.mega-link:hover {
  background: rgba(37,99,235,0.06);
  color: var(--accent);
}

.mega-link i { width: 16px; color: var(--text-muted); }

.mega-cta-col { }

.mega-promo {
  background: linear-gradient(135deg, rgba(255,193,7,0.1), rgba(37,99,235,0.1));
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  height: 100%;
}

.mega-promo-badge {
  display: inline-block;
  background: var(--primary);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.mega-promo h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mega-promo p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.mega-promo-btn {
  display: block;
  background: var(--primary);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition-fast);
}

.mega-promo-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 15px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.theme-btn:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.sun-icon, .moon-icon {
  position: absolute;
  transition: opacity 0.3s, transform 0.3s;
}

[data-theme="light"] .moon-icon { opacity: 0; transform: rotate(90deg); }
[data-theme="light"] .sun-icon { opacity: 1; transform: rotate(0); }
[data-theme="dark"] .sun-icon { opacity: 0; transform: rotate(-90deg); }
[data-theme="dark"] .moon-icon { opacity: 1; transform: rotate(0); }

.btn-nav-secondary {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-nav-secondary:hover {
  background: var(--bg-alt);
}

.btn-nav-primary {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--primary);
  color: #000;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(255,193,7,0.3);
}

.btn-nav-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(255,193,7,0.4);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  width: 36px;
}

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

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  max-height: 400px;
}

.mobile-link {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-link:hover { background: var(--bg-alt); color: var(--text-primary); }

.mobile-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 12px;
}

/* ── HERO SECTION ── */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mesh-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(255,193,7,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(37,99,235,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(34,197,94,0.06) 0%, transparent 60%);
}

[data-theme="dark"] .mesh-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(255,193,7,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(37,99,235,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(34,197,94,0.08) 0%, transparent 60%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #FFC107, transparent);
  top: -150px;
  left: -100px;
  animation: orb-float-1 15s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #2563EB, transparent);
  top: 50%;
  right: -120px;
  animation: orb-float-2 20s ease-in-out infinite;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #22C55E, transparent);
  bottom: 0;
  left: 30%;
  animation: orb-float-3 18s ease-in-out infinite;
  opacity: 0.2;
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  40% { transform: translate(-30px,40px) scale(1.08); }
  70% { transform: translate(20px,-20px) scale(0.95); }
}

@keyframes orb-float-3 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(30px,-40px); }
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 80%);
  opacity: 0.5;
}

/* Hero Container */
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Left */
.hero-left {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,193,7,0.10);
  border: 1px solid rgba(255,193,7,0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.heading-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #FF8F00 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heading-underline {
  position: relative;
  display: inline-block;
}

.heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  animation: underline-grow 1s ease-out 1.2s forwards;
}

@keyframes underline-grow {
  to { transform: scaleX(1); }
}

.hero-subtext {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

/* CTA Buttons */
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(255,193,7,0.35);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,193,7,0.45);
}

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

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.btn-outline-hero:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-hero i {
  transition: transform 0.2s ease;
}

.btn-outline-hero:hover i { transform: translateX(4px); }

/* Social Proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatars-stack {
  display: flex;
}

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.avatar-circle:first-child { margin-left: 0; }

.avatar-more {
  background: var(--bg-alt);
  color: var(--text-secondary);
  font-size: 10px;
}

.proof-text { font-size: 13px; color: var(--text-secondary); }

.proof-stars {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

/* Hero Right - Visual */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 500px;
}

.visual-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,193,7,0.18) 0%, rgba(37,99,235,0.12) 50%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  animation: glow-pulse 4s ease-in-out infinite;
}

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

/* Code Card */
.code-card {
  position: absolute;
  top: 10%;
  left: 0;
  width: 340px;
  background: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.04);
}

[data-theme="dark"] .code-card {
  background: #0D1117;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.code-dots { display: flex; gap: 6px; }

.dot-r { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.dot-y { width: 12px; height: 12px; border-radius: 50%; background: #FEBC2E; }
.dot-g { width: 12px; height: 12px; border-radius: 50%; background: #28C840; }

.code-filename {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: 'SF Mono', 'Fira Code', monospace;
  margin-left: 8px;
  flex: 1;
}

.code-lang {
  font-size: 11px;
  background: rgba(255,193,7,0.15);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.code-body {
  padding: 16px;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.code-line { display: block; }

.ck { color: #C792EA; }
.cv { color: #82AAFF; }
.cs { color: #C3E88D; }
.cf { color: #82AAFF; }
.co { color: #546E7A; font-style: italic; }
.code-output { margin-top: 4px; }

/* Stats Card */
.stats-card {
  position: absolute;
  top: 2%;
  right: 0;
  width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.stats-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stats-icon { color: var(--success); font-size: 14px; }

.stats-card-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stats-progress-bar {
  height: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}

.stats-progress-fill {
  height: 100%;
  width: 95%;
  background: linear-gradient(90deg, var(--success), #16A34A);
  border-radius: var(--radius-full);
  animation: progress-fill 2s ease-out 2s backwards;
}

@keyframes progress-fill {
  from { width: 0; }
}

.stats-card-footer {
  font-size: 11px;
  color: var(--success);
  font-weight: 500;
}

/* Hired Card */
.hired-card {
  position: absolute;
  bottom: 20%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
}

.hired-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.hired-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.hired-company {
  font-size: 11px;
  color: var(--text-muted);
}

.hired-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  flex-shrink: 0;
}

/* XP Card */
.xp-card {
  position: absolute;
  bottom: 10%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
}

.xp-icon { font-size: 24px; }

.xp-label {
  font-size: 11px;
  color: var(--text-muted);
}

.xp-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* Orbit Icons */
.orbit-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.orbit-react { top: 30%; left: 32%; color: #61DAFB; }
.orbit-python { top: 55%; left: 40%; color: #3776AB; }
.orbit-node { top: 40%; right: 20%; color: #339933; }
.orbit-js { bottom: 35%; left: 28%; color: #F7DF1E; }
.orbit-aws { top: 15%; left: 40%; color: #FF9900; }

/* Float Animations */
.float-anim-1 { animation: float-1 6s ease-in-out infinite; }
.float-anim-2 { animation: float-2 7s ease-in-out infinite 0.5s; }
.float-anim-3 { animation: float-3 5.5s ease-in-out infinite 1s; }
.float-anim-4 { animation: float-1 6.5s ease-in-out infinite 1.5s; }
.float-anim-5 { animation: float-2 4s ease-in-out infinite 0.2s; }
.float-anim-6 { animation: float-3 5s ease-in-out infinite 0.7s; }
.float-anim-7 { animation: float-1 4.5s ease-in-out infinite 1.2s; }
.float-anim-8 { animation: float-2 6s ease-in-out infinite 0.4s; }

@keyframes float-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

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

@keyframes float-3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(1deg); }
  66% { transform: translateY(-18px) rotate(-1deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  z-index: 1;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll-down 1.8s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ── STATS SECTION ── */
#stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] #stats { background: var(--surface); }

#stats .section-container {
  padding: 60px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.stat-card:hover::before { transform: scaleX(1); }

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .section-badge {
  color: var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,193,7,0.35);
}

/* ── COURSE CARDS ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255,193,7,0.2);
}

.course-thumbnail {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.course-thumb-icon {
  font-size: 64px;
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}

.course-badge-hot {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.course-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.tag-web { background: rgba(37,99,235,0.1); color: var(--accent); }
.tag-ai { background: rgba(236,72,153,0.1); color: #EC4899; }
.tag-data { background: rgba(34,197,94,0.1); color: #15803D; }
.tag-level { background: var(--bg-alt); color: var(--text-muted); }

[data-theme="dark"] .tag-data { color: var(--success); }

.course-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.course-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars { color: var(--primary); font-size: 12px; }
.rating-val { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.rating-count { font-size: 12px; color: var(--text-muted); }

.course-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.price-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-off {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: rgba(34,197,94,0.1);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.btn-enroll {
  padding: 10px 20px;
  background: var(--primary);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-enroll:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,193,7,0.35);
}

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

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  background: var(--surface);
}

.btn-view-all:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(255,193,7,0.2);
  transform: translateY(-2px);
}

/* ── INTERNSHIPS ── */
.internships-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.internship-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.internship-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,193,7,0.3);
}

.featured-intern {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255,193,7,0.04), rgba(37,99,235,0.02));
}

[data-theme="dark"] .featured-intern {
  background: linear-gradient(135deg, rgba(255,193,7,0.06), rgba(37,99,235,0.04));
}

.featured-intern-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255,193,7,0.35);
}

.intern-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.intern-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.intern-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.intern-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.intern-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.intern-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intern-perks span {
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

.btn-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
  margin-top: auto;
}

.btn-apply:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,193,7,0.3);
}

.btn-apply-featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #000;
  box-shadow: 0 4px 16px rgba(255,193,7,0.35);
}

.btn-apply-featured:hover {
  box-shadow: 0 6px 20px rgba(255,193,7,0.45);
}

/* ── WHY CHOOSE US — INTERACTIVE DUAL-PANE SHOWCASE ── */
.why-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}

/* Selector Cards Column */
.why-selectors {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-selector-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.why-selector-card:hover {
  transform: translateX(6px);
  border-color: rgba(255,193,7,0.25);
  box-shadow: var(--shadow-md);
}

.why-selector-card.active {
  background: var(--surface-2);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.why-selector-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.why-selector-content {
  flex: 1;
}

.why-selector-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.why-selector-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.why-selector-indicator {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-selector-card.active .why-selector-indicator {
  opacity: 1;
}

/* Right Side: Mock Preview Device Column */
.why-preview-container {
  position: sticky;
  top: 110px;
  z-index: 10;
}

.why-preview-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* macOS Header */
.why-window-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.why-window-dots {
  display: flex;
  gap: 6px;
}

.why-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.why-window-dots .dot-r { background: #FF5F56; }
.why-window-dots .dot-y { background: #FFBD2E; }
.why-window-dots .dot-g { background: #27C93F; }

.why-window-title {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.why-window-action {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-indicator-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(34,197,94,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Window Content Viewport */
.why-window-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Tab Transitions */
.why-tab-panel {
  display: none;
  animation: tabFadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.why-tab-panel.active {
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

/* PANEL 1: LIVE PROJECTS DASHBOARD */
.mock-dashboard {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  flex: 1;
  font-family: var(--font-body);
  min-height: 330px;
}

.mock-dash-sidebar {
  border-right: 1px solid var(--border);
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mock-dash-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--primary-dark);
}

[data-theme="dark"] .mock-dash-logo {
  color: var(--primary);
}

.mock-dash-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-dash-nav span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.mock-dash-nav span.active {
  color: var(--text-primary);
  background: var(--bg-alt);
}

.mock-dash-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-dash-header h4 {
  font-size: 14px;
  font-weight: 700;
}

.badge-success {
  background: rgba(34,197,94,0.15);
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.mock-dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dash-stat {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-stat .label {
  font-size: 10px;
  color: var(--text-muted);
}

.dash-stat .val {
  font-size: 15px;
  font-weight: 700;
}

.pulse-text i {
  font-size: 8px;
  margin-left: 4px;
  animation: pulse-green 1.5s infinite;
}

.mock-dash-deploy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.deploy-code-snippet {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-secondary);
}

.btn-mock-deploy {
  padding: 6px 14px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-mock-deploy:hover {
  background: var(--primary-dark);
}

.deploy-console {
  background: #0d1117;
  color: #c9d1d9;
  font-family: monospace;
  font-size: 11px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 100px;
  overflow-y: auto;
}

.deploy-console.active {
  display: flex;
}

.console-line {
  opacity: 0.85;
}

.success-line {
  color: var(--success);
  font-weight: bold;
}

.tech-stack-strip {
  display: flex;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.tech-badge {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* PANEL 2: INDUSTRY MENTORS WORKSPACE */
.mock-editor-review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.mock-code-panel {
  background: #0f141c;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.code-panel-header {
  background: #151b24;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8b949e;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.diff-toggle {
  display: flex;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-full);
  padding: 2px;
}

.btn-diff {
  background: transparent;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  color: #8b949e;
  transition: var(--transition-fast);
}

.btn-diff.active {
  background: var(--primary);
  color: #000;
}

.code-display {
  padding: 16px;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.6;
  color: #e6edf3;
  margin: 0;
  display: none;
}

.code-display.active {
  display: block;
}

.c-comment { color: #8b949e; font-style: italic; }
.c-err { background: rgba(239,68,68,0.25); text-decoration: underline wavy #EF4444; color: #ff7b72; padding: 2px 0; }

.mentor-comment-card {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mentor-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mentor-avatar-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

.mentor-meta {
  display: flex;
  flex-direction: column;
}

.mentor-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.mentor-title {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.company-tag {
  font-weight: 800;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
}
.company-tag.ggl { background: rgba(66,133,244,0.15); color: #4285F4; }

.mentor-msg {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  font-style: italic;
}

/* PANEL 3: AI LEARNING ASSISTANT */
.mock-ai-chat {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
}

.ai-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-msg {
  display: flex;
  flex-direction: column;
}

.ai-msg.user {
  align-items: flex-end;
}

.ai-msg.bot {
  align-items: flex-start;
}

.ai-msg-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.6;
}

.ai-msg.user .ai-msg-bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-msg.bot .ai-msg-bubble {
  background: var(--surface);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-msg.bot pre {
  background: #0f141c;
  padding: 10px;
  border-radius: 6px;
  margin: 4px 0;
  overflow-x: auto;
  font-family: monospace;
  font-size: 10px;
  color: #e6edf3;
}

.ai-action-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-apply-fix {
  padding: 6px 12px;
  background: var(--success);
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.btn-apply-fix:hover {
  background: #1b9e4b;
}

.fix-applied-toast {
  font-size: 10px;
  font-weight: bold;
  color: var(--success);
  display: none;
  animation: pulse-green 1.5s infinite;
}

/* PANEL 4: PLACEMENT ASSISTANCE */
.mock-placement-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  flex: 1;
}

.placement-metrics {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.metric-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-progress-circle {
  position: relative;
  width: 90px;
  height: 90px;
}

.circular-chart {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 2.8;
}

.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke: var(--primary);
}

.metric-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
}

.metric-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.metric-item {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.metric-item.checked i {
  color: var(--success);
}
.metric-item.pending i {
  color: var(--text-muted);
}

.placement-referrals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.placement-referrals h5 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.referrals-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.referral-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 6px;
}

.referral-item .company {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
}

.referral-item .role {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.referral-item .status {
  grid-column: 1 / -1;
  font-size: 9px;
  font-weight: 700;
  margin-top: 4px;
  display: inline-block;
  width: max-content;
  padding: 2px 8px;
  border-radius: 4px;
}

.status.interview { background: rgba(34,197,94,0.12); color: var(--success); }
.status.review { background: rgba(255,193,7,0.12); color: var(--primary-dark); }
.status.applied { background: rgba(37,99,235,0.12); color: var(--accent); }

/* Responsive adjustments */
@media (max-width: 992px) {
  .why-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .why-preview-container {
    position: static;
  }
}

@media (max-width: 576px) {
  .why-selector-card {
    padding: 16px;
    gap: 14px;
  }
  .why-selector-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .why-selector-title {
    font-size: 15px;
  }
  .why-selector-desc {
    font-size: 12px;
  }
  .why-preview-window {
    min-height: auto;
  }
  .mock-dashboard {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
  }
  .mock-dash-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 12px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .mock-dash-nav {
    flex-direction: row;
    gap: 4px;
  }
  .mock-dash-nav span {
    padding: 4px 8px;
  }
  .mock-placement-dashboard {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  backdrop-filter: blur(8px);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,193,7,0.2);
}

.testimonial-featured {
  background: linear-gradient(135deg, rgba(255,193,7,0.06), rgba(37,99,235,0.04));
  border-color: rgba(255,193,7,0.3);
}

.test-quote-icon {
  font-family: Georgia, serif;
  font-size: 60px;
  color: var(--primary);
  opacity: 0.4;
  line-height: 0.5;
  font-weight: 700;
}

.test-stars { color: var(--primary); font-size: 14px; letter-spacing: 2px; }

.test-quote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.test-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.test-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.test-role {
  font-size: 12px;
  color: var(--text-muted);
}

.test-company {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 2px;
}

/* ── ROADMAP ── */
.roadmap-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-line {
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), var(--success));
  transform: translateX(-50%);
  opacity: 0.3;
}

.roadmap-step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}

.roadmap-step-right {
  flex-direction: row-reverse;
}

.step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  transition: var(--transition);
}

.step-dot.step-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: #000;
  box-shadow: 0 0 0 6px rgba(255,193,7,0.15);
}

.step-dot.step-final {
  background: linear-gradient(135deg, var(--success), #059669);
  border-color: var(--success);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.15);
  font-size: 20px;
}

.step-content { flex: 1; }

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,193,7,0.2);
}

.step-card-final {
  border-color: rgba(34,197,94,0.3);
  background: linear-gradient(135deg, rgba(34,197,94,0.04), transparent);
}

.step-icon { font-size: 28px; margin-bottom: 12px; }

.step-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.step-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.step-tags span {
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── COMMUNITY ── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.community-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.community-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.community-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.discord-icon { background: rgba(88,101,242,0.1); color: #5865F2; }
.whatsapp-icon { background: rgba(37,211,102,0.1); color: #25D366; }
.github-icon { background: rgba(51,51,51,0.1); color: #333; }
.linkedin-icon { background: rgba(10,102,194,0.1); color: #0A66C2; }
.telegram-icon { background: rgba(38,165,228,0.1); color: #26A5E4; }

[data-theme="dark"] .github-icon { color: #E0E0E0; background: rgba(255,255,255,0.08); }

.community-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.community-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.community-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.count-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.count-dot.online { background: var(--success); }
.count-dot.active { background: var(--primary); }

.community-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-fast);
  margin-top: auto;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-alt);
}

.community-btn:hover {
  transform: translateY(-2px);
  border-color: transparent;
  color: #fff;
}

.discord-btn:hover { background: #5865F2; }
.whatsapp-btn:hover { background: #25D366; }
.github-btn:hover { background: #333; }
.linkedin-btn:hover { background: #0A66C2; }
.telegram-btn:hover { background: #26A5E4; }

/* ── FAQ ── */
.faq-wrapper {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
  border-color: rgba(255,193,7,0.3);
  box-shadow: 0 4px 20px rgba(255,193,7,0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  text-align: left;
  gap: 16px;
}

.faq-question span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  transform: rotate(45deg);
}

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

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

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 16px;
}

/* ── NEWSLETTER ── */
#newsletter {
  background: var(--secondary);
  overflow: hidden;
}

[data-theme="dark"] #newsletter {
  background: #050A14;
}

.newsletter-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nl-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.nl-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,193,7,0.2), transparent);
  top: -100px;
  left: -50px;
  animation: orb-float-1 12s ease-in-out infinite;
}

.nl-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.2), transparent);
  bottom: -100px;
  right: -50px;
  animation: orb-float-2 15s ease-in-out infinite;
}

.newsletter-content {
  position: relative;
  text-align: center;
}

.nl-icon { font-size: 56px; margin-bottom: 24px; }

.nl-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.nl-title span {
  background: linear-gradient(135deg, var(--primary), #FF8F00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nl-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.nl-form { margin-bottom: 16px; }

.nl-input-group {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 6px 6px 6px 20px;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease;
}

.nl-input-group:focus-within {
  border-color: var(--primary);
}

.nl-input-icon { color: rgba(255,255,255,0.4); font-size: 15px; }

.nl-input {
  flex: 1;
  background: none;
  color: #fff;
  font-size: 15px;
  padding: 8px 0;
}

.nl-input::placeholder { color: rgba(255,255,255,0.35); }

.nl-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nl-btn:hover {
  box-shadow: 0 4px 16px rgba(255,193,7,0.4);
  transform: translateY(-1px);
}

.nl-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nl-perks {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nl-perks span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ── FOOTER ── */
#footer {
  background: var(--secondary);
  border-top: 1px solid rgba(255,255,255,0.05);
}

[data-theme="dark"] #footer {
  background: #030712;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {}

.footer-logo { margin-bottom: 12px; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-icon { box-shadow: 0 4px 12px rgba(255,193,7,0.3); }

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  transform: translateY(-2px);
}

.footer-links-group {}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

.footer-link:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.15s ease;
}

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

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,193,7,0.4);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,193,7,0.5);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 96px;
  right: 32px;
  background: var(--secondary);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.08);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1001;
  max-width: 300px;
}

[data-theme="dark"] .toast {
  background: #1A2235;
  border-color: rgba(255,255,255,0.1);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .community-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-container { gap: 48px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-nav-secondary { display: none; }
  .hamburger { display: flex; }
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .hero-left { max-width: 600px; margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-right { order: 0; }
  .hero-visual { max-width: 400px; height: 380px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .internships-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-showcase { grid-template-columns: 1fr; gap: 30px; }
  .community-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .roadmap-line { left: 24px; }
  .roadmap-step, .roadmap-step.roadmap-step-right {
    flex-direction: column;
    margin-left: 48px;
  }
  .step-dot { position: absolute; left: -48px; top: 8px; }
  .roadmap-step { position: relative; }
}

@media (max-width: 640px) {
  .section-container { padding: 64px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .courses-grid { grid-template-columns: 1fr; }
  .internships-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-visual { height: 280px; }
  .code-card { width: 260px; font-size: 11px; }
  .stats-card { width: 130px; }
  .why-showcase { grid-template-columns: 1fr; gap: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .mega-menu { min-width: 280px; }
  .mega-menu-grid { grid-template-columns: 1fr; }
  .mega-cta-col { display: none; }
  .nl-input-group { flex-direction: column; padding: 16px; border-radius: var(--radius-sm); }
  .nl-input { width: 100%; }
  .nl-btn { width: 100%; justify-content: center; }
}

/* ── AOS Override ── */
[data-aos] { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; }

/* ── Selection Style ── */
::selection {
  background: rgba(255,193,7,0.3);
  color: var(--text-primary);
}

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

/* ════════════════════════════════════════
   FULL COURSE CATALOG
════════════════════════════════════════ */
#course-catalog { padding: 100px 0; }

/* --- Category Tab Nav --- */
.catalog-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 36px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

/* Custom framework filter dropdown */
.dropdown-filter-container {
  position: relative;
  flex-shrink: 0;
}

.dropdown-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.dropdown-filter-btn:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  background: rgba(255,193,7,0.07);
}

.dropdown-filter-btn .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.dropdown-filter-btn[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 200px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.dropdown-filter-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-filter-header {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 8px 16px 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.dropdown-filter-item {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  text-decoration: none;
}

.dropdown-filter-item:hover {
  background: rgba(255,193,7,0.08);
  color: var(--primary-dark);
}

.dropdown-filter-item.active {
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(255,193,7,0.12);
}

[data-theme="dark"] .dropdown-filter-item:hover {
  background: rgba(255,193,7,0.12);
  color: var(--primary);
}

[data-theme="dark"] .dropdown-filter-item.active {
  color: var(--primary);
  background: rgba(255,193,7,0.18);
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0;
}

.catalog-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.catalog-tab i { font-size: 13px; }
.catalog-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,193,7,0.07);
}
.catalog-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255,193,7,0.35);
}

/* --- Panel Switching --- */
.catalog-panels { position: relative; }

.catalog-panel {
  display: none;
  animation: catalogFadeIn 0.35s ease;
}
.catalog-panel.active { display: block; }

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

/* --- Panel Header --- */
.catalog-panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
}

.catalog-panel-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.catalog-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
}

.catalog-panel-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.catalog-course-count {
  margin-left: auto;
  background: rgba(255,193,7,0.12);
  color: var(--primary);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* --- Course List --- */
.catalog-course-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.catalog-course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.catalog-course-item:last-child { border-bottom: none; }
.catalog-course-item:hover { background: rgba(255,255,255,0.03); }

.cc-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.cc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.cc-info { min-width: 0; }
.cc-info h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cc-meta span {
  font-size: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cc-meta i { font-size: 11px; }

/* Level badges */
.cc-level {
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px !important;
  font-weight: 600;
}
.cc-level.beginner    { background: rgba(34,197,94,0.12);  color: #22c55e; }
.cc-level.intermediate{ background: rgba(59,130,246,0.12); color: #60a5fa; }
.cc-level.advanced    { background: rgba(239,68,68,0.12);  color: #f87171; }

/* Right side */
.cc-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.cc-badge.hot { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.cc-badge.new { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }

.cc-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.cc-price span {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.cc-enroll-btn {
  padding: 7px 18px;
  background: var(--primary);
  color: #000;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cc-enroll-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,193,7,0.4);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .catalog-tabs { gap: 8px; }
  .catalog-tab { padding: 8px 14px; font-size: 12.5px; }
  .catalog-panel-header { padding: 18px 20px; }
  .catalog-course-item { padding: 14px 20px; flex-wrap: wrap; }
  .cc-right { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .catalog-tab { padding: 7px 12px; font-size: 12px; }
  .catalog-panel-header { flex-wrap: wrap; }
  .catalog-course-count { margin-left: 0; }
  .cc-info h4 { font-size: 13.5px; white-space: normal; }
  .cc-badge { display: none; }
  .cc-price span { display: none; }
  .catalog-course-item { gap: 12px; }
}


/* ════════════════════════════════════════════════════════════════
   TECHMERISE — COMPLETE RESPONSIVE SYSTEM 2026
   Covers: 4K TV (3840px+) | QHD Monitor (2560px) | FHD (1920px)
   Laptop (1280px) | Tablet Landscape (1024px) | Tablet (768px)
   Phablet (600px) | Mobile (480px) | Small Mobile (375px)
   Fold Phone (280px) | Projector | Print
   Strategy: Desktop-first with targeted breakpoints
════════════════════════════════════════════════════════════════ */

/* ── 1. CSS FLUID SCALING UTILITIES ── */
:root {
  --container-max: 1280px;
  --container-fluid: min(95vw, 1280px);
  --section-pad-v: clamp(60px, 8vw, 120px);
  --section-pad-h: clamp(16px, 4vw, 48px);
  --font-scale: clamp(14px, 1.5vw, 17px);
  --hero-font: clamp(28px, 5.5vw, 72px);
  --card-radius: clamp(12px, 1.5vw, 20px);
}

/* ── 2. 4K / ULTRA-WIDE TV (min-width: 2200px) ── */
@media (min-width: 2200px) {
  :root { --container-max: 1800px; }
  html { font-size: 18px; }
  .nav-container { max-width: 1800px; padding: 24px 48px; }
  .section-container { max-width: 1800px; padding: 140px 48px; }
  .hero-container { max-width: 1800px; padding: 80px 48px 120px; gap: 120px; }
  .hero-heading { font-size: 80px; }
  .hero-subtext { font-size: 22px; max-width: 700px; }
  .btn-primary-hero, .btn-outline-hero { padding: 20px 44px; font-size: 20px; }
  .hero-badge { font-size: 16px; padding: 12px 24px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .stat-number { font-size: 58px; }
  .stat-label { font-size: 18px; }
  .courses-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .course-card { border-radius: 24px; }
  .course-thumbnail { height: 220px; }
  .course-thumb-icon { font-size: 80px; }
  .course-name { font-size: 20px; }
  .course-desc { font-size: 16px; }
  .internships-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .footer-container { max-width: 1800px; padding: 120px 48px 48px; }
  .footer-top { grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; gap: 64px; }
  .section-title { font-size: 56px; }
  .section-desc { font-size: 20px; max-width: 720px; }
  .catalog-tabs { gap: 14px; }
  .catalog-tab { padding: 14px 28px; font-size: 16px; }
  .why-showcase { grid-template-columns: 1.1fr 1.3fr; gap: 48px; }
  .hero-visual { max-width: 680px; height: 640px; }
  .code-card { width: 460px; font-size: 16px; }
  .stats-card { width: 220px; }
  .logo-icon { width: 52px; height: 52px; font-size: 26px; }
  .logo-text { font-size: 26px; }
  .nav-link { font-size: 16px; padding: 10px 18px; }
  .btn-nav-primary, .btn-nav-secondary { font-size: 16px; padding: 10px 26px; }
  .back-to-top { width: 64px; height: 64px; font-size: 22px; }
  .community-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 3. QHD MONITOR (1440px – 2199px) ── */
@media (min-width: 1440px) and (max-width: 2199px) {
  :root { --container-max: 1340px; }
  .hero-container { gap: 90px; }
  .hero-heading { font-size: clamp(48px, 4.5vw, 68px); }
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .internships-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 4. LAPTOP / STANDARD DESKTOP (1024px – 1439px) ── */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-container { gap: 56px; padding: 60px 32px 80px; }
  .hero-visual { max-width: 440px; height: 440px; }
  .code-card { width: 290px; }
  .courses-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .internships-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-top { gap: 36px; }
  .nav-container { gap: 28px; }
  .nav-link { padding: 8px 10px; font-size: 13px; }
}

/* ── 5. TABLET LANDSCAPE / SMALL LAPTOP (768px – 1023px) ── */
@media (max-width: 1023px) {
  /* Navbar */
  .nav-links { display: none !important; }
  .btn-nav-secondary { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-container { padding: 16px 20px; gap: 16px; }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding: 48px 24px 60px;
  }
  .hero-left { max-width: 640px; margin: 0 auto; }
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
  .hero-social-proof { justify-content: center; }
  .hero-right { order: 0; }
  .hero-visual { max-width: 440px; height: 400px; margin: 0 auto; }
  .hero-subtext { max-width: 100%; font-size: 16px; }
  .hero-heading { font-size: clamp(30px, 5vw, 48px); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  #stats .section-container { padding: 48px 24px; }

  /* Courses */
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Internships */
  .internships-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Why Choose */
  .why-showcase { grid-template-columns: 1fr; gap: 30px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Community */
  .community-grid { grid-template-columns: repeat(3, 1fr); }

  /* Roadmap */
  .roadmap-line { left: 24px; }
  .roadmap-step,
  .roadmap-step.roadmap-step-right { flex-direction: column; margin-left: 48px; }
  .step-dot { position: absolute; left: -48px; top: 8px; }
  .roadmap-step { position: relative; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-container { padding: 60px 24px 32px; }

  /* Section spacing */
  .section-container { padding: 80px 24px; }

  /* Back to top */
  #back-to-top { bottom: 24px; right: 20px; width: 44px; height: 44px; font-size: 14px; }
}

/* ── 6. TABLET PORTRAIT (600px – 767px) ── */
@media (max-width: 767px) {
  html { font-size: 15px; }

  /* Navbar */
  .nav-container { padding: 14px 16px; gap: 12px; }
  .logo-text { font-size: 18px; }
  .logo-icon { width: 36px; height: 36px; font-size: 18px; }
  .btn-nav-primary { display: none; }
  .theme-btn { width: 34px; height: 34px; }

  /* Mobile menu improved */
  .mobile-menu { padding: 12px 16px 20px; }
  .mobile-link { padding: 10px 14px; font-size: 14px; }

  /* Hero */
  .hero-container { padding: 40px 16px 56px; gap: 40px; }
  .hero-heading { font-size: clamp(26px, 6vw, 40px); }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-subtext { font-size: 15px; }
  .btn-primary-hero, .btn-outline-hero { padding: 13px 24px; font-size: 15px; }
  .hero-visual { max-width: 360px; height: 320px; }
  .hero-ctas { gap: 12px; }

  /* Floating cards - scale down */
  .code-card { width: 240px; font-size: 11px; left: 0; }
  .stats-card { width: 140px; right: 0; }
  .hired-card { padding: 10px 12px; gap: 8px; }
  .xp-card { padding: 10px 12px; gap: 8px; }
  .orbit-icon { width: 36px; height: 36px; font-size: 16px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 22px 16px; }
  .stat-number { font-size: 32px; }

  /* Section padding */
  .section-container { padding: 64px 16px; }
  .section-title { font-size: clamp(22px, 5vw, 36px); }
  .section-desc { font-size: 15px; }

  /* Courses */
  .courses-grid { grid-template-columns: 1fr; }
  .course-thumbnail { height: 140px; }

  /* Internships */
  .internships-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-showcase { grid-template-columns: 1fr; gap: 24px; }

  /* Community */
  .community-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-container { padding: 52px 20px 28px; }

  /* Newsletter */
  .nl-input-group { flex-direction: column; padding: 14px; border-radius: var(--radius-sm); }
  .nl-input { width: 100%; }
  .nl-btn { width: 100%; justify-content: center; }

  /* Catalog & Filter Swipe Container */
  .catalog-nav-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .catalog-tabs, .filter-tabs {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    padding: 8px 4px 12px;
    margin: 0;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    gap: 8px;
  }
  .catalog-tabs::-webkit-scrollbar, .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .catalog-tab, .filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 8px 14px;
    font-size: 12px;
  }
  .dropdown-filter-container {
    width: 100%;
  }
  .dropdown-filter-btn {
    width: 100%;
    justify-content: space-between;
  }
  .dropdown-filter-menu {
    width: 100%;
  }
  .catalog-panel-header { flex-wrap: wrap; gap: 12px; }
  .catalog-course-count { margin-left: 0; }
  .cc-badge { display: none; }
  .cc-price span { display: none; }
  .catalog-course-item { padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
  .cc-right { width: 100%; justify-content: space-between; }

  /* Mega menu */
  .mega-menu { min-width: auto; width: calc(100vw - 32px); left: -16px; transform: none; }
  .mega-menu-grid { grid-template-columns: 1fr; }
  .mega-cta-col { display: none; }
}

/* ── 7. LARGE MOBILE / PHABLET (480px – 599px) ── */
@media (max-width: 599px) {
  html { font-size: 14.5px; }

  .hero-heading { font-size: clamp(24px, 7vw, 36px); }
  .hero-badge { font-size: 11.5px; }
  .btn-primary-hero, .btn-outline-hero { width: 100%; justify-content: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-visual { max-width: 300px; height: 280px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 18px 12px; }
  .stat-number { font-size: 28px; }
  .stat-card-icon { width: 44px; height: 44px; font-size: 18px; }

  .section-container { padding: 52px 14px; }
  .section-header { margin-bottom: 40px; }
  .filter-tabs { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 13px; }

  .courses-grid { grid-template-columns: 1fr; }
  .course-body { padding: 16px; }
  .price-current { font-size: 16px; }

  .internships-grid { grid-template-columns: 1fr; }
  .internship-card { padding: 20px; }

  .community-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .community-card { padding: 20px 16px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-social { gap: 8px; }
  .social-link { width: 34px; height: 34px; font-size: 13px; }

  #back-to-top { width: 40px; height: 40px; right: 14px; bottom: 14px; font-size: 13px; }
  .toast { max-width: calc(100vw - 28px); right: 14px; bottom: 70px; }

  .catalog-tab { padding: 6px 10px; font-size: 11.5px; }
  .cc-icon { width: 36px; height: 36px; font-size: 14px; }
  .cc-info h4 { font-size: 13px; white-space: normal; }
}

/* ── 8. STANDARD MOBILE (375px – 479px) ── */
@media (max-width: 479px) {
  html { font-size: 14px; }

  /* Navbar */
  .nav-container { padding: 12px 14px; gap: 8px; }
  .logo-text { font-size: 16px; }
  .logo-icon { width: 32px; height: 32px; font-size: 16px; }
  .btn-nav-primary { display: none; }  /* show only hamburger on tiny screens */

  /* Hero */
  .hero-container { padding: 36px 14px 48px; }
  .hero-heading { font-size: clamp(22px, 8vw, 32px); line-height: 1.2; }
  .hero-badge { font-size: 11px; padding: 5px 12px; flex-wrap: wrap; text-align: center; justify-content: center; }
  .hero-subtext { font-size: 14px; }
  .btn-primary-hero, .btn-outline-hero { padding: 12px 20px; font-size: 14px; width: 100%; }
  .hero-visual { max-width: 280px; height: 240px; }

  /* Orbit icons — fewer on tiny screens */
  .orbit-react, .orbit-python, .orbit-aws { display: none; }
  .code-card { width: 220px; font-size: 10.5px; }
  .stats-card { width: 120px; }
  .stats-card-value { font-size: 22px; }
  .hired-card { max-width: 220px; }
  .xp-card { max-width: 170px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px 10px; border-radius: var(--radius-sm); }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 12px; }
  .stat-trend { font-size: 11px; }

  /* Section */
  .section-container { padding: 48px 14px; }
  .section-title { font-size: clamp(20px, 6.5vw, 30px); }
  .section-desc { font-size: 14px; }
  .section-header { margin-bottom: 32px; }

  /* Course cards */
  .courses-grid { grid-template-columns: 1fr; gap: 16px; }
  .course-thumbnail { height: 130px; }
  .course-thumb-icon { font-size: 48px; }
  .course-body { padding: 14px; }
  .course-name { font-size: 15px; }
  .course-desc { font-size: 12px; }
  .price-current { font-size: 15px; }
  .btn-enroll { padding: 8px 14px; font-size: 12px; }

  /* Internships */
  .internship-card { padding: 18px 14px; }
  .intern-title { font-size: 15px; }

  /* Footer */
  .footer-container { padding: 44px 14px 24px; }
  .footer-col-title { font-size: 11px; }
  .footer-link { font-size: 13px; margin-bottom: 10px; }
  .footer-bottom p { font-size: 11px; text-align: center; }
  .footer-bottom-links a { font-size: 11px; }

  /* Catalog */
  .catalog-tabs { gap: 5px; }
  .catalog-tab { padding: 6px 9px; font-size: 11px; gap: 5px; }
  .catalog-tab i { display: none; }
  .catalog-panel-header { padding: 14px; gap: 10px; }
  .catalog-panel-icon { width: 40px; height: 40px; font-size: 17px; }
  .catalog-panel-title { font-size: 15px; }
  .catalog-course-item { padding: 12px 14px; }
  .cc-icon { width: 32px; height: 32px; font-size: 13px; border-radius: 8px; }
  .cc-enroll-btn { padding: 6px 12px; font-size: 11.5px; }

  /* FAQ */
  .faq-question { font-size: 14px; padding: 16px 14px; }
  .faq-answer { font-size: 13.5px; padding: 0 14px 16px; }

  /* Newsletter */
  .nl-input-group { padding: 12px; border-radius: var(--radius-sm); }
  .nl-btn { padding: 10px 20px; font-size: 13px; }
}

/* ── 9. SMALL MOBILE / FOLD HALF-OPEN (320px – 374px) ── */
@media (max-width: 374px) {
  html { font-size: 13.5px; }

  .nav-container { padding: 10px 12px; }
  .logo-text { font-size: 15px; }
  .logo-icon { width: 30px; height: 30px; font-size: 14px; border-radius: 8px; }
  .hamburger { width: 30px; }
  .btn-nav-primary { display: none; }
  .theme-btn { width: 30px; height: 30px; font-size: 13px; }

  .hero-container { padding: 32px 12px 40px; }
  .hero-heading { font-size: clamp(20px, 8.5vw, 28px); }
  .hero-badge { font-size: 10.5px; }
  .hero-subtext { font-size: 13.5px; }
  .hero-visual { max-width: 250px; height: 210px; }
  .btn-primary-hero, .btn-outline-hero { font-size: 13px; padding: 11px 16px; }

  .section-container { padding: 40px 12px; }
  .section-title { font-size: clamp(18px, 7vw, 26px); }
  .section-badge { font-size: 11px; padding: 5px 12px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { padding: 14px 8px; }
  .stat-number { font-size: 24px; }

  .courses-grid { gap: 12px; }
  .course-name { font-size: 14px; }
  .course-thumbnail { height: 120px; }

  .catalog-tab { font-size: 10.5px; padding: 5px 8px; }
  .catalog-panel-header { padding: 12px; }
  .catalog-course-item { padding: 10px 12px; gap: 8px; }
  .cc-icon { display: none; }
  .cc-info h4 { font-size: 12.5px; }

  .footer-container { padding: 36px 12px 20px; }
  .footer-top { gap: 24px; }

  #back-to-top { width: 36px; height: 36px; right: 12px; bottom: 12px; font-size: 12px; }
  .toast { right: 12px; max-width: calc(100vw - 24px); }
}

/* ── 10. FOLD PHONE CLOSED (< 320px) ── */
@media (max-width: 319px) {
  html { font-size: 13px; }
  .nav-container { padding: 10px; }
  .logo-text { display: none; }
  .hero-container { padding: 28px 10px 36px; }
  .hero-heading { font-size: 22px; }
  .hero-visual { display: none; }
  .hero-ctas { gap: 8px; }
  .btn-primary-hero, .btn-outline-hero { font-size: 13px; padding: 10px; }
  .stats-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .section-container { padding: 36px 10px; }
  .catalog-tabs { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 4px; }
  .catalog-tab { flex-shrink: 0; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ── 11. PROJECTOR / WIDE DISPLAY (aspect-ratio > 2.1 or very wide) ── */
@media (min-aspect-ratio: 21/9) and (min-width: 1400px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 80px 60px;
    max-width: 100%;
  }
  .section-container { padding: 80px 80px; max-width: 100%; }
  .nav-container { max-width: 100%; padding: 20px 80px; }
  .footer-container { max-width: 100%; padding: 80px 80px 40px; }
  .hero-visual { max-width: 580px; height: 520px; }
  .courses-grid { grid-template-columns: repeat(4, 1fr); }
  .internships-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── 12. FOLDABLE PHONE OPEN / SQUARE SCREENS ── */
@media (max-width: 720px) and (min-aspect-ratio: 9/10) and (max-aspect-ratio: 11/10) {
  /* Galaxy Z Fold open ~884px wide square-ish */
  .hero-container { grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
  .hero-right { order: 0; }
  .hero-ctas { justify-content: flex-start; }
  .hero-social-proof { justify-content: flex-start; }
  .hero-visual { height: 320px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 13. LANDSCAPE MOBILE (short + wide, < 500px height) ── */
@media (max-height: 500px) and (orientation: landscape) {
  #hero { min-height: auto; padding-top: 64px; padding-bottom: 20px; }
  .hero-container { padding: 20px 24px 30px; gap: 24px; grid-template-columns: 1fr 1fr; }
  .hero-right { order: 0; }
  .hero-ctas { justify-content: flex-start; }
  .hero-social-proof { justify-content: flex-start; }
  .hero-visual { height: 240px; max-width: 280px; }
  .hero-heading { font-size: clamp(20px, 3.5vw, 32px); }
  .scroll-indicator { display: none; }
  .hero-badge { margin-bottom: 14px; }
  .hero-subtext { margin-bottom: 20px; font-size: 13px; }
}

/* ── 14. HIGH-DPI / RETINA ADJUSTMENTS ── */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-icon { box-shadow: 0 2px 8px rgba(255,193,7,0.5); }
  .btn-primary-hero { box-shadow: 0 6px 20px rgba(255,193,7,0.45); }
  .code-card { box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 0 0 0.5px rgba(255,255,255,0.05); }
}

/* ── 15. TOUCH DEVICE IMPROVEMENTS ── */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch, improve tap targets */
  .course-card:hover { transform: none; box-shadow: var(--shadow-md); }
  .stat-card:hover { transform: none; }
  .btn-primary-hero:hover { transform: none; box-shadow: 0 8px 24px rgba(255,193,7,0.35); }
  .btn-outline-hero:hover { transform: none; }
  .btn-enroll { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .btn-apply { min-height: 44px; }
  .catalog-tab { min-height: 44px; }
  .filter-btn { min-height: 44px; }
  .nav-link { min-height: 44px; }
  .social-link { width: 44px; height: 44px; }
  .theme-btn { width: 44px; height: 44px; }
  .hamburger { width: 44px; height: 44px; padding: 10px; }
  .faq-question { min-height: 56px; }
  .mobile-link { min-height: 48px; padding: 14px 16px; }
  #back-to-top { width: 52px; height: 52px; }
  /* Prevent double-tap zoom on buttons */
  button, a { touch-action: manipulation; }
  /* Scrollable tabs on touch */
  .catalog-tabs { -webkit-overflow-scrolling: touch; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scroll-snap-type: x mandatory; padding: 4px 0 12px; margin-left: -4px; scrollbar-width: none; }
  .catalog-tabs::-webkit-scrollbar { display: none; }
  .catalog-tab { scroll-snap-align: start; flex-shrink: 0; }
  .filter-tabs { -webkit-overflow-scrolling: touch; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scroll-snap-type: x mandatory; padding: 4px 0 12px; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-btn { scroll-snap-align: start; flex-shrink: 0; }
}

/* ── 16. REDUCED MOTION PREFERENCE ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orb, .orbit-icon, .float-anim-1, .float-anim-2, .float-anim-3,
  .float-anim-4, .float-anim-5, .float-anim-6, .float-anim-7, .float-anim-8 {
    animation: none !important;
  }
  .scroll-wheel { animation: none; }
  .badge-dot { animation: none; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* ── 17. DARK MODE RESPONSIVE TOUCH-UPS ── */
@media (prefers-color-scheme: dark) {
  /* System dark mode hint — actual theme controlled by JS */
}

/* ── 18. PRINT MEDIA ── */
@media print {
  #navbar, .mobile-menu, #back-to-top, .toast,
  #page-loader, .hero-bg, .orb, .orbit-icon,
  .btn-primary-hero, .btn-outline-hero, .btn-nav-primary,
  .scroll-indicator, [data-aos] { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .section-container { padding: 20pt 0; max-width: 100%; }
  .hero-heading { font-size: 28pt; color: #000; }
  .hero-subtext { font-size: 12pt; color: #333; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .course-card { border: 1px solid #ccc; page-break-inside: avoid; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  .stat-number { font-size: 24pt; }
  h2 { page-break-before: auto; }
}

/* ── 19. FLUID CONTAINER OVERRIDES ── */
/* Ensure all containers are fluid within their max-width */
.nav-container,
.hero-container,
.section-container,
.footer-container {
  width: 100%;
  box-sizing: border-box;
}

/* Prevent any horizontal overflow on all screen sizes */
* { max-width: 100%; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }
pre, code { overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; }
table { overflow-x: auto; display: block; }

/* ── 20. BLOG RESPONSIVE (matching existing blog pages) ── */
@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .blog-card .card-body { padding: 16px; }
  .blog-card .card-title { font-size: 15px; }
}
