/* ======================================================== */
/* 1. ROOT VARIABLES & PRODIGY PALETTE (LIGHT & DARK DUAL)  */
/* ======================================================== */
:root {
  --prodigy-orange: #ff5a00;
  --prodigy-orange-hover: #e04f00;
  --prodigy-orange-dark: #b83d00;
  --prodigy-orange-deep: #c2410c;
  --prodigy-orange-light: rgba(255, 90, 0, 0.12);
  --prodigy-blue: #0284c7;
  --prodigy-green: #10b981;
  --prodigy-purple: #7c3aed;
  --prodigy-yellow: #f59e0b;
  --prodigy-cream: #faefe3;

  /* Default Theme Variables (Dark Mode Default) */
  --hero-bg: #070b14;
  --stat-section-bg: #0f172a;
  --stat-heading-color: #f8fafc;
  --stat-card-bg: #1e293b;
  --stat-card-border: rgba(255, 90, 0, 0.25);
  --card-bg-subtle: rgba(17, 26, 46, 0.85);
  --card-border-subtle: rgba(255, 90, 0, 0.25);
  --badge-bg: rgba(255, 90, 0, 0.15);
  --badge-border: rgba(255, 90, 0, 0.35);
  --badge-text: #ff7849;
  --trust-bar-bg: rgba(15, 23, 42, 0.75);
  --trust-bar-border: rgba(255, 255, 255, 0.1);
  --trust-bar-text: #cbd5e1;
  --banner-win-bg: #0f172a;
  --banner-win-border: rgba(255, 90, 0, 0.4);
  --banner-topbar-bg: #090e1a;
  --btn-sec-bg: rgba(15, 23, 42, 0.8);
  --btn-sec-border: rgba(255, 255, 255, 0.2);
  --btn-sec-text: #ffffff;
  --btn-sec-hover-bg: rgba(255, 255, 255, 0.08);
  --audience-card-bg: rgba(15, 23, 42, 0.9);
  --audience-card-border: rgba(255, 90, 0, 0.3);
  --prodigy-hero-card-bg: #0f172a;
  --prodigy-hero-card-border: rgba(255, 90, 0, 0.35);
}

/* Explicit Dark Theme */
[data-theme="dark"] {
  --hero-bg: #070b14;
  --stat-section-bg: #0f172a;
  --stat-heading-color: #f8fafc;
  --stat-card-bg: #1e293b;
  --stat-card-border: rgba(255, 90, 0, 0.25);
  --card-bg-subtle: rgba(17, 26, 46, 0.85);
  --card-border-subtle: rgba(255, 90, 0, 0.25);
  --badge-bg: rgba(255, 90, 0, 0.15);
  --badge-border: rgba(255, 90, 0, 0.35);
  --badge-text: #ff7849;
  --trust-bar-bg: rgba(15, 23, 42, 0.75);
  --trust-bar-border: rgba(255, 255, 255, 0.1);
  --trust-bar-text: #cbd5e1;
  --banner-win-bg: #0f172a;
  --banner-win-border: rgba(255, 90, 0, 0.4);
  --banner-topbar-bg: #090e1a;
  --btn-sec-bg: rgba(15, 23, 42, 0.8);
  --btn-sec-border: rgba(255, 255, 255, 0.2);
  --btn-sec-text: #ffffff;
  --btn-sec-hover-bg: rgba(255, 255, 255, 0.08);
  --audience-card-bg: rgba(15, 23, 42, 0.9);
  --audience-card-border: rgba(255, 90, 0, 0.3);
  --prodigy-hero-card-bg: #0f172a;
  --prodigy-hero-card-border: rgba(255, 90, 0, 0.35);
}

/* Light Theme Overrides (Warm Prodigy Style: Orange, Cream, and Crisp White) */
[data-theme="light"] {
  --hero-bg: #ffffff;
  --stat-section-bg: #faefe3;
  --stat-heading-color: #0f172a;
  --stat-card-bg: #ffffff;
  --stat-card-border: #fed7aa;
  --card-bg-subtle: #ffffff;
  --card-border-subtle: #fed7aa;
  --badge-bg: #fff5eb;
  --badge-border: #fdba74;
  --badge-text: #ea580c;
  --trust-bar-bg: #ffffff;
  --trust-bar-border: #fed7aa;
  --trust-bar-text: #334155;
  --banner-win-bg: #ffffff;
  --banner-win-border: #fdba74;
  --banner-topbar-bg: #fff7ed;
  --btn-sec-bg: #ffffff;
  --btn-sec-border: #cbd5e1;
  --btn-sec-text: #0f172a;
  --btn-sec-hover-bg: #fff9f5;
  --audience-card-bg: #fff8f0;
  --audience-card-border: #fed7aa;
  --prodigy-hero-card-bg: #ffffff;
  --prodigy-hero-card-border: #fed7aa;
}

