/* ============================================
   TechBide - Cybersecurity Training Platform
   Global Stylesheet
   ============================================ */

:root {
  --bg-dark: #070b14;
  --bg-card: #0d1526;
  --bg-nav: #080d1a;
  --accent-green: #00ff88;
  --accent-blue: #00aaff;
  --accent-purple: #7c3aed;
  --text-primary: #e8eaf0;
  --text-muted: #8892a4;
  --border: #1a2540;
  --gradient-1: linear-gradient(135deg, #00ff88 0%, #00aaff 100%);
  --gradient-2: linear-gradient(135deg, #7c3aed 0%, #00aaff 100%);
  --glow-green: 0 0 20px rgba(0, 255, 136, 0.3);
  --glow-blue: 0 0 20px rgba(0, 170, 255, 0.3);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-muted); }
a { color: var(--accent-green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-blue); }

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-purple {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 600px; margin: 16px auto 0; font-size: 1.1rem; }
.tag {
  display: inline-block;
  background: rgba(0, 255, 136, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tag-blue {
  background: rgba(0, 170, 255, 0.1);
  color: var(--accent-blue);
  border-color: rgba(0, 170, 255, 0.3);
}
.tag-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #a78bfa;
  border-color: rgba(124, 58, 237, 0.3);
}

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--accent-green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ---- DROPDOWN ---- */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.dropdown-menu a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-1);
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-green);
  color: #000;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(0,255,136,0.05);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(0, 255, 136, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card-icon-green { background: rgba(0, 255, 136, 0.1); }
.card-icon-blue { background: rgba(0, 170, 255, 0.1); }
.card-icon-purple { background: rgba(124, 58, 237, 0.1); }

