/* ================================================
   MODERN PREMIUM THEME - Cyber Neon Glass Design
   Enhanced Animations, Glowing Effects, Glassmorphism
   ================================================ */

/* ============= ENHANCED COLOR VARIABLES ============= */
:root {
  /* Neon Accent Colors */
  --neon-cyan: #00f0ff;
  --neon-purple: #b000ff;
  --neon-pink: #ff0080;
  --neon-blue: #0080ff;
  --neon-green: #00ff00;
  
  /* Glow effects */
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.5);
  --glow-purple: 0 0 20px rgba(176, 0, 255, 0.5);
  --glow-pink: 0 0 20px rgba(255, 0, 128, 0.5);
  --glow-blue: 0 0 20px rgba(0, 128, 255, 0.5);
  
  /* Glassmorphism */
  --glass-light: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] {
  --neon-cyan: #00f0ff;
  --neon-purple: #c866ff;
  --neon-pink: #f0359f;
  --neon-blue: #3b82f6;
  --neon-green: #22c55e;
  
  --glow-cyan: 0 0 30px rgba(0, 240, 255, 0.4);
  --glow-purple: 0 0 30px rgba(200, 102, 255, 0.4);
  --glow-pink: 0 0 30px rgba(240, 53, 159, 0.4);
  --glow-blue: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* ============= ANIMATED BACKGROUND ============= */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(176, 0, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 0%, rgba(255, 0, 128, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* ============= SMOOTH ANIMATIONS ============= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), inset 0 0 20px rgba(99, 102, 241, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.8), inset 0 0 30px rgba(99, 102, 241, 0.2);
  }
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes neonGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5), 0 0 20px rgba(99, 102, 241, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.8), 0 0 40px rgba(99, 102, 241, 0.5);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
  }
  50% {
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  }
}

/* ============= ENHANCED CARDS WITH GLASSMORPHISM ============= */
.card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover {
  background: var(--bg-card) !important;
  border-color: var(--primary) !important;
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

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

/* ============= ENHANCED BUTTONS ============= */
.btn {
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0080ff 50%, #b000ff 100%) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #000 !important;
  border: none !important;
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.8), 0 0 60px rgba(0, 128, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.05);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%) !important;
  border: 1.5px solid rgba(129, 140, 248, 0.5) !important;
  color: #f1f5f9 !important;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.4) 0%, rgba(168, 85, 247, 0.4) 100%) !important;
  border-color: rgba(0, 240, 255, 0.8) !important;
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.5);
  transform: translateY(-3px);
}

/* ============= ENHANCED NAVBAR ============= */
.navbar {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.5s ease-out;
}

.navbar.scrolled {
  box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.2);
}

.nav-link {
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00f0ff 0%, #b000ff 100%);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.brand-bca {
  animation: neonGlow 3s ease-in-out infinite;
}

/* ============= ENHANCED WELCOME GATE ============= */
.welcome-gate {
  background: linear-gradient(145deg, #010409 0%, #060d1f 40%, #0a0f24 60%, #010409 100%);
  position: relative;
  overflow: hidden;
}

.welcome-gate::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 45%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
  animation: bgShift 25s ease-in-out infinite;
}

/* Welcome Gate styles are fully centralized and enhanced inside style.css for unified responsiveness */

/* ============= SECTION ANIMATIONS ============= */
.section {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.section:nth-child(1) { animation-delay: 0.2s; }
.section:nth-child(2) { animation-delay: 0.4s; }
.section:nth-child(3) { animation-delay: 0.6s; }
.section:nth-child(4) { animation-delay: 0.8s; }
.section:nth-child(5) { animation-delay: 1s; }

/* ============= GRID ANIMATIONS ============= */
.grid-item,
.card,
.tf-item {
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.grid-item:nth-child(1) { animation-delay: 0.1s; }
.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.3s; }
.grid-item:nth-child(4) { animation-delay: 0.4s; }
.grid-item:nth-child(5) { animation-delay: 0.5s; }
.grid-item:nth-child(6) { animation-delay: 0.6s; }

/* ============= HOVER EFFECTS FOR INTERACTIVE ELEMENTS ============= */
.subject-card,
.topic-card,
.resource-item {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.subject-card::before,
.topic-card::before,
.resource-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.subject-card:hover,
.topic-card:hover,
.resource-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.subject-card:hover::before,
.topic-card:hover::before,
.resource-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* ============= TEXT GLOW EFFECTS ============= */
h1, h2, h3 {
  transition: all 0.3s ease;
}

.gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #0080ff 50%, #b000ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: neonGlow 3s ease-in-out infinite;
}

/* ============= INPUT FOCUS EFFECTS ============= */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(129, 140, 248, 0.2);
  backdrop-filter: blur(10px);
}

