/* Growth Edge Prime - Masterclass Design System (Light Default + Dark Mode Switcher) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Light Theme (Default) */
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  
  /* Brand Blue Colors matching Logo */
  --brand-blue: #0078FF;
  --brand-blue-dark: #0056C6;
  --brand-blue-light: #EFF6FF;
  --brand-blue-glow: rgba(0, 120, 255, 0.15);
  
  /* Accent Colors */
  --accent-emerald: #10B981;
  --accent-emerald-light: #ECFDF5;
  --accent-gold: #F59E0B;
}

html.dark {
  /* Dark Theme Overrides */
  --bg-main: #0B1325;
  --bg-surface: #0F172A;
  --bg-card: #1E293B;
  --bg-card-subtle: #0F172A;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.08);
  
  --brand-blue-light: rgba(0, 120, 255, 0.15);
  --accent-emerald-light: rgba(16, 185, 129, 0.15);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Header & Glass Nav */
.glass-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E2E8F0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

html.dark .glass-nav {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Glass & Elevated Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px -10px rgba(0, 120, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 120, 255, 0.3);
  box-shadow: 0 20px 40px -15px rgba(0, 120, 255, 0.12);
}

/* Brand Text Gradients */
.text-gradient-blue {
  background: linear-gradient(135deg, #0078FF 0%, #0056C6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Glow Effect */
.bg-brand-glow {
  position: relative;
}
.bg-brand-glow::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 120, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}
html.dark .bg-brand-glow::before {
  background: radial-gradient(circle, rgba(0, 120, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
}

/* AMFI Badge */
.amfi-badge {
  background: var(--brand-blue-light);
  border: 1px solid rgba(0, 120, 255, 0.25);
  color: var(--brand-blue);
}

/* Range Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
}
html.dark input[type="range"] {
  background: #334155;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-blue);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 120, 255, 0.5);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #0056C6;
}

/* Accordions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.25s ease-out;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  opacity: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Pulsing Dot */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  box-shadow: 0 0 0 0 rgba(0, 120, 255, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  to {
    box-shadow: 0 0 0 10px rgba(0, 120, 255, 0);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
html.dark ::-webkit-scrollbar-track {
  background: #0F172A;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
}
html.dark ::-webkit-scrollbar-thumb {
  background: #334155;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue);
}
