@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --sc-primary: #4f46e5;      /* Indigo 600 */
  --sc-secondary: #0ea5e9;    /* Light Blue 500 */
  --sc-accent: #f43f5e;       /* Rose 500 */
  --sc-accent-2: #8b5cf6;     /* Violet 500 */
  --sc-ink: #0f172a;          /* Slate 900 */
  --sc-bg: #f8fafc;           /* Slate 50 */
  --sc-surface: #ffffff;
  --sc-border: rgba(15, 23, 42, 0.08);
  --sc-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  
  --bs-body-bg: var(--sc-bg);
  --bs-body-color: var(--sc-ink);
  --bs-primary: var(--sc-primary);
  --bs-primary-rgb: 79, 70, 229;
  --bs-secondary: var(--sc-secondary);
  --bs-secondary-rgb: 14, 165, 233;
  --bs-info: var(--sc-secondary);
  --bs-info-rgb: 14, 165, 233;
  --bs-link-color: var(--sc-primary);
  --bs-link-hover-color: var(--sc-secondary);
  --bs-border-radius: 16px;
  --bs-border-radius-lg: 20px;
  --bs-border-radius-sm: 12px;
  --bs-font-sans-serif: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

[data-bs-theme=dark] {
  --sc-ink: #f1f5f9;          /* Slate 100 */
  --sc-bg: #0b0f19;           /* Very dark slate */
  --sc-surface: #131b2c;
  --sc-border: rgba(241, 245, 249, 0.08);
  --sc-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  
  --bs-body-bg: var(--sc-bg);
  --bs-body-color: var(--sc-ink);
  --bs-link-color: #818cf8;
  --bs-link-hover-color: #38bdf8;
}

body {
  background-color: var(--sc-bg);
  color: var(--sc-ink);
  font-family: var(--bs-font-sans-serif);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Patterns */
.bg-pattern {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.05) 0px, transparent 50%);
}
[data-bs-theme=dark] .bg-pattern {
  background-image: 
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.1) 0px, transparent 50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Navbar */
.navbar-glass {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sc-border);
}
[data-bs-theme=dark] .navbar-glass {
  background: rgba(19, 27, 44, 0.8) !important;
}

.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: #ffffff;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--sc-border);
}
[data-bs-theme=dark] .brand-mark {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.brand-mark img { width: 24px; height: 24px; object-fit: contain; }

/* Buttons */
.btn {
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  border: none;
  color: #fff;
  box-shadow: 0 6px 15px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  color: #fff;
}
.btn-soft {
  background: rgba(79, 70, 229, 0.1);
  color: var(--sc-primary);
  border: none;
}
.btn-soft:hover {
  background: rgba(79, 70, 229, 0.15);
  color: var(--sc-primary);
  transform: translateY(-2px);
}
[data-bs-theme=dark] .btn-soft {
  background: rgba(129, 140, 248, 0.15);
  color: #818cf8;
}
[data-bs-theme=dark] .btn-soft:hover {
  background: rgba(129, 140, 248, 0.25);
  color: #818cf8;
}
.btn-outline-primary {
  border: 2px solid var(--sc-primary);
  color: var(--sc-primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--sc-primary);
  color: #fff;
}

/* Wallet Pill */
.wallet-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--sc-primary);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(79, 70, 229, 0.15);
  transition: all 0.2s ease;
}
.wallet-pill:hover {
  background: rgba(79, 70, 229, 0.12);
  transform: translateY(-2px);
  color: var(--sc-primary);
}
[data-bs-theme=dark] .wallet-pill {
  background: rgba(129, 140, 248, 0.1);
  color: #818cf8;
  border-color: rgba(129, 140, 248, 0.2);
}
[data-bs-theme=dark] .wallet-pill:hover {
  color: #818cf8;
}

/* Shell & Layout */
.public-shell { min-height: 100vh; display: flex; flex-direction: column; position: relative; }
.public-main { flex: 1 1 auto; position: relative; }
.public-page-wrap { max-width: 1200px; }