input:focus,
textarea:focus,
select:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), inset 0 0 15px rgba(0, 240, 255, 0.1);
  transform: scale(1.02);
}

/* ============= SMOOTH SCROLLING ============= */
html {
  scroll-behavior: smooth;
}

/* ============= ENHANCED IMAGES ============= */
img {
  transition: all 0.4s ease;
}

img:hover {
  filter: brightness(1.1) drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
}

/* ============= LOADING ANIMATION ============= */
.loading {
  animation: fadeInUp 0.6s ease-out;
}

.skeleton {
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.2) 0%, rgba(168, 85, 247, 0.2) 50%, rgba(129, 140, 248, 0.2) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ============= RESPONSIVE ENHANCEMENTS ============= */
@media (max-width: 768px) {
  .card {
    padding: 24px !important;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  h1 {
    animation: fadeInUp 0.6s ease-out;
  }
  
  .grid-item {
    animation: fadeInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
}

/* ============= PRINT STYLESHEET ============= */
@media print {
  .card {
    box-shadow: none;
    border-color: #ddd;
  }
}

/* ============= PROFESSIONAL COOKIE POPUP ============= */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.cookie-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-mini-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}

.cookie-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.cookie-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cookie-toggle input {
  display: none;
}

.toggle-slider {
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-toggle input:checked + .toggle-slider {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.cookie-toggle input:checked + .toggle-slider::after {
  transform: translateX(16px);
}

.cookie-toggle input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

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

.cookie-footer button {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-cookie-reject {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue)) !important;
  color: #0f172a !important;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

.btn-cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

@media (max-width: 480px) {
  .cookie-popup {
    left: 15px;
    right: 15px;
    bottom: 15px;
    width: auto;
  }
  .cookie-card {
    padding: 20px;
  }
}

/* ==========================================================================
   BCA STORE HOME PAGE ENHANCEMENTS — COMPACT SPACING, HERO CTAs, UTILITIES, & ELITE PLUS
   ========================================================================== */

/* ── 1. Whitespace Spacing Reductions (Compact Layout) ── */
.section {
  padding: 50px 20px !important;
}

.hero {
  min-height: 60vh !important;
  padding: 110px 20px 50px !important;
}

.hero-subtitle {
  margin-bottom: 24px !important;
}

.stats-strip {
  padding: 40px 0 !important;
}

@media (max-width: 768px) {
  .section {
    padding: 35px 15px !important;
  }
  .hero {
    min-height: auto !important;
    padding: 95px 15px 40px !important;
  }
  .stats-strip {
    padding: 30px 0 !important;
  }
}

/* ── 2. Hero CTA Buttons (Install PWA) ── */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: -10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.hero-cta-btn.install-btn {
  background: linear-gradient(135deg, #00f0ff 0%, #0080ff 50%, #b000ff 100%) !important;
  color: #000 !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-cta-btn.install-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7), 0 0 15px rgba(176, 0, 255, 0.4);
}

.hero-cta-btn.explore-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
}

.hero-cta-btn.explore-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(0, 240, 255, 0.5) !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hero-cta-btn.explore-btn {
  background: rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}

[data-theme="light"] .hero-cta-btn.explore-btn:hover {
  background: rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
}

/* ── 3. Utilities Section (Combined Syllabus & App Install Card Grid) ── */
.utilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .utilities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.utility-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-card) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border) !important;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.utility-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-hover);
}

.utility-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
  opacity: 0.05;
  pointer-events: none;
}

.utility-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 14px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.utility-card:hover .utility-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.install-card .utility-icon-wrap {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  color: #818CF8;
}

.utility-info {
  flex: 1;
  z-index: 1;
}

