/* Premium Overrides for Jules Task - High-End Institutional Finance */

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

:root {
  --p-bg: #ffffff;
  --p-bg-soft: #fafafa;
  --p-surface: #ffffff;
  --p-surface-hover: #f8fafc;
  --p-text-main: #111827;
  --p-text-muted: #6b7280;
  --p-gold-start: #d4af37;
  --p-gold-end: #f3e5ab;
  --p-gold-solid: #c5a028;
  --p-success: #10b981;
  --p-danger: #ef4444;
  --p-border: #e5e7eb;

  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: 12px;
}

body.premium-theme {
  background-color: var(--p-bg-soft);
  color: var(--p-text-main);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Typography Overrides */
.premium-theme h1,
.premium-theme h2,
.premium-theme h3,
.premium-theme h4,
.premium-theme h5,
.premium-theme h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--p-text-main);
}

.premium-theme p {
  color: var(--p-text-muted);
}

/* Reset Links */
.premium-theme a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Premium Card (Bento Box) */
.premium-card {
  background: var(--p-surface);
  border-radius: 24px;
  border: 1px solid var(--p-border);
  padding: 2rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.02);
  border-color: rgba(212, 175, 55, 0.3); /* Subtle gold hint */
}

/* Buttons */
.btn-premium {
  background: var(--p-text-main);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}

.btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--p-gold-start) 0%,
    var(--p-gold-solid) 100%
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-premium:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-premium:hover::before {
  opacity: 1;
}

.btn-premium-outline {
  background: transparent;
  color: var(--p-text-main);
  border: 2px solid var(--p-border);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-premium-outline:hover {
  border-color: var(--p-text-main);
  background: var(--p-text-main);
  color: #fff;
}

/* Header/Nav — Dark Glass */
.premium-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  border-radius: 16px;
  padding: 10px 30px;
  background: rgba(10, 10, 20, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.premium-nav.scrolled {
  background: rgba(10, 10, 20, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 175, 55, 0.25);
}

.nav-logo-img {
  max-height: 42px;
  filter: brightness(1.1);
  transition: filter 0.3s ease;
}

.premium-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  position: relative;
  transition: color 0.3s ease;
}

.premium-nav .nav-link:hover {
  color: #fff !important;
}

.premium-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--p-gold-start), var(--p-gold-end));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.premium-nav .nav-link:hover::after {
  width: 24px;
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--p-gold-start), var(--p-gold-solid));
  color: #000 !important;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  color: #000 !important;
}

/* =========================================
   HERO SECTION — DARK PREMIUM
   ========================================= */
.hero-premium {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
  background: #06080d;
}

/* Background layers */
.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
  opacity: 0.6;
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(212, 175, 55, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(59, 130, 246, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, rgba(6, 8, 13, 0.15) 0%, rgba(6, 8, 13, 0.85) 100%);
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--p-bg-soft));
  z-index: 5;
}

/* Hero content */
.hero-content {
  max-width: 820px;
  z-index: 10;
  padding: 0 20px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--p-gold-end);
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p-gold-start);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

/* Title */
.hero-title-premium {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.4);
}

.hero-title-gold {
  background: linear-gradient(
    135deg,
    var(--p-gold-start),
    var(--p-gold-end),
    var(--p-gold-start)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-gold 3s linear infinite;
}

@keyframes shimmer-gold {
  to {
    background-position: 200% center;
  }
}

/* Subtitle */
.hero-subtitle-premium {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--p-gold-start), var(--p-gold-solid));
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 25px rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(212, 175, 55, 0.5);
  color: #000;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--p-gold-start);
  color: var(--p-gold-end);
  background: rgba(212, 175, 55, 0.08);
}

/* Stat Cards */
.hero-stat-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 16px;
  transition: all 0.3s ease;
}