/* Dashboard Layout */
.dash-shell { min-height: 100vh; display: flex; }
.dash-sidebar { 
  width: 280px; 
  background: var(--sc-surface);
  border-right: 1px solid var(--sc-border);
  display: flex; flex-direction: column;
}
.dash-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.dash-topbar { position: sticky; top: 0; z-index: 1040; border-bottom: 1px solid var(--sc-border); }
.dash-content { padding: 2rem; }

/* Sidebar Nav */
.sidebar .nav-link {
  color: var(--sc-ink);
  opacity: 0.75;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}
.sidebar .nav-link:hover {
  opacity: 1;
  background: rgba(79, 70, 229, 0.05);
  color: var(--sc-primary);
  transform: translateX(4px);
}
.sidebar .nav-link.active {
  opacity: 1;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-accent-2));
  color: #fff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}
[data-bs-theme=dark] .sidebar .nav-link { color: #f1f5f9; }
[data-bs-theme=dark] .sidebar .nav-link:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
[data-bs-theme=dark] .sidebar .nav-link.active { color: #fff; }

/* Cards */
.card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  box-shadow: var(--sc-shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--sc-border);
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1.1rem;
}
.card-body { padding: 1.5rem; }

/* Hero Modern Section (Home) */
.hero-modern {
  padding: 6rem 0;
  position: relative;
}
.hero-modern-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(79, 70, 229, 0.1);
  color: var(--sc-primary);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
}
[data-bs-theme=dark] .hero-modern-tag {
  background: rgba(129, 140, 248, 0.15);
  color: #a5b4fc;
}
.hero-modern-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.hero-modern-highlight {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary), var(--sc-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-modern-desc {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
[data-bs-theme=dark] .hero-modern-desc { color: #94a3b8; }

.hero-modern-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; border-top: 1px solid var(--sc-border); padding-top: 2rem; }
.hero-stat-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 700;
  color: var(--sc-ink);
}
.hero-stat-item i { color: var(--sc-primary); font-size: 1.5rem; }

/* Visuals for Hero */
.hero-modern-visual { position: relative; height: 450px; }
.hero-float-card {
  position: absolute;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 1rem;
  animation: float 6s ease-in-out infinite;
}
[data-bs-theme=dark] .hero-float-card { box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.hero-float-1 { top: 5%; right: 5%; animation-delay: 0s; }
.hero-float-2 { top: 40%; left: 0%; animation-delay: 2s; }
.hero-float-3 { bottom: 5%; right: 15%; animation-delay: 4s; }

.hero-float-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
}
.hero-float-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
.hero-float-value { font-size: 1.6rem; font-weight: 800; color: var(--sc-ink); }

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

/* Hero Splash Section */
.hero-splash {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}
.hero-splash-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.08), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(14, 165, 233, 0.06), transparent 50%);
  z-index: -1;
}
[data-bs-theme=dark] .hero-splash-bg {
  background: radial-gradient(ellipse at top, rgba(79, 70, 229, 0.15), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(14, 165, 233, 0.12), transparent 50%);
}
.hero-splash-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}
.hero-splash-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sc-primary);
  margin-bottom: 2rem;
}
[data-bs-theme=dark] .hero-splash-label {
  background: rgba(129, 140, 248, 0.1);
  border-color: rgba(129, 140, 248, 0.2);
  color: #a5b4fc;
}
.hero-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sc-primary);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-splash-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--sc-ink);
}
.hero-splash-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 50%, #f43f5e 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 3s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-splash-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 2.5rem;
  font-weight: 500;
}
[data-bs-theme=dark] .hero-splash-subtitle { color: #94a3b8; }
.hero-splash-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.hero-btn:hover::before {
  left: 100%;
}
.hero-btn-primary {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}
.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
  color: #fff;
}
.hero-btn-secondary {
  background: var(--sc-surface);
  color: var(--sc-ink);
  border: 2px solid var(--sc-border);
}
.hero-btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--sc-primary);
  color: var(--sc-primary);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
}
.hero-btn i {
  transition: transform 0.3s;
}
.hero-btn:hover i {
  transform: translateX(4px);
}
.hero-metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
[data-bs-theme=dark] .hero-metrics {
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.hero-metric-item {
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
}
.hero-metric-value {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.hero-metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
[data-bs-theme=dark] .hero-metric-label { color: #94a3b8; }
.hero-metric-divider {
  width: 1px;
  height: 45px;
  background: linear-gradient(to bottom, transparent, var(--sc-border), transparent);
}

@media (max-width: 767.98px) {
  .hero-metrics {
    display: flex;
    gap: 0.65rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    max-width: 100%;
  }
  .hero-metric-item {
    flex: 1;
    padding: 1rem 0.5rem;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  }
  .hero-metric-value {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  .hero-metric-label {
    font-size: 0.6rem;
    line-height: 1.3;
  }
  .hero-metric-divider {
    display: none;
  }
}
.hero-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(60px);
  animation: float-random 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  bottom: -150px;
  left: -100px;
  animation-delay: 7s;
}
.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  top: 50%;
  right: -50px;
  animation-delay: 14s;
}
@keyframes float-random {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}
.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}
.animate-slide-up-delay {
  animation: slideUp 0.8s ease-out 0.2s both;
}
.animate-slide-up-delay-2 {
  animation: slideUp 0.8s ease-out 0.4s both;
}
.animate-fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.6s both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Why Choose Section */
.why-choose {
  background: var(--sc-bg);
}
.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(79, 70, 229, 0.08);
  color: var(--sc-primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
[data-bs-theme=dark] .section-badge {
  background: rgba(129, 140, 248, 0.12);
  color: #a5b4fc;
}
.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
}
.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-secondary));
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-box:hover::before {
  opacity: 1;
}
.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.2);
}
[data-bs-theme=dark] .feature-box:hover {
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.3);
}
.feature-icon-wrapper {
  margin-bottom: 1.5rem;
}
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.feature-box:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}
.feature-box-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--sc-ink);
}
.feature-box-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
[data-bs-theme=dark] .feature-box-text { color: #94a3b8; }

/* Home Networks */
.home-networks {
  background: var(--sc-surface);
}
.home-section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--sc-ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.home-section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}
[data-bs-theme=dark] .home-section-subtitle { color: #94a3b8; }

.home-network-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.home-network-card:hover {
  transform: translateY(-6px);
  border-color: var(--sc-primary);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.12);
}
[data-bs-theme=dark] .home-network-card:hover {
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.3);
}
.home-network-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--sc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.home-network-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.home-network-logo i {
  font-size: 2.5rem;
  color: var(--sc-primary);
}
.home-network-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--sc-ink);
}
.home-network-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sc-secondary);
  margin-top: auto;
}
.home-network-card:hover .home-network-action i {
  transform: translateX(4px);
  transition: transform 0.2s;
}