/* ======================================================== */
/* 2. PRODIGY NAVBAR ENHANCEMENTS                           */
/* ======================================================== */
.prodigy-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.prodigy-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.prodigy-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.prodigy-brand-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-orange);
  letter-spacing: -0.03em;
}

.prodigy-nav-center {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prodigy-nav-item {
  position: relative;
}

.prodigy-nav-link {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.prodigy-nav-link:hover,
.prodigy-nav-link.active {
  color: var(--brand-orange);
  background: rgba(255, 90, 0, 0.08);
}

.chevron-icon {
  transition: transform 0.2s ease;
}

.has-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.prodigy-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 100;
  animation: fadeInDown 0.2s ease-out forwards;
}

.has-dropdown:hover .prodigy-dropdown-menu {
  display: flex;
}

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

.prodigy-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s ease;
}

.prodigy-dropdown-item:hover {
  background: rgba(255, 90, 0, 0.08);
}

.dropdown-icon {
  font-size: 1.25rem;
  margin-top: 2px;
}

.prodigy-dropdown-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--heading-color);
  margin-bottom: 2px;
}

.prodigy-dropdown-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

.prodigy-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.prodigy-login-link {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.prodigy-login-link:hover {
  color: var(--brand-orange);
}

.btn-prodigy-pill-primary {
  background: linear-gradient(180deg, #ff5a00 0%, #e04f00 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.65rem 1.45rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 0 #b83d00, 0 8px 15px rgba(255, 90, 0, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-prodigy-pill-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #b83d00, 0 12px 20px rgba(255, 90, 0, 0.4);
}

.btn-prodigy-pill-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #b83d00;
}

/* ======================================================== */
/* 3. PRODIGY HERO SPLIT SECTION & DYNAMIC SLIDER           */
/* ======================================================== */
.prodigy-hero-section {
  background: var(--hero-bg);
  padding: 3.5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-circuit-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.prodigy-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.prodigy-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--badge-bg, rgba(255, 90, 0, 0.12));
  border: 1px solid var(--badge-border, rgba(255, 90, 0, 0.3));
  color: var(--prodigy-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 10px rgba(255, 90, 0, 0.15);
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ff5a00 0%, #ff8a3d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.prodigy-hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--heading-color);
  margin-bottom: 1.25rem;
}

.prodigy-hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

/* Pill Shape Action Buttons */
.prodigy-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-pill-orange {
  background: var(--prodigy-orange);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.95rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 90, 0, 0.4);
  border: none;
}

.btn-pill-orange:hover {
  background: var(--prodigy-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 90, 0, 0.5);
}

.btn-pill-outline {
  background: #ffffff;
  color: #0f172a !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.95rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
  border: 2px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-pill-outline:hover {
  border-color: #ff5a00;
  color: #ff5a00 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 90, 0, 0.15);
}

/* ======================================================== */
/* HERO SLIDER (CAROUSEL) CONTAINER & DYNAMIC SLIDES        */
/* ======================================================== */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
}

.prodigy-hero-slider {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--prodigy-hero-card-border);
  background: var(--prodigy-hero-card-bg);
  min-height: 390px;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: 390px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.98);
  display: flex;
  flex-direction: column;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
  z-index: 2;
}

/* Slide Style A: Character + Orange Curve Banner (Prodigy Signature) */
.slide-layout-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 390px;
  width: 100%;
}

.visual-card-character {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(255, 90, 0, 0.08) 0%, transparent 70%);
}

.character-floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-symbol {
  position: absolute;
  font-weight: 900;
  color: #f59e0b;
  opacity: 0.85;
  animation: floatIcon 3.5s ease-in-out infinite alternate;
}

.sym-1 { top: 15%; left: 15%; font-size: 1.4rem; }
.sym-2 { top: 20%; right: 18%; font-size: 1.2rem; animation-delay: 1s; }
.sym-3 { bottom: 20%; left: 12%; font-size: 1.3rem; animation-delay: 1.8s; }
.sym-4 { bottom: 15%; right: 15%; font-size: 1.5rem; animation-delay: 2.3s; }

