﻿/* BoltRank - Custom Styles */

/* ---- Marquee / Trust Bar ---- */
.marquee-track {
  overflow: hidden;
  width: 100%;
}
.marquee-inner {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee-right 50s linear infinite;
}
.marquee-inner:hover {
  animation-play-state: paused;
}
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body base */
body {
  background-color: #0B1120;
  color: #F8FAFC;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  background-image: radial-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Heading font */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

/* Hero gradient orbs */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-left {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -50px;
  left: -100px;
  pointer-events: none;
  z-index: 0;
}

/* CTA button glow */
.btn-glow {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), 0 0 60px rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 0 80px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

/* Ghost/outline button */
.btn-ghost {
  border: 1px solid rgba(59, 130, 246, 0.5);
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3B82F6;
  transform: translateY(-2px);
}

/* Card styles */
.card-dark {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.card-dark:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Guarantee card glow border */
.guarantee-glow {
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.1), inset 0 0 30px rgba(59, 130, 246, 0.05);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Nav blur */
.nav-blur {
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open {
  max-height: 400px;
}

/* Step connector line */
.step-connector {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, transparent);
  z-index: 0;
}

/* Stat number */
.stat-number {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section divider gradient */
.section-gradient {
  background: linear-gradient(180deg, rgba(19, 28, 49, 0) 0%, rgba(19, 28, 49, 0.4) 50%, rgba(19, 28, 49, 0) 100%);
}

/* Price card */
.price-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Footer gradient */
.footer-cta-gradient {
  background: linear-gradient(135deg, rgba(11, 17, 32, 0) 0%, rgba(26, 39, 68, 0.4) 50%, rgba(11, 17, 32, 0) 100%);
}

/* ======================================= */
/* BEFORE / AFTER SLIDER */
/* ======================================= */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.5);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.ba-after-img {
  display: block;
  width: 100%;
  height: auto;
}
.ba-before-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.ba-slider > .ba-placeholder {
  display: block;
  width: 100%;
  height: auto;
}
.ba-slider .ba-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid #3B82F6;
}
.ba-before img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  max-width: none;
}
.ba-before .ba-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  max-width: none;
}
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 100%;
  margin-left: -22px;
  z-index: 3;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle-line {
  width: 2px;
  height: 100%;
  background: #3B82F6;
  position: absolute;
}
.ba-handle-circle {
  width: 44px;
  height: 44px;
  background: #0B1120;
  border: 2px solid #3B82F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  z-index: 4;
}
.ba-handle-circle svg {
  color: #3B82F6;
}
.ba-label {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  background: rgba(11, 17, 32, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.35);
}
.ba-label-before {
  transform: translateX(calc(-100% - 10px));
  color: #FCA5A5;
  border-color: rgba(239, 68, 68, 0.45);
}
.ba-label-after {
  transform: translateX(10px);
  color: #6EE7B7;
  border-color: rgba(16, 185, 129, 0.45);
}

/* ======================================= */
/* TRUST BAR - marquee scroll */
/* ======================================= */
.trust-marquee {
  display: flex;
  animation: marquee-scroll 30s linear infinite;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ======================================= */
/* FORM STYLES */
/* ======================================= */
.form-input {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.6);
  color: #F8FAFC;
  transition: border-color 0.2s ease;
}
.form-input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-input::placeholder {
  color: #64748B;
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
select.form-input option {
  background: #1E293B;
  color: #F8FAFC;
}

/* ======================================= */
/* PROOF / TESTIMONIAL CARDS */
/* ======================================= */
.testimonial-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 1rem;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

/* Featured case study */
.case-study-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 1.5rem;
}

/* ======================================= */
/* DELIVERABLES GRID */
/* ======================================= */
.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* ======================================= */
/* COMPARISON TABLE */
/* ======================================= */
.comparison-check { color: #10B981; }
.comparison-x { color: #EF4444; }

/* Play button pulse */
.play-pulse {
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* ======================================= */
/* SCROLLBAR */
/* ======================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0B1120; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

