/* ==========================================================================
   BestSignal - Premium Fintech & Educational Trading Platform Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Variables)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Dark Fintech Theme */
  --bg-primary: #080b12;
  --bg-secondary: #0b1020;
  --bg-tertiary: #111827;
  --bg-card: rgba(16, 24, 40, 0.7);
  --bg-card-hover: rgba(24, 34, 56, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-glass-subtle: rgba(255, 255, 255, 0.03);
  --bg-input: rgba(15, 23, 42, 0.8);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);
  --border-glow-blue: rgba(59, 130, 246, 0.3);
  --border-focus: #10b981;

  /* Accent Colors */
  --accent-emerald: #10b981;
  --accent-emerald-hover: #059669;
  --accent-emerald-light: #34d399;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;

  --accent-danger: #f43f5e;
  --accent-danger-glow: rgba(244, 63, 94, 0.25);
  --accent-warning: #f59e0b;
  --accent-warning-glow: rgba(245, 158, 11, 0.2);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #0f172a;

  /* Gradients */
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-primary-btn: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-blue-purple: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-danger: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.35);
  --shadow-blue: 0 0 25px rgba(59, 130, 246, 0.3);

  /* Sizing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* --------------------------------------------------------------------------
   Base & Reset Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Light Orbs & Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: -1;
}

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

p {
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--accent-emerald);
}

/* Scroll Progress Bar at Top */
#scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1050;
  background: transparent;
}

#scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  transition: width 0.05s ease-out;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 1030;
  transition: all var(--transition-normal);
  background: rgba(8, 11, 18, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar-custom.scrolled {
  padding: 12px 0;
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

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

.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--grad-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080b12;
  font-size: 1.15rem;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
  transition: transform var(--transition-normal);
}

.navbar-brand-logo:hover .brand-icon-box {
  transform: rotate(10deg) scale(1.05);
}

.nav-link-custom {
  color: var(--text-secondary) !important;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: var(--radius-full);
  position: relative;
  transition: all var(--transition-normal);
}

.nav-link-custom:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-custom.active {
  color: var(--accent-emerald) !important;
  background: rgba(16, 185, 129, 0.08);
  font-weight: 600;
}

/* Nav Action Buttons */
.btn-nav-login {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-normal);
}

.btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-nav-cta {
  background: var(--grad-primary-btn);
  color: #061e14 !important;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: var(--shadow-emerald);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
  color: #02150d !important;
}

/* Custom Hamburger Toggle */
.navbar-toggler-custom {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  outline: none;
}

.navbar-toggler-custom:focus {
  box-shadow: 0 0 0 2px var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   Shared UI Components & Utility Badges
   -------------------------------------------------------------------------- */
.badge-pill-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  opacity: 0.6;
  animation: pulseAnimation 2s infinite ease-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 12px;
}

.section-tag-amber {
  color: var(--accent-warning);
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}

.section-tag-blue {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.25);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--grad-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: var(--grad-blue-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card System */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Standard Buttons */
.btn-primary-custom {
  background: var(--grad-primary-btn);
  color: #051a11;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: var(--shadow-emerald);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.65);
  color: #02120b;
}

.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Section 2: Hero Section & Educational Dashboard Mockup
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-feature-item i {
  color: var(--accent-emerald);
}

/* Hero Image Frame & Visuals */
.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: 5%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(59, 130, 246, 0.15) 50%, transparent 80%);
  filter: blur(45px);
  z-index: 0;
}

.hero-image-frame {
  position: relative;
  z-index: 1;
  background: rgba(11, 16, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 45px rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(8, 11, 18, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald-light);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Section 3: Trust & Disclaimer Strip
   -------------------------------------------------------------------------- */
.trust-disclaimer-strip {
  padding: 24px 0;
  position: relative;
  z-index: 10;
}

.disclaimer-glass-box {
  background: rgba(17, 24, 39, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 4px solid var(--accent-warning);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.disclaimer-icon-wrapper {
  color: var(--accent-warning);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-warning);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.disclaimer-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section 4: Market Statistics Section
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 70px 0;
  position: relative;
}

.stat-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(16, 24, 40, 0.6);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section 5: What We Provide
   -------------------------------------------------------------------------- */
.services-section {
  padding: 90px 0;
  position: relative;
}

.service-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(16, 24, 40, 0.7);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(22, 32, 54, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald-light);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1);
  background: var(--grad-emerald);
  color: #061e14;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag-item {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Section 6: How It Works & Visual Timeline
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: 100px 0;
  position: relative;
}

.timeline-wrapper {
  position: relative;
  margin-top: 50px;
}

@media (min-width: 992px) {
  .timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, 
      rgba(16, 185, 129, 0.2) 0%, 
      rgba(16, 185, 129, 0.8) 50%, 
      rgba(6, 182, 212, 0.8) 80%,
      rgba(99, 102, 241, 0.4) 100%);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
    z-index: 1;
  }
}