.utility-badge {
  display: inline-block;
  background: var(--warning);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.install-badge {
  background: linear-gradient(135deg, #00f0ff 0%, #0080ff 100%);
  color: #000;
}

.utility-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.utility-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.utility-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  color: #000 !important;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  z-index: 1;
  border: none;
}

.utility-card:hover .utility-action-btn {
  transform: scale(1.05);
}

.install-app-btn {
  background: linear-gradient(135deg, #00f0ff 0%, #0080ff 100%) !important;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

@media (max-width: 992px) {
  .utility-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }
  .utility-action-btn {
    width: 100%;
  }
}

/* ── 4. New Elite Plus Premium Card Section ── */
.elite-plus-banner-section {
  padding: 40px 20px;
}

.elite-premium-card-container {
  position: relative;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.25);
  border-radius: 24px;
  padding: 36px 40px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .elite-premium-card-container {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(59, 130, 246, 0.06) 100%);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.05);
}

.elite-premium-card-container:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 30px 60px rgba(139, 92, 246, 0.15), 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .elite-premium-card-container:hover {
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
}

.elite-premium-card-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: floatSlow 8s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.1); }
}

.elite-premium-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .elite-premium-card-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .elite-premium-card-container {
    padding: 32px 24px;
  }
}

.elite-premium-card-left {
  text-align: left;
}

.elite-premium-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #b886ff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
  animation: pulseNeonBorder 3s infinite alternate;
}

[data-theme="light"] .elite-premium-tier-badge {
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
}

@keyframes pulseNeonBorder {
  0% { border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 0 10px rgba(139, 92, 246, 0.1); }
  100% { border-color: rgba(139, 92, 246, 0.8); box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
}

.elite-premium-title {
  font-size: 2.6rem !important;
  font-weight: 950 !important;
  margin: 0 0 12px 0 !important;
  background: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 50%, #b000ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .elite-premium-title {
  background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.elite-premium-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.elite-premium-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white !important;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
  border: none;
}

.elite-premium-cta-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5);
}

.elite-premium-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  animation: shineSwipe 4.5s infinite ease-in-out;
}

.elite-premium-card-right {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.elite-feature-item.full-width-item {
  grid-column: 1 / -1;
}

.elite-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px 20px;
  transition: all 0.3s ease;
  text-align: left;
}

[data-theme="light"] .elite-feature-item {
  background: rgba(15, 23, 42, 0.02);
  border-color: rgba(15, 23, 42, 0.04);
}

.elite-feature-item:hover {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.08);
}

[data-theme="light"] .elite-feature-item:hover {
  background: rgba(139, 92, 246, 0.04);
  border-color: rgba(139, 92, 246, 0.2);
}

.elite-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.elite-feature-item:hover .elite-feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.elite-feature-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px 0;
}

.elite-feature-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==================== PREMIUM INSTALL BUTTON (NAVBAR) ==================== */
.nav-premium-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff !important;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 16px;
}

.nav-premium-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.nav-premium-install-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  animation: shineSwipe 4s infinite;
}

@media (max-width: 768px) {
  .nav-premium-install-btn {
    margin-left: auto;
    padding: 5px 12px;
    font-size: 13px;
    gap: 4px;
  }
  .hamburger {
    margin-left: 12px !important;
  }
}

/* ==================== PC NAVIGATION BUTTON EFFECTS ==================== */
@media (min-width: 769px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links .nav-link {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  [data-theme="light"] .nav-links .nav-link {
    background: rgba(15, 23, 42, 0.02);
    border-color: rgba(15, 23, 42, 0.05);
  }

  .nav-links .nav-link:hover, .nav-links .nav-link.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.15);
    color: #a78bfa !important;
  }

  [data-theme="light"] .nav-links .nav-link:hover, [data-theme="light"] .nav-links .nav-link.active {
    color: #6d28d9 !important;
  }

  .nav-links .nav-link::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
  }

  .nav-links .nav-link:hover::before {
    animation: shineSwipe 2s infinite;
  }

  .nav-links a[href^="semester.html"],
  .nav-links a[href="exam.html"],
  .nav-links a[href="test-hub.html"] {
    display: none !important;
  }
}

/* ============= PROFILE DROPDOWN MENU ============= */
/* IMPORTANT: position:fixed + JS positioning via getBoundingClientRect
   completely bypasses all CSS overflow/stacking-context/navbar clipping. */
.profile-dropdown-menu {
  position: fixed !important; /* JS sets top/left via _positionDropdown() */
  width: 240px;
  background: rgba(9, 9, 11, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(139, 92, 246, 0.15);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999999 !important;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  text-align: left;
}

[data-theme="light"] .profile-dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 0, 0, 0.03);
}

