/* ==========================================================================
   RFX GLOBAL TRADES - Premium CSS Stylesheet
   Design Tokens, Glassmorphism, Animations & Custom Layouts
   ========================================================================== */

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

:root {
  /* Color Palette */
  --color-primary: #3B82F6;
  --color-primary-rgb: 59, 130, 246;
  --color-secondary: #7C3AED;
  --color-secondary-rgb: 124, 58, 237;
  --color-accent: #06B6D4;
  --color-accent-rgb: 6, 182, 212;
  --color-bg: #050816;
  --color-card-bg: rgba(255, 255, 255, 0.04);
  --color-card-border: rgba(255, 255, 255, 0.07);
  --color-text: #FFFFFF;
  --color-text-muted: #94A3B8;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Poppins', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* Global Reset & Body */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Dynamic Glowing Background Orbs */
.glow-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.15;
  mix-blend-mode: screen;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(124,58,237,0.6) 0%, rgba(0,0,0,0) 70%);
  top: -10%;
  right: -5%;
  animation-duration: 20s;
}

.orb-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(59,130,246,0.5) 0%, rgba(0,0,0,0) 70%);
  bottom: -15%;
  left: -10%;
  animation-duration: 28s;
  animation-delay: -5s;
}

.orb-3 {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(6,182,212,0.4) 0%, rgba(0,0,0,0) 70%);
  top: 40%;
  left: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8%, 10%) scale(1.15);
  }
  100% {
    transform: translate(-5%, -5%) scale(0.9);
  }
}

/* Particles Background Wrapper */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #3B82F6 0%, #7C3AED 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan-blue {
  background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-purple-pink {
  background: linear-gradient(135deg, #7C3AED 0%, #F43F5E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted-custom {
  color: var(--color-text-muted);
}

/* Layout Padding & Sections */
section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-title-wrapper {
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #C084FC;
  margin-bottom: 15px;
}

/* Header & Navigation Styles */
.navbar-custom {
  background: rgba(5, 8, 22, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  padding: 18px 0;
}

.navbar-custom.scrolled {
  padding: 12px 0;
  background: rgba(5, 8, 22, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.navbar-brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand-logo img {
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}

.navbar-brand-logo .logo-accent {
  background: linear-gradient(135deg, #06B6D4, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link-custom {
  color: var(--color-text-muted) !important;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: #FFFFFF !important;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-primary));
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 60%;
}

.nav-btn-login {
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  padding: 8px 22px !important;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition-fast);
  margin-right: 10px;
}

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

.nav-btn-register {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: none;
  color: #FFFFFF !important;
  padding: 9px 24px !important;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
  transition: var(--transition-smooth);
}

.nav-btn-register:hover {
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px) scale(1.02);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-card-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
}

/* Button UI Components */
.btn-premium {
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-accent);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-premium-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-premium-primary:hover {
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
  transform: translateY(-3px) scale(1.03);
  color: #FFFFFF;
}

.btn-premium-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease-out;
}

.btn-premium-primary:active::after {
  transform: translate(-50%, -50%) scale(1.2);
  transition: transform 0s;
}

.btn-premium-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.btn-premium-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.5);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.15);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-glow-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.2);
  filter: blur(80px);
  top: 25%;
  left: 10%;
  pointer-events: none;
  animation: floatOrb 18s infinite alternate ease-in-out;
}

/* ThreeJS Container styling */
.hero-canvas-container {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#canvas-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

/* Statistics Floating Cards */
.stats-floating-row {
  margin-top: 60px;
}

.stat-box {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #FFFFFF, #94A3B8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}

.stat-label {
  font-family: var(--font-accent);
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Animated Floating Crypto Icons in Hero */
.floating-element {
  position: absolute;
  animation: floatIcon 6s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.3));
  pointer-events: none;
}

.float-coin-1 {
  top: 15%;
  right: 10%;
  animation-duration: 5s;
}

.float-coin-2 {
  bottom: 20%;
  right: 45%;
  animation-duration: 7s;
  animation-delay: -2s;
}

.float-coin-3 {
  top: 55%;
  right: 5%;
  animation-duration: 8s;
  animation-delay: -4s;
}

@keyframes floatIcon {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* About Cards */
.about-card {
  padding: 40px 30px;
}

.about-card .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.about-card:hover .icon-wrapper {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #FFFFFF;
  transform: rotateY(180deg);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

/* Investment Plans Component */
.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.popular {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.04);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.plan-header {
  margin-bottom: 25px;
}

.plan-title {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.plan-roi {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.plan-roi-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.plan-limits {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-bottom: 25px;
}

.limit-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.limit-item:last-child {
  margin-bottom: 0;
}

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

.limit-value {
  font-weight: 600;
  color: #FFFFFF;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  flex-grow: 1;
}

.plan-features-list li {
  font-size: 0.9rem;
  color: #D1D5DB;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features-list li i {
  color: #10B981; /* Success Green */
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.pricing-card.popular:hover {
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
}

/* Features Grid */
.feature-card {
  padding: 30px;
  height: 100%;
}

.feature-icon-wrapper {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--color-accent);
  color: #050816;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  transform: scale(1.1);
}

/* Interactive ROI Calculator Styles */
.calculator-box {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.form-label-custom {
  font-family: var(--font-accent);
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}

.input-custom {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #FFFFFF !important;
  padding: 12px 20px;
  transition: var(--transition-smooth);
  width: 100%;
}

.input-custom:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.select-custom {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394A3B8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px 12px;
}

/* Style select options to look decent in dark mode */
.select-custom option {
  background-color: var(--color-bg);
  color: #FFFFFF;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.calc-result-value {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.calc-result-value.accent {
  color: var(--color-accent);
}

/* Timeline/Roadmap Styles */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0 auto;
}

.timeline-line {
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary), var(--color-secondary));
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-row {
  display: flex;
  margin-bottom: 50px;
  position: relative;
  align-items: center;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-column {
  width: 50%;
  padding: 0 40px;
}

.timeline-row:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--color-bg);
  border: 4px solid var(--color-accent);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 15px var(--color-accent);
  transition: var(--transition-smooth);
}

.timeline-row:hover .timeline-dot {
  background-color: var(--color-accent);
  box-shadow: 0 0 25px var(--color-accent);
  transform: translateX(-50%) scale(1.2);
}

.timeline-row:nth-child(even) .timeline-dot {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px var(--color-primary);
}

.timeline-row:nth-child(even):hover .timeline-dot {
  background-color: var(--color-primary);
  box-shadow: 0 0 25px var(--color-primary);
}

.timeline-row:nth-child(3n) .timeline-dot {
  border-color: var(--color-secondary);
  box-shadow: 0 0 15px var(--color-secondary);
}

.timeline-row:nth-child(3n):hover .timeline-dot {
  background-color: var(--color-secondary);
  box-shadow: 0 0 25px var(--color-secondary);
}

.timeline-content {
  padding: 30px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.timeline-row:nth-child(even) .timeline-year {
  color: var(--color-primary);
}

.timeline-row:nth-child(3n) .timeline-year {
  color: var(--color-secondary);
}

/* Testimonials Swiper Glass Card */
.testimonial-card {
  padding: 40px;
}

.testimonial-rating {
  color: #FBBF24; /* Star gold */
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 25px;
  color: #E2E8F0;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.testimonial-title {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.swiper-pagination-bullet {
  background: #FFFFFF !important;
  opacity: 0.2 !important;
  width: 10px !important;
  height: 10px !important;
  transition: var(--transition-fast);
}

.swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 5px !important;
}

/* FAQ Accordion Styling */
.accordion-custom .accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-custom .accordion-item:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.05);
}

.accordion-custom .accordion-button {
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 22px 25px;
  border: none;
  box-shadow: none !important;
  transition: var(--transition-fast);
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(6, 182, 212, 0.05);
  color: var(--color-accent);
}

.accordion-custom .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: var(--transition-smooth);
}

