/* ============================================================
   369 TESLA OS Learning Platform — Global Design System
   Cyberpunk Education Theme | Electric Cyan + Neon Purple
   ============================================================ */

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

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  /* Colors */
  --cyan:       #2f8d46; /* GeeksforGeeks Signature Green */
  --cyan-dim:   #216833;
  --purple:     #0f9d58; /* GeeksforGeeks Light Green */
  --purple-dim: #0a7a44;
  --orange:     #f2994a; /* Alert Amber */
  --pink:       #eb5757; /* Warning Coral */
  --green:      #2f8d46;
  --yellow:     #f2c94c;

  /* Backgrounds */
  --bg-deep:    #0b0f12; /* Sleek deep slate charcoal */
  --bg-base:    #11161a;
  --bg-card:    #171e24;
  --bg-card2:   #1f272f;
  --bg-surface: rgba(47, 141, 70, 0.08);
  --bg-hover:   rgba(47, 141, 70, 0.14);

  /* Glass */
  --glass-bg:     rgba(23, 30, 36, 0.85);
  --glass-border: rgba(47, 141, 70, 0.18);
  --glass-blur:   blur(12px);

  /* Text */
  --text-primary:   #f3f4f6;
  --text-secondary: #a0aec0;
  --text-muted:     #64748b;
  --text-accent:    var(--cyan);

  /* Glows */
  --glow-cyan:   0 0 15px rgba(47, 141, 70, 0.35);
  --glow-purple: 0 0 15px rgba(15, 157, 88, 0.35);
  --glow-orange: 0 0 15px rgba(242, 153, 74, 0.25);
  --glow-green:  0 0 15px rgba(47, 141, 70, 0.25);

  /* Gradients */
  --grad-primary:    linear-gradient(135deg, var(--cyan), var(--purple));
  --grad-hero:       linear-gradient(135deg, #0b0f12 0%, #0c1c11 50%, #0b0f12 100%);
  --grad-card:       linear-gradient(135deg, rgba(47,141,70,0.05), rgba(15,157,88,0.05));
  --grad-orange:     linear-gradient(135deg, var(--orange), var(--pink));
  --grad-green:      linear-gradient(135deg, var(--green), var(--purple));

  /* Borders */
  --border-subtle:  1px solid rgba(47,141,70,0.12);
  --border-cyan:    1px solid rgba(47,141,70,0.3);
  --border-purple:  1px solid rgba(15,157,88,0.3);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Typography */
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-body:    'Poppins', sans-serif;
  --font-ui:      'Inter', sans-serif;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow:   0.6s ease;

  /* Z-index */
  --z-nav:    1000;
  --z-modal:  2000;
  --z-toast:  3000;

  /* Navbar height */
  --nav-height: 70px;
}

/* Light mode overrides */
[data-theme="light"] {
  --bg-deep:    #f3f7f4; /* Subtle green-tinted light gray */
  --bg-base:    #ffffff;
  --bg-card:    #ffffff;
  --bg-card2:   #f3f7f4;
  --bg-surface: rgba(47, 141, 70, 0.05);
  --bg-hover:   rgba(47, 141, 70, 0.08);
  --glass-bg:   rgba(255, 255, 255, 0.92);
  --glass-border: rgba(47, 141, 70, 0.15);
  --text-primary:   #1f2937;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;
  --border-subtle:  1px solid rgba(47, 141, 70, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

/* ── Typography ───────────────────────────────────────────────── */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 30px var(--cyan), 0 0 60px rgba(0,212,255,0.3);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  font-family: var(--font-ui);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--cyan);
}

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

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 16, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(240, 244, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--glow-cyan);
  animation: logoFloat 3s ease-in-out infinite;
}

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

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-primary {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-secondary {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 1px;
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 32px); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: var(--border-subtle);
  transition: all var(--transition-normal);
}

.nav-theme-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-normal);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before { width: 300px; height: 300px; }

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 24px rgba(0,212,255,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: var(--border-cyan);
}

.btn-secondary:hover {
  background: rgba(0,212,255,0.1);
  box-shadow: var(--glow-cyan);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: var(--border-subtle);
  backdrop-filter: var(--glass-blur);
}

.btn-ghost:hover {
  background: var(--bg-hover);
  border-color: rgba(255,255,255,0.2);
}