/* Home How It Works */
.home-how-it-works {
  background: var(--sc-bg);
}
.home-step-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  position: relative;
  transition: all 0.3s;
}
.home-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(79, 70, 229, 0.1);
}
.home-step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--sc-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
[data-bs-theme=dark] .home-step-icon {
  background: rgba(129, 140, 248, 0.12);
  color: #818cf8;
}
.home-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--sc-ink);
}
.home-step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
[data-bs-theme=dark] .home-step-desc { color: #94a3b8; }

/* Home FAQ */
.home-faq {
  background: var(--sc-surface);
}
.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.home-faq-item {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
}
.home-faq-item:hover {
  border-color: var(--sc-primary);
}
.home-faq-item[open] {
  border-color: var(--sc-primary);
  background: rgba(79, 70, 229, 0.02);
}
[data-bs-theme=dark] .home-faq-item[open] {
  background: rgba(79, 70, 229, 0.08);
}
.home-faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sc-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.home-faq-question::-webkit-details-marker {
  display: none;
}
.home-faq-question i {
  color: var(--sc-primary);
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.home-faq-item[open] .home-faq-question i {
  transform: rotate(180deg);
}
.home-faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sc-border);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748b;
}
[data-bs-theme=dark] .home-faq-answer { color: #94a3b8; }

/* Network Cards (Legacy) */
.network-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  background: var(--sc-surface);
  border-radius: 24px;
}
.network-card:hover {
  transform: translateY(-8px);
  border-color: var(--sc-primary);
  box-shadow: 0 25px 50px rgba(79, 70, 229, 0.15);
}
.network-thumb {
  height: 160px;
  background: var(--sc-bg);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--sc-border);
  padding: 1.5rem;
  border-top-left-radius: 22px; border-top-right-radius: 22px;
}
.network-thumb img {
  max-height: 100%; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
}
.network-thumb-fallback { font-size: 4rem; color: var(--sc-primary); }
.icon-pill {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(79, 70, 229, 0.1);
  color: var(--sc-primary);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  font-size: 1.2rem;
}
.network-card:hover .icon-pill {
  background: var(--sc-primary);
  color: #fff;
  transform: rotate(-45deg);
}

