/* 
 * Bitcoin & Forex Investment Platform
 * Core CSS File
 */

:root {
  /* Color Palette */
  --primary-color: #f1c40f;
  /* Gold */
  --secondary-color: #2ecc71;
  /* Green */
  --dark-bg: #0b0e14;
  /* Very Dark Blue */
  --card-bg: #151922;
  /* Dark Blue Gray */
  --text-color: #ecf0f1;
  /* Light Gray */
  --text-muted: #bdc3c7;
  --danger-color: #e74c3c;

  /* Fonts */
  --font-primary: 'Inter', sans-serif;

  /* Transitions */
  --transition-speed: 0.3s;
}

body {
  font-family: var(--font-primary);
  background-color: var(--dark-bg);
  color: var(--text-color);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: #fff;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed);
}

a:hover {
  color: #fff;
}

/* Navbar */
.navbar {
  background-color: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background-color: #d4ac0d;
  border-color: #d4ac0d;
  color: var(--dark-bg);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.btn-outline-light:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
}

/* Hero Video Carousel */
/* Hero Video Carousel */
/* Hero Video Carousel */
/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(11, 14, 20, 0.7), rgba(11, 14, 20, 0.7)), url('https://images.unsplash.com/photo-1621761191319-c6fb62004040?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 150px 0 100px;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content p {
  color: #e0e0e0;
  margin-bottom: 30px;
  font-size: 1.25rem;
}

/* Ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--card-bg);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
  font-size: 0.9rem;
}

.ticker-item .positive {
  color: var(--secondary-color);
}

.ticker-item .negative {
  color: var(--danger-color);
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Features */
.feature-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  transition: transform var(--transition-speed);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Stats */
.stats-section {
  background-color: var(--card-bg);
  padding: 80px 0;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary-color);
}

/* Footer */
/* Premium Footer */
.footer {
  background: linear-gradient(to top, #05070a 0%, #0b0e14 100%);
  padding: 80px 0 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.footer h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.footer h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.footer-link {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: all var(--transition-speed);
}

.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Newsletter Input */
.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 15px;
  border-radius: 5px 0 0 5px;
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  box-shadow: none;
}

.newsletter-form .btn {
  border-radius: 0 5px 5px 0;
  padding-left: 20px;
  padding-right: 20px;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Fix Visibility */
.text-muted {
  color: #b0b3b8 !important;
  /* Lighter gray for dark background */
}

/* Steps / How It Works */
.step-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform var(--transition-speed);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  /* Slight visibility */
  line-height: 1;
  z-index: 0;
}

/* Accordion Overrides */
.accordion-button {
  color: var(--text-color);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(241, 196, 15, 0.05);
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1) sepia(100%) saturate(1000%) hue-rotate(5deg);
}

/* Button Refinement */
.btn-primary {
  padding: 0.375rem 0.75rem;
  /* Standard Bootstrap sm/regular padding */
  font-size: 0.9rem;
}

.btn-outline-light {
  padding: 0.375rem 0.75rem;
  font-size: 0.9rem;
}

/* Widgets */
.card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Terms Page Styling */
.terms-sidebar {
  position: sticky;
  top: 100px;
  height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 20px;
}

.terms-nav .nav-link {
  color: var(--text-muted);
  padding: 10px 15px;
  border-left: 2px solid transparent;
  transition: all 0.3s;
}

.terms-nav .nav-link:hover,
.terms-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--primary-color);
}

.terms-section {
  padding-top: 20px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 40px;
}

.terms-section:last-child {
  border-bottom: none;
}

.terms-section h3 {
  margin-bottom: 20px;
  font-size: 1.75rem;
  font-weight: 700;
}

.terms-section p,
.terms-section ul {
  color: #bdc3c7;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.terms-section strong {
  color: #fff;
}

.form-select:focus,
.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* Light Mode Theme */
.light-mode {
  --dark-bg: #f4f6f8;
  --card-bg: #ffffff;
  --text-color: #2c3e50;
  --text-muted: #6c757d;
}

.light-mode h1,
.light-mode h2,
.light-mode h3,
.light-mode h4,
.light-mode h5,
.light-mode h6 {
  color: #2c3e50;
}

.light-mode .navbar {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.light-mode .navbar-brand {
  color: #2c3e50 !important;
}

.light-mode .nav-link {
  color: #2c3e50 !important;
}

.light-mode .nav-link:hover,
.light-mode .nav-link.active {
  color: var(--primary-color) !important;
}

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

.light-mode .btn-outline-light:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.light-mode .ticker-wrap {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.light-mode .feature-card,
.light-mode .step-card,
.light-mode .auth-card {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.light-mode .footer {
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.light-mode .footer h5 {
  color: #2c3e50;
}

.light-mode .newsletter-form .form-control {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #333;
}

.light-mode .social-link {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2c3e50;
}

.light-mode .social-link:hover {
  background: var(--primary-color);
  color: #fff;
}

.light-mode .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.light-mode .bg-dark {
  background-color: #fff !important;
  color: #333 !important;
  border-color: #dee2e6 !important;
}

.light-mode .text-white {
  color: #333 !important;
}

.light-mode .border-secondary {
  border-color: #dee2e6 !important;
}

.light-mode .hero-content p {
  color: #e0e0e0;
}


/* Glassmorphism & Premium Sections */
.glass-card {
  background: rgba(21, 25, 34, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(21, 25, 34, 0.8);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.plan-price-h {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), #fff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.cta-section {
  background: linear-gradient(135deg, #151922 0%, #0b0e14 100%);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 4rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(241, 196, 15, 0.03) 0%, transparent 70%);
  z-index: 0;
}

/* UI Spices */
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes shine {
  from { left: -100%; }
  to { left: 100%; }
}

.btn-primary, .btn-outline-light {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-outline-light::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: none;
}

.btn-primary:hover::after, .btn-outline-light:hover::after {
  animation: shine 0.75s infinite;
}

.glow-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--primary-color);
  z-index: 9999;
  box-shadow: 0 0 10px var(--primary-color);
  transition: width 0.1s ease-out;
}

.vip-card-highlight {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(135deg, rgba(21, 25, 34, 0.8) 0%, rgba(21, 25, 34, 0.4) 100%) !important;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

.bg-premium-gradient {
  background: radial-gradient(circle at 10% 20%, rgba(21, 25, 34, 1) 0%, rgba(11, 14, 20, 1) 90%);
}