.profile-dropdown-menu.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header User Details */
.profile-dropdown-header {
  padding: 6px 18px 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
}

[data-theme="light"] .profile-dropdown-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.profile-dropdown-name {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .profile-dropdown-name {
  color: #1f2937;
}

.profile-dropdown-role {
  font-size: 11px;
  color: #a78bfa;
  font-weight: 600;
  display: block;
  margin-top: 1px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="light"] .profile-dropdown-role {
  color: #7c3aed;
}

/* Dropdown Options */
.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
  text-align: left;
}

[data-theme="light"] .profile-dropdown-item {
  color: #4b5563 !important;
}

.profile-dropdown-item:hover {
  background: rgba(139, 92, 246, 0.12);
  color: #ffffff !important;
  padding-left: 22px;
}

[data-theme="light"] .profile-dropdown-item:hover {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed !important;
  padding-left: 22px;
}

.profile-dropdown-item-icon {
  font-size: 15px;
  flex-shrink: 0;
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 0;
  border: none;
}

[data-theme="light"] .profile-dropdown-divider {
  background: rgba(0, 0, 0, 0.06);
}

.profile-dropdown-item.logout {
  color: #f87171 !important;
}

[data-theme="light"] .profile-dropdown-item.logout {
  color: #ef4444 !important;
}

.profile-dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171 !important;
}

[data-theme="light"] .profile-dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444 !important;
}


/* ============================================================
   ULTRA-AMOLED HIGH-CONTRAST SATURATED UI & SMOOTH ANIMATIONS
   ============================================================ */

/* Pitch Black Base & Ambient Glow */
[data-theme="dark"] body {
  background-color: #000000 !important;
  color: #ffffff !important;
}

[data-theme="dark"] body::before {
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(168, 85, 247, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 50% 10%, rgba(255, 0, 127, 0.06) 0%, transparent 50%) !important;
  opacity: 0.9 !important;
}

