:root {
  --bg: #091325;
  --bg-soft: #0e1d38;
  --surface: #112344;
  --surface-2: #182f57;
  --text: #f8fafc;
  --muted: #94a3b8;
  --text-secondary: #cbd5e1;
  --text-emphasized: #ffffff;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --accent-3: #fbbf24;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --success: #34d399;
  --warning: #fbbf24;
  --error: #f87171;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: 100%; padding-left: 0.75rem; padding-right: 0.75rem; margin: 0 auto; box-sizing: border-box; }
header {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(18px);
  background: rgba(9, 19, 37, 0.94);
  border-bottom: 1px solid var(--border);
}
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; gap: 1rem; position: relative; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.brand .brand-mark { color: var(--accent); }
.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(91, 184, 232, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  background: #0B243A;
  padding: 3px;
  border: 1px solid var(--border);
}
.brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(1deg);
  box-shadow: 0 6px 24px rgba(91, 184, 232, 0.35);
  filter: brightness(1.05);
}
.nav-links { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.nav-links a, .nav-links button { color: var(--text-secondary); transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.lang-switcher {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: auto;
  flex-wrap: wrap;
}
.lang-pill {
  border: 1px solid var(--border);
  background: #102D45;
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-pill:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
}
.lang-pill.active { background: var(--bg-soft); color: var(--accent); border-color: var(--accent); }

.header-lang-select, .floating-lang-select {
  background: #102D45;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.header-lang-select:hover, .floating-lang-select:hover,
.header-lang-select:focus, .floating-lang-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(91, 184, 232, 0.25);
}
.header-lang-select option, .floating-lang-select option {
  background: #0B243A;
  color: var(--text);
  padding: 0.4rem;
}

/* Floating 24/7 Customer Care Contact Button */
.floating-customer-care-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
}
.customer-care-float-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  color: #FFFFFF;
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(184, 155, 98, 0.3);
  transition: all 0.25s ease;
}
.customer-care-float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(184, 155, 98, 0.45);
  background: linear-gradient(135deg, var(--accent-3) 0%, var(--accent) 100%);
}

/* Clickable Admin Overview Cards */
.clickable-overview-card {
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border: 1px solid var(--border);
  background: #FFFFFF;
}
.clickable-overview-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.08);
  background: var(--bg-soft);
}
.click-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.clickable-overview-card:hover .click-hint {
  color: var(--success);
}
.back-to-overview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--accent-3);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.back-to-overview-btn:hover {
  background: var(--bg-soft);
  border-color: var(--accent);
  color: var(--text);
  transform: translateX(-2px);
}
.care-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.care-online-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  background-color: var(--success);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(63, 118, 88, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(63, 118, 88, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(63, 118, 88, 0); }
}

/* Customer Care Modal */
.customer-care-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(16, 24, 32, 0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.customer-care-modal-content {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  color: var(--text);
  box-shadow: 0 25px 50px rgba(16, 24, 32, 0.15);
}

/* Google Translate Override & Clean Reset */
.goog-te-banner-frame, 
.goog-te-banner, 
.skiptranslate iframe,
#goog-gt-tt, 
.goog-te-balloon-frame,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
}
body {
  top: 0px !important;
  position: static !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}
.mobile-nav-toggle { display: none; flex-direction: column; gap: 0.24rem; padding: 0.55rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.mobile-nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 999px; }
.btn, button { border: none; cursor: pointer; font-weight: 700; border-radius: 999px; padding: 0.8rem 1.15rem; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn:hover, button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #FFFFFF; box-shadow: 0 12px 28px rgba(91, 184, 232, 0.25); }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(91, 184, 232, 0.35); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--accent); }
button:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

/* Hero Animations & Visual Polish */
.hero {
  position: relative;
  padding: 4.5rem 0 2.2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(184, 155, 98, 0.12) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  animation: heroPulseGlow 8s ease-in-out infinite alternate;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.6rem;
  align-items: center;
}

.hero-copy {
  animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-soft);
  color: var(--accent-3);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(16, 24, 32, 0.04);
  animation: badgeFloat 3.5s ease-in-out infinite alternate;
}

.lead { color: var(--muted); font-size: 1.05rem; max-width: 700px; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 1.4rem 0 1.6rem; }
.hero-card, .surface-card, .card, .panel, .plan-card, .feature-card, .testimonial-card, .director-card, .market-panel, .form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-card ul { padding-left: 1rem; color: var(--muted); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
  animation: heroSlideUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}

.stat {
  padding: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.stat:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--surface-2);
}

.stat .value { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.25rem; }

/* Keyframe Animations */
@keyframes heroSlideUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPulseGlow {
  0% {
    transform: scale(0.92) translate(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.1) translate(25px, 18px);
    opacity: 0.9;
  }
}

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