@keyframes floatIcon {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(6deg); }
}

.character-avatar-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 30px rgba(255, 90, 0, 0.25);
  margin-bottom: 1rem;
}

.character-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--heading-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.visual-card-banner {
  background: linear-gradient(135deg, #ff5a00 0%, #ea580c 100%);
  color: #ffffff;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  clip-path: ellipse(140% 100% at 90% 50%);
}

.banner-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.banner-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.banner-heading-text {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
}

/* Slide Style B: Full Studio Image Banner (banner.png) */
.slide-layout-full {
  position: relative;
  min-height: 390px;
  width: 100%;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-full-img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  display: block;
}

.slide-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff;
}

/* Slider Controls (Arrows & Pagination Dots) */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-arrow-btn:hover {
  background: var(--prodigy-orange);
  border-color: var(--prodigy-orange);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-btn.prev {
  left: 14px;
}

.slider-arrow-btn.next {
  right: 14px;
}

.hero-slider-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot:hover {
  background: var(--prodigy-orange);
  transform: scale(1.2);
}

.slider-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: var(--prodigy-orange);
  box-shadow: 0 0 10px rgba(255, 90, 0, 0.5);
}

/* ======================================================== */
/* BACKGROUND CANVAS LAYERS FOR INTERACTIVE THEMES          */
/* ======================================================== */
.hero-circuit-canvas,
.section-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
}

/* ======================================================== */
/* HERO BANNER STUDIO WINDOW SHOWCASE (SECTION 3)           */
/* ======================================================== */
.hero-banner-showcase {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.hero-banner-window {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.25), 0 0 40px rgba(255, 90, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.35), 0 0 50px rgba(255, 90, 0, 0.22);
}

.hero-banner-topbar {
  background: var(--bg-secondary);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  gap: 1rem;
}