.hero-stat-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  background: linear-gradient(to right, #fff, var(--p-gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Ticker Glass */
.ticker-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gsap-fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.gsap-section {
  opacity: 0;
  transform: translateY(40px);
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

/* Section Spacing */
.section-premium {
  padding: 100px 0;
}

/* Footer */
.footer-premium {
  background: #fff;
  border-top: 1px solid var(--p-border);
  padding: 60px 0;
}

/* Pricing/Plans Specifics */
.plan-card {
  text-align: center;
  padding: 3rem 2rem;
}

.plan-price {
  font-size: 2.5rem;
  color: var(--p-text-main);
  margin: 1.5rem 0;
}

.plan-price sub {
  font-size: 1rem;
  color: var(--p-text-muted);
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--p-surface-hover);
  color: var(--p-text-muted);
}

.plan-features li:last-child {
  border-bottom: none;
}

/* Tabular Nums for Data */
.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-body);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .premium-nav {
    width: 100%;
    top: 0;
    border-radius: 0;
    padding: 12px 15px;
  }

  .hero-title-premium {
    font-size: 2.4rem;
  }

  .hero-subtitle-premium {
    font-size: 1rem;
  }

  .hero-premium {
    min-height: 85vh;
    padding-top: 80px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 14px 28px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .hero-stat-number {
    font-size: 1.4rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
  }
}

/* =========================================
   DASHBOARD STYLES (PREMIUM OVERRIDES)
   ========================================= */

.dashboard-body-part {
  padding-top: 30px;
}

/* Base Card Style for Dashboard Widgets */
.d-box-one,
.d-box-three,
.d-box-four,
.dashboard-body-part .card {
  background: rgba(255, 255, 255, 0.05); /* Ultra-transparent glass */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.d-box-one:hover,
.d-box-three:hover,
.d-box-four:hover,
.dashboard-body-part .card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
}

/* Account Balance (d-box-one) specific */
.d-box-one {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1),
    rgba(0, 0, 0, 0.4)
  );
  border: 1px solid var(--gold);
}