/* Scroll Reveal Animations (Intersection Observer) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.section { padding: 2rem 0 3rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.section-title { font-size: 1.5rem; margin: 0; }
.section-subtitle { color: var(--muted); margin-top: 0.4rem; }
.surface-card { padding: 1.35rem; }
.surface-card h3 { margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.feature-card { padding: 1.2rem; }
.feature-card h3 { margin-top: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.plan-card { padding: 1.25rem; background: linear-gradient(145deg, rgba(12, 24, 47, 0.98), rgba(8, 16, 32, 0.98)); }
.plan-card .plan-price { font-size: 1.5rem; font-weight: 800; color: var(--accent); margin: 0.45rem 0; }
.plan-card ul { padding-left: 1rem; color: var(--muted); }
.preview-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1rem; align-items: center; }
.video-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.video-card { border-radius: 24px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.video-card video, .video-card iframe { width: 100%; display: block; aspect-ratio: 16 / 9; border: 0; background: #000; }
.director-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.director-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(8, 16, 32, 0.95));
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.director-card:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.6), 0 0 28px rgba(16, 185, 129, 0.25);
}
.director-card-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
  background: #020b08;
  border-bottom: 1px solid var(--border);
}
.exec-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  background: rgba(10, 26, 47, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.director-overlay-actions {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 47, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}
.director-card:hover .director-overlay-actions {
  opacity: 1;
}
.btn-exec-view {
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.director-card:hover .btn-exec-view {
  transform: translateY(0);
}
.btn-exec-view:hover {
  background: #059669;
  transform: scale(1.05);
}
.director-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.director-card:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}
.director-card .director-body {
  padding: 1.25rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}
.director-card .title {
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.director-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}
.exec-specialty {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 0.8rem;
}
.exec-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.exec-exp-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.exec-bio-btn {
  background: transparent;
  border: none;
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.exec-bio-btn:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Executive Bio Modal Styles */
.exec-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 24, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.exec-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.exec-modal-card {
  background: linear-gradient(145deg, #0f172a, #0b1329);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 680px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.25);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}
.exec-modal-overlay.open .exec-modal-card {
  transform: scale(1) translateY(0);
}
.exec-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.exec-modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
}
.exec-modal-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 600px) {
  .exec-modal-grid {
    grid-template-columns: 1fr;
  }
}
.exec-modal-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.exec-modal-header h3 {
  font-size: 1.6rem;
  margin: 0 0 0.2rem;
  font-weight: 800;
}
.exec-modal-header .role {
  color: #34d399;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.exec-modal-body {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #cbd5e1;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.testimonial-card { padding: 1.2rem; }
.testimonial-card p { color: var(--muted); }
.market-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1rem; margin-top: 1.2rem; }
.market-panel { padding: 1.2rem; }
.ticker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; margin: 1rem 0; }
.ticker-card { padding: 0.9rem; background: rgba(255,255,255,0.05); border-radius: 16px; }
.chart-bars { display: flex; align-items: flex-end; gap: 0.6rem; height: 190px; margin-top: 1rem; }
.chart-bars div { flex: 1; background: linear-gradient(180deg, var(--accent), #3a6dff); border-radius: 999px 999px 6px 6px; min-height: 24px; }
.muted { color: var(--muted); }
/* Custom Updated Footer (bitfurytechlimited.com) */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  color: #94a3b8;
  margin-top: 3.5rem;
  background: var(--surface-2, #0b1329);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.2rem 0;
  letter-spacing: -0.01em;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-top: 0.8rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.contact-item svg {
  flex-shrink: 0;
  color: #38bdf8;
  margin-top: 2px;
}

.contact-item a:hover {
  color: #38bdf8;
}

/* Newsletter Section */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.newsletter-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-btn:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* SSL Encryption Banner */
.footer-ssl-banner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 2rem 0;
}

.ssl-badge-wrap {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #1d7122 0%, #2ba831 45%, #238b28 100%);
  border-radius: 12px;
  padding: 0.2rem 1.4rem 0.2rem 0.2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 15px rgba(34, 197, 94, 0.3);
  border: 1px solid rgba(74, 222, 128, 0.5);
  overflow: hidden;
}

.ssl-shield-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 52px;
  background: linear-gradient(135deg, #22c55e, #15803d);
  clip-path: polygon(50% 0%, 100% 18%, 100% 68%, 50% 100%, 0% 68%, 0% 18%);
  margin-right: 1.1rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.ssl-shield-inner-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssl-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.ssl-title-large {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ssl-subtitle-large {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-transform: uppercase;
  margin-top: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Financial Commission Block */
.footer-commission-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.commission-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

.financial-commission-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  display: block;
}

.commission-circle-logo {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.commission-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.01em;
}

.commission-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #f1f5f9;
  font-weight: 600;
  margin: 0;
}

/* SEC Regulatory Disclosure Block */
.footer-sec-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.6rem;
  margin-bottom: 2rem;
}

.sec-logo-header {
  height: 52px;
  width: auto;
  max-width: 260px;
  margin-bottom: 1.2rem;
  display: block;
}

.sec-writeup-text {
  font-size: 0.94rem;
  line-height: 1.72;
  color: #e2e8f0;
  font-weight: 600;
  margin: 0;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-domain-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  background: rgba(56, 189, 248, 0.05);
}

.footer-domain-pill:hover {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
  transform: translateY(-1px);
}
.form-card { max-width: 560px; margin: 3rem auto; padding: 1.5rem; }
.form-card h1 { font-size: 1.9rem; margin: 0.4rem 0 0.6rem; }

/* Plan Card Head & Alert Bell Styles */
.plan-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-card-actions .btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.plan-bell-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 25;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 24, 47, 0.88);
  backdrop-filter: blur(10px);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.plan-bell-btn:hover {
  border-color: #34d399;
  color: #ffffff;
  transform: scale(1.1);
}

.plan-bell-btn.active {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #34d399;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.65);
  animation: bellRing 0.45s ease-in-out;
}

@keyframes bellRing {
  0% { transform: rotate(0); }
  20% { transform: rotate(18deg); }
  40% { transform: rotate(-18deg); }
  60% { transform: rotate(12deg); }
  80% { transform: rotate(-6deg); }
  100% { transform: rotate(0); }
}

.plan-bell-btn .bell-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.plan-bell-btn.active .bell-pulse {
  opacity: 1;
  box-shadow: 0 0 8px #34d399;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.plan-bell-btn .bell-tooltip {
  position: absolute;
  bottom: -30px;
  right: 0;
  background: rgba(8, 16, 32, 0.95);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.plan-bell-btn:hover .bell-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Plan Head Panel */
.plan-head-panel {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem 0.8rem 0.85rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover .plan-head-panel {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.plan-head-canvas {
  width: 100%;
  display: flex;
  justify-content: center;
}

.plan-head-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 12px;
}

.plan-head-footer {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.plan-head-title {
  font-family: serif, 'Playfair Display', Georgia, Times, serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #15803d;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.plan-head-btn {
  display: inline-block;
  padding: 0.5rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid #d8b4fe;
  background: #ffffff;
  color: #4c1d95;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.12);
}

.plan-head-btn:hover {
  background: #f3e8ff;
  border-color: #c084fc;
  color: #3b0764;
  transform: translateY(-1px) scale(1.03);
}

/* SVG Animations */
.anim-coin-1 { animation: floatCoin 3s ease-in-out infinite alternate; }
.anim-coin-2 { animation: floatCoin 3.5s ease-in-out 0.5s infinite alternate; }
.anim-coin-3 { animation: floatCoin 2.8s ease-in-out 1s infinite alternate; }

@keyframes floatCoin {
  0% { transform: translateY(0) rotate(-4deg); }
  100% { transform: translateY(-8px) rotate(6deg); }
}

.anim-figure { animation: bobFigure 4s ease-in-out infinite alternate; }
@keyframes bobFigure {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.stock-bar { transform-origin: bottom; animation: growBar 2.5s ease-in-out infinite alternate; }
.bar-1 { animation-delay: 0s; }
.bar-2 { animation-delay: 0.4s; }
.bar-3 { animation-delay: 0.8s; }
.bar-4 { animation-delay: 0.2s; }

@keyframes growBar {
  0% { transform: scaleY(0.92); }
  100% { transform: scaleY(1.08); }
}

.stock-trend-line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawLine 3s ease-out forwards, shimmerLine 2s infinite alternate 3s; }
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.trend-pulse { animation: pulseDot 1.5s ease-in-out infinite alternate; }
@keyframes pulseDot {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 1; }
}

.anim-gear { transform-origin: center; animation: spinGear 12s linear infinite; }
@keyframes spinGear {
  from { transform: translate(35px, 35px) rotate(0deg); }
  to { transform: translate(35px, 35px) rotate(360deg); }
}

.anim-clouds { animation: slideClouds 18s linear infinite; }
@keyframes slideClouds {
  0% { transform: translateX(-15px); }
  50% { transform: translateX(15px); }
  100% { transform: translateX(-15px); }
}

.window-glow { animation: windowTwinkle 3s ease-in-out infinite alternate; }
@keyframes windowTwinkle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.35; }
}

.anim-bike { animation: bikeMove 8s ease-in-out infinite alternate; }
@keyframes bikeMove {
  0% { transform: translate(18px, 138px); }
  100% { transform: translate(35px, 138px); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(12, 24, 47, 0.96);
  border: 1px solid #34d399;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(52, 211, 153, 0.25);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 380px;
}

.toast.toast-removed {
  animation: toastOut 0.3s ease-in forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(10px) scale(0.92); }
}
label { display: block; margin-bottom: 0.45rem; color: var(--muted); }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 0.8rem 0.95rem; margin-bottom: 1rem; background: rgba(255,255,255,0.04); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(91, 215, 255, 0.28); border-color: var(--accent); }
.inline-row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.dashboard-shell { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; padding: 1.25rem 1rem 4rem; width: 100%; max-width: 1680px; margin: 0 auto; box-sizing: border-box; }
.sidebar { padding: 1.15rem; }
.sidebar .nav-stack { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1rem; }
.sidebar .nav-stack a { color: var(--muted); padding: 0.7rem 0.8rem; border-radius: 12px; }
.sidebar .nav-stack a.active, .sidebar .nav-stack a:hover { background: rgba(91, 215, 255, 0.14); color: var(--text); }
.dashboard-grid { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; flex: 1; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.metric-card { padding: 1rem; }
.metric-card strong { display: block; font-size: 1.35rem; margin-top: 0.2rem; }
.payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.payment-card { padding: 1rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 18px; }
.payment-card h4 { margin: 0 0 0.4rem; }
.payment-list { padding-left: 1rem; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; }
.table th, .table td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border); }
.badge { display: inline-block; padding: 0.36rem 0.62rem; border-radius: 999px; font-size: 0.8rem; background: rgba(255, 201, 92, 0.14); color: var(--accent-2); }
@media (max-width: 940px) {
  .hero-grid, .preview-grid, .video-grid, .market-layout, .footer-grid, .dashboard-shell { grid-template-columns: 1fr; }
  .card-grid, .plan-grid, .feature-grid, .testimonial-grid, .metric-row, .payment-grid, .ticker-grid { grid-template-columns: 1fr 1fr; }
  .director-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  .dash-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 15, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.8rem 1.1rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  }

  .sidebar {
    display: none;
    margin-bottom: 1rem;
  }

  .sidebar.open {
    display: block;
    animation: slideDownDashMenu 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .dash-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 8, 22, 0.7);
    backdrop-filter: blur(4px);
    z-index: 80;
  }

  .dash-sidebar-overlay.active {
    display: block;
  }
}

@keyframes slideDownDashMenu {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .navbar { flex-wrap: wrap; padding: 0.6rem 0; }
  .lang-switcher { margin-left: 0; order: 2; width: auto; }
  .mobile-nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1rem;
    background: rgba(6, 14, 30, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-top: 0.55rem;
    gap: 0.35rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75);
    max-height: calc(85vh - 60px);
    overflow-y: auto;
    z-index: 995;
  }
  .nav-links.open { display: flex; }
  .nav-links a,
  .nav-links button {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 10px;
    margin: 0;
    line-height: 1.35;
  }
  .nav-links .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    margin-top: 0.2rem;
  }
  .nav-links .theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    margin-top: 0.2rem;
  }
  .floating-customer-care-widget {
    bottom: 16px;
    right: 16px;
  }
  .customer-care-float-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }
}
@media (max-width: 640px) {
  .card-grid, .plan-grid, .feature-grid, .testimonial-grid, .metric-row, .payment-grid, .ticker-grid, .stats-grid { grid-template-columns: 1fr; }
  .navbar { flex-direction: row; align-items: center; }
  .hero { padding-top: 3rem; }
  .container { width: min(100% - 1.2rem, 1180px); }
  .form-card { margin: 2rem auto; }
}