/* High Contrast Vibrant Text Gradients */
[data-theme="dark"] .brand-accent,
[data-theme="dark"] .text-gradient,
[data-theme="dark"] .hero-tagline,
[data-theme="dark"] .gradient-title {
  background: linear-gradient(135deg, #00f0ff 0%, #a855f7 55%, #ff007f 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.35));
}

[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4 {
  color: #ffffff !important;
  letter-spacing: -0.015em;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div {
  color: #e2e8f0;
}

/* Crisp Ultra-AMOLED Glass Cards */
[data-theme="dark"] .glass-card,
[data-theme="dark"] .card,
[data-theme="dark"] .batch-card,
[data-theme="dark"] .semester-card,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .qa-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .nav-container,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu {
  background: rgba(10, 11, 18, 0.88) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
}

/* Dynamic Glowing Card Hover States */
[data-theme="dark"] .glass-card:hover,
[data-theme="dark"] .card:hover,
[data-theme="dark"] .batch-card:hover,
[data-theme="dark"] .semester-card:hover,
[data-theme="dark"] .stat-item:hover,
[data-theme="dark"] .qa-card:hover,
[data-theme="dark"] .feature-card:hover {
  transform: translateY(-6px) scale(1.015) !important;
  border-color: rgba(0, 240, 255, 0.6) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 240, 255, 0.35), 
              0 0 0 1px rgba(0, 240, 255, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Saturated Glowing Buttons */
[data-theme="dark"] .hero-cta-btn,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .install-btn,
[data-theme="dark"] .switcher-btn.active {
  background: linear-gradient(135deg, #00f0ff 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.45) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-theme="dark"] .hero-cta-btn:hover,
[data-theme="dark"] .btn-primary:hover,
[data-theme="dark"] .install-btn:hover,
[data-theme="dark"] .switcher-btn.active:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 14px 35px rgba(0, 240, 255, 0.6), 0 0 20px rgba(168, 85, 247, 0.5) !important;
  filter: brightness(1.15) !important;
}

/* Secondary Button Glow */
[data-theme="dark"] .explore-btn,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .switcher-btn {
  background: rgba(18, 20, 32, 0.8) !important;
  color: #ffffff !important;
  border: 1px solid rgba(0, 240, 255, 0.3) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-theme="dark"] .explore-btn:hover,
[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .switcher-btn:hover {
  background: rgba(0, 240, 255, 0.15) !important;
  border-color: #00f0ff !important;
  color: #00f0ff !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4) !important;
}

/* Saturated Badges & Highlights */
[data-theme="dark"] .badge,
[data-theme="dark"] .hero-highlights,
[data-theme="dark"] .tag {
  background: rgba(0, 240, 255, 0.12) !important;
  border: 1px solid rgba(0, 240, 255, 0.4) !important;
  color: #00f0ff !important;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  font-weight: 700;
}

/* Ultra Smooth Scrolling & Selection */
html {
  scroll-behavior: smooth !important;
}

::selection {
  background: #00f0ff !important;
  color: #000000 !important;
}

/* Keyframe Animations for Neons & Glowing Elements */
@keyframes amoledPulseNeon {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 15px rgba(0, 240, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.7), inset 0 0 25px rgba(0, 240, 255, 0.4);
  }
}

@keyframes amoledGlowFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* ============================================================
   SUPERSONIC ULTRA-MODERN HERO TITLE (AMOLED & MOBILE PERFECT)
   ============================================================ */

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: #00f0ff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 12px #00f0ff;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.supersonic-title {
  font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(2.6rem, 9.5vw, 6.2rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
  margin-bottom: 24px !important;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25em;
  text-align: center;
}

.brand-icon-glow {
  font-size: 0.85em;
  display: inline-block;
  filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.8));
  animation: floatIcon 3s ease-in-out infinite alternate;
}

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

[data-theme="dark"] .supersonic-title .brand-bca {
  background: linear-gradient(135deg, #00f0ff 0%, #00a8ff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 28px rgba(0, 240, 255, 0.6));
  font-weight: 900 !important;
}

[data-theme="dark"] .supersonic-title .brand-accent {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 40%, #ff007f 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 28px rgba(255, 0, 127, 0.6));
  font-weight: 900 !important;
}

[data-theme="light"] .supersonic-title .brand-bca {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .supersonic-title .brand-accent {
  background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Mobile Fit Optimization */
@media (max-width: 600px) {
  .supersonic-title {
    font-size: clamp(2.1rem, 9.8vw, 3.4rem) !important;
    gap: 0.2em;
    letter-spacing: -0.02em !important;
  }
  .hero-badge-pill {
    padding: 5px 14px;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 380px) {
  .supersonic-title {
    font-size: 1.95rem !important;
  }
}


/* ============================================================
   WORLD-CLASS ANDROID APP STYLE BUTTON CARDS (COMPACT 2026)
   ============================================================ */

.hero-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
  max-width: 540px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.btn-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 14px !important;
  height: 54px !important;
  min-height: 54px !important;
  flex: 1 !important;
  min-width: 135px !important;
  max-width: 250px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  position: relative !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 220ms cubic-bezier(0.16, 1, 0.3, 1),
              background 220ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
  -webkit-tap-highlight-color: transparent;
}

/* Icon Container */
.btn-card-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  flex-shrink: 0 !important;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Text Container */
.btn-card-text {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  justify-content: center !important;
  overflow: hidden !important;
  min-width: 0 !important;
}

.btn-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.btn-card-sub {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-top: 1px !important;
}

/* Far-right Arrow */
.btn-card-arrow {
  margin-left: auto !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  flex-shrink: 0 !important;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ---------- DARK MODE (ANDROID AMOLED HIGH-TECH) ---------- */

[data-theme="dark"] .primary-btn-card {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.16) 0%, rgba(0, 136, 255, 0.2) 100%), rgba(8, 10, 16, 0.92) !important;
  border: 1px solid rgba(0, 240, 255, 0.45) !important;
  box-shadow: 0 6px 20px -4px rgba(0, 240, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(14px) !important;
}

[data-theme="dark"] .primary-btn-card .btn-card-icon {
  background: linear-gradient(135deg, #00f0ff 0%, #0088ff 100%) !important;
  color: #000000 !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6) !important;
}

[data-theme="dark"] .primary-btn-card .btn-card-title {
  color: #ffffff !important;
}

[data-theme="dark"] .primary-btn-card .btn-card-sub {
  color: #94a3b8 !important;
}

[data-theme="dark"] .primary-btn-card .btn-card-arrow {
  color: #00f0ff !important;
}

/* Primary Hover & Press */
[data-theme="dark"] .primary-btn-card:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: rgba(0, 240, 255, 0.75) !important;
  box-shadow: 0 10px 28px -4px rgba(0, 240, 255, 0.5), 0 0 0 1px rgba(0, 240, 255, 0.5) !important;
}

[data-theme="dark"] .primary-btn-card:active {
  transform: translateY(0) scale(0.97) !important;
  box-shadow: 0 2px 10px -2px rgba(0, 240, 255, 0.3) !important;
}

/* Secondary Button Card (Explore Batches) */
[data-theme="dark"] .secondary-btn-card {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(255, 0, 127, 0.08) 100%), rgba(8, 10, 16, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(14px) !important;
}

[data-theme="dark"] .secondary-btn-card .btn-card-icon {
  background: rgba(168, 85, 247, 0.22) !important;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  color: #c084fc !important;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3) !important;
}

[data-theme="dark"] .secondary-btn-card .btn-card-title {
  color: #ffffff !important;
}

[data-theme="dark"] .secondary-btn-card .btn-card-sub {
  color: #94a3b8 !important;
}

[data-theme="dark"] .secondary-btn-card .btn-card-arrow {
  color: #c084fc !important;
}

/* Secondary Hover & Press */
[data-theme="dark"] .secondary-btn-card:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 10px 28px -4px rgba(168, 85, 247, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.4) !important;
}

[data-theme="dark"] .secondary-btn-card:active {
  transform: translateY(0) scale(0.97) !important;
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.4) !important;
}


/* ---------- LIGHT MODE ---------- */

[data-theme="light"] .primary-btn-card {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%), #ffffff !important;
  border: 1px solid rgba(0, 113, 227, 0.25) !important;
  box-shadow: 0 4px 16px -2px rgba(0, 113, 227, 0.15) !important;
}

[data-theme="light"] .primary-btn-card .btn-card-icon {
  background: #0071e3 !important;
  color: #ffffff !important;
}

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

[data-theme="light"] .primary-btn-card .btn-card-sub {
  color: #64748b !important;
}

[data-theme="light"] .primary-btn-card .btn-card-arrow {
  color: #0071e3 !important;
}

[data-theme="light"] .primary-btn-card:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: rgba(0, 113, 227, 0.5) !important;
  box-shadow: 0 10px 24px -4px rgba(0, 113, 227, 0.25) !important;
}

[data-theme="light"] .primary-btn-card:active {
  transform: translateY(0) scale(0.97) !important;
}

[data-theme="light"] .secondary-btn-card {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(219, 39, 119, 0.05) 100%), #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .secondary-btn-card .btn-card-icon {
  background: rgba(147, 51, 234, 0.12) !important;
  border: 1px solid rgba(147, 51, 234, 0.2) !important;
  color: #9333ea !important;
}

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

[data-theme="light"] .secondary-btn-card .btn-card-sub {
  color: #64748b !important;
}

[data-theme="light"] .secondary-btn-card .btn-card-arrow {
  color: #9333ea !important;
}

[data-theme="light"] .secondary-btn-card:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: rgba(147, 51, 234, 0.4) !important;
  box-shadow: 0 10px 24px -4px rgba(147, 51, 234, 0.2) !important;
}