.d-box-one .icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 15px;
  background: rgba(212, 175, 55, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.d-box-one .content .caption-title {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.d-box-one .content .d-box-one-amount {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--white);
  margin-top: 5px;
  background: linear-gradient(to right, #fff, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Secondary Widgets (d-box-three) */
.d-box-three {
  display: flex;
  align-items: center;
  gap: 20px;
}

.d-box-three .icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.d-box-three .content .caption-title {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}

.d-box-three .content .d-box-three-amount {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

/* Tertiary Widgets (d-box-four) */
.d-box-four {
  text-align: center;
  padding: 20px;
}

.d-box-four .link-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.d-box-four .link-btn:hover {
  color: var(--gold);
}

.d-box-four .icon {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 15px;
}

.d-box-four .content .caption-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 5px;
}

.d-box-four .content .d-box-four-amount {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

/* Referral Link Input */
.dashboard-body-part .input-group {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-body-part input.form-control {
  background: transparent !important;
  border: none;
  color: var(--white);
  font-family: "Inter", sans-serif;
}

.dashboard-body-part input.form-control:focus {
  box-shadow: none;
  border-color: transparent;
}

.dashboard-body-part .input-group-text {
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dashboard-body-part .input-group-text:hover {
  background: var(--white);
  color: var(--gold);
}

/* Reference Tree Card */
.dashboard-body-part .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
}

.dashboard-body-part .card-header h5 {
  color: var(--white);
  font-family: "Outfit", sans-serif;
  margin: 0;
}

.dashboard-body-part .card-body {
  padding: 24px;
}

/* Clean up text colors inside the tree */
.sp-referral .single-child p span {
  color: rgba(255, 255, 255, 0.8);
}

/* Override default Bootstrap bg if present */
.bg-white {
  background-color: transparent !important;
}

/* Modal styling overrides */
.modal-content {
  background: #1a1a1a; /* Dark background for modal */
  border: 1px solid var(--gold);
  color: var(--white);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.close {
  color: var(--white);
  text-shadow: none;
  opacity: 0.8;
}

.close:hover {
  color: var(--gold);
  opacity: 1;
}

/* =========================================
   SIDEBAR STYLES (PREMIUM OVERRIDES)
   ========================================= */

.d-sidebar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.d-sidebar .d-sidebar-menu > li > a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.d-sidebar .d-sidebar-menu > li > a:hover,
.d-sidebar .d-sidebar-menu > li.active > a {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold) !important;
  border-left-color: var(--gold);
}

.d-sidebar .d-sidebar-menu > li > a i {
  color: var(--gold-light);
  margin-right: 10px;
}

.d-sidebar .submenu {
  background: rgba(0, 0, 0, 0.2);
}

.d-sidebar .submenu li a {
  color: rgba(255, 255, 255, 0.6) !important;
  padding-left: 40px;
}

.d-sidebar .submenu li a:hover {
  color: var(--white) !important;
}

.d-plan-notice {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.2),
    rgba(0, 0, 0, 0.3)
  );
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 15px;
  color: var(--white);
  text-align: center;
}

.d-plan-notice p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.d-plan-notice a {
  color: var(--gold);
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
}

.d-plan-notice a:hover {
  color: var(--white);
}

/* Override colorful icons for premium look */
.d-box-four-wrapper [class*="col-"] .d-box-four .icon {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15),
    rgba(0, 0, 0, 0.4)
  ) !important;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.d-box-four-wrapper [class*="col-"] .d-box-four:hover .icon {
  background: var(--gold) !important;
  color: #000 !important;
}

/* =========================================
   THEME TOGGLE BUTTON
   ========================================= */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--p-gold-start, #d4af37);
  background: rgba(6, 8, 13, 0.9);
  color: var(--p-gold-start, #d4af37);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--p-gold-start, #d4af37);
  color: #000;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

/* =========================================
   LIGHT MODE OVERRIDES
   ========================================= */
body:not(.dark-mode) .section-premium {
  background: #f8f9fa;
}

body:not(.dark-mode) .section-premium.bg-light {
  background: #fff !important;
}

body:not(.dark-mode) .premium-card {
  background: #fff;
  border: 1px solid #e9ecef;
  color: #1a1a2e;
}

body:not(.dark-mode) .hero-premium {
  background: #06080d;
}

body:not(.dark-mode) .premium-nav {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid #e9ecef;
}

body:not(.dark-mode) .premium-nav .nav-link {
  color: #1a1a2e !important;
}

body:not(.dark-mode) h2,
body:not(.dark-mode) h3,
body:not(.dark-mode) h4 {
  color: #1a1a2e;
}

body:not(.dark-mode) .text-muted {
  color: #6c757d !important;
}

body:not(.dark-mode) .accordion-button {
  background: #f8f9fa !important;
  color: #1a1a2e !important;
}

body:not(.dark-mode) .d-box-one,
body:not(.dark-mode) .d-box-three,
body:not(.dark-mode) .d-box-four {
  background: #fff !important;
  border: 1px solid #e9ecef !important;
  color: #1a1a2e !important;
}

body:not(.dark-mode) .d-box-one .content .caption-title,
body:not(.dark-mode) .d-box-three .content .caption-title,
body:not(.dark-mode) .d-box-four .content .caption-title {
  color: #6c757d !important;
}

body:not(.dark-mode) .d-box-one .content .d-box-one-amount,
body:not(.dark-mode) .d-box-three-amount,
body:not(.dark-mode) .d-box-four-amount {
  color: #1a1a2e !important;
}

body:not(.dark-mode) .theme-toggle {
  background: rgba(255, 255, 255, 0.95);
  border-color: #d4af37;
  color: #1a1a2e;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   PLAN SECTION — ANIMATED BACKGROUND
   ========================================= */
#investment {
  position: relative;
  overflow: hidden;
}

#investment::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%);
  animation: planBgRotate 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

#investment > .container {
  position: relative;
  z-index: 1;
}

@keyframes planBgRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Plan card hover lift */
#investment .premium-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#investment .premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

/* =========================================
   ABOUT SECTION — ANIMATION
   ========================================= */
#about {
  position: relative;
}

#about .premium-card {
  transition: transform 0.5s ease;
}

#about .premium-card:hover {
  transform: scale(1.02);
}

/* =========================================
   GSAP SECTION SCROLL REVEAL
   ========================================= */
.gsap-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.gsap-section.revealed {
  opacity: 1;
  transform: translateY(0);
}