/* Bitfury Tech Dashboard Green Stat Cards & Tabs */
.stat-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.stat-box.green-stat {
  flex: 1 1 240px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 78, 59, 0.28));
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-box.green-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.5);
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-details .stat-title {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: block;
}

.stat-details h3 {
  margin: 0.2rem 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

/* Dashboard Mobile Top Menu Toggle Bar */
.dash-mobile-bar {
  display: none;
}

.dash-menu-toggle-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(14, 24, 48, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  outline: none;
}

.dash-menu-toggle-btn:hover {
  background: rgba(22, 38, 76, 0.98);
  border-color: rgba(52, 211, 153, 0.5);
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 18px rgba(52, 211, 153, 0.25);
}

.dash-menu-toggle-btn:active, .dash-menu-toggle-btn.is-active {
  border-color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

/* Dashboard Sidebar Navigation Buttons (Matching Design from Screenshot 2) */
.sidebar {
  padding: 1.25rem;
  background: rgba(8, 15, 34, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.dash-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.45rem;
}

.dash-nav-btn .dash-icon {
  color: var(--muted);
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.dash-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateX(3px);
}

.dash-nav-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 78, 59, 0.38) 100%);
  border: 1.5px solid rgba(52, 211, 153, 0.55);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.22);
}

.dash-nav-btn.active .dash-icon {
  color: #34d399;
}

/* Tab Switching Content */
.tab-content {
  display: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  animation: fadeInTab 0.3s ease-in-out forwards;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

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

.panel-header-block {
  margin-bottom: 1.5rem;
}

.panel-header-block h2 {
  margin: 0.2rem 0 0.4rem;
}

/* Dashboard Investment Plans Grid */
.dash-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.dash-plan-card {
  background: linear-gradient(145deg, rgba(12, 24, 47, 0.98), rgba(6, 16, 32, 0.98));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.dash-plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.dash-plan-card.featured-card {
  border-color: rgba(52, 211, 153, 0.5);
  background: linear-gradient(145deg, rgba(10, 36, 42, 0.98), rgba(5, 20, 30, 0.98));
}

.dash-plan-badge {
  position: relative;
  top: auto;
  right: auto;
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(91, 215, 255, 0.16);
  color: var(--accent);
}

.dash-plan-badge.badge-prime { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.dash-plan-badge.badge-exec { background: rgba(255, 201, 92, 0.2); color: #ffc95c; }
.dash-plan-badge.badge-premium { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

.plan-cat {
  display: block;
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.25rem;
  word-break: break-word;
  line-height: 1.35;
}

.dash-plan-header h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.35rem;
}

.plan-return-rate {
  font-size: 2rem;
  font-weight: 900;
  color: #34d399;
  line-height: 1.1;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-return-rate span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0;
}

.plan-sub-rate {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.dash-plan-features {
  margin: 1.2rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.dash-plan-features .feature-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.dash-plan-features .feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dash-plan-features .feature-item span {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dash-plan-features .feature-item strong {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  word-break: break-word;
  text-align: right;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.green-text {
  color: #34d399 !important;
}

/* Profit Calculator Layout */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

@media (max-width: 780px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

.calc-inputs-card, .calc-results-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.3rem;
}

.calc-results-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08), rgba(6, 30, 40, 0.4));
  border-color: rgba(52, 211, 153, 0.25);
}

.calc-metric-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.calc-value {
  font-size: 1.6rem;
  font-weight: 800;
}

/* Deposit & Withdraw Styled Forms */
.deposit-form-styled {
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.wallet-copy-box {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
  font-size: 0.85rem;
  word-break: break-all;
}

/* Referral Copy Box */
.referral-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: 16px;
  margin-top: 1rem;
}

.referral-input-group {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.referral-input-group input {
  margin-bottom: 0;
}

/* Modal Overlay & Invest Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 18, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.25s ease-out forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: linear-gradient(145deg, rgba(12, 24, 47, 0.98), rgba(6, 16, 32, 0.98));
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 22px;
  padding: 1.8rem;
  width: min(520px, 100%);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

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

.modal-header h2 {
  margin: 0.2rem 0;
}

.modal-presets-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.55rem;
  width: 100%;
}

.btn-preset {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.15rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-preset:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-preset[data-preset="maxbal"] {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-weight: 800;
}

.btn-preset[data-preset="maxbal"]:hover {
  background: rgba(56, 189, 248, 0.28);
  border-color: #38bdf8;
  color: #ffffff;
}

#confirm-invest-btn {
  background: linear-gradient(90deg, #38bdf8 0%, #facc15 100%) !important;
  color: #09131e !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35) !important;
  transition: all 0.2s ease !important;
}

#confirm-invest-btn:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5) !important;
}

#cancel-invest-modal {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #cbd5e1 !important;
  font-weight: 700 !important;
}

#cancel-invest-modal:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .modal-presets-row {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0.25rem !important;
  }
  .btn-preset {
    font-size: 0.72rem !important;
    padding: 0.4rem 0.08rem !important;
    border-radius: 6px !important;
  }
}

.invest-agreement-clause {
  transition: all 0.2s ease;
}

.invest-agreement-clause:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(2, 132, 199, 0.12);
}

.modal-calc-preview {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 14px;
  padding: 0.9rem;
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.preview-row {
  display: flex;
  justify-content: space-between;
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
}

.modal-actions .btn {
  flex: 1;
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* Account Accordion Menu Styles (matching design screenshot 2) */
.account-accordion {
  margin-top: 0.6rem;
  width: 100%;
}

.account-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #040d1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px 8px 0 0;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.account-accordion-header:hover {
  background: #09192e;
}

.account-accordion-header .acc-chevron {
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.account-accordion-header.collapsed .acc-chevron {
  transform: rotate(180deg);
}

.account-accordion-menu {
  background: #22c55e; /* Vibrant Royal Investment Green from screenshot 2 */
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 500px;
  opacity: 1;
}

.account-accordion-menu.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border: none;
}

.acc-menu-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1.2rem;
  background: transparent;
  border: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, padding-left 0.2s ease;
  display: block;
}

.acc-menu-btn:last-child {
  border-bottom: none;
}

.acc-menu-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  padding-left: 1.4rem;
}

.acc-menu-btn.active {
  background: rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.acc-menu-btn.logout-item {
  color: #ffffff;
}

.acc-menu-btn.logout-item:hover {
  background: rgba(220, 38, 38, 0.3);
}

/* Home Page Carousels & Mobile Compact Styling */
.carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 1.2rem;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(8, 16, 32, 0.5);
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  touch-action: pan-y;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  opacity: 0.35;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.16);
  color: #34d399;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.quote-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: -0.3rem;
  opacity: 0.85;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #10b981);
  color: #03121c;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.1rem;
}

.carousel-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.carousel-nav-btn:hover {
  background: rgba(91, 215, 255, 0.22);
  border-color: var(--accent);
  color: #ffffff;
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 26px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(91, 215, 255, 0.6);
}

/* Payment Partners Section (Animated Slides Carousel) */
.payment-partners-section {
  margin-top: 3.5rem;
  padding-top: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.payment-partners-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.8rem;
}

.partners-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2.8rem;
}

.partners-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0.8rem 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.partners-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: partnersMarquee 22s linear infinite;
  will-change: transform;
}

.partners-slider-wrapper:hover .partners-marquee-track {
  animation-play-state: paused;
}

@keyframes partnersMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.partners-nav-btn:hover {
  background: #10b981;
  color: #000000;
  border-color: #10b981;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.7);
}

.partners-nav-btn.prev {
  left: 0;
}

.partners-nav-btn.next {
  right: 0;
}

.partner-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 0.8rem 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 64px;
  min-width: 210px;
  flex-shrink: 0;
  user-select: none;
}

.partner-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5);
}

.partner-card svg {
  flex-shrink: 0;
}

.partner-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.partner-name.bitcoin {
  font-family: system-ui, -apple-system, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.4rem;
  color: #0f172a;
}

.partner-name.bitcoincash {
  color: #0ac18e;
  font-weight: 800;
  font-size: 1.35rem;
}

.partner-name.dogecoin {
  font-family: 'Trebuchet MS', sans-serif;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: #1e293b;
  font-size: 1.3rem;
}

.partner-name.ethereum {
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #1e293b;
  font-size: 1.25rem;
}