.step-card {
  position: relative;
  z-index: 2;
  background: rgba(16, 24, 40, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  text-align: center;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.15);
}

.step-num-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-emerald);
  color: var(--accent-emerald-light);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-normal);
}

.step-card:hover .step-num-badge {
  background: var(--grad-emerald);
  color: #061e14;
  transform: scale(1.1);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section 7: Why Choose Us (Transparency & Features)
   -------------------------------------------------------------------------- */
.why-us-section {
  padding: 100px 0;
  position: relative;
}

.feature-block-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}

.feature-block-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-block-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-block-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section 8: Risk Management Section ("Risk Comes First")
   -------------------------------------------------------------------------- */
.risk-management-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.8) 0%, rgba(17, 24, 39, 0.6) 50%, rgba(8, 11, 18, 0.8) 100%);
}

.risk-pillar-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-warning);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: all var(--transition-fast);
}

.risk-pillar-card:hover {
  background: rgba(22, 33, 56, 0.8);
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
}

.risk-pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.risk-pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section 9: Educational Resources ("Learn. Analyze. Improve.")
   -------------------------------------------------------------------------- */
.education-section {
  padding: 100px 0;
  position: relative;
}

.edu-card {
  background: rgba(16, 24, 40, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.edu-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.15);
  background: rgba(22, 32, 54, 0.85);
}

.edu-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--accent-cyan);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.edu-card:hover .edu-icon-wrapper {
  background: var(--grad-blue-purple);
  color: #ffffff;
  transform: scale(1.08);
}

.edu-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.edu-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.btn-read-edu {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-read-edu:hover {
  color: #ffffff;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Section 10: Testimonials
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 90px 0;
  position: relative;
}

.testimonial-card {
  background: rgba(16, 24, 40, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  color: rgba(16, 185, 129, 0.3);
  font-size: 2rem;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-emerald);
  color: #080b12;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-info-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.avatar-info-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Section 11: FAQ Section (Bootstrap Accordion Overrides)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.accordion-custom .accordion-item {
  background: rgba(16, 24, 40, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-custom .accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.accordion-custom .accordion-button {
  background: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 20px 24px;
  box-shadow: none !important;
  transition: all var(--transition-fast);
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-emerald-light);
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-custom .accordion-button::after {
  filter: invert(1) grayscale(100%) brightness(200%);
  transition: transform var(--transition-normal);
}

.accordion-custom .accordion-button:not(.collapsed)::after {
  filter: invert(65%) sepia(85%) saturate(400%) hue-rotate(110deg) brightness(95%) contrast(90%);
}

.accordion-custom .accordion-body {
  padding: 22px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Section 12: Final High-Impact CTA
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 80px 0 100px;
  position: relative;
}

.final-cta-box {
  background: radial-gradient(120% 120% at 50% 10%, rgba(16, 185, 129, 0.18) 0%, rgba(11, 16, 32, 0.95) 70%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
}

.final-cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-headline {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.final-cta-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.final-cta-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section 13: Footer & Full Risk Disclosure
   -------------------------------------------------------------------------- */
.footer-custom {
  background: #05070d;
  border-top: 1px solid var(--border-subtle);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 10;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--accent-emerald);
  color: #080b12;
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 20px;
}

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

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

.footer-links-list a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--accent-emerald-light);
  padding-left: 4px;
}

/* Footer Legal Risk Disclaimer Box */
.footer-risk-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-warning);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 40px 0 30px;
}

.footer-risk-title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-warning);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-risk-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Interactive Modals System
   -------------------------------------------------------------------------- */
.modal-content-custom {
  background: #0c1224;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.1);
  color: var(--text-primary);
  backdrop-filter: blur(20px);
}

.modal-header-custom {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 28px;
}

.modal-body-custom {
  padding: 28px;
}

.modal-footer-custom {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 28px;
}

.btn-close-custom {
  filter: invert(1);
  opacity: 0.7;
}

.btn-close-custom:hover {
  opacity: 1;
}

/* Tab buttons in Auth Modal */
.auth-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  color: var(--accent-emerald-light);
  border-bottom-color: var(--accent-emerald);
}

/* --------------------------------------------------------------------------
   Back to Top Floating Button
   -------------------------------------------------------------------------- */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.85);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--accent-emerald);
  color: #080b12;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

/* --------------------------------------------------------------------------
   Toast Notification Styling
   -------------------------------------------------------------------------- */
.custom-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1090;
}

.custom-toast {
  background: rgba(13, 19, 36, 0.95);
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: #ffffff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(16px);
  animation: slideToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  
  .dashboard-mockup-wrapper {
    margin-top: 40px;
  }

  .timeline-wrapper::before {
    display: none;
  }
  
  .step-card {
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-headline {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .final-cta-headline {
    font-size: 2rem;
  }

  .final-cta-box {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn-primary-custom,
  .hero-cta-group .btn-secondary-custom {
    width: 100%;
  }
}
