/* ==========================================================================
   EXPONENCE EDTECH PLATFORM - DESIGN SYSTEM
   Theme: Light Theme (Clean White & Slate)
   Colors: Vibrant Orange (Primary) & Complementary Electric Blue (Secondary)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color Palette - Clean Light Theme Base */
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(255, 107, 0, 0.35);
  --border-paid: rgba(0, 140, 255, 0.35);

  /* Primary Brand Accent: Orange */
  --orange-primary: #ff6b00;
  --orange-bright: #ff8c00;
  --orange-deep: #e05300;
  --orange-glow: rgba(255, 107, 0, 0.3);

  /* Secondary Brand Accent: Complementary Electric Blue */
  --blue-complementary: #0077ff;
  --blue-bright: #0099ff;
  --blue-deep: #0055cc;
  --blue-glow: rgba(0, 119, 255, 0.3);

  /* Helper Accents */
  --emerald-free: #059669;
  --purple-accent: #7c3aed;
  --gold-paid: #ff6b00;
  --gold-glow: rgba(255, 107, 0, 0.3);

  /* Gradients */
  --grad-orange-primary: linear-gradient(135deg, #ff8c00 0%, #e05300 100%);
  --grad-blue-complementary: linear-gradient(135deg, #0099ff 0%, #0055cc 100%);
  --grad-orange-blue: linear-gradient(135deg, #ff6b00 0%, #0077ff 100%);
  --grad-gold: linear-gradient(135deg, #ff8c00 0%, #e05300 100%);
  --grad-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --grad-hero-overlay: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.08) 0%, rgba(0, 119, 255, 0.06) 50%, transparent 80%);

  /* Text Colors (High Contrast Light Mode) */
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-highlight: #0f172a;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Glows for Light Cards */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 10px 25px rgba(255, 107, 0, 0.2);
  --shadow-blue-glow: 0 10px 25px rgba(0, 119, 255, 0.2);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-highlight);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-muted); font-size: 1.05rem; }

a {
  color: var(--orange-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--orange-bright); }

/* Gradient Text Effect */
.text-gradient-orange, .text-gradient-cyan {
  background: var(--grad-orange-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: var(--grad-blue-complementary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: var(--grad-orange-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

/* Primary Button: Vibrant Orange */
.btn-primary {
  background: var(--grad-orange-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--orange-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.45);
  color: #ffffff;
}

/* Secondary Button: Complementary Electric Blue */
.btn-secondary {
  background: var(--grad-blue-complementary);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 119, 255, 0.45);
  color: #ffffff;
}

.btn-paid {
  background: var(--grad-orange-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--orange-glow);
}
.btn-paid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--orange-primary);
  border: 1px solid var(--orange-primary);
}
.btn-outline:hover {
  background: rgba(255, 107, 0, 0.08);
  box-shadow: 0 0 12px var(--orange-glow);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue-complementary);
  border: 1px solid var(--blue-complementary);
}
.btn-outline-blue:hover {
  background: rgba(0, 119, 255, 0.08);
  box-shadow: 0 0 12px var(--blue-glow);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-free {
  background: #ecfdf5;
  color: var(--emerald-free);
  border: 1px solid #a7f3d0;
}

.badge-paid, .badge-orange {
  background: #fff7ed;
  color: var(--orange-primary);
  border: 1px solid #ffedd5;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.12);
}

.badge-cyan, .badge-blue {
  background: #eff6ff;
  color: var(--blue-complementary);
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 8px rgba(0, 119, 255, 0.12);
}

.badge-violet {
  background: #f5f3ff;
  color: var(--purple-accent);
  border: 1px solid #ddd6fe;
}

/* Light Card Container */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.glass-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.glass-card-glow:hover, .glass-card-paid:hover {
  border-color: var(--orange-primary);
  box-shadow: var(--shadow-glow);
}

.glass-card-blue:hover {
  border-color: var(--blue-complementary);
  box-shadow: var(--shadow-blue-glow);
}

/* Background Orbs */
.glow-bg-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.orb-cyan, .orb-orange { background: var(--orange-primary); }
.orb-blue { background: var(--blue-complementary); }
.orb-gold { background: var(--orange-bright); }

/* Grid Utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section-padding { padding-top: 3rem; padding-bottom: 3rem; }
}