.partner-name.litecoin {
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #1e293b;
  font-size: 1.25rem;
}

.partner-card.ssl-card {
  background: #ffffff;
  border: 2px solid #eab308;
}

.ssl-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ssl-lock {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssl-text {
  text-align: left;
  line-height: 1.15;
}

.ssl-sub {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0f172a;
}

.ssl-main {
  font-size: 1.1rem;
  color: #0f172a;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
}

.ssl-main .plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #eab308;
  color: #000;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.ssl-bold {
  font-weight: 900;
  color: #0f172a;
}

/* Mobile Image & Space Optimization */
@media (max-width: 992px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .sidebar {
    position: static;
  }
  .sidebar .nav-stack {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sidebar .nav-stack::-webkit-scrollbar {
    display: none;
  }
  .sidebar .dash-nav-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 21, 45, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 1000;
  }
  .nav-links.open {
    display: flex;
    animation: mobileNavFadeIn 0.25s ease forwards;
  }
  .nav-links a, .nav-links button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .stat-card-row {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .stat-box {
    padding: 0.95rem 1.1rem !important;
  }
  .stat-title {
    font-size: 0.76rem !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  .stat-box h3 {
    font-size: 1.3rem !important;
  }

  .exec-modal-card, .modal-card {
    width: 94% !important;
    max-height: 90vh !important;
    padding: 1.25rem !important;
    margin: auto !important;
    border-radius: 20px !important;
  }

  /* Universal Table Responsive Touch Scroll */
  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  input, select, textarea, button, .btn {
    font-size: 16px !important; /* Prevents iOS safari zoom on focus */
  }
}

@media (max-width: 640px) {
  .partners-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .director-grid {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }
  .director-card-img-wrap {
    height: 160px;
  }
  .director-card .director-body {
    padding: 0.65rem 0.75rem;
  }
  .director-card h3 {
    font-size: 0.95rem;
    margin: 0;
  }
  .director-card .title {
    font-size: 0.68rem;
    margin-bottom: 0.2rem;
  }
  .carousel-wrapper {
    padding: 0.85rem;
    border-radius: 16px;
  }
  .carousel-slide {
    padding: 0.85rem;
    border-radius: 14px;
  }
  .surface-card, .hero-card, .panel {
    padding: 1rem;
    border-radius: 16px;
  }
  .hero-copy h1 {
    font-size: 2rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes mobileNavFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   EXCLUSIVE INVESTOR DASHBOARD COLOR THEME & ELEVATED UI STYLING
   ========================================================================== */
[data-dashboard] {
  --dash-card-bg: rgba(13, 27, 42, 0.92);
  --dash-border: rgba(16, 185, 129, 0.25);
  --dash-mint: #34d399;
  --dash-emerald: #10b981;
  --dash-accent-blue: #38bdf8;
  --dash-gold: #facc15;
}

body:has([data-dashboard]), body.dashboard-page {
  background-color: #030814;
  background-image: 
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(10, 26, 47, 0.8) 0px, transparent 100%);
  background-attachment: fixed;
}

/* ==========================================================================
   POLISHED INVESTOR DASHBOARD ARCHITECTURE & FINTECH UI SYSTEM
   ========================================================================== */

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  padding: 1.5rem 1.25rem 5rem;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Dashboard Sidebar Styling */
.dashboard-shell .sidebar {
  background: var(--dash-card-bg, #0B1E34);
  border: 1px solid var(--dash-border, rgba(91, 184, 232, 0.18));
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 1.25rem;
  height: fit-content;
  position: sticky;
  top: 85px;
}

.dashboard-shell .sidebar .eyebrow {
  color: var(--dash-mint, #34d399);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
}

.dashboard-shell .nav-section-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-top: 1rem;
  margin-bottom: 0.45rem;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dashboard-shell .dash-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.72rem 0.95rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  margin-bottom: 0.35rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.dashboard-shell .dash-nav-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
  color: #ffffff;
  transform: translateX(3px);
}

.dashboard-shell .dash-nav-btn.active {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-left: 3.5px solid var(--dash-mint, #34d399);
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--dash-mint, #34d399);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.12);
}

.dashboard-shell .dash-nav-btn .dash-icon {
  stroke: currentColor;
  flex-shrink: 0;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.dashboard-shell .dash-nav-btn.active .dash-icon {
  stroke: var(--dash-mint, #34d399);
}

/* User Greeting Top Header Bar */
.user-greeting-header-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1.25rem !important;
  padding: 0.35rem 0.2rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 0.65rem !important;
  flex-wrap: nowrap !important;
}

.user-info-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.user-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
  flex-shrink: 0;
}

.user-greeting-text {
  min-width: 0;
  flex: 1 1 auto;
}

.user-greeting-text h2 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  line-height: 1.2;
}

.user-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.user-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.header-action-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.header-icon-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.header-icon-btn svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  stroke: currentColor !important;
  fill: none !important;
  flex-shrink: 0 !important;
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Polished Available Balance Card */
.available-balance-card {
  background: linear-gradient(135deg, rgba(14, 32, 60, 0.95) 0%, rgba(8, 18, 36, 0.98) 100%);
  border: 1px solid rgba(91, 184, 232, 0.25);
  border-radius: 20px;
  padding: 1.65rem 1.85rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.available-balance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #0284c7, #8b5cf6);
}

.balance-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.balance-label-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.verified-shield-icon {
  color: #34d399;
  display: flex;
  align-items: center;
}

.balance-title {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.balance-card-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.balance-amount-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  cursor: pointer;
}

.balance-amount {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.03em;
  font-family: var(--font-mono, monospace);
  line-height: 1;
}

.balance-card-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-add-money-purple {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-add-money-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.55);
}

.balance-card-sub-row {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.balance-card-sub-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
}

/* Polished Stat Cards Row */
.dashboard-shell .stat-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.35rem;
  width: 100%;
  box-sizing: border-box;
}

.dashboard-shell .stat-box.green-stat {
  background: linear-gradient(135deg, rgba(14, 28, 54, 0.95) 0%, rgba(8, 16, 32, 0.98) 100%);
  border: 1px solid rgba(91, 184, 232, 0.2);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  min-width: 0;
}

.dashboard-shell .stat-box.green-stat:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.dashboard-shell .stat-box .stat-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-shell .stat-box:nth-child(2) .stat-icon-wrapper {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.dashboard-shell .stat-box:nth-child(3) .stat-icon-wrapper {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.dashboard-shell .stat-box .stat-details {
  flex: 1;
  min-width: 0;
}

.dashboard-shell .stat-box .stat-title {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
  display: block;
}

.dashboard-shell .stat-box h3 {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-mono, monospace);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .dashboard-shell .stat-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dashboard-shell .stat-card-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* Polished Dashboard Panels */
.dashboard-shell .panel {
  background: var(--dash-card-bg, #0B1E34);
  border: 1px solid var(--dash-border, rgba(91, 184, 232, 0.18));
  border-radius: 20px;
  padding: 1.65rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.35rem;
}

.dashboard-shell .table th {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 1rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-shell .table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: #e2e8f0;
}

.dashboard-shell .table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

/* User Greeting Header Bar (Matching screenshot top header) */
.user-greeting-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.2rem;
  width: 100%;
  box-sizing: border-box;
}

.user-info-cluster {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
  flex-shrink: 0;
}

.header-action-cluster {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-icon-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.notification-badge-pill {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  border: 2px solid #0f172a;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(239, 68, 68, 0.5);
}

/* Available Balance Main Container Card (Expanded High-Impact Full-Width Sizing) */
.available-balance-card {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.35) 0%, rgba(11, 19, 38, 0.96) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 24px;
  padding: 1.6rem 1.75rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  box-sizing: border-box;
}

.balance-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.balance-label-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.verified-shield-icon {
  color: #34d399;
  display: flex;
  align-items: center;
}

.balance-title {
  font-size: 1.05rem;
  color: #e2e8f0;
  font-weight: 700;
}

.eye-toggle-btn {
  background: none;
  border: none;
  color: #a855f7;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.eye-toggle-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.trans-history-link {
  background: none;
  border: none;
  color: #c084fc;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.trans-history-link:hover {
  color: #f3e8ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.balance-card-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.balance-amount-display {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.balance-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.03em;
  font-family: var(--font-mono, monospace);
  line-height: 1.1;
}

/* Count-Up Animation Styling for Dashboard Balances and Profit Values */
.number-tick-up {
  transition: color 0.15s ease, text-shadow 0.15s ease, transform 0.15s ease;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.number-ticking {
  color: #34d399 !important;
  text-shadow: 0 0 14px rgba(52, 211, 153, 0.45);
  transform: scale(1.02);
}

/* Button Loading Spinner Component */
.btn-spinner {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-right-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  animation: btn-spinner-rotate 0.65s linear infinite;
  vertical-align: middle;
  margin-right: 0.55rem;
  flex-shrink: 0;
}

@keyframes btn-spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.btn-loading {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.88 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.btn-loading-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.balance-arrow {
  font-size: 2rem;
  color: #c084fc;
  font-weight: 800;
  line-height: 1;
  margin-top: -2px;
}

.btn-add-money-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.85rem;
  border-radius: 28px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.5);
  transition: all 0.22s ease;
}

.btn-add-money-purple:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.7);
}

.balance-card-sub-row {
  background: rgba(13, 22, 42, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 18px;
  padding: 0.95rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.balance-card-sub-row:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(168, 85, 247, 0.45);
}

.sub-row-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coins-icon {
  color: #c084fc;
  display: flex;
  align-items: center;
}

.earnings-label {
  color: #cbd5e1;
}

.earnings-amount {
  color: #34d399;
  font-weight: 800;
  font-size: 1.05rem;
}

.sub-row-arrow {
  font-size: 1.4rem;
  color: #c084fc;
  font-weight: 700;
}

/* 4-Card Fintech Action Grid (Matching screenshot bottom row) */
.fintech-action-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  width: 100%;
  box-sizing: border-box;
}

.fintech-action-card {
  flex: 1 1 180px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .dashboard-shell .stat-card-row {
    gap: 0.85rem;
  }
}

@media (max-width: 640px) {
  .fintech-action-grid {
    gap: 0.75rem;
  }
  .dashboard-shell .stat-card-row {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .user-greeting-header-bar {
    gap: 0.65rem;
  }
  .user-avatar-circle {
    width: 48px;
    height: 48px;
  }
  .user-greeting-text h2 {
    font-size: 1.3rem !important;
  }
  .header-icon-btn {
    width: 42px;
    height: 42px;
  }
  .available-balance-card {
    padding: 1.35rem 1.35rem;
    border-radius: 22px;
  }
  .balance-amount {
    font-size: 2.5rem;
  }
  .btn-add-money-purple {
    padding: 0.75rem 1.45rem;
    font-size: 0.98rem;
  }
  .fintech-action-card {
    padding: 1.1rem 0.65rem;
    gap: 0.55rem;
    border-radius: 16px;
  }
  .action-card-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
  .action-card-icon-box svg {
    width: 24px;
    height: 24px;
  }
  .action-card-title {
    font-size: 0.9rem;
  }
}

.fintech-action-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 1.2rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.fintech-action-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(168, 85, 247, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.action-card-icon-box {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}

.bank-icon-bg {
  background: rgba(129, 140, 248, 0.18);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #818cf8;
}

.wallet-icon-bg {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.savings-icon-bg {
  background: rgba(52, 211, 153, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
}

.cards-icon-bg {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.action-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.fee-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.12rem 0.38rem;
  border-radius: 8px;
  border: 1.5px solid #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Enhanced Mobile Responsive Polish & Touch Optimization */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dash-plan-features .feature-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  word-break: break-word;
}

.crypto-coin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .crypto-coin-grid {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 0.38rem;
  }
}

/* Quick Action Buttons Grid */
.dash-quick-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  width: 100%;
  box-sizing: border-box;
}

.quick-action-pill {
  padding: 0.75rem 0.6rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  white-space: nowrap;
}

.quick-action-pill svg {
  flex-shrink: 0;
}

.quick-action-pill.pill-deposit {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.quick-action-pill.pill-deposit:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.quick-action-pill.pill-withdraw {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.quick-action-pill.pill-withdraw:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #f87171;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.quick-action-pill.pill-investments {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}
.quick-action-pill.pill-investments:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: #c084fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25);
}

.quick-action-pill.pill-plans {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}
.quick-action-pill.pill-plans:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.quick-action-pill.pill-settings {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #facc15;
}
.quick-action-pill.pill-settings:hover {
  background: rgba(250, 204, 21, 0.22);
  border-color: #facc15;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.25);
}

@media (max-width: 640px) {
  .dash-quick-actions {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }
  .dash-quick-actions button:nth-child(4) {
    grid-column: span 1;
  }
  .dash-quick-actions button:nth-child(5) {
    grid-column: span 2;
  }
  .quick-action-pill {
    padding: 0.6rem 0.35rem;
    font-size: 0.78rem;
  }
}

/* Yield Countdown Banner */
.yield-countdown-banner {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.35) 0%, rgba(10, 26, 47, 0.85) 100%);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 18px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.35rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.yield-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.yield-timer-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.yield-timer-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  flex-shrink: 0;
}

.yield-timer-label {
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.yield-timer-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  letter-spacing: -0.01em;
}

.yield-progress-block {
  flex: 1 1 200px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.yield-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.yield-progress-track {
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

@media (max-width: 580px) {
  .yield-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .yield-progress-block {
    width: 100%;
  }
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.dashboard-shell, .dashboard-grid, .tab-content, .panel, .stat-card-row, .available-balance-card, .container, .gateway-active-box, .interest-view-board {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.balance-amount-display, .feature-item, .panel-header > *, .gateway-details-content, .gateway-coin-header {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    width: 100%;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .dashboard-shell {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .dashboard-shell .stat-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    width: 100%;
  }
  .dash-quick-actions {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.45rem !important;
  }
  .dash-quick-actions button:nth-child(4) {
    grid-column: span 1 !important;
  }
  .dash-quick-actions button:nth-child(5) {
    grid-column: span 2 !important;
  }
  .quick-action-pill {
    padding: 0.55rem 0.3rem !important;
    font-size: 0.76rem !important;
  }
  #deposit-gateway-active-box {
    padding: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #deposit-gateway-active-box .gateway-address-input-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  #deposit-gateway-active-box #deposit-active-wallet-address-input {
    flex: 1 1 120px;
    min-width: 0;
    width: auto;
    text-align: left;
  }
  #deposit-gateway-active-box .badge {
    margin-top: 0.2rem;
  }
  .table th, .table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .panel {
    padding: 0.85rem;
    border-radius: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .floating-customer-care-widget {
    bottom: 76px !important;
    right: 14px !important;
    z-index: 900 !important;
  }
  .customer-care-float-btn {
    padding: 0.55rem 0.65rem !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.5) !important;
  }
  .customer-care-float-btn .care-btn-label {
    display: none !important;
  }
  .customer-care-modal-content {
    padding: 1.1rem;
    border-radius: 16px;
    width: 94%;
  }
  .btn, button, input, select, textarea {
    min-height: 42px;
  }
}

/* ==========================================
   HIGH-CONTRAST LIGHT THEME & SWITCHER STYLES
   ========================================== */

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
}

.theme-toggle-btn:hover {
  background: rgba(91, 215, 255, 0.16);
  border-color: rgba(91, 215, 255, 0.45);
  color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

[data-theme="dark"] {
  --bg: #091325;
  --bg-soft: #0e1d38;
  --surface: #112344;
  --surface-2: #182f57;
  --text: #f8fafc;
  --muted: #94a3b8;
  --text-secondary: #cbd5e1;
  --text-emphasized: #ffffff;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --accent-3: #fbbf24;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --success: #34d399;
  --warning: #fbbf24;
  --error: #f87171;
  --white: #ffffff;
}

[data-theme="light"],
body.theme-light {
  --bg: #F7F5F0;
  --bg-soft: #F1EFE9;
  --surface: #FFFFFF;
  --surface-2: #F1EFE9;
  --text: #101820;
  --muted: #252D32;
  --text-secondary: #3A4247;
  --text-emphasized: #101820;
  --accent: #B89B62;
  --accent-2: #D4C29D;
  --accent-3: #8D7445;
  --border: #DDD9D0;
  --shadow: 0 10px 30px rgba(16, 24, 32, 0.06);
  --success: #28734A;
  --warning: #A67C35;
  --error: #A33F3F;
  --white: #FFFFFF;
}

body.theme-light {
  background: var(--bg);
  color: var(--text);
}

/* Header & Nav in Light Mode */
body.theme-light header {
  background: rgba(247, 245, 240, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(16, 24, 32, 0.05);
}

body.theme-light .brand {
  color: #101820;
}

body.theme-light .nav-links a,
body.theme-light .nav-links button {
  color: #3A4247;
}

body.theme-light .nav-links a:hover,
body.theme-light .nav-links a.active {
  color: #B89B62;
}

body.theme-light .theme-toggle-btn {
  background: #FFFFFF;
  color: #101820;
  border: 1px solid #DDD9D0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.theme-light .theme-toggle-btn:hover {
  background: #F1EFE9;
  border-color: #B89B62;
  color: #8D7445;
}

/* Dashboard Shell & Mobile Bar in Light Mode */
body.theme-light .dash-mobile-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #DDD9D0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

body.theme-light .dash-mobile-bar div,
body.theme-light .dash-mobile-title {
  color: #101820 !important;
}

body.theme-light .dash-menu-toggle-btn {
  background: #F1EFE9;
  border: 1px solid #DDD9D0;
  color: #101820;
}

body.theme-light .dash-menu-toggle-btn svg {
  stroke: #101820;
}

/* Sidebar in Light Mode */
body.theme-light .sidebar {
  background: #FFFFFF;
  border: 1px solid #DDD9D0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.theme-light .sidebar h2,
body.theme-light .sidebar h2 span {
  color: #101820 !important;
}

body.theme-light .dash-theme-box {
  background: #F1EFE9 !important;
  border-color: #DDD9D0 !important;
}

body.theme-light .eyebrow {
  color: #8D7445;
  font-weight: 600;
}

body.theme-light .nav-section-label {
  color: #8D7445;
  font-weight: 600;
}

body.theme-light .dash-nav-btn {
  background: #FFFFFF;
  border: 1px solid #DDD9D0;
  color: #3A4247;
}

body.theme-light .dash-nav-btn .dash-icon {
  color: #B89B62;
}

body.theme-light .dash-nav-btn:hover {
  background: #F1EFE9;
  color: #101820;
  border-color: #B89B62;
}

body.theme-light .dash-nav-btn.active {
  background: #F1EFE9;
  border: 1.5px solid #B89B62;
  color: #101820;
  box-shadow: 0 4px 14px rgba(184, 155, 98, 0.15);
}

body.theme-light .dash-nav-btn.active .dash-icon {
  color: #8D7445;
}

body.theme-light .account-accordion-header {
  background: #F1EFE9;
  border: 1px solid #DDD9D0;
  color: #101820;
}

body.theme-light .acc-menu-btn {
  color: #3A4247;
  background: #FFFFFF;
}

body.theme-light .acc-menu-btn:hover {
  background: #F1EFE9;
  color: #101820;
}

/* Panels, Surface Cards, Stat Cards in Light Mode */
body.theme-light .panel,
body.theme-light .surface-card,
body.theme-light .form-card,
body.theme-light .referral-box {
  background: #FFFFFF;
  border: 1px solid #DDD9D0;
  color: #3A4247;
  box-shadow: 0 8px 25px rgba(16, 24, 32, 0.05);
}

body.theme-light .stat-box.green-stat {
  background: #FFFFFF;
  border: 1px solid #DDD9D0;
  box-shadow: 0 6px 18px rgba(16, 24, 32, 0.04);
}

body.theme-light .stat-box.green-stat .stat-details h3 {
  color: #101820 !important;
}

body.theme-light .stat-box.green-stat .stat-details .stat-title {
  color: #252D32;
  font-weight: 500;
}

body.theme-light .stat-icon-wrapper {
  background: #F1EFE9;
  color: #8D7445;
}

body.theme-light .dash-plan-card {
  background: #FFFFFF;
  border: 1px solid #DDD9D0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

body.theme-light .dash-plan-card.featured-card {
  background: #F7F5F0;
  border-color: #B89B62;
}

body.theme-light .dash-plan-header h3 {
  color: #101820;
}

body.theme-light .plan-return-rate {
  color: #28734A;
}

body.theme-light .dash-plan-features .feature-item strong {
  color: #101820;
}

body.theme-light .dash-plan-features .feature-item {
  color: #3A4247;
}

body.theme-light .calc-inputs-card {
  background: #FFFFFF;
  border: 1px solid #DDD9D0;
}

body.theme-light .calc-results-card {
  background: #F1EFE9;
  border-color: #B89B62;
}

body.theme-light .calc-metric-box {
  background: #FFFFFF;
  border: 1px solid #DDD9D0;
  color: #101820;
}

body.theme-light .calc-label {
  color: #252D32;
}

body.theme-light .calc-value {
  color: #101820;
}

body.theme-light .wallet-copy-box {
  background: #F1EFE9;
  border: 1px solid #DDD9D0;
  color: #101820;
}

/* Form Controls & Tables in Light Mode */
body.theme-light input,
body.theme-light select,
body.theme-light textarea,
body.theme-light .form-control {
  background: #FFFFFF !important;
  color: #101820 !important;
  border: 1px solid #DDD9D0 !important;
}

body.theme-light input::placeholder,
body.theme-light textarea::placeholder {
  color: #252D32 !important;
}

body.theme-light input:focus,
body.theme-light select:focus,
body.theme-light textarea:focus {
  border-color: #B89B62 !important;
  box-shadow: 0 0 0 3px rgba(184, 155, 98, 0.2) !important;
}

body.theme-light table {
  color: #101820;
}

body.theme-light table th {
  background: #F1EFE9;
  color: #101820;
  font-weight: 600;
  border-bottom: 2px solid #DDD9D0;
}

body.theme-light table td {
  border-bottom: 1px solid #DDD9D0;
  color: #3A4247;
}

body.theme-light table tr:hover {
  background: #F7F5F0;
}

body.theme-light .modal-card,
body.theme-light .customer-care-modal-content {
  background: #FFFFFF;
  color: #101820;
  border: 1px solid #DDD9D0;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

body.theme-light .modal-card h2,
body.theme-light .modal-card h3,
body.theme-light .modal-card h4 {
  color: #101820 !important;
}

body.theme-light .btn-secondary {
  background: #F1EFE9;
  color: #101820;
  border: 1px solid #DDD9D0;
}

body.theme-light .btn-secondary:hover {
  background: #DDD9D0;
  color: #101820;
}

body.theme-light .muted,
body.theme-light .text-muted {
  color: #252D32 !important;
}

body.theme-light p,
body.theme-light .body-text,
body.theme-light .description {
  color: #3A4247;
}

body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light h5,
body.theme-light h6 {
  color: #101820;
}

body.theme-light .action-card-title {
  color: #101820;
}

body.theme-light .badge {
  color: #8D7445;
  background: rgba(184, 155, 98, 0.15);
}

body.theme-light .fee-badge {
  border-color: #DDD9D0;
}

/* Terms & Conditions Footer Button & Black and White Document Styles */
.btn-terms-footer {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  font-weight: 800 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease-in-out !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

.btn-terms-footer:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* Pure Black and White Legal Document Styling */
.bw-legal-doc {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  line-height: 1.6 !important;
}

.bw-legal-doc h2, 
.bw-legal-doc h3, 
.bw-legal-doc h4 {
  color: #000000 !important;
  font-weight: 900 !important;
}

.bw-legal-doc table {
  border-color: #000000 !important;
}

.bw-legal-doc th {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.bw-legal-doc td {
  border-color: #000000 !important;
  color: #000000 !important;
}

/* Printable Document PDF Styles (A4 Page Fit for Mobile & Desktop) */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 10mm 12mm 10mm;
  }

  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body * {
    visibility: hidden !important;
  }

  .modal-overlay.active,
  .modal-overlay.active .printable-doc,
  .modal-overlay.active .printable-doc * {
    visibility: visible !important;
  }

  .modal-overlay.active {
    position: static !important;
    display: block !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }

  .modal-overlay.active .printable-doc {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 10pt !important;
    line-height: 1.4 !important;
  }

  .printable-doc h1, .printable-doc h2, .printable-doc h3, .printable-doc h4 {
    page-break-after: avoid;
    break-after: avoid;
  }

  .printable-doc table, .printable-doc tr, .printable-doc .preview-row, .printable-doc .stamp-box {
    page-break-inside: avoid;
    break-inside: avoid;
    font-size: 9pt !important;
  }

  .no-print, .modal-close, .modal-actions {
    display: none !important;
  }
}

/* Mobile Responsiveness for Document / PDF Modal Content */
@media (max-width: 640px) {
  .printable-doc {
    padding: 1.25rem 0.85rem !important;
    max-width: 96vw !important;
    margin: 0.5rem auto !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
  }
  .printable-doc h2 {
    font-size: 1.25rem !important;
  }
  .printable-doc h3 {
    font-size: 1.05rem !important;
  }
  .printable-doc table {
    font-size: 0.75rem !important;
    display: table !important;
    width: 100% !important;
  }
  .printable-doc .preview-row {
    font-size: 0.8rem !important;
  }
}

/* Mobile Bottom-Sticky Navigation Bar */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 940px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 950;
    background: rgba(6, 14, 30, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  }

  body.theme-light .mobile-bottom-nav,
  [data-theme="light"] .mobile-bottom-nav {
    background: rgba(11, 36, 58, 0.96);
    border-top-color: #2A4962;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }

  .mobile-bottom-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.45rem 0.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.1;
    user-select: none;
  }

  .mobile-bottom-nav-btn svg {
    transition: transform 0.2s ease, stroke 0.2s ease;
  }

  .mobile-bottom-nav-btn:hover {
    color: var(--text);
  }

  .mobile-bottom-nav-btn.active {
    color: #5BB8E8;
    font-weight: 800;
    background: rgba(91, 184, 232, 0.15);
  }

  .mobile-bottom-nav-btn.active svg {
    stroke: #5BB8E8;
    transform: translateY(-1px) scale(1.1);
  }

  body.theme-light .mobile-bottom-nav-btn.active,
  [data-theme="light"] .mobile-bottom-nav-btn.active {
    color: #5BB8E8;
    background: rgba(91, 184, 232, 0.15);
  }

  body.theme-light .mobile-bottom-nav-btn.active svg,
  [data-theme="light"] .mobile-bottom-nav-btn.active svg {
    stroke: #5BB8E8;
  }

  main.dashboard-shell {
    padding-bottom: 80px !important;
  }

  .floating-customer-care-widget {
    bottom: 82px !important;
  }
}

/* --- Interest View Board Styling --- */
.interest-view-board {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.interest-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.interest-board-badge {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.interest-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.interest-stat-tile {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.interest-stat-tile:hover {
  transform: translateY(-2px);
}

.interest-stat-tile.tile-green {
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.interest-stat-tile.tile-blue {
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.interest-stat-tile.tile-purple {
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.interest-stat-tile.tile-yellow {
  border: 1px solid rgba(250, 204, 21, 0.25);
}

.interest-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.interest-stat-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.2rem;
}

/* --- Deposit Gateway Active Box Clean Responsive Layout --- */
.gateway-active-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  overflow: hidden;
}

.gateway-box-inner {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.gateway-details-content {
  width: 100%;
  box-sizing: border-box;
}

.gateway-coin-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.gateway-coin-sym {
  font-size: 1.35rem;
  font-weight: 800;
  color: #c084fc;
}

.gateway-coin-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.15rem;
  word-break: break-word;
}

.gateway-network-badge {
  background: rgba(52, 211, 153, 0.2);
  color: #34d399;
  font-size: 0.72rem;
}

.gateway-instruction-text {
  margin: 0 0 0.6rem;
  font-size: 0.84rem;
  line-height: 1.4;
}

.gateway-address-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  width: 100%;
  box-sizing: border-box;
}

.gateway-address-input-row input {
  background: transparent;
  border: none;
  font-family: monospace;
  color: #38bdf8;
  font-size: 0.85rem;
  flex: 1 1 120px;
  min-width: 0;
  outline: none;
  cursor: text;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.copy-addr-btn {
  flex-shrink: 0;
  font-size: 0.78rem;
  padding: 0.38rem 0.75rem;
  font-weight: 700;
  border-color: #38bdf8;
  color: #38bdf8;
}

.gateway-memo-row {
  margin-top: 0.5rem;
  display: none;
  font-size: 0.82rem;
  color: #facc15;
}

.memo-row-inner {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(250, 204, 21, 0.1);
  border: 1px dashed rgba(250, 204, 21, 0.4);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.copy-memo-btn {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-color: #facc15;
  color: #facc15;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .interest-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* ==========================================================================
   GLOBAL FULL-WIDTH STRETCH & RESPONSIVE DASHBOARD LAYOUT
   ========================================================================== */
.container.dashboard-shell,
main.dashboard-shell {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.dashboard-grid {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
}

.tab-content,
.available-balance-card,
.panel,
.yield-countdown-banner,
.interest-view-board {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Header greeting and action cluster top-right alignment */
.user-greeting-header-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1.25rem !important;
  padding: 0.25rem 0.1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 0.5rem !important;
  flex-wrap: nowrap !important;
}

.user-info-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.user-avatar-circle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.user-greeting-text {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.user-greeting-text h2 {
  margin: 0 !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.2rem !important;
  line-height: 1.2 !important;
}

.user-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  font-size: 0.72rem !important;
  padding: 0.15rem 0.55rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}

.header-action-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.header-icon-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

@media (max-width: 940px) {
  .dashboard-shell {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem 0.6rem 85px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .sidebar {
    display: none !important;
  }
  .sidebar.open {
    display: block !important;
  }
  .available-balance-card {
    padding: 1.35rem 1.2rem !important;
    border-radius: 20px !important;
  }
  .balance-amount {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 480px) {
  .container.dashboard-shell,
  main.dashboard-shell {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }
  .user-greeting-header-bar {
    gap: 0.4rem !important;
  }
  .user-avatar-circle {
    width: 46px !important;
    height: 46px !important;
  }
  .user-greeting-text h2 {
    font-size: 1.25rem !important;
  }
  .header-icon-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .notification-badge-pill {
    top: -3px !important;
    right: -4px !important;
    font-size: 0.65rem !important;
    padding: 0.15rem 0.4rem !important;
  }
}

/* ==========================================================================
   ADMIN PANEL UI LAYOUT BOXES & CARDS STYLING
   ========================================================================== */

main[data-admin].dashboard-shell {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

main[data-admin] .dashboard-grid {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
}

/* Admin UI Boxes / Panels */
.panel.admin-ui-box {
  background: linear-gradient(135deg, rgba(14, 28, 54, 0.95) 0%, rgba(8, 16, 32, 0.98) 100%) !important;
  border: 1px solid rgba(91, 184, 232, 0.2) !important;
  border-radius: 20px !important;
  padding: 1.6rem 1.8rem !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(20px) !important;
  margin-bottom: 1.5rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.panel.admin-ui-box:hover {
  border-color: rgba(91, 184, 232, 0.35) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55) !important;
}

.panel.admin-ui-box.box-green {
  border-left: 4px solid #34d399 !important;
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.12), 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

.panel.admin-ui-box.box-blue {
  border-left: 4px solid #38bdf8 !important;
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.12), 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

.panel.admin-ui-box.box-purple {
  border-left: 4px solid #a855f7 !important;
  box-shadow: 0 12px 36px rgba(168, 85, 247, 0.12), 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

/* Admin Overview Top Banner */
#admin-overview {
  background: linear-gradient(135deg, rgba(20, 32, 60, 0.98) 0%, rgba(10, 18, 38, 0.98) 100%) !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
  border-left: 4px solid #34d399 !important;
  border-radius: 20px !important;
  padding: 1.6rem 1.8rem !important;
}

/* Admin Metric Stat Cards Grid */
main[data-admin] .stat-card-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 1.25rem !important;
  margin-bottom: 1.5rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

main[data-admin] .stat-box.green-stat {
  background: linear-gradient(135deg, rgba(14, 28, 54, 0.95) 0%, rgba(8, 16, 32, 0.98) 100%) !important;
  border: 1px solid rgba(91, 184, 232, 0.2) !important;
  border-radius: 20px !important;
  padding: 1.35rem 1.4rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 1.1rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  cursor: pointer !important;
}

main[data-admin] .stat-box.green-stat:hover {
  border-color: rgba(56, 189, 248, 0.5) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.15) !important;
  background: linear-gradient(135deg, rgba(18, 36, 70, 0.98) 0%, rgba(10, 20, 42, 0.98) 100%) !important;
}

main[data-admin] .stat-icon-wrapper {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #38bdf8 !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.15) !important;
}

main[data-admin] .stat-box.green-stat:nth-child(1) .stat-icon-wrapper {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.12) 100%) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
  color: #34d399 !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2) !important;
}

main[data-admin] .stat-box.green-stat:nth-child(3) .stat-icon-wrapper {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.12) 100%) !important;
  border-color: rgba(250, 204, 21, 0.4) !important;
  color: #facc15 !important;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.2) !important;
}

main[data-admin] .stat-box.green-stat:nth-child(4) .stat-icon-wrapper {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.12) 100%) !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
  color: #f87171 !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2) !important;
}

main[data-admin] .stat-box.green-stat:nth-child(6) .stat-icon-wrapper {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(147, 51, 234, 0.12) 100%) !important;
  border-color: rgba(192, 132, 252, 0.4) !important;
  color: #c084fc !important;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2) !important;
}

main[data-admin] .stat-details {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

main[data-admin] .stat-details h3 {
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin: 0.25rem 0 0.15rem !important;
  line-height: 1.2 !important;
}

main[data-admin] .stat-title {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
}

main[data-admin] .click-hint {
  display: inline-block !important;
  margin-top: 0.45rem !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: all 0.2s ease !important;
}

main[data-admin] .stat-box.green-stat:hover .click-hint {
  background: rgba(56, 189, 248, 0.22) !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
}

/* Admin Back to Overview Link Button */
.back-to-overview-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.5rem 0.95rem !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  color: #cbd5e1 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.back-to-overview-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  transform: translateX(-2px) !important;
}

/* Admin Inner Metric Sub-Boxes */
main[data-admin] .table-wrap {
  border: 1px solid rgba(91, 184, 232, 0.15) !important;
  border-radius: 14px !important;
  background: rgba(6, 13, 26, 0.6) !important;
  overflow: hidden !important;
}

@media (max-width: 940px) {
  main[data-admin].dashboard-shell {
    padding: 0.75rem 0.6rem 85px !important;
  }
  main[data-admin] .panel.admin-ui-box {
    padding: 1.25rem 1.15rem !important;
    border-radius: 18px !important;
  }
  main[data-admin] .stat-card-row {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  main[data-admin] .stat-card-row {
    grid-template-columns: 1fr !important;
  }
  main[data-admin] .panel.admin-ui-box {
    padding: 1rem 0.9rem !important;
  }
}

/* ==========================================================================
   INVESTMENT PLAN MODAL - UNIVERSAL RESPONSIVE STYLING (DESKTOP & MOBILE)
   ========================================================================== */
#invest-modal.modal-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  background: rgba(2, 6, 18, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem 0.6rem !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

#invest-modal.modal-overlay.active {
  display: flex !important;
  animation: modalFadeIn 0.25s ease-out forwards;
}

#invest-modal .modal-content {
  background: #0c1626 !important;
  background: linear-gradient(145deg, #0d1b33 0%, #071120 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  border-radius: 22px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(2, 132, 199, 0.18) !important;
  max-width: 520px !important;
  width: 100% !important;
  max-height: 94vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 1.6rem 1.6rem !important;
  position: relative !important;
  box-sizing: border-box !important;
  margin: auto !important;
}

#invest-modal .modal-close {
  position: absolute !important;
  top: 1.15rem !important;
  right: 1.15rem !important;
  background: transparent !important;
  border: none !important;
  color: #64748b !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  line-height: 1 !important;
  z-index: 5 !important;
  transition: color 0.2s ease !important;
}

#invest-modal .modal-close:hover {
  color: #ffffff !important;
}

#invest-modal .eyebrow {
  display: inline-block !important;
  background: rgba(2, 132, 199, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  color: #38bdf8 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: 999px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

#invest-modal .badge {
  display: inline-block !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
  color: #34d399 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: 999px !important;
}

#invest-modal .modal-header h2 {
  margin: 0.35rem 0 !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
}

#invest-modal .modal-presets-row {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0.35rem !important;
  margin-top: 0.55rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#invest-modal .btn-preset {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 0.48rem 0.15rem !important;
  cursor: pointer !important;
  text-align: center !important;
  white-space: nowrap !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#invest-modal .btn-preset:hover {
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

#invest-modal .btn-preset[data-preset="maxbal"] {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  font-weight: 800 !important;
}

#invest-modal .btn-preset[data-preset="maxbal"]:hover {
  background: rgba(56, 189, 248, 0.28) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
}

#invest-modal .modal-calc-preview {
  background: rgba(12, 22, 40, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 14px !important;
  padding: 0.9rem 1.1rem !important;
  margin: 0.95rem 0 !important;
  box-sizing: border-box !important;
}

#invest-modal .invest-agreement-clause {
  background: rgba(2, 132, 199, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 12px !important;
  padding: 0.75rem 0.9rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.6rem !important;
  flex-wrap: wrap !important;
  box-sizing: border-box !important;
}

#invest-modal .modal-actions {
  display: flex !important;
  gap: 0.75rem !important;
  margin-top: 1.15rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#invest-modal #cancel-invest-modal {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 0.8rem !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  flex: 1 !important;
  cursor: pointer !important;
  text-align: center !important;
}

#invest-modal #cancel-invest-modal:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

#invest-modal #confirm-invest-btn {
  background: linear-gradient(90deg, #38bdf8 0%, #facc15 100%) !important;
  color: #09131e !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.8rem !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  flex: 2 !important;
  cursor: pointer !important;
  text-align: center !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.3) !important;
  transition: all 0.2s ease !important;
}

#invest-modal #confirm-invest-btn:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45) !important;
}

@media (max-width: 600px) {
  #invest-modal .modal-content {
    padding: 1.25rem 1rem !important;
    border-radius: 20px !important;
    max-height: 92vh !important;
  }
  #invest-modal .modal-header h2 {
    font-size: 1.35rem !important;
  }
  #invest-modal .btn-preset {
    font-size: 0.72rem !important;
    padding: 0.42rem 0.08rem !important;
    border-radius: 6px !important;
  }
  #invest-modal .modal-calc-preview {
    padding: 0.8rem 0.9rem !important;
  }
  #invest-modal .invest-agreement-clause {
    padding: 0.65rem 0.75rem !important;
  }
  #invest-modal #cancel-invest-modal,
  #invest-modal #confirm-invest-btn {
    padding: 0.72rem !important;
    font-size: 0.88rem !important;
  }
}