/* Auth Pages (Login/Register) */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.modern-auth-wrapper {
  width: 100%;
  display: flex; justify-content: center; align-items: center;
}
.modern-auth-card {
  width: 100%; max-width: 480px;
  background: var(--sc-surface);
  border-radius: 32px;
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  border: 1px solid var(--sc-border);
  position: relative;
  z-index: 10;
}
[data-bs-theme=dark] .modern-auth-card { box-shadow: 0 25px 60px rgba(0,0,0,0.6); }
.modern-auth-card-large { max-width: 640px; }
.modern-auth-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  color: #fff; font-size: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
}
.modern-auth-title { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.modern-auth-subtitle { text-align: center; color: #64748b; font-weight: 500; margin-bottom: 2.5rem; }
[data-bs-theme=dark] .modern-auth-subtitle { color: #94a3b8; }

.modern-form-group { margin-bottom: 1.25rem; }
.modern-input-wrapper { position: relative; }
.modern-input-icon {
  position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%);
  color: #64748b; font-size: 1.2rem;
}
.modern-input-wrapper.has-password-toggle .modern-input {
  padding-right: 3.2rem;
}
.modern-password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #64748b;
  padding: 0.35rem 0.5rem;
  border-radius: 12px;
  line-height: 1;
}
.modern-password-toggle:hover {
  color: var(--sc-primary);
  background: rgba(79, 70, 229, 0.08);
}
.modern-input {
  width: 100%;
  padding: 1rem 1.2rem 1rem 3.2rem;
  border-radius: 16px;
  border: 2px solid var(--sc-border);
  background: var(--sc-bg);
  color: var(--sc-ink);
  font-weight: 600;
  transition: all 0.2s;
  font-size: 1rem;
}
.modern-input:focus {
  outline: none;
  border-color: var(--sc-primary);
  background: var(--sc-surface);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.modern-form-hint { font-size: 0.8rem; color: #64748b; margin-top: 0.5rem; display: block; }
.modern-submit-btn {
  width: 100%; padding: 1.1rem;
  border-radius: 16px; border: none;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  color: #fff; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
  transition: all 0.2s;
  cursor: pointer;
  margin-top: 1rem;
}
.modern-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4);
}
.modern-auth-footer { text-align: center; margin-top: 2rem; color: #64748b; font-weight: 600; }
.modern-auth-link { color: var(--sc-primary); font-weight: 800; text-decoration: none; }
.modern-auth-link:hover { text-decoration: underline; }
.modern-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 575px) { .modern-form-row { grid-template-columns: 1fr; gap: 0; } }

.modern-auth-features {
  display: flex; justify-content: center; gap: 2rem;
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--sc-border);
}
.modern-feature-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.85rem; color: var(--sc-ink);
}
.modern-feature-item i { font-size: 1.5rem; color: var(--sc-secondary); }

/* Forms & Tables */
.form-control, .form-select {
  border-radius: 14px; border: 2px solid var(--sc-border);
  padding: 0.85rem 1.1rem;
  background: var(--sc-bg); color: var(--sc-ink); font-weight: 500;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sc-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  background: var(--sc-surface);
}
[data-bs-theme=dark] .form-control, [data-bs-theme=dark] .form-select {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #fff;
}
[data-bs-theme=dark] .form-control:focus, [data-bs-theme=dark] .form-select:focus {
  background: rgba(255,255,255,0.1); border-color: var(--sc-primary);
}

