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

:root {
  --bg-primary: #05070a;
  --bg-secondary: #0b0e1e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.35);
  --grad-primary: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  --grad-text: linear-gradient(135deg, #9b59b6, #e74c3c, #f39c12);
  --accent-blue: #1a6fa8;
  --accent-purple: #833ab4;
  --accent-orange: #fcb045;
  --success: #10b981;
  --sidenav-width: 280px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
svg { width: 20px; height: 20px; vertical-align: middle; }
img { max-width: 100%; height: auto; display: block; }
.icon-3d {
  width: auto;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}
.icon-3d:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Metallic Filters */
.metallic-silver {
  filter: grayscale(1) brightness(1.2) contrast(1.4) drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}
.metallic-gold {
  filter: sepia(0.85) brightness(1.1) contrast(1.2) hue-rotate(-10deg) saturate(2.5) drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}
.metallic-chrome {
  filter: brightness(1.1) contrast(1.3) saturate(1.2) hue-rotate(180deg) drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.top-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(circle, rgba(96,165,250,0.1) 0%, rgba(96,165,250,0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 30px rgba(131, 58, 180, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(131, 58, 180, 0.5);
  filter: brightness(1.1);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.nav-logo svg {
  width: 38px;
  height: 38px;
}


/* ===========================
   SIDENAV
=========================== */
.sidenav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidenav-overlay.active { opacity: 1; pointer-events: all; }

.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidenav-width);
  background: #0e1124;
  border-right: 1px solid var(--border-color);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 24px 0 40px;
  display: flex;
  flex-direction: column;
}
.sidenav.active { transform: translateX(0); }
.sidenav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.sidenav-logo svg { width: 36px; height: 36px; }
.sidenav-section {
  padding: 20px 24px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sidenav-links { display: flex; flex-direction: column; }
.sidenav-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.sidenav-links a:hover, .sidenav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.sidenav-links a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px; bottom: 2px;
  width: 3px;
  background: var(--grad-primary);
  border-radius: 0 3px 3px 0;
}
.sidenav-links a svg { width: 20px; height: 20px; opacity: 0.7; flex-shrink: 0; }
.sidenav-links a:hover svg, .sidenav-links a.active svg { opacity: 1; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.lang-toggle:hover { color: #fff; background: rgba(255,255,255,0.05); }
.lang-toggle svg { width: 20px; height: 20px; opacity: 0.7; }

/* ===========================
   HERO SECTION
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(131, 58, 180, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(131,58,180,0.3), transparent);
}
.hero-content { max-width: 720px; position: relative; }
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-avatars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.avatar-row {
  display: flex;
  align-items: center;
}
.avatar-row img, .avatar-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
}
.avatar-item:first-child { margin-left: 0; }
.avatar-more {
  background: var(--grad-primary);
  font-size: 0.65rem;
}
.avatar-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===========================
   SECTIONS LAYOUT
=========================== */
section { padding: 100px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); max-width: 580px; margin: 0 auto; font-size: 1rem; }

/* ===========================
   STATS SECTION
=========================== */
.stats-section {
  background: var(--bg-secondary);
  padding: 60px 24px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 6px; }

/* ===========================
   REASONS / FEATURES
=========================== */
.reasons-section { background: var(--bg-primary); }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.reason-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(131, 58, 180, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.reason-card.wide { grid-column: span 2; }
.reason-badge {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.reason-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.reason-card h3 { font-size: 1.3rem; margin-bottom: 0.875rem; color: #fff; }
.reason-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ===========================
   CARDS SECTION (STRATEGY)
=========================== */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.strategy-card:hover {
  border-color: rgba(131, 58, 180, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.strategy-icon {
  width: 52px; height: 52px;
  background: rgba(131,58,180,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.strategy-card h3 { font-size: 1.2rem; margin-bottom: 0.875rem; }
.strategy-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section { background: var(--bg-secondary); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(131,58,180,0.25); }
.test-header { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.test-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.test-name { font-weight: 600; font-size: 1rem; }
.test-role { color: var(--text-secondary); font-size: 0.82rem; }
.test-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.test-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ===========================
   FAQ
=========================== */
.faq-section { background: var(--bg-primary); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(131,58,180,0.35); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  gap: 16px;
  user-select: none;
  transition: var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-chevron {
  flex-shrink: 0;
  width: 22px; height: 22px;
  transition: transform 0.3s ease;
  opacity: 0.6;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); opacity: 1; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===========================
   PLANS PAGE
=========================== */
.plans-page { padding: 100px 24px; }
.plans-title { text-align: center; margin-bottom: 3rem; }
.plans-title h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 0.5rem; }
.plans-title p { color: var(--text-secondary); }
.plans-type-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 60px;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.plan-card.featured {
  border-color: rgba(131,58,180,0.5);
  background: rgba(131,58,180,0.07);
}
.plan-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 5px 20px;
  border-radius: 0 0 10px 10px;
}
.plan-card:hover:not(.featured) { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.plan-card.featured:hover { transform: translateY(-4px); }
.plan-name { font-size: 0.85rem; color: var(--text-secondary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.75rem; }
.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2rem; text-align: left; }
.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.plan-feature .check { color: var(--success); font-size: 1rem; }

/* ===========================
   AUTH FORMS
=========================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 48px 40px;
  width: 100%;
  max-width: 560px;
  backdrop-filter: blur(12px);
}
.auth-card h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.auth-card .subtitle { color: var(--text-secondary); margin-bottom: 2.5rem; font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #fff;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(131,58,180,0.6);
  background: rgba(131,58,180,0.07);
  box-shadow: 0 0 0 3px rgba(131,58,180,0.1);
}
.form-group select option { background: #0e1124; color: #fff; }
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}
.checkbox-group input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: #833ab4;
  flex-shrink: 0;
}
.auth-footer-text {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.auth-footer-text a { color: #60a5fa; }
.auth-footer-text a:hover { text-decoration: underline; }
.form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: none;
}
.form-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: none;
}

/* ===========================
   ABOUT PAGE
=========================== */
.about-page { padding: 120px 24px 80px; max-width: 900px; margin: 0 auto; }
.about-page h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 3rem; }
.about-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}
.about-block h3 {
  font-size: 1.1rem;
  color: var(--accent-orange);
  margin-bottom: 1rem;
  font-weight: 700;
}
.about-block p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }
.about-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-page { padding: 120px 24px 80px; }
.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.contact-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.7; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}
.contact-detail .icon {
  width: 44px; height: 44px;
  background: rgba(131,58,180,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-detail p { color: #fff; font-size: 0.95rem; margin: 0; }
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form-card h3 { font-size: 1.4rem; margin-bottom: 1.5rem; }

/* ===========================
   DASHBOARD
=========================== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 64px;
}
/* Removed legacy dash-sidebar */
.dash-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.dash-sidebar-links a:hover, .dash-sidebar-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.04);
  border-left-color: #833ab4;
}
.dash-sidebar-links a svg { width: 18px; height: 18px; opacity: 0.7; }
.dash-main {
  flex: 1;
  padding: 36px 32px;
  background: var(--bg-primary);
}
.dash-header { margin-bottom: 2rem; }
.dash-header h1 { font-size: 1.8rem; }
.dash-header p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 2rem; }
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
}
.dash-card .label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.dash-card .value { font-size: 1.8rem; font-weight: 700; color: #fff; }
.dash-card .value.positive { color: var(--success); }
.dash-card .sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.dash-section-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; color: #fff; }
.tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.tx-table th {
  text-align: left;
  padding: 12px 16px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-color);
}
.tx-table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.tx-table td:first-child { color: #fff; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-success { background: rgba(16,185,129,0.15); color: #34d399; }
.badge-warning { background: rgba(245,158,11,0.15); color: #fbbf24; }
.badge-error { background: rgba(239,68,68,0.15); color: #f87171; }
.badge-bronze { background: rgba(180,83,9,0.15); color: #f59e0b; }
.badge-silver { background: rgba(148,163,184,0.15); color: #94a3b8; }
.badge-gold { background: rgba(252,176,69,0.15); color: #fcb045; }
.user-plan-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 0;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(252,176,69,0.25) 0%, rgba(253,29,29,0.15) 40%, transparent 70%);
  pointer-events: none;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-brand .logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-brand h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.footer-contact {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* ===========================
   ANIMATE ON SCROLL
=========================== */
.aos {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.aos.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   LOADING SPINNER
=========================== */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .reason-card.wide { grid-column: auto; }
  .strategy-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-main { margin-left: 0; padding: 24px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  section { padding: 70px 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ===========================
   REDESIGNED DASHBOARD
=========================== */
.balance-sidebar-card {
  background: #0b1121;
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 30px;
  width: 100%;
  max-width: 380px;
  margin-bottom: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.balance-item { margin-bottom: 20px; position: relative; }
.balance-item .label { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; opacity: 0.8; }
.balance-item .value { font-size: 2.1rem; font-weight: 900; color: #fff; line-height: 1; }
.live-badge {
  background: rgba(16,185,129,0.15);
  color: #10b981;
  padding: 2px 14px;
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 900;
  float: right;
  letter-spacing: 2px;
  margin-top: -2px;
}

.trading-progress-container { margin-top: 24px; }
.progress-label-row { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 8px; color: var(--text-secondary); }
.progress-bg { height: 6px; background: rgba(255,255,255,0.05); border-radius: 100px; overflow: hidden; }
.progress-fill { height: 100%; background: #fff; width: 1%; transition: width 0.5s ease; }

.dash-tabs { display: flex; border-bottom: 1px solid var(--border-color); margin-bottom: 24px; gap: 200px; justify-content: center; }
.tab-btn {
  background: none; border: none; padding: 12px 0;
  color: var(--text-muted); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; position: relative; transition: var(--transition);
  outline: none; font-family: inherit;
}
.tab-btn.active { color: #fff; }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: #60a5fa;
}

.bottom-bar-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #0f172a; border-top: 1px solid var(--border-color);
  display: flex; justify-content: space-around; padding: 12px 0;
  z-index: 1000;
}

/* Trading Form matching Screenshot */
.dash-trade-form { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.trade-input-group { display: flex; flex-direction: column; gap: 6px; }
.trade-input-group label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-align: center; }
.trade-input { 
  background: #0b1121; border: 1px solid rgba(255,255,255,0.05); 
  border-radius: 8px; padding: 12px 16px; color: #fff; font-size: 0.95rem; 
  outline: none; transition: var(--transition);
}
.trade-input:focus { border-color: rgba(99,102,241,0.5); background: rgba(11,17,33,0.8); }

.btn-buy {
  background: linear-gradient(to right, #c026d3, #2563eb);
  color: #fff; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; padding: 14px; border-radius: 12px;
  border: none; cursor: pointer; transition: var(--transition);
  margin-top: 10px;
}
.btn-buy:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* Mining View Styles */
.mining-balance-card {
  background: radial-gradient(circle at top right, rgba(99,102,241,0.15), transparent), 
              radial-gradient(circle at bottom left, rgba(192,38,211,0.1), #0b1121);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 30px;
  display: flex; gap: 40px;
  margin-bottom: 24px;
}
.mining-stat { flex: 1; }
.mining-stat .label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; font-weight: 700; display: block; }
.mining-stat .value, .staking-stat .value { font-size: 2rem; font-weight: 900; color: #fff; }

.staking-list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.trading-input, .trading-select {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  padding: 12px 18px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
}

.trading-input:focus, .trading-select:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.2);
  background: rgba(30, 41, 59, 1);
}

.trading-input::placeholder { color: rgba(255, 255, 255, 0.4); }

.trading-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; padding-right: 40px; }
.staking-item {
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 24px;
  transition: var(--transition);
}
.staking-item:hover { background: rgba(15,23,42,0.9); transform: translateX(5px); border-color: rgba(96,165,250,0.2); }
.staking-coin-icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.staking-coin-icon img { width: 100%; height: 100%; object-fit: cover; }
.staking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; flex: 1; }
.staking-col { display: flex; flex-direction: column; gap: 4px; }
.staking-col .label { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.staking-col .usd { font-size: 0.9rem; font-weight: 700; color: #fff; }
.staking-col .crypto { font-size: 0.8rem; color: var(--text-muted); }

.bottom-nav-item.active { color: #60a5fa; }
.mining-btns { 
  display: flex; gap: 12px; margin-bottom: 24px; 
}
.btn-mining { 
  flex: 1;
  background: rgba(255,255,255,0.03); 
  border: 1px solid rgba(255,255,255,0.1); 
  color: #60a5fa; font-size: 0.85rem; font-weight: 700; padding: 15px; 
  border-radius: 6px; text-transform: uppercase; cursor: pointer; 
  transition: var(--transition);
  text-align: center;
  letter-spacing: 1px;
}
.btn-mining:hover { background: rgba(96,165,250,0.1); border-color: #60a5fa; transform: translateY(-2px); }

.mining-list { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mining-item {
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 20px;
  transition: var(--transition);
}
.mining-item:hover { background: rgba(15,23,42,0.9); transform: translateX(5px); border-color: rgba(96,165,250,0.2); }

/* HOLDING VIEW */
.holding-card-portfolio {
  flex: 1; min-width: 300px; max-width: 440px;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  border-radius: 20px; padding: 40px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 240px; border: 1px solid rgba(255,255,255,0.05);
}
.holding-card-portfolio::before {
  content: ""; position: absolute; top:0; left:0; right:0; bottom:0;
  background: url('https://www.tradingview.com/static/images/free-widgets/candlestick-chart-bg.png') center/cover no-repeat;
  opacity: 0.1; pointer-events: none;
}
.holding-card-portfolio .value { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 10px; }
.holding-card-portfolio .label { font-size: 1rem; color: rgba(255,255,255,0.6); font-weight: 600; text-transform: lowercase; }

.holding-card-balance {
  flex: 2; min-width: 400px;
  background: rgba(15,23,42,0.6); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px; padding: 30px; display: flex; align-items: center; gap: 24px;
}
.holding-asset-icon {
  width: 60px; height: 60px; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #fff; padding: 5px;
}
.holding-asset-icon img { width: 100%; height: auto; border-radius: 4px; }
.holding-balance-info { flex: 1; }
.holding-balance-info .value { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.holding-balance-info .label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.btn-holding-deposit {
  padding: 10px 20px; border: 1px solid transparent; background: transparent;
  color: #60a5fa; font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
  cursor: pointer; transition: var(--transition);
}
.btn-holding-deposit:hover { color: #fff; }

.holding-empty-state {
  width: 100%; text-align: center; margin-top: 60px; padding: 40px;
  color: rgba(255,255,255,0.4); font-size: 0.95rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; line-height: 1.6;
}
.holding-empty-state a { color: #60a5fa; text-decoration: none; border-bottom: 1px solid transparent; transition: var(--transition); }
.holding-empty-state a:hover { border-bottom-color: #60a5fa; }

.holding-sub-nav {
  display: flex; background: rgba(15,23,42,0.8); border-radius: 12px;
  padding: 6px; margin-top: 40px; align-self: center; gap: 4px;
  border: 1px solid rgba(255,255,255,0.05);
}
.sub-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 20px;
  border-radius: 8px; border: none; background: transparent;
  color: var(--text-muted); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.sub-nav-item.active { background: rgba(255,255,255,0.05); color: #60a5fa; }
.sub-nav-item svg { width: 18px; height: 18px; }

/* ASSETS LIST REFINEMENTS */
.mining-coin-stats { display: flex; align-items: center; gap: 30px; font-size: 0.9rem; margin-left: auto; }
.mining-coin-stats .price { color: #fff; font-weight: 600; width: 80px; text-align: right; }
.mining-coin-stats .change, .mining-coin-stats .perf { width: 70px; text-align: right; font-weight: 700; }

.mining-coin-icon img { width: 100%; height: auto; display: block; }
.mining-coin-icon {
  width: 48px; height: 48px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 1.5rem;
}
.mining-coin-info { flex: 1; }
.mining-coin-info .price { font-size: 0.95rem; font-weight: 700; color: #fff; }
.mining-coin-info .crypto { font-size: 0.85rem; color: var(--text-muted); }
.mining-hashrate { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

.bottom-nav-item.active { color: #60a5fa; }
.bottom-nav-item.active svg { color: #60a5fa; stroke: #60a5fa; }

.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-muted); font-size: 11px; text-decoration: none;
  transition: var(--transition);
  background: none; border: none; padding: 0; cursor: pointer; outline: none;
  font-family: inherit;
}
.bottom-nav-item svg { width: 22px; height: 22px; }
.bottom-nav-item.active { color: #60a5fa; }

.empty-state-container {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 20px; color: var(--text-muted); text-align: center;
}

/* Sidebar Styles matching Screenshot */
.dash-side-nav {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 250px; background: #0b1121;
  border-right: 1px solid rgba(255,255,255,0.03);
  display: flex; flex-direction: column;
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-100%);
}
.dash-side-nav.active { transform: translateX(0); }

.sidebar-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
  backdrop-filter: blur(4px);
}
.sidebar-overlay.active { display: block; }
.side-nav-header { padding: 20px; font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; color: #fff; background: rgba(255,255,255,0.02); }
.side-nav-links { padding: 10px 0; overflow-y: auto; flex: 1; }
.side-nav-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 24px; color: var(--text-secondary);
  text-decoration: none; font-size: 0.9rem; transition: var(--transition);
}
.side-nav-item:hover, .side-nav-item.active { background: rgba(255,255,255,0.05); color: #fff; }
.side-nav-item svg { width: 18px; height: 18px; opacity: 0.7; }
.side-nav-item.active svg { opacity: 1; color: #60a5fa; }

/* Hamburger adjustments */
.navbar { padding-left: 20px; }
.hamburger { border: none; background: none; color: #fff; font-size: 1.5rem; cursor: pointer; display: block; }

/* Layout adjustments when sidebar is present */
.dashboard-layout { width: 100%; }
.dash-main { margin-left: 0 !important; width: 100% !important; transition: all 0.3s ease; }
.dash-main-with-side { margin-left: 0 !important; }

@media (max-width: 900px) {
  .dash-side-nav { width: 280px; }
  .dash-main { padding: 20px 15px; }
}

/* Light Mode Overrides */
body.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --border-color: #e2e8f0;
}
body.light-mode .dash-side-nav { background: #fff; border-right-color: #e2e8f0; }
body.light-mode .side-nav-header { color: #1e293b; background: #f1f5f9; }
body.light-mode .side-nav-item { color: #475569; }
body.light-mode .side-nav-item:hover, body.light-mode .side-nav-item.active { background: #f1f5f9; color: #1e293b; }
body.light-mode .balance-sidebar-card { background: #fff; border-color: #e2e8f0; }
body.light-mode .balance-item .value { color: #1e293b; }
body.light-mode .progress-bg { background: #e2e8f0; }
body.light-mode .progress-fill { background: #1e293b; }
body.light-mode .tab-btn.active { color: #1e293b; }
body.light-mode .bottom-bar-nav { background: #fff; border-top-color: #e2e8f0; }
body.light-mode #navUserName { color: #1e293b; }
body.light-mode #dashUserProfile div { background: #f1f5f9; border-color: #e2e8f0; }

.tradingview-widget-container { border-radius: 12px; overflow: hidden; }

/* Global Icon Fixes */
.nav-logo svg { width: 32px; height: 32px; }
.side-nav-item svg { width: 18px; height: 18px; }
.bottom-nav-item svg { width: 22px; height: 22px; }

/* ===========================
   TRADERS PAGE
=========================== */
.traders-container {
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.search-container {
  margin-bottom: 30px;
}

.search-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 18px 24px;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(15, 23, 42, 1);
}

.traders-progress-bar {
  height: 4px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 2px;
  margin-bottom: 40px;
  position: relative;
}

.traders-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #00ff88;
  border-radius: 2px;
  width: 40%;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.trader-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.trader-card:hover {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.trader-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid #1e293b;
  overflow: hidden;
  flex-shrink: 0;
}

.trader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trader-info {
  flex: 1;
}

.trader-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.verify-badge {
  color: #3b82f6;
  width: 20px;
  height: 20px;
}

.trader-stat {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.trader-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.btn-copy {
  background: linear-gradient(90deg, #f97316, #8b5cf6);
  border: none;
  padding: 12px 60px;
  border-radius: 30px;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-copy:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .trader-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .btn-copy {
    width: 100%;
    margin-left: 0;
  }
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  width: 90%;
  max-width: 480px;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.modal-body h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.modal-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ===========================
   LIGHT MODE OVERRIDES
=========================== */
body.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  color: var(--text-primary);
  background: var(--bg-primary);
}

body.light-mode .btn-outline {
  color: var(--text-primary);
  border-color: var(--border-color);
}

body.light-mode .btn-outline:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

body.light-mode .nav-logo {
  color: var(--text-primary);
}

body.light-mode .hamburger span {
  background: var(--text-primary);
}

body.light-mode .side-nav-links a.active,
body.light-mode .side-nav-links a:hover,
body.light-mode .side-nav-item.active,
body.light-mode .side-nav-item:hover,
body.light-mode .sidenav-links a.active,
body.light-mode .sidenav-links a:hover,
body.light-mode .lang-toggle:hover,
body.light-mode .bottom-nav-item.active {
  color: var(--accent-purple) !important;
  background: var(--bg-secondary);
}

body.light-mode .reason-card h3,
body.light-mode .strategy-card h3,
body.light-mode .contact-detail p,
body.light-mode .trader-name,
body.light-mode .modal-body h3,
body.light-mode .balance-value,
body.light-mode .address-text,
body.light-mode .auth-card h2,
body.light-mode .holding-card-portfolio .value,
body.light-mode .holding-balance-info .value {
  color: var(--text-primary) !important;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea,
body.light-mode .trade-input,
body.light-mode .search-input {
  color: var(--text-primary);
  background: #ffffff;
  border-color: var(--border-color);
}

body.light-mode .form-group select option {
  background: #ffffff;
  color: var(--text-primary);
}

body.light-mode .navbar,
body.light-mode .dash-side-nav,
body.light-mode .bottom-bar-nav {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border-color);
}

body.light-mode .trader-card,
body.light-mode #tabContent,
body.light-mode .dash-tabs .tab-btn {
  background: var(--bg-card);
  border-color: var(--border-color);
}

body.light-mode .trader-card:hover {
  background: var(--bg-card-hover);
}

body.light-mode .dash-tabs .tab-btn.active {
  background: var(--accent-purple);
  color: #fff;
}

/* ===========================
   ACCOUNT PAGE
=========================== */
.account-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 40px 24px;
}

.account-profile-section {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.account-avatar-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #d4d4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.account-user-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.account-user-plan {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.account-logout {
  color: #3b82f6;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.account-logout:hover {
  text-decoration: underline;
  color: #60a5fa;
}

.account-settings-grid {
  flex: 1;
  min-width: 320px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 20px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--accent-purple);
}

.account-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ac-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ac-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.ac-card-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #02c39a;
}

/* ===========================
   LIGHT MODE
=========================== */
body.light-mode {
  --bg-primary: #f5f7fa;
  --bg-secondary: #edf0f5;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-card-hover: rgba(0, 0, 0, 0.06);
  --border-color: rgba(0, 0, 0, 0.1);
  --text-primary: #1a202c;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-muted: rgba(0, 0, 0, 0.4);
  color: var(--text-primary);
  background: var(--bg-primary);
}

/* Navbar */
body.light-mode .navbar {
  background: rgba(245, 247, 250, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .nav-logo { color: #1a202c; }

/* Hamburger */
body.light-mode .hamburger,
body.light-mode #sideNavToggle {
  color: #1a202c;
}

/* Sidenav */
body.light-mode .sidenav {
  background: #fff;
  border-right-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .sidenav-links a:hover,
body.light-mode .sidenav-links a.active {
  color: #1a202c;
  background: rgba(0, 0, 0, 0.04);
}
body.light-mode .lang-toggle:hover {
  color: #1a202c;
  background: rgba(0, 0, 0, 0.04);
}

/* Dashboard sidebar */
body.light-mode .dash-side-nav {
  background: #fff;
  border-right-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .side-nav-item:hover,
body.light-mode .side-nav-item.active {
  color: #1a202c;
  background: rgba(0, 0, 0, 0.04);
}

/* Buttons */
body.light-mode .btn-outline {
  color: #1a202c;
  border-color: rgba(0, 0, 0, 0.2);
}
body.light-mode .btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.4);
}

/* Cards & sections */
body.light-mode .reason-card h3,
body.light-mode .strategy-card h3 { color: #1a202c; }
body.light-mode .hero::before {
  background: radial-gradient(ellipse, rgba(131, 58, 180, 0.08) 0%, transparent 70%);
}

/* Forms */
body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
  background: rgba(0, 0, 0, 0.03);
  color: #1a202c;
  border-color: rgba(0, 0, 0, 0.12);
}
body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus {
  background: rgba(131, 58, 180, 0.04);
}
body.light-mode .form-group select option {
  background: #fff;
  color: #1a202c;
}

/* Footer */
body.light-mode footer {
  background: #1a202c;
  color: #fff;
}
body.light-mode footer .footer-contact a,
body.light-mode footer .footer-contact span { color: rgba(255,255,255,0.7); }
body.light-mode .footer-bottom { border-top-color: rgba(255,255,255,0.1); }
body.light-mode .footer-bottom span,
body.light-mode .footer-bottom a { color: rgba(255,255,255,0.5); }

/* Scrollbar */
body.light-mode::-webkit-scrollbar-track { background: #edf0f5; }
body.light-mode::-webkit-scrollbar-thumb { background: #c4c4c4; }
body.light-mode::-webkit-scrollbar-thumb:hover { background: #999; }

/* Account page */
body.light-mode .account-user-name { color: var(--text-primary); }
body.light-mode .account-avatar-large { background: #e2e8f0; }
body.light-mode .account-card { border-color: var(--border-color); }
body.light-mode .account-card:hover { border-color: var(--accent-purple); }