.btn-orange {
  background: var(--grad-orange);
  color: white;
  box-shadow: 0 4px 24px rgba(255,107,53,0.3);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,53,0.5);
}

.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(0,212,255,0.05);
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ── Section Layout ───────────────────────────────────────────── */
.section {
  padding: var(--space-3xl) 40px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Grid Layouts ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-xl); }

/* ── Badge/Tag ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-cyan   { background: rgba(0,212,255,0.15); color: var(--cyan); border: 1px solid rgba(0,212,255,0.3); }
.badge-purple { background: rgba(123,47,247,0.15); color: #a06af7; border: 1px solid rgba(123,47,247,0.3); }
.badge-orange { background: rgba(255,107,53,0.15); color: var(--orange); border: 1px solid rgba(255,107,53,0.3); }
.badge-green  { background: rgba(0,255,135,0.15); color: var(--green); border: 1px solid rgba(0,255,135,0.3); }

/* ── Progress Bar ─────────────────────────────────────────────── */
.progress-bar {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 3px;
  transition: width 1s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
}

/* ── Divider ──────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: var(--space-2xl) 0;
}

/* ── Toast Notifications ─────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  animation: toastIn 0.3s ease;
  min-width: 280px;
  max-width: 360px;
}

.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid #ff3b5c; }
.toast.info    { border-left: 3px solid var(--cyan); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Loading Spinner ─────────────────────────────────────────── */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg-surface);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--bg-deep);
  border-top: var(--border-subtle);
  padding: var(--space-3xl) 40px var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.8; max-width: 280px; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: rgba(0,212,255,0.1);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover { color: var(--cyan); }
.footer-col ul li a::before { content: '›'; color: var(--purple); }

.footer-bottom {
  max-width: 1400px;
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-lg);
  border-top: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Particle Canvas ──────────────────────────────────────────── */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeInUp {
  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 pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(0,212,255,0.3); }
  50% { box-shadow: 0 0 30px rgba(0,212,255,0.7), 0 0 60px rgba(0,212,255,0.3); }
}

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

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

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

.animate-fadeup   { animation: fadeInUp 0.7s ease forwards; }
.animate-pulse    { animation: pulse 2s ease-in-out infinite; }
.animate-glow     { animation: glow 2s ease-in-out infinite; }
.animate-float    { animation: float 4s ease-in-out infinite; }
.animate-rotate   { animation: rotateSlow 20s linear infinite; }

/* ── Course Cards ─────────────────────────────────────────────── */
.course-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.course-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.course-card:hover .course-card-glow { opacity: 1; }

.course-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-md);
  background: var(--grad-primary);
  box-shadow: var(--glow-cyan);
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-md);
}

.course-difficulty {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.difficulty-beginner     { background: rgba(0,255,135,0.15); color: var(--green); }
.difficulty-intermediate { background: rgba(0,212,255,0.15); color: var(--cyan); }
.difficulty-advanced     { background: rgba(123,47,247,0.15); color: #a06af7; }

/* ── Stats ────────────────────────────────────────────────────── */
.stat-card {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── XP Bar ───────────────────────────────────────────────────── */
.xp-bar-container {
  position: relative;
}

.xp-bar {
  height: 8px;
  background: var(--bg-surface);
  border-radius: 4px;
  overflow: hidden;
}

.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 4px;
  position: relative;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.xp-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s linear infinite;
  background-size: 200% 100%;
}

/* ── Mobile Helper Rules ──────────────────────────────────────── */
.nav-mobile-only {
  display: none !important;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: var(--space-2xl) 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-mobile-only {
    display: block !important;
  }
  .nav-actions .btn {
    display: none !important; /* Hide dashboard, logout, login, register buttons in actions bar on mobile */
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 20px;
    border-bottom: var(--border-subtle);
    gap: 8px;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav-hamburger {
    display: flex;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .section {
    padding: var(--space-xl) 20px;
  }
}

@media (max-width: 480px) {
  .btn-lg { padding: 14px 28px; font-size: 14px; }
}

/* ── Utility Classes ──────────────────────────────────────────── */
.d-flex     { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.text-cyan   { color: var(--cyan); }
.text-purple { color: var(--purple); }
.text-muted  { color: var(--text-muted); }
.hidden { display: none !important; }