.table { color: var(--sc-ink); }
.table th { border-bottom: 2px solid var(--sc-border); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; color: #64748b; padding: 1rem; }
.table td { border-bottom: 1px solid var(--sc-border); padding: 1.2rem 1rem; vertical-align: middle; font-weight: 500; }
[data-bs-theme=dark] .table { color: var(--sc-ink); }
[data-bs-theme=dark] .table th { color: #94a3b8; border-color: var(--sc-border); }
[data-bs-theme=dark] .table td { border-color: var(--sc-border); }

/* Dashboard Cards and Stat Cards */
.modern-stat-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: var(--sc-shadow);
  transition: all 0.2s;
}
.modern-stat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--sc-primary); }
[data-bs-theme=dark] .modern-stat-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.modern-stat-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-secondary));
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}
.modern-stat-label { font-size: 0.85rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.modern-stat-value { font-size: 2.2rem; font-weight: 800; color: var(--sc-ink); line-height: 1; }
.modern-stat-action {
  font-weight: 700; font-size: 0.9rem; color: var(--sc-primary);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.5rem;
}
.modern-stat-action:hover { color: var(--sc-secondary); gap: 0.75rem; transition: gap 0.2s; }

/* Plan Card */
.plan-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card:hover {
  border-color: var(--sc-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12);
}
[data-bs-theme=dark] .plan-card:hover {
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.3);
}
.plan-card-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--sc-bg);
  border-bottom: 1px solid var(--sc-border);
}
.plan-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.plan-card-icon img,
.plan-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.plan-card-icon i {
  font-size: 2.5rem;
  color: var(--sc-primary);
}
.plan-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 0.35rem 0.85rem;
  background: rgba(79, 70, 229, 0.08);
  border-radius: 8px;
}
[data-bs-theme=dark] .plan-card-badge {
  background: rgba(129, 140, 248, 0.15);
  color: #94a3b8;
}
.plan-card-body {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.plan-card-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sc-ink);
  line-height: 1.3;
}
.plan-card-price {
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--sc-primary);
  line-height: 1;
}
.plan-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--sc-border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sc-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.03);
}
[data-bs-theme=dark] .plan-card-footer {
  background: rgba(14, 165, 233, 0.08);
}
.plan-card:hover .plan-card-footer {
  background: rgba(14, 165, 233, 0.1);
}
.plan-card:hover .plan-card-footer i {
  transform: translateX(4px);
  transition: transform 0.2s;
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
  .plan-card {
    border-radius: 16px;
  }
  .plan-card-header {
    padding: 1rem 1rem 0.75rem;
  }
  .plan-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }
  .plan-card-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }
  .plan-card-body {
    padding: 1rem 0.75rem;
  }
  .plan-card-name {
    font-size: 0.95rem;
  }
  .plan-card-price {
    font-size: 1.4rem;
  }
  .plan-card-footer {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  .wallet-balance-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
    gap: 1.25rem;
  }
  .wallet-balance-amount {
    font-size: 2.25rem;
  }
  .network-hero-title {
    font-size: 1.75rem;
  }
  .network-hero-subtitle {
    font-size: 0.85rem;
  }
}

/* Wallet Card */
.wallet-balance-card {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-accent-2));
  border-radius: 24px; padding: 2.5rem; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
  position: relative; overflow: hidden;
}
.wallet-balance-card::after {
  content: '\F615'; font-family: bootstrap-icons; position: absolute; right: -20px; bottom: -40px;
  font-size: 12rem; opacity: 0.1; transform: rotate(-15deg);
}
.wallet-balance-info { position: relative; z-index: 1; }
.wallet-balance-label { font-size: 0.95rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.wallet-balance-amount { font-size: 3rem; font-weight: 900; margin-top: 0.5rem; line-height: 1; text-shadow: 0 4px 10px rgba(0,0,0,0.2); word-break: break-word; }
.pricing-badge-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border); border-radius: 24px; padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  height: 100%; box-shadow: var(--sc-shadow);
}
.pricing-badge-icon {
  width: 64px; height: 64px; border-radius: 18px; background: rgba(14, 165, 233, 0.1); color: var(--sc-secondary);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem;
}
.pricing-badge-text { font-weight: 800; font-size: 1.1rem; color: var(--sc-ink); }

