/* ===================================================================
   BRAINGAP.IR - THE PREMIER TRADING & MENTORSHIP PLATFORM
   THEME: CYBER DARK + ELECTRIC NEON GREEN
   =================================================================== */

:root {
  /* Colors */
  --bg-primary: #080a0f;
  --bg-secondary: #0e131d;
  --bg-card: rgba(15, 22, 34, 0.82);
  --bg-card-hover: rgba(22, 31, 48, 0.95);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-border-glow: rgba(255, 119, 0, 0.35);

  --neon-green: #00ff87;
  --neon-green-glow: rgba(0, 255, 135, 0.35);
  --neon-green-subtle: rgba(0, 255, 135, 0.08);
  --neon-green-dark: #02c064;

  --neon-orange: #ff7700;
  --neon-orange-glow: rgba(255, 119, 0, 0.45);
  --neon-orange-subtle: rgba(255, 119, 0, 0.12);
  --neon-orange-hover: #ff8c1a;

  --neon-cyan: #00e5ff;
  --neon-cyan-glow: rgba(0, 229, 255, 0.3);

  --trade-red: #ff3b69;
  --trade-red-bg: rgba(255, 59, 105, 0.12);
  --trade-green: #00ff87;
  --trade-green-bg: rgba(0, 255, 135, 0.12);

  --text-main: #f0f4fc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --warning-yellow: #ffb703;
  --warning-bg: rgba(255, 183, 3, 0.12);

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-neon: 0 0 25px rgba(0, 255, 135, 0.25);
  --shadow-neon-orange: 0 0 25px rgba(255, 119, 0, 0.3);
  --shadow-neon-lg: 0 0 45px rgba(0, 255, 135, 0.4);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* Fonts */
  --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Warm Glow & Human-Centric Subtle Background */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.glow-1 {
  width: 550px;
  height: 550px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--neon-green-glow) 0%, transparent 70%);
}

.glow-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  left: -180px;
  background: radial-gradient(circle, var(--neon-orange-glow) 0%, transparent 70%);
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}


/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.neon-text {
  color: var(--neon-green) !important;
}

.neon-orange-text {
  color: var(--neon-orange) !important;
}

.neon-glow {
  text-shadow: 0 0 16px var(--neon-green-glow);
}

.neon-orange-glow {
  text-shadow: 0 0 16px var(--neon-orange-glow);
}

.orange-glow {
  background: rgba(255, 119, 0, 0.16);
  border: 2px solid var(--neon-orange);
  color: var(--neon-orange);
  box-shadow: 0 0 25px var(--neon-orange-glow);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--neon-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-orange-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--neon-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.88rem; }
.text-xs { font-size: 0.78rem; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-warning { color: var(--warning-yellow) !important; }
.text-info { color: var(--neon-cyan) !important; }
.mb-3 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1rem; }

/* Buttons */
.btn-neon-orange {
  background: var(--neon-orange);
  color: #ffffff;
  box-shadow: 0 0 18px var(--neon-orange-glow);
}

.btn-neon-orange:hover {
  background: var(--neon-orange-hover);
  box-shadow: 0 0 30px var(--neon-orange-glow);
  transform: translateY(-2px);
}

.btn-orange-outline {
  background: var(--neon-orange-subtle);
  color: var(--neon-orange);
  border-color: var(--neon-orange);
}

.btn-orange-outline:hover {
  background: var(--neon-orange);
  color: #ffffff;
  box-shadow: 0 0 20px var(--neon-orange-glow);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  user-select: none;
}

.btn-neon-fill {
  background: var(--neon-green);
  color: #030806;
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.4);
}

.btn-neon-fill:hover {
  background: #2aff9d;
  box-shadow: 0 0 30px rgba(0, 255, 135, 0.65);
  transform: translateY(-2px);
}

.btn-neon-outline {
  background: rgba(0, 255, 135, 0.05);
  color: var(--neon-green);
  border-color: var(--neon-green);
}