[data-theme="light"] .secondary-btn-card:active {
  transform: translateY(0) scale(0.97) !important;
}

/* Hover Micro-Animations */
.btn-card:hover .btn-card-icon {
  transform: scale(1.08) !important;
}

.btn-card:hover .btn-card-arrow {
  transform: translateX(3px) !important;
}


/* ---------- MOBILE PHONE OPTIMIZATION (NATIVE APP LOOK) ---------- */

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 4px !important;
  }

  .btn-card {
    min-width: 0 !important;
    max-width: 50% !important;
    flex: 1 !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 6px 10px !important;
    border-radius: 12px !important;
    gap: 7px !important;
  }

  .btn-card-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
  }

  .btn-card-title {
    font-size: 0.82rem !important;
  }

  .btn-card-sub {
    font-size: 0.62rem !important;
  }

  .btn-card-arrow {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 350px) {
  .btn-card-sub {
    display: none !important;
  }
  .btn-card-title {
    font-size: 0.8rem !important;
  }
}


/* ============================================================
   WORLD-CLASS HOMEPAGE CARD & ANIMATION ENGINE 2026
   ============================================================ */

/* ---------- 1. STATS COUNTER CARDS REDESIGN ---------- */
.stats-strip {
  padding: 40px 0 !important;
}