/* Utilities */
.badge-soft {
  background: rgba(79, 70, 229, 0.1);
  color: var(--sc-primary);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 800; font-size: 0.85rem;
}
[data-bs-theme=dark] .badge-soft { background: rgba(129, 140, 248, 0.2); color: #a5b4fc; }

.section-title { font-size: 1.8rem; font-weight: 800; color: var(--sc-ink); margin-bottom: 0.5rem; }
.section-subtitle { font-size: 1.1rem; color: #64748b; font-weight: 500; margin-bottom: 2rem; }

.flash-banner {
  border-radius: 16px; padding: 1.25rem 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  font-weight: 600; border: none; box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.flash-banner i { font-size: 1.5rem; margin-top: -2px; }
.flash-banner.alert-success { background: #ecfdf5; color: #047857; }
.flash-banner.alert-danger { background: #fef2f2; color: #b91c1c; }
.flash-banner.alert-warning { background: #fffbeb; color: #b45309; }
.flash-banner.alert-info { background: #eff6ff; color: #1d4ed8; }
[data-bs-theme=dark] .flash-banner.alert-success { background: rgba(16, 185, 129, 0.15); color: #34d399; }
[data-bs-theme=dark] .flash-banner.alert-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.whatsapp-support-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 64px; height: 64px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  transition: all 0.2s; z-index: 999; text-decoration: none;
}
.whatsapp-support-fab:hover { transform: scale(1.1) translateY(-5px); color: #fff; box-shadow: 0 20px 45px rgba(37, 211, 102, 0.5); }

/* Dashboard Responsive */
@media (max-width: 991.98px) {
  .dash-shell { flex-direction: column; }
  .dash-sidebar { display: none; }
  .dash-content { padding: 1.5rem 1rem; }
}

.step-pill {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(79, 70, 229, 0.1); color: var(--sc-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; flex: 0 0 auto;
}
[data-bs-theme=dark] .step-pill { background: rgba(129, 140, 248, 0.2); color: #a5b4fc; }

details.howto {
  background: var(--sc-surface); border: 1px solid var(--sc-border);
  border-radius: 16px; padding: 1.25rem 1.5rem; cursor: pointer; transition: all 0.2s;
}
details.howto:hover { border-color: var(--sc-primary); }
details.howto summary { font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.howto summary::-webkit-details-marker { display: none; }
details.howto summary::after { content: '\F282'; font-family: bootstrap-icons; color: var(--sc-primary); font-size: 1.2rem; }
details.howto[open] summary::after { content: '\F286'; }
details.howto .text-muted { margin-top: 1rem; font-size: 0.95rem; line-height: 1.6; }

.order-card, .wallet-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.2s;
}
.order-card:hover, .wallet-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.06); transform: translateY(-2px); border-color: var(--sc-secondary); }
.order-card-header, .wallet-card-header {
  padding: 1.25rem 1.5rem; background: rgba(15, 23, 42, 0.02);
  border-bottom: 1px solid var(--sc-border); display: flex; justify-content: space-between; align-items: center;
}
[data-bs-theme=dark] .order-card-header, [data-bs-theme=dark] .wallet-card-header { background: rgba(255,255,255,0.02); }
.order-card-body, .wallet-card-body { padding: 1.5rem; }
.order-card-footer, .wallet-card-footer {
  padding: 1.25rem 1.5rem; background: rgba(15, 23, 42, 0.02);
  border-top: 1px solid var(--sc-border); display: flex; justify-content: space-between; align-items: center;
}
.order-detail-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.order-detail-row:last-child { margin-bottom: 0; }
.order-detail-label { color: #64748b; font-weight: 600; font-size: 0.9rem; }
.order-detail-value { font-weight: 700; color: var(--sc-ink); }

.order-status { padding: 0.4rem 0.8rem; border-radius: 10px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.order-status-success { color: #047857; background: #d1fae5; border: 1px solid #10b981; }
.order-status-failed { color: #b91c1c; background: #fee2e2; border: 1px solid #ef4444; }
.order-status-pending { color: #b45309; background: #fef3c7; border: 1px solid #f59e0b; }
.order-status-processing { color: #1d4ed8; background: #dbeafe; border: 1px solid #3b82f6; }
[data-bs-theme=dark] .order-status-success { color: #34d399; background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }
[data-bs-theme=dark] .order-status-failed { color: #f87171; background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); }

.modern-link { color: var(--sc-primary); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; }
.modern-link:hover { text-decoration: underline; color: var(--sc-secondary); }

.admin-user-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 20px; padding: 1.5rem; margin-bottom: 1.25rem;
  transition: all 0.2s; display: flex; justify-content: space-between; align-items: flex-start;
}
.admin-user-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.06); border-color: var(--sc-secondary); }
.admin-user-avatar {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(14, 165, 233, 0.15));
  color: var(--sc-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem;
}

.modern-upgrade-banner {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(244, 63, 94, 0.08));
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 24px; padding: 2rem;
  display: flex; align-items: center; gap: 2rem;
}
[data-bs-theme=dark] .modern-upgrade-banner { background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(244, 63, 94, 0.15)); }
.modern-upgrade-icon {
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}
.modern-upgrade-title { font-weight: 800; font-size: 1.35rem; margin-bottom: 0.25rem; color: var(--sc-ink); }
.modern-upgrade-desc { color: #64748b; font-size: 1.05rem; margin: 0; font-weight: 500; }
[data-bs-theme=dark] .modern-upgrade-desc { color: #94a3b8; }

.network-logo, .network-logo-sm {
  border-radius: 16px; background: var(--sc-bg); border: 1px solid var(--sc-border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.network-logo { width: 64px; height: 64px; }
.network-logo-sm { width: 48px; height: 48px; }
.network-logo img, .network-logo-sm img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

.wallet-type-credit { color: #047857; background: #d1fae5; }
.wallet-type-debit { color: #b91c1c; background: #fee2e2; }
[data-bs-theme=dark] .wallet-type-credit { color: #34d399; background: rgba(16, 185, 129, 0.15); }
[data-bs-theme=dark] .wallet-type-debit { color: #f87171; background: rgba(239, 68, 68, 0.15); }
.wallet-amount-credit { color: #10b981; }
.wallet-amount-debit { color: #ef4444; }

.wallet-balance-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--sc-bg); border-radius: 16px; margin-top: 1rem; }
.wallet-balance-item { display: flex; flex-direction: column; }

.modern-network-card {
  background: var(--sc-surface); border: 1px solid var(--sc-border); border-radius: 20px;
  padding: 1.5rem; text-align: center; transition: all 0.2s; position: relative;
}
.modern-network-card:hover { transform: translateY(-5px); border-color: var(--sc-primary); box-shadow: 0 15px 35px rgba(79, 70, 229, 0.15); }
.modern-network-logo { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 16px; background: var(--sc-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modern-network-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.modern-network-name { font-weight: 800; font-size: 1.1rem; color: var(--sc-ink); }
.modern-network-arrow { position: absolute; top: 1rem; right: 1rem; color: var(--sc-primary); opacity: 0; transform: translateX(-10px); transition: all 0.2s; font-size: 1.2rem; }
.modern-network-card:hover .modern-network-arrow { opacity: 1; transform: translateX(0); }

.kpi { font-size: 2.5rem; font-weight: 900; line-height: 1; color: var(--sc-ink); }
.dashboard-welcome-title { font-size: 2rem; font-weight: 800; color: var(--sc-ink); margin-bottom: 0.25rem; }
.dashboard-welcome-subtitle { color: #64748b; font-size: 1.1rem; font-weight: 500; }

/* Modal Fixes */
.modal-backdrop {
  z-index: 1050 !important;
}
.modal {
  z-index: 1055 !important;
}
.modal-content {
  border-radius: 24px;
  border: 1px solid var(--sc-border);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  background: var(--sc-surface);
}
[data-bs-theme=dark] .modal-content {
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}
.modal-header {
  border-bottom: 1px solid var(--sc-border);
  padding: 1.5rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.modal-body {
  padding: 1.5rem;
}
.modal-footer {
  border-top: 1px solid var(--sc-border);
  padding: 1.25rem 1.5rem;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

/* Purchase Success Modal */
.success-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
}

/* Network Hero */
.network-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sc-ink);
  margin-bottom: 0.5rem;
}
.network-hero-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sc-secondary);
  margin-bottom: 0.5rem;
}