.btn-neon-outline:hover {
  background: var(--neon-green);
  color: #030806;
  box-shadow: 0 0 20px var(--neon-green-glow);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-subtle {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-subtle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-xs {
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: 6px;
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--neon-green);
  font-family: var(--font-family);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  transition: var(--transition);
}

.btn-text-link:hover {
  text-shadow: 0 0 10px var(--neon-green-glow);
  gap: 10px;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.2), rgba(0, 229, 255, 0.1));
  border: 1px solid var(--neon-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  font-size: 1.3rem;
  box-shadow: 0 0 15px var(--neon-green-glow);
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.logo-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  font-weight: 600;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

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

.portal-badge-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.portal-btn:hover {
  color: #fff;
}

.portal-btn.student-badge:hover, .portal-btn.student-badge.active {
  background: rgba(0, 255, 135, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 135, 0.3);
}

.portal-btn.mentor-badge:hover, .portal-btn.mentor-badge.active {
  background: rgba(0, 229, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.menu-toggle {
  display: none;
  padding: 8px 12px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid rgba(0, 255, 135, 0.2);
  z-index: 200;
  padding: 24px;
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.close-drawer {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-links a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
  font-weight: 600;
}

.drawer-links a:hover {
  background: var(--neon-green-subtle);
  color: var(--neon-green);
}

/* ==================== VIEW SWITCHING ==================== */
.view-section {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.view-section.active-view {
  display: block;
  opacity: 1;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding: 70px 0 50px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 135, 0.07);
  border: 1px solid rgba(0, 255, 135, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neon-green);
  margin-bottom: 22px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 45px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  max-width: 580px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Visual: Glass Trade Card */
.hero-visual {
  position: relative;
}

.crypto-card-glass {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: 24px;
  box-shadow: var(--shadow-neon);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.crypto-card-glass:hover {
  border-color: var(--bg-card-border-glow);
  box-shadow: var(--shadow-neon-lg);
}

.card-glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pair-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pair-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247, 147, 26, 0.15);
  border: 1px solid #f7931a;
  color: #f7931a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.pair-name {
  font-weight: 800;
  font-size: 1.05rem;
}

.badge-leverage {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
  margin-right: 6px;
}

.pair-direction.long {
  font-size: 0.75rem;
  color: var(--neon-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pair-pnl {
  text-align: left;
  direction: ltr;
}

.pnl-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--neon-green);
  display: block;
}

.pnl-sub {
  font-size: 0.72rem;
  background: var(--trade-green-bg);
  color: var(--neon-green);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.chart-box {
  background: rgba(4, 7, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.chart-canvas-wrapper {
  width: 100%;
  height: 190px;
}

.chart-canvas-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}

.chart-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  direction: ltr;
}

.marker.entry {
  color: var(--neon-cyan);
}

.marker.tp {
  color: var(--neon-green);
  font-weight: 700;
}

.trade-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
}

.mstat {
  display: flex;
  flex-direction: column;
}

.mtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mval {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.card-glass-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.pulse-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
}

/* ==================== QUICK SWITCH BANNER ==================== */
.quick-banner-section {
  padding: 0 0 35px;
}

.quick-banner {
  background: linear-gradient(90deg, rgba(0, 255, 135, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.banner-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

.banner-buttons {
  display: flex;
  gap: 8px;
}

/* ==================== GENERAL SECTIONS ==================== */
.section {
  padding: 70px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ==================== COURSES ==================== */
.course-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--neon-green-subtle);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.filter-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 135, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 135, 0.15);
}

.course-card.featured-course {
  border-color: rgba(255, 119, 0, 0.45);
  box-shadow: 0 0 30px rgba(255, 119, 0, 0.18);
}

.course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.free-badge {
  background: rgba(0, 255, 135, 0.9);
  color: #040906;
}

.vip-badge {
  background: linear-gradient(135deg, var(--neon-orange), #ff9500);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 0 16px var(--neon-orange-glow);
}

.pro-badge {
  background: rgba(0, 229, 255, 0.85);
  color: #031317;
}

.course-thumb {
  height: 175px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.course-card:hover .thumb-bg {
  transform: scale(1.05);
}

.bg-gradient-1 { background: radial-gradient(circle at center, #1b332b 0%, #0d1a16 100%); }
.bg-gradient-2 { background: radial-gradient(circle at center, #1a2a3e 0%, #0c1421 100%); }
.bg-gradient-3 { background: radial-gradient(circle at center, #302613 0%, #151109 100%); }
.bg-gradient-4 { background: radial-gradient(circle at center, #2b1c36 0%, #130c19 100%); }

.thumb-art {
  font-size: 4rem;
  opacity: 0.35;
  color: #fff;
}

.thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.course-card:hover .thumb-overlay {
  opacity: 1;
}

.play-icon {
  font-size: 2.8rem;
  color: var(--neon-green);
  filter: drop-shadow(0 0 12px var(--neon-green));
}

.thumb-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: #fff;
  z-index: 3;
}

.course-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-level {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.special-level {
  color: var(--neon-orange);
  font-weight: 700;
}

.course-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.45;
}

.course-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.course-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.price-current {
  font-size: 1.05rem;
  font-weight: 800;
}

.free-text {
  color: var(--neon-green);
}

.vip-price {
  color: #ffd700;
}

/* ==================== TRADES JOURNAL ==================== */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.trade-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
  position: relative;
}

.trade-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.tc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.tc-pair-badge {
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-profit {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--neon-green);
  direction: ltr;
}

.tc-profit.loss {
  color: var(--trade-red);
}

.tc-setup-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.tc-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 0.8rem;
}

.tc-detail-item {
  display: flex;
  flex-direction: column;
}

.tc-label {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.tc-val {
  font-weight: 700;
  margin-top: 2px;
}

.tc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* ==================== WORKFLOW SHOWCASE ==================== */
.workflow-section {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 18, 29, 0.6) 100%);
}

.workflow-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.workflow-text .section-title {
  text-align: right;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.step-card:hover {
  background: rgba(0, 255, 135, 0.04);
  border-color: rgba(0, 255, 135, 0.25);
  transform: translateX(-5px);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--neon-green-subtle);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.step-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.interactive-preview-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 255, 135, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--shadow-neon);
  overflow: hidden;
}

.ipc-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ipc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ipc-dot.red { background: #ff5f56; }
.ipc-dot.yellow { background: #ffbd2e; }
.ipc-dot.green { background: #27c93f; }

.ipc-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-right: 10px;
}

.ipc-body {
  padding: 24px;
}

.mock-review-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.mri-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.2);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.mri-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.mri-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-status-approved {
  margin-right: auto;
  font-size: 0.75rem;
  background: var(--trade-green-bg);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 135, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.mri-comment {
  background: rgba(0, 255, 135, 0.05);
  border-right: 3px solid var(--neon-green);
  padding: 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

.mock-quick-stat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mqs-col {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.mqs-val {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}

.mqs-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==================== MENTOR SECTION ==================== */
.mentor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.mentor-frame {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.mentor-avatar-box {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background: linear-gradient(135deg, #10192a, #0b111c);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-neon);
}

.mentor-icon-placeholder {
  font-size: 8rem;
  color: rgba(0, 255, 135, 0.25);
}

.mentor-badge-floating {
  position: absolute;
  bottom: -20px;
  left: -15px;
  background: var(--bg-secondary);
  border: 1px solid var(--neon-green);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--neon-green-glow);
}

.mentor-details .section-title {
  text-align: right;
}

.mentor-p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.mentor-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.hl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ==================== FAQ ==================== */
.faq-container {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-arrow {
  color: var(--neon-green);
  transition: transform 0.3s ease;
}

.faq-card.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-card.open .faq-answer {
  max-height: 250px;
  padding: 0 22px 20px;
}

/* ==================== PORTALS (STUDENT & MENTOR) ==================== */
.portal-wrapper {
  padding: 40px 0 70px;
}

.portal-header {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mentor-header-theme {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.15);
}

.student-profile-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sp-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 255, 135, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mentor-avatar {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.sp-name {
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-details {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.badge-student-active {
  font-size: 0.7rem;
  background: rgba(0, 255, 135, 0.15);
  color: var(--neon-green);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-mentor-role {
  font-size: 0.7rem;
  background: rgba(0, 229, 255, 0.15);
  color: var(--neon-cyan);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.portal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Dashboard Summary Cards */
.student-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.sd-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.sd-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
  transform: translateY(-3px);
}

.sd-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
}

.sd-val {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.sd-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Portal Tabs */
.portal-tabs-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  overflow-x: auto;
}

.pt-tab {
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.pt-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.pt-tab.active {
  background: rgba(0, 255, 135, 0.12);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 135, 0.3);
}

.portal-tab-content {
  display: none;
}

.portal-tab-content.active-tab-content {
  display: block;
}

/* Tables */
.tasks-table-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
}

.table-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.table-responsive {
  overflow-x: auto;
}

.cyber-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.88rem;
}

.cyber-table th {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cyber-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.cyber-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-approved {
  background: var(--trade-green-bg);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 135, 0.3);
}

.status-pending {
  background: var(--warning-bg);
  color: var(--warning-yellow);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.status-revision {
  background: var(--trade-red-bg);
  color: var(--trade-red);
  border: 1px solid rgba(255, 59, 105, 0.3);
}

/* Upload Forms & Inputs */
.upload-task-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-header i {
  font-size: 2rem;
}

.cyber-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 18px;
}

.col-6 {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

.cyber-input {
  background: rgba(5, 8, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.cyber-input:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green-glow);
}

/* Drag & Drop Zone */
.drop-zone {
  border: 2px dashed rgba(0, 255, 135, 0.35);
  background: rgba(0, 255, 135, 0.02);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.drop-zone:hover {
  background: rgba(0, 255, 135, 0.06);
  border-color: var(--neon-green);
}

.drop-icon {
  font-size: 2.5rem;
  color: var(--neon-green);
  margin-bottom: 10px;
}

.chart-link-fallback {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

/* Course Materials Grid */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.material-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 135, 0.1);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mat-info {
  flex-grow: 1;
}

.mat-info h4 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.mat-info p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Mentor Students Grid */
.mentor-students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.msg-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
}

.students-mini-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sml-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.sml-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.2);
  color: var(--neon-cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.sml-info {
  flex-grow: 1;
}

.sml-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.sml-prog-wrap {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 6px 0;
  overflow: hidden;
}

.sml-prog-bar {
  height: 100%;
  background: var(--neon-green);
  border-radius: 10px;
}

.badge-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.badge-tag.green { background: var(--trade-green-bg); color: var(--neon-green); }
.badge-tag.yellow { background: var(--warning-bg); color: var(--warning-yellow); }

.mentor-notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mn-item {
  background: rgba(255, 255, 255, 0.02);
  border-right: 3px solid var(--neon-cyan);
  padding: 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.mn-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 700;
}

/* ==================== MODALS ==================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(12px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--shadow-neon);
  animation: modalIn 0.25s ease-out;
}

.modal-box.modal-lg {
  max-width: 820px;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

.review-task-summary {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 20px;
  font-size: 0.86rem;
}

.enroll-preview {
  margin-bottom: 20px;
}

.enroll-steps-box {
  background: rgba(0, 255, 135, 0.04);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
}

/* Trade Modal Detail Styles */
.trade-modal-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tm-canvas-holder {
  width: 100%;
  height: 260px;
  background: #04070d;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 135, 0.2);
  padding: 14px;
  margin-bottom: 20px;
}

.tm-canvas-holder canvas {
  width: 100% !important;
  height: 100% !important;
}

.tm-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.tm-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.tm-box-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tm-box-val {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ==================== TOASTS ==================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--neon-green);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--neon-green-glow);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  animation: slideToast 0.3s ease;
  min-width: 280px;
}

.toast.info {
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--neon-cyan-glow);
}

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

/* ==================== FOOTER ==================== */
.footer {
  background: #04060a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 25px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--neon-green);
  padding-right: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.social-icon:hover {
  background: var(--neon-green-subtle);
  border-color: var(--neon-green);
  color: var(--neon-green);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
}

/* ==================== ADVANCED ADMIN SUITE & CRM STYLES ==================== */
.admin-super-header {
  background: linear-gradient(135deg, rgba(14, 21, 34, 0.95), rgba(7, 18, 30, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 229, 255, 0.15);
}

.live-dot-green {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulse 1.5s infinite;
  margin-left: 4px;
}

/* Admin KPI Grid */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.kpi-card:hover {
  border-color: rgba(0, 255, 135, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 135, 0.1);
}

.kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.kpi-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.kpi-val {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
}

.kpi-unit {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.kpi-growth {
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.kpi-growth.positive { color: var(--neon-green); }
.kpi-growth.info { color: var(--neon-cyan); }
.kpi-growth.warning { color: var(--warning-yellow); }

/* Admin Navigation Tabs */
.admin-tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  overflow-x: auto;
}

.adm-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 11px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.adm-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.adm-tab.active {
  background: rgba(0, 255, 135, 0.12);
  color: var(--neon-green);
  border-color: var(--neon-green);
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.25);
}

.adm-badge {
  background: rgba(0, 229, 255, 0.2);
  color: var(--neon-cyan);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.adm-badge.yellow {
  background: var(--warning-bg);
  color: var(--warning-yellow);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active-pane {
  display: block;
  animation: fadeInPane 0.25s ease-out;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== ANALYTICS & CHARTS GRID ==================== */
.analytics-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.analytics-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.analytics-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
}

.card-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 16px;
}

.chart-card-title {
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.chart-quick-metric {
  text-align: left;
  direction: ltr;
  flex-shrink: 0;
}

.cqm-val {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
}

.cqm-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chart-canvas-container {
  width: 100%;
  height: 230px;
  position: relative;
  background: rgba(4, 7, 12, 0.5);
  border-radius: var(--radius-sm);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.chart-canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.chart-legend-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.clr-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-color-dot.green { background: var(--neon-green); box-shadow: 0 0 6px var(--neon-green); }
.legend-color-dot.cyan { background: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); }
.legend-color-dot.yellow { background: var(--warning-yellow); box-shadow: 0 0 6px var(--warning-yellow); }
.legend-color-dot.red { background: var(--trade-red); box-shadow: 0 0 6px var(--trade-red); }
.legend-color-dot.muted { background: #64748b; }

/* ==================== CRM PIPELINE & LEADS ==================== */
.crm-control-bar {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.crm-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  flex-grow: 1;
  max-width: 380px;
}

.crm-search-box i {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.crm-search-box input {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 0;
  width: 100%;
}

.crm-filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.crm-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.crm-pill:hover, .crm-pill.active {
  background: var(--neon-green-subtle);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.crm-table th, .crm-table td {
  padding: 14px 14px;
  font-size: 0.85rem;
}

.lead-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lead-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* CRM Stage Badges */
.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
}

.stage-badge.new {
  background: rgba(0, 229, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.stage-badge.in-call {
  background: var(--warning-bg);
  color: var(--warning-yellow);
  border: 1px solid rgba(255, 183, 3, 0.35);
}

.stage-badge.pending-pay {
  background: rgba(255, 140, 0, 0.15);
  color: #ff9800;
  border: 1px solid rgba(255, 152, 0, 0.4);
}

.stage-badge.won {
  background: var(--trade-green-bg);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 135, 0.4);
}

.stage-badge.lost {
  background: var(--trade-red-bg);
  color: var(--trade-red);
  border: 1px solid rgba(255, 59, 105, 0.4);
}

.crm-actions-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.82rem;
}

.crm-icon-btn:hover {
  background: var(--neon-green-subtle);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.crm-icon-btn.call:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.crm-icon-btn.wa:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  color: #25d366;
}

.lead-quick-info-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

/* ==================== BIRTHDAY GIFT POPUP & CONFETTI STYLES ==================== */
.birthday-backdrop {
  z-index: 9999;
  background: rgba(3, 5, 9, 0.88);
  backdrop-filter: blur(18px);
}

.confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.birthday-box {
  max-width: 620px;
  background: linear-gradient(145deg, rgba(16, 23, 38, 0.95), rgba(8, 12, 20, 0.98));
  border: 1px solid rgba(0, 255, 135, 0.4);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 255, 135, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
  z-index: 2;
  text-align: center;
}

.birthday-ambient-light {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 255, 135, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.birthday-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.bday-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.bday-step-indicator {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.bday-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 28px;
  overflow: hidden;
}

.bday-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-orange), var(--neon-green));
  box-shadow: 0 0 12px var(--neon-orange-glow);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.birthday-steps-container {
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bday-step {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: all 0.35s ease;
  width: 100%;
}

.bday-step.active {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bday-icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.gold-glow {
  background: rgba(255, 215, 0, 0.15);
  border: 2px solid #ffd700;
  color: #ffd700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.green-glow {
  background: rgba(0, 255, 135, 0.15);
  border: 2px solid var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 25px var(--neon-green-glow);
}

.heart-glow {
  background: rgba(255, 59, 105, 0.15);
  border: 2px solid var(--trade-red);
  color: var(--trade-red);
  box-shadow: 0 0 25px rgba(255, 59, 105, 0.45);
  animation: pulseHeart 1.4s infinite;
}

@keyframes pulseHeart {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.08); }
  100% { transform: scale(0.95); }
}

.cyan-glow {
  background: rgba(0, 229, 255, 0.15);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 25px var(--neon-cyan-glow);
}

.yellow-glow {
  background: rgba(255, 183, 3, 0.15);
  border: 2px solid var(--warning-yellow);
  color: var(--warning-yellow);
  box-shadow: 0 0 25px rgba(255, 183, 3, 0.4);
}

.gift-glow {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border: 2px solid #ec4899;
  color: #f472b6;
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.45);
}

.rocket-glow {
  background: rgba(0, 255, 135, 0.15);
  border: 2px solid var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 30px var(--neon-green-glow);
}

.firework-glow {
  background: linear-gradient(135deg, rgba(0, 255, 135, 0.2), rgba(0, 229, 255, 0.2));
  border: 2px solid var(--neon-green);
  color: #fff;
  box-shadow: 0 0 35px var(--neon-green-glow);
}

.pulse-rainbow {
  animation: rainbowBorder 3s infinite linear;
}

@keyframes rainbowBorder {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.bday-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.bday-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 12px;
  max-width: 520px;
}

.bday-grand-title {
  font-size: 2.15rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.bday-tagline {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: rgba(0, 255, 135, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.bday-signature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.bday-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

.glow-text {
  text-shadow: 0 0 16px var(--neon-green);
}

.bday-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bday-dots-group {
  display: flex;
  gap: 6px;
}

.bday-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition);
}

.bday-dot.active {
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  transform: scale(1.2);
}

/* Floating Birthday Trigger Button */
.floating-bday-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  background: linear-gradient(135deg, rgba(22, 28, 42, 0.96), rgba(12, 16, 26, 0.96));
  border: 1px solid var(--neon-orange);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--neon-orange-glow);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  outline: none;
}

.floating-bday-trigger:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 30px var(--neon-orange-glow);
  border-color: #ff9500;
}

.fbt-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--neon-orange);
  animation: pulseRing 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

/* ==================== BRAND LOGO & LOGIN PAGE STYLES ==================== */
.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.45));
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(4deg);
  filter: drop-shadow(0 0 18px var(--neon-orange-glow));
}

.login-badge {
  background: rgba(255, 119, 0, 0.12);
  border: 1px solid var(--neon-orange);
  color: var(--neon-orange);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: var(--transition);
}

.login-badge:hover {
  background: var(--neon-orange);
  color: #fff;
  box-shadow: 0 0 20px var(--neon-orange-glow);
  transform: translateY(-2px);
}

/* User Profile Navigation Widget (Active Session) */
.nav-user-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-active-badge {
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid var(--neon-green);
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.2);
}

.user-active-badge:hover {
  background: rgba(0, 255, 135, 0.22);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.4);
  transform: translateY(-2px);
}

.user-active-badge.mentor-active {
  background: rgba(255, 119, 0, 0.15);
  border-color: var(--neon-orange);
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.25);
}

.user-active-badge.mentor-active:hover {
  background: rgba(255, 119, 0, 0.25);
  box-shadow: 0 0 22px rgba(255, 119, 0, 0.45);
}

.nav-logout-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.88rem;
}

.nav-logout-btn:hover {
  background: rgba(255, 59, 105, 0.22);
  border-color: #ff3b69;
  color: #ff3b69;
  transform: scale(1.08);
}

/* Dedicated Login View */
.login-wrapper {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.login-card-glass {
  width: 100%;
  max-width: 520px;
  background: rgba(14, 20, 32, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 119, 0, 0.12);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.4s ease-out;
}

.login-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-orange));
}

.login-logo-holder {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  background: radial-gradient(circle, rgba(255, 119, 0, 0.18) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 119, 0, 0.35);
  box-shadow: 0 0 25px var(--neon-orange-glow);
}

.login-logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.login-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.login-subtitle {
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(8, 12, 20, 0.8);
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.auth-three-tabs {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.login-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.login-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.password-group {
  position: relative;
  display: flex;
  align-items: center;
}

.pwd-toggle-btn {
  position: absolute;
  left: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: var(--transition);
}

.pwd-toggle-btn:hover {
  color: #fff;
}

/* Cyber Security Captcha Box */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 16, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.captcha-canvas-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 135, 0.3);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
  background: #060b13;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 42px;
}

.captcha-canvas-wrap canvas {
  display: block;
}

.captcha-refresh-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--neon-cyan);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.captcha-refresh-btn:hover {
  background: rgba(0, 255, 135, 0.16);
  border-color: var(--neon-green);
  color: #fff;
  transform: rotate(180deg);
}

.captcha-input-group {
  flex: 1;
}

.captcha-input-group input {
  letter-spacing: 3px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  font-size: 1rem;
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.84rem;
}

.remember-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
}

.remember-checkbox input {
  accent-color: var(--neon-orange);
  cursor: pointer;
}

.login-badge-hint {
  font-size: 0.78rem;
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

.quick-login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0 14px;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.quick-login-divider::before,
.quick-login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-login-divider span {
  padding: 0 12px;
}

.login-card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==================== RESPONSIVE ==================== */


@media (max-width: 992px) {
  .hero-grid, .workflow-box, .mentor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 14px;
  }

  .stat-divider {
    display: none;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .portal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