.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 20px !important;
}

.stat-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 20px 24px !important;
  border-radius: 20px !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: default !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
}

[data-theme="dark"] .stat-item {
  background: rgba(10, 12, 20, 0.88) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .stat-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: rgba(0, 240, 255, 0.5) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 240, 255, 0.35), 0 0 0 1px rgba(0, 240, 255, 0.4) !important;
}

[data-theme="light"] .stat-item {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .stat-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-color: rgba(0, 113, 227, 0.35) !important;
  box-shadow: 0 16px 36px -6px rgba(0, 113, 227, 0.18) !important;
}

.stat-icon-bg {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  margin-bottom: 0 !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stat-item:hover .stat-icon-bg {
  transform: scale(1.15) rotate(6deg) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5) !important;
}

.stat-number {
  font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}

/* ---------- 2. BATCH & SEMESTER CARDS REDESIGN ---------- */
.semester-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 24px !important;
  margin-top: 32px !important;
}

.batch-card, 
.semester-card,
.sem-card {
  border-radius: 22px !important;
  padding: 24px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
}

[data-theme="dark"] .batch-card,
[data-theme="dark"] .semester-card,
[data-theme="dark"] .sem-card {
  background: rgba(10, 12, 20, 0.88) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .batch-card:hover,
[data-theme="dark"] .semester-card:hover,
[data-theme="dark"] .sem-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  border-color: rgba(0, 240, 255, 0.6) !important;
  box-shadow: 0 22px 48px -10px rgba(0, 240, 255, 0.35), 0 0 0 1px rgba(0, 240, 255, 0.45) !important;
}

[data-theme="light"] .batch-card,
[data-theme="light"] .semester-card,
[data-theme="light"] .sem-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .batch-card:hover,
[data-theme="light"] .semester-card:hover,
[data-theme="light"] .sem-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  border-color: rgba(0, 113, 227, 0.35) !important;
  box-shadow: 0 20px 42px -6px rgba(0, 113, 227, 0.18) !important;
}

/* Category Tab Switcher Pills */
.premium-segmented-control {
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px !important;
  border-radius: 40px !important;
  gap: 6px !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

[data-theme="dark"] .premium-segmented-control {
  background: rgba(10, 12, 20, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

.switcher-btn {
  padding: 8px 20px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

/* ---------- 3. UTILITY CARDS REDESIGN ---------- */
.utilities-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 24px !important;
}

.utility-card {
  border-radius: 22px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 20px !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
}

[data-theme="dark"] .utility-card {
  background: rgba(10, 12, 20, 0.88) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .utility-card:hover {
  transform: translateY(-6px) scale(1.015) !important;
  border-color: rgba(0, 240, 255, 0.55) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 240, 255, 0.35) !important;
}

.utility-icon-wrap {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  background: rgba(0, 240, 255, 0.12) !important;
  border: 1px solid rgba(0, 240, 255, 0.3) !important;
  color: #00f0ff !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.utility-card:hover .utility-icon-wrap {
  transform: scale(1.15) rotate(6deg) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4) !important;
}

.utility-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 24px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-theme="dark"] .utility-action-btn {
  background: linear-gradient(135deg, #00f0ff 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.35) !important;
}

[data-theme="dark"] .utility-action-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.55) !important;
}

/* ---------- 4. STUDENT REVIEWS CAROUSEL CARDS REDESIGN ---------- */
.testimonial-card {
  border-radius: 22px !important;
  padding: 28px !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
}

[data-theme="dark"] .testimonial-card {
  background: rgba(10, 12, 20, 0.88) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8) !important;
}

[data-theme="dark"] .testimonial-card:hover {
  transform: translateY(-6px) scale(1.015) !important;
  border-color: rgba(168, 85, 247, 0.55) !important;
  box-shadow: 0 20px 45px -10px rgba(168, 85, 247, 0.35) !important;
}

.testimonial-avatar {
  border-radius: 50% !important;
  border: 2px solid #00f0ff !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4) !important;
  transition: transform 0.35s ease !important;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1) !important;
}

/* ---------- 5. GLOBAL ANIMATIONS & ENTRANCE REVEAL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.reveal-stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}