/* ==========================================================================
   OFFICIAL STATEMENT & INVESTMENT AGREEMENT MODALS - HIGH READABILITY & RESPONSIVE
   ========================================================================== */
#statement-modal.modal-overlay,
#agreement-modal.modal-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  background: rgba(2, 6, 23, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem 0.5rem !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

#statement-modal.modal-overlay.active,
#agreement-modal.modal-overlay.active {
  display: flex !important;
  animation: modalFadeIn 0.22s ease-out forwards;
}

.modal-content.printable-doc {
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: 20px !important;
  max-width: 880px !important;
  width: 100% !important;
  max-height: 94vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 0 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(2, 132, 199, 0.15) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  margin: auto !important;
}

.modal-content.printable-doc .modal-close {
  position: absolute !important;
  top: 0.65rem !important;
  right: 0.85rem !important;
  background: rgba(241, 245, 249, 0.9) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #475569 !important;
  font-size: 1.3rem !important;
  cursor: pointer !important;
  z-index: 60 !important;
  transition: all 0.2s ease !important;
}

.modal-content.printable-doc .modal-close:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fca5a5 !important;
}

/* Sticky top actions bar inside doc modal */
.doc-sticky-toolbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0.75rem 1.4rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.6rem !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
  border-radius: 20px 20px 0 0 !important;
  box-sizing: border-box !important;
}