.hero-banner-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-banner-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.hero-banner-url {
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.35rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-banner-media-wrap {
  position: relative;
  width: 100%;
  background: #060911;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-banner-window:hover .hero-banner-img {
  transform: scale(1.015);
}

.hero-banner-floating-badges {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 5;
}

.hero-banner-pills-left {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.banner-glass-pill {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 1.15rem;
  font-size: 0.825rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ======================================================== */
/* 4. STAT & TESTIMONIALS SECTION (EXACT PRODIGY REFERENCE) */
/* ======================================================== */
.prodigy-stat-section {
  background: var(--stat-section-bg);
  padding: 4.5rem 0 5.5rem 0;
  border-top: 1px solid var(--card-border-subtle);
  border-bottom: 1px solid var(--card-border-subtle);
}

.stat-section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  text-align: center;
  color: var(--stat-heading-color);
  letter-spacing: -0.025em;
  margin-bottom: 3.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.stat-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-quote-card {
  background: var(--stat-card-bg);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--stat-card-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.quote-mark {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: #ff5a00;
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
  user-select: none;
}

.quote-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.quote-divider {
  width: 45px;
  height: 3px;
  background: #0f172a;
  border-radius: 2px;
  margin-bottom: 1rem;
}

[data-theme="dark"] .quote-divider {
  background: #ff5a00;
}

.quote-author {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ff5a00;
  margin-bottom: 2px;
}

.quote-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ======================================================== */
/* 5. AUDIENCE SEGMENTATION SECTION (PRODIGY TABS)          */
/* ======================================================== */
.prodigy-audience-section {
  background: var(--audience-card-bg);
  border: 2px solid var(--audience-card-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  margin: 4.5rem 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.audience-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.audience-tab-btn {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.8rem 1.85rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease-in-out;
}

.audience-tab-btn:hover {
  border-color: var(--prodigy-orange);
  color: var(--prodigy-orange);
  transform: translateY(-2px);
}

.audience-tab-btn.active {
  background: #ff5a00;
  border-color: #ff5a00;
  color: #ffffff;
  box-shadow: 0 4px 0 #b83d00, 0 10px 20px rgba(255, 90, 0, 0.3);
}

.audience-panel {
  display: none;
}

.audience-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

.audience-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* ======================================================== */
/* 6. PRODUCT PILLARS & HARDWARE SHOWCASE                   */
/* ======================================================== */
.prodigy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: #ff5a00;
  box-shadow: 0 15px 35px rgba(255, 90, 0, 0.12);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

/* ======================================================== */
/* 7. GRAND PRODIGY CTA BANNER                              */
/* ======================================================== */
.prodigy-cta-banner {
  background: linear-gradient(135deg, #ff5a00 0%, #ea580c 50%, #c2410c 100%);
  border-radius: 28px;
  padding: 4rem 3rem;
  color: #ffffff;
  text-align: center;
  margin: 5rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(255, 90, 0, 0.35);
}

.prodigy-cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.prodigy-cta-banner p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.btn-cta-white {
  background: #ffffff;
  color: #ea580c !important;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 1.1rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.15), 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease;
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.2), 0 20px 35px rgba(0, 0, 0, 0.25);
}

/* ======================================================== */
/* 8. MOBILE BOTTOM NAVIGATION (NATIVE APP-LIKE)            */
/* ======================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  padding: 0 0.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: #ff5a00;
}

.bottom-nav-icon {
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.bottom-nav-item.active .bottom-nav-icon {
  transform: translateY(-2px);
}

.bottom-nav-icon.highlight-badge {
  background: #ff5a00;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-top: -14px;
  box-shadow: 0 4px 15px rgba(255, 90, 0, 0.4);
}

.bottom-nav-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ======================================================== */
/* 9. RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS              */
/* ======================================================== */
@media (max-width: 992px) {
  .prodigy-nav-center {
    display: none !important;
  }
  .prodigy-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .stat-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .dev-spotlight-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  body {
    padding-bottom: 90px !important;
  }

  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
  }

  /* Compact Navbar Header on Mobile */
  .prodigy-navbar {
    padding: 0.65rem 1rem !important;
    gap: 0.5rem !important;
  }

  .prodigy-brand-link {
    gap: 0.45rem !important;
  }

  .prodigy-brand-logo {
    height: 28px !important;
  }

  .prodigy-brand-text {
    font-size: 1.15rem !important;
  }

  .prodigy-nav-actions {
    gap: 0.5rem !important;
  }

  /* Hide pill button from header on mobile; already available in hero buttons & bottom nav */
  .prodigy-nav-actions .btn-prodigy-pill-primary {
    display: none !important;
  }

  .theme-toggle-btn {
    padding: 0.25rem 0.35rem !important;
    gap: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  .theme-toggle-text {
    display: none !important;
  }

  .prodigy-login-link {
    font-size: 0.85rem !important;
    padding: 0.35rem 0.75rem !important;
    background: rgba(255, 90, 0, 0.1) !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 90, 0, 0.3) !important;
    color: var(--brand-orange) !important;
    font-weight: 800 !important;
  }

  /* Hero Section Mobile Formatting */
  .prodigy-hero-section {
    padding: 1.5rem 0 2.5rem 0 !important;
  }

  .prodigy-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.75rem !important;
    align-items: center !important;
  }

  .prodigy-hero-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .prodigy-hero-badge {
    margin: 0 auto 0.85rem auto !important;
    font-size: 0.72rem !important;
    padding: 0.35rem 0.85rem !important;
  }

  .prodigy-hero-title {
    font-size: 1.65rem !important;
    line-height: 1.28 !important;
    letter-spacing: -0.025em !important;
    margin: 0 auto 0.85rem auto !important;
    max-width: 100% !important;
    text-align: center !important;
    word-break: break-word !important;
  }

  .prodigy-hero-desc {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin: 0 auto 1.5rem auto !important;
    max-width: 96% !important;
    text-align: center !important;
    color: var(--text-secondary) !important;
  }

  .prodigy-hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin: 0 auto !important;
  }

  .btn-pill-orange,
  .btn-pill-outline {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    border-radius: 9999px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* Hero Slider Mobile Adaptation */
  .hero-slider-wrapper {
    margin-top: 1.5rem !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .prodigy-hero-slider {
    border-radius: 18px !important;
  }

  .slide-layout-full,
  .slide-layout-character {
    min-height: 280px !important;
  }

  .slide-full-overlay {
    padding: 1.25rem 1rem !important;
  }

  .slide-full-overlay h3 {
    font-size: 1.15rem !important;
  }

  .slide-full-overlay p {
    font-size: 0.8rem !important;
    margin-bottom: 0.75rem !important;
  }

  .slide-char-img {
    max-height: 240px !important;
  }

  .hero-banner-window {
    border-radius: 18px !important;
  }

  .stat-testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .audiences-nav-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 0.5rem !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .audience-tab-btn {
    flex-shrink: 0 !important;
    font-size: 0.85rem !important;
    padding: 0.6rem 1.1rem !important;
  }

  .prodigy-audience-section {
    padding: 2rem 1rem !important;
  }

  .pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .dev-spotlight-card {
    padding: 1.5rem 1.25rem !important;
  }

  .prodigy-cta-banner {
    padding: 2.5rem 1.25rem !important;
  }
}

/* ======================================================== */
/* 10. EXPLICIT LIGHT THEME CONTRAST & TYPOGRAPHY BOOST     */
/* ======================================================== */
[data-theme="light"] body {
  background-color: #ffffff;
  color: #1e293b;
}

[data-theme="light"] .prodigy-navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: #fed7aa;
}

[data-theme="light"] .prodigy-nav-link {
  color: #334155;
}

[data-theme="light"] .prodigy-nav-link:hover,
[data-theme="light"] .prodigy-nav-link.active {
  color: #ff5a00;
  background: rgba(255, 90, 0, 0.08);
}

[data-theme="light"] .prodigy-login-link {
  color: #0f172a;
}

[data-theme="light"] .prodigy-hero-section {
  background: #ffffff;
}

[data-theme="light"] .prodigy-hero-title {
  color: #0f172a !important;
}

[data-theme="light"] .prodigy-hero-desc {
  color: #334155 !important;
}

[data-theme="light"] .prodigy-hero-slider {
  background: #ffffff !important;
  border-color: #fed7aa !important;
}

[data-theme="light"] .visual-card-character {
  background: radial-gradient(circle at center, rgba(255, 90, 0, 0.06) 0%, #ffffff 70%) !important;
}

[data-theme="light"] .character-badge {
  background: #fff5eb !important;
  border-color: #fdba74 !important;
  color: #ea580c !important;
}

[data-theme="light"] .prodigy-stat-section {
  background: #faefe3 !important;
  border-top-color: #fed7aa !important;
  border-bottom-color: #fed7aa !important;
}

[data-theme="light"] .stat-section-heading {
  color: #0f172a !important;
}

[data-theme="light"] .testimonial-quote-card {
  background: #ffffff !important;
  border: 1px solid #fed7aa !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .quote-text {
  color: #1e293b !important;
}

[data-theme="light"] .quote-divider {
  background: #0f172a !important;
}

[data-theme="light"] .quote-author {
  color: #ea580c !important;
}

[data-theme="light"] .quote-role {
  color: #64748b !important;
}

[data-theme="light"] .prodigy-audience-section {
  background: #fffbf7 !important;
  border: 2px solid #fed7aa !important;
  box-shadow: 0 20px 50px rgba(255, 90, 0, 0.06) !important;
}

[data-theme="light"] .prodigy-audience-section h2 {
  color: #0f172a !important;
}

[data-theme="light"] .prodigy-audience-section p {
  color: #334155 !important;
}

[data-theme="light"] .audience-feature-card {
  background: #ffffff !important;
  border: 1px solid #fed7aa !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .audience-feature-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .audience-feature-card p {
  color: #334155 !important;
}

[data-theme="light"] .audience-tab-btn {
  background: #ffffff !important;
  border-color: #fed7aa !important;
  color: #334155 !important;
}

[data-theme="light"] .audience-tab-btn:hover {
  border-color: #ff5a00 !important;
  color: #ff5a00 !important;
}

[data-theme="light"] .audience-tab-btn.active {
  background: #ff5a00 !important;
  border-color: #ff5a00 !important;
  color: #ffffff !important;
}

[data-theme="light"] .pillar-card {
  background: #ffffff !important;
  border: 2px solid #fed7aa !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .pillar-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .pillar-card p {
  color: #334155 !important;
}

[data-theme="light"] .hero-banner-window {
  background: #ffffff !important;
  border-color: #fed7aa !important;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.08), 0 0 40px rgba(255, 90, 0, 0.08) !important;
}

[data-theme="light"] .hero-banner-topbar {
  background: #fff7ed !important;
  border-bottom-color: #fed7aa !important;
}

[data-theme="light"] #articles-section {
  background: #fdfbf7 !important;
  border-top-color: #fed7aa !important;
  border-bottom-color: #fed7aa !important;
}

[data-theme="light"] #articles-section h2 {
  color: #0f172a !important;
}