/* ---- GRID ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,170,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-bottom: 28px;
}
.hero-badge::before { content: '●'; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { margin-bottom: 24px; }
.hero p { font-size: 1.15rem; margin-bottom: 36px; max-width: 560px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ---- FEATURES GRID ---- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---- PRICING ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green), var(--glow-green);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-1);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.price { font-size: 3rem; font-weight: 800; }
.price span { font-size: 1.2rem; font-weight: 400; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.pricing-features li::before { content: '✓'; color: var(--accent-green); font-weight: 700; flex-shrink: 0; }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { color: var(--text-primary); font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-1);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #000; font-size: 1rem; flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.95rem; }
.author-role { font-size: 0.8rem; color: var(--text-muted); }

/* ---- TRAINER PROFILE ---- */
.trainer-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.trainer-img-wrap {
  position: relative;
}
.trainer-avatar {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(135deg, #0d1526 0%, #1a2540 100%);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.trainer-avatar svg { width: 60%; height: 60%; }
.trainer-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.cert-badges { display: flex; flex-direction: column; gap: 8px; }
.cert-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600;
}
.cert-dot { width: 8px; height: 8px; border-radius: 50%; }
.cert-dot-green { background: var(--accent-green); }
.cert-dot-blue { background: var(--accent-blue); }
.cert-dot-purple { background: #a78bfa; }
.trainer-info h2 { margin-bottom: 8px; }
.trainer-title { color: var(--accent-green); font-weight: 600; margin-bottom: 20px; }
.trainer-bio { margin-bottom: 28px; font-size: 1rem; }
.trainer-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.trainer-stat { text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.trainer-stat .num { font-size: 1.6rem; font-weight: 800; }
.trainer-stat .lbl { font-size: 0.75rem; color: var(--text-muted); }
.skills-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.skill-tag {
  background: rgba(0,170,255,0.08);
  border: 1px solid rgba(0,170,255,0.2);
  color: var(--accent-blue);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---- FORM ---- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(0,255,136,0.1); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---- AUTH PAGES ---- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 48px;
  background: var(--bg-dark);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
}
.auth-header { text-align: center; margin-bottom: 36px; }
.auth-header .logo { justify-content: center; margin-bottom: 24px; }
.divider {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0; color: var(--text-muted); font-size: 0.85rem;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.checkbox-row { display: flex; align-items: center; gap: 10px; }
.checkbox-row input { width: 16px; height: 16px; accent-color: var(--accent-green); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-muted); }

/* ---- DASHBOARD ---- */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar {
  background: var(--bg-nav);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo { padding: 8px 8px 24px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 8px;
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(0,255,136,0.08);
  color: var(--accent-green);
}
.sidebar-nav .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted);
  padding: 16px 14px 8px;
}
.dashboard-main { background: var(--bg-dark); padding: 40px; }
.dashboard-header { margin-bottom: 40px; }
.dashboard-header h1 { font-size: 1.8rem; margin-bottom: 4px; }
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.course-card:hover { border-color: rgba(0,255,136,0.3); transform: translateY(-2px); }
.course-thumb {
  height: 160px;
  background: linear-gradient(135deg, #0d2040 0%, #1a3060 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.course-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
}
.course-info { padding: 20px; }
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 12px 0 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.progress-text { font-size: 0.8rem; color: var(--text-muted); }
.download-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
  margin-bottom: 12px;
}
.download-item:hover { border-color: rgba(0,170,255,0.3); background: rgba(0,170,255,0.03); }
.download-icon { font-size: 1.5rem; }
.download-info { flex: 1; }
.download-name { font-weight: 600; font-size: 0.95rem; }
.download-size { font-size: 0.8rem; color: var(--text-muted); }

/* ---- PAGE HEADER ---- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,255,136,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-header p { max-width: 600px; margin: 16px auto 0; font-size: 1.1rem; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 20px; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--accent-green); }
.breadcrumb span { color: var(--border); }

/* ---- LEGAL PAGES ---- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 16px; color: var(--text-primary); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 12px; }
.legal-content ul { padding-left: 24px; }
.legal-content ul li { list-style: disc; }

/* ---- FOOTER ---- */
footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); margin-top: 16px; font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; color: var(--text-primary); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-green); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { background: rgba(0,255,136,0.1); color: var(--accent-green); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(0,255,136,0.08) 0%, rgba(0,170,255,0.08) 100%);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 20px;
  padding: 64px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- BADGE / ALERT ---- */
.alert {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-info { background: rgba(0,170,255,0.08); border: 1px solid rgba(0,170,255,0.2); color: #60b4ff; }
.alert-success { background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.2); color: var(--accent-green); }
.alert-warning { background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.2); color: #fbbf24; }

/* ---- ACCORDION ---- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.accordion-trigger {
  width: 100%; text-align: left;
  padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text-primary); font-size: 1rem; font-weight: 600;
  transition: var(--transition);
}
.accordion-trigger:hover { color: var(--accent-green); }
.accordion-trigger::after { content: '+'; font-size: 1.3rem; color: var(--accent-green); transition: var(--transition); }
.accordion-item.open .accordion-trigger::after { content: '−'; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-item.open .accordion-body { max-height: 400px; }
.accordion-body p { padding: 0 24px 20px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trainer-section { grid-template-columns: 1fr; gap: 40px; }
  .trainer-img-wrap { max-width: 340px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--bg-nav); border-bottom: 1px solid var(--border);
    padding: 20px 24px; gap: 4px; z-index: 999;
  }
  .nav-links.open .nav-cta-mobile { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 40px 24px; }
  .auth-card { padding: 36px 24px; }
  .dashboard-main { padding: 24px 16px; }
  .pricing-card { padding: 28px 20px; }
  .trainer-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .trainer-stats { grid-template-columns: 1fr; }
}

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--accent-green); }
.text-blue { color: var(--accent-blue); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.w-full { width: 100%; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* ---- CYBER GRID BG ---- */
.cyber-bg {
  position: relative;
}
.cyber-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.cyber-bg > * { position: relative; z-index: 1; }