.doc-sticky-toolbar .doc-toolbar-title {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.doc-sticky-toolbar .doc-toolbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  flex-wrap: wrap !important;
}

.doc-sticky-toolbar .btn {
  font-size: 0.8rem !important;
  padding: 0.45rem 0.75rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  transition: all 0.15s ease !important;
}

.doc-inner-content {
  padding: 1.5rem 1.8rem !important;
  flex: 1 !important;
  box-sizing: border-box !important;
}

/* Scrollable container for tables inside doc modals */
.doc-table-scroll-container {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin-bottom: 0.8rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.doc-table-scroll-container table {
  width: 100% !important;
  min-width: 580px !important;
  border-collapse: collapse !important;
}

.doc-table-scroll-container th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  border-bottom: 2px solid #cbd5e1 !important;
  letter-spacing: 0.02em !important;
}

.doc-table-scroll-container td {
  white-space: nowrap !important;
  color: #334155 !important;
}

.doc-parties-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.2rem !important;
  box-sizing: border-box !important;
}

.doc-summary-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 680px) {
  .modal-content.printable-doc {
    max-width: 96vw !important;
    border-radius: 16px !important;
  }
  .doc-sticky-toolbar {
    padding: 0.6rem 0.75rem !important;
    border-radius: 16px 16px 0 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .doc-sticky-toolbar .doc-toolbar-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
  }
  .doc-sticky-toolbar .btn {
    font-size: 0.72rem !important;
    padding: 0.45rem 0.2rem !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .doc-inner-content {
    padding: 1.1rem 0.85rem !important;
  }
  .doc-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
  }
  .doc-meta-header {
    text-align: left !important;
    width: 100% !important;
    border-top: 1px dashed #cbd5e1 !important;
    padding-top: 0.6rem !important;
  }
  .doc-parties-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .doc-summary-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .doc-signatures-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem !important;
  }
  .doc-signatures-row > div {
    width: 100% !important;
  }
  .modal-content.printable-doc .modal-actions {
    flex-direction: column !important;
    padding: 0.85rem !important;
    gap: 0.5rem !important;
  }
  .modal-content.printable-doc .modal-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}