.accordion-custom .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2306B6D4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-custom .accordion-body {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
}

/* Contact Info & Map placeholder */
.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.map-placeholder-container {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  position: relative;
}

.map-placeholder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 22, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  z-index: 2;
}

.google-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) invert(92%) contrast(83%);
}

/* Footer Section */
.footer {
  background-color: #03050d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 30px 0;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}

.footer-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-icon-btn:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #FFFFFF;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--color-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.newsletter-box {
  position: relative;
}

.newsletter-input {
  padding-right: 60px;
}

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 45px;
  border: none;
  border-radius: 8px;
  background: var(--color-accent);
  color: #050816;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background: #FFFFFF;
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   INTERACTIVE REFERRAL NETWORK DIAGRAM & TIMELINE (LEADERSHIP)
   ========================================================================== */
.referral-tree-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 10px;
}

.referral-node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 25px;
  text-align: center;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.referral-node.root {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.15));
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.referral-node .node-title {
  font-weight: 700;
  font-family: var(--font-heading);
  color: #FFFFFF;
  margin-bottom: 2px;
}

.referral-node .node-desc {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
}

.referral-tree-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
}

.referral-children {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 700px;
  position: relative;
}

.referral-children::before {
  content: '';
  position: absolute;
  top: 0;
  left: 17%;
  right: 17%;
  height: 2px;
  background: var(--color-primary);
}

.referral-child-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33.3%;
}

.referral-child-col .referral-tree-connector {
  background: var(--color-primary);
  height: 30px;
}

.referral-child-col:nth-child(2) .referral-tree-connector {
  background: var(--color-primary);
}

/* 15-Level Income List Visualizer */
.levels-scroll-container {
  max-height: 450px;
  overflow-y: auto;
  padding-right: 10px;
}

.level-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.level-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateX(5px);
}

.level-badge {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 6px;
}

.level-row:nth-child(-n+3) .level-badge {
  background: rgba(124, 58, 237, 0.15);
  color: #C084FC;
  border-color: rgba(124, 58, 237, 0.3);
}

.level-rate {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-accent);
}

/* ==========================================================================
   AUTH SCREENS STYLING (Login & Register)
   ========================================================================== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 45px;
}

.auth-header {
  text-align: center;
  margin-bottom: 35px;
}

.auth-title {
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.auth-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.auth-link:hover {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.form-check-custom .form-check-input {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.form-check-custom .form-check-input:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.form-check-custom .form-check-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.auth-back-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.auth-back-btn:hover {
  color: #FFFFFF;
  transform: translateX(-5px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991.98px) {
  section {
    padding: 70px 0;
  }
  
  .navbar-custom {
    padding: 12px 0;
    background: rgba(5, 8, 22, 0.95);
  }
  
  .navbar-collapse-custom {
    background: rgba(5, 8, 22, 0.95);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .nav-link-custom::after {
    display: none;
  }
  
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
  }
  
  .hero-canvas-container {
    height: 380px;
    margin-top: 30px;
  }
  
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
  }
  
  .stat-box:last-child {
    border-bottom: none;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-row {
    flex-direction: row !important;
  }
  
  .timeline-column {
    width: 100%;
    padding: 0 0 0 45px;
  }
  
  .timeline-dot {
    left: 20px;
    transform: translateX(-50%);
  }
  
  .timeline-row:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
  }
  
  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }
}

@media (max-width: 575.98px) {
  .stat-number {
    font-size: 2.2rem;
  }
  
  .auth-card {
    padding: 30px 20px;
  }
  
  .testimonial-card {
    padding: 25px;
  }
}
