
/* === PREMIUM UPGRADES === */

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 999999;
  background: linear-gradient(90deg, #1F73F1, #4F9CF7, #1F73F1);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  transition: width 0.1s linear;
  width: 0%;
}

/* --- Animated Gradient Backgrounds --- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(1deg); }
  66% { transform: translateY(4px) rotate(-0.5deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(31,115,241,0.15); }
  50% { box-shadow: 0 0 40px rgba(31,115,241,0.3); }
}

/* --- Hero Floating Orbs --- */
.hero::before {
  content: ''; position: absolute; top: 15%; right: 10%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,115,241,0.12), transparent 70%);
  animation: subtleFloat 8s ease-in-out infinite;
  z-index: 1; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 20%; left: 5%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,156,247,0.1), transparent 70%);
  animation: subtleFloat 6s ease-in-out infinite reverse;
  z-index: 1; pointer-events: none;
}

/* --- Enhanced Nav Links --- */
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--fp-blue); border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover::after, .nav-links a.active::after {
  left: 16px; right: 16px;
}

/* --- Shimmer CTA Button --- */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

/* --- Enhanced Card Hover (3D tilt + glow) --- */
.card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31,115,241,0.12), 0 0 0 1px rgba(31,115,241,0.1);
}
.card-premium .card-icon {
  transition: var(--transition);
}
.card-premium:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(31,115,241,0.2);
}

/* --- Gradient Border Cards --- */
.stat-card {
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--fp-blue), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* --- Animated Stat Numbers --- */
.stat-number {
  background: linear-gradient(135deg, var(--fp-blue), #4F9CF7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Enhanced Leader Cards --- */
.leader-avatar {
  position: relative;
}
.leader-avatar::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid transparent;
  background: linear-gradient(135deg, var(--fp-blue), #4F9CF7) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
}

/* --- Enhanced CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--fp-navy) 0%, #0d1f3c 50%, #132d5e 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
.cta-section::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,115,241,0.1), transparent 70%);
  pointer-events: none;
}

/* --- Enhanced Trust Bar --- */
.trust-bar {
  background: linear-gradient(90deg, var(--fp-off-white), #EEF4FF, var(--fp-off-white));
}
.trust-item .dot {
  animation: glowPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(31,115,241,0.3);
}

/* --- Value Check Pulse --- */
.value-check {
  transition: var(--transition);
}
.value-list li:hover .value-check {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(31,115,241,0.2);
}

/* --- Highlight Card Enhancement --- */
.highlight-card::before {
  transition: height 0.3s ease;
}
.highlight-card:hover::before {
  width: 4px;
  background: linear-gradient(180deg, var(--fp-blue), #4F9CF7);
}

/* --- Form Focus Glow --- */
.form-input:focus, .form-textarea:focus {
  border-color: var(--fp-blue);
  box-shadow: 0 0 0 3px var(--fp-blue-glow), 0 0 20px rgba(31,115,241,0.08);
}

/* --- Mockup Wrapper Enhancement --- */
.mockup-wrapper {
  transition: var(--transition);
}
.mockup-wrapper:hover {
  transform: scale(1.02);
}
.mockup-wrapper::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(31,115,241,0.05), transparent);
  z-index: 1; pointer-events: none;
}

/* --- News Card Timeline Dot --- */
.news-card {
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.news-card:hover {
  border-left-color: var(--fp-blue);
  transform: translateX(4px);
}

/* --- Section Label Glow --- */
.section-label {
  position: relative; overflow: hidden;
}

/* --- Footer Enhancement --- */
.footer {
  background: linear-gradient(180deg, var(--fp-gray-900), #0a0f1a);
}

/* --- Smooth Page Load --- */
body {
  animation: fadeIn 0.5s ease;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--fp-gray-100); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--fp-blue), #4F9CF7); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--fp-blue-dark); }

/* --- Responsive Orb Cleanup --- */
@media (max-width: 768px) {
  .hero::before, .hero::after { display: none; }
  .nav-links a::after { display: none; }
}
