/* ===== SCALEUP SHARED STYLES ===== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Heebo', sans-serif;
  background: #fff;
  color: #1e293b;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: linear-gradient(90deg, #2563eb, #10b981, #7c3aed);
  width: 0%;
  transition: width 0.1s;
}

/* ===== CURSOR GLOW ===== */
#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.3s ease, top 0.3s ease;
  display: none;
}

@media (min-width: 768px) {
  #cursor-glow {
    display: block;
  }
}

/* ===== NAVBAR ===== */
#navbar {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
  background: rgba(10, 15, 40, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

#navbar.scrolled .nav-link:hover {
  color: #60a5fa !important;
}

/* ===== SECTIONS ===== */
.section-p {
  padding: 100px 16px;
}

@media (min-width: 768px) {
  .section-p {
    padding: 100px 32px;
  }
}

@media (min-width: 1024px) {
  .section-p {
    padding: 100px 64px;
  }
}

.cmax {
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== HERO BG ===== */
.bg-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0f172a 100%);
  position: relative;
}

/* ===== DARK SECTIONS ===== */
.dark-section {
  background: linear-gradient(135deg, #0a0a2e 0%, #0d1033 40%, #0a0a2e 100%);
  position: relative;
  overflow: hidden;
}

/* ===== GRADIENT BORDER CARD ===== */
.gradient-border-card {
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563eb, #7c3aed, #10b981);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gradient-border-card:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.3), 0 0 60px rgba(124, 58, 237, 0.15);
}

.gradient-border-card-inner {
  background: #0d1033;
  border-radius: 18px;
  padding: 28px;
  height: 100%;
}

/* ===== GLASSMORPHISM CARD ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.4s;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== GLOW ICON ===== */
.glow-icon {
  filter: drop-shadow(0 0 8px currentColor);
  transition: filter 0.3s;
}

.gradient-border-card:hover .glow-icon {
  filter: drop-shadow(0 0 16px currentColor);
}

/* ===== DARK TAGS ===== */
.dark-tag {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== FLOATING ORBS ===== */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(40px, -30px);
  }
  50% {
    transform: translate(-20px, 40px);
  }
  75% {
    transform: translate(-40px, -20px);
  }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children .reveal:nth-child(5) {
  transition-delay: 0.35s;
}

.stagger-children .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* ===== 3D CARD ===== */
.card-3d {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* ===== TYPEWRITER ===== */
.typewriter-cursor::after {
  content: '|';
  animation: blink 0.7s infinite;
  color: #10b981;
  margin-right: 2px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* ===== PARTICLES ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(var(--px));
  }
}

/* ===== TUBE ANIMATION ===== */
.tube-container {
  position: relative;
  width: 220px;
  height: 420px;
  margin: 0 auto;
}

.tube-base {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 50px;
  background: linear-gradient(180deg, #1e40af, #312e81);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.6), 0 0 80px rgba(56, 189, 248, 0.3),
    inset 0 -5px 15px rgba(56, 189, 248, 0.4);
}

.tube-base-glow {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 30px;
  background: rgba(34, 211, 238, 0.9);
  border-radius: 50%;
  filter: blur(2px);
  animation: base-pulse 2s ease-in-out infinite;
}

.tube-beam {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 350px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(56, 189, 248, 0.03) 20%,
    rgba(56, 189, 248, 0.08) 50%,
    rgba(34, 211, 238, 0.15) 80%,
    rgba(34, 211, 238, 0.3) 100%
  );
  border-radius: 60px 60px 0 0;
}

.tube-beam-inner {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 350px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(56, 189, 248, 0.02) 30%,
    rgba(34, 211, 238, 0.06) 60%,
    rgba(34, 211, 238, 0.15) 100%
  );
  border-radius: 40px 40px 0 0;
}

.tube-ring {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 20px;
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  animation: ring-pulse 3s ease-in-out infinite;
}

.tube-ring-2 {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 22px;
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 50%;
  animation: ring-pulse 3s ease-in-out infinite 0.5s;
}

/* Bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.6);
  background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.4), rgba(34, 211, 238, 0.1));
  animation: bubble-rise linear infinite;
}

.bubble::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 20%;
  width: 30%;
  height: 30%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

@keyframes bubble-rise {
  0% {
    bottom: 40px;
    opacity: 0;
    transform: translateX(0) scale(0.3);
  }
  10% {
    opacity: 0.8;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: translateX(var(--drift)) scale(1);
  }
  90% {
    opacity: 0.4;
    transform: translateX(calc(var(--drift) * -0.5)) scale(0.8);
  }
  100% {
    bottom: 400px;
    opacity: 0;
    transform: translateX(0) scale(0.3);
  }
}

@keyframes base-pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
  }
}

@keyframes ring-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1.05);
  }
}

/* ===== FALLING STARS ===== */
.falling-stars-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.falling-star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.4), 0 0 12px 4px rgba(200, 220, 255, 0.15);
}

.falling-star::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: var(--trail-len, 80px);
  height: 1.5px;
  transform: translateY(-50%);
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(200, 210, 255, 0.3) 30%,
    rgba(180, 200, 255, 0.05) 70%,
    transparent 100%
  );
  border-radius: 1px;
}

@keyframes falling-star-anim {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(var(--angle));
  }
  3% {
    opacity: 1;
  }
  65% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--angle));
  }
}

.falling-star.active {
  animation: falling-star-anim var(--duration) linear forwards;
}

/* Static twinkling star dots */
.star-dot {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.2);
  animation: star-twinkle 3s ease-in-out infinite;
}

@keyframes star-twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.6);
  }
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb, #10b981, #7c3aed, transparent);
  opacity: 0.3;
  margin: 0 auto;
  max-width: 600px;
}

/* ===== GLOWING TITLE ===== */
.glow-title {
  text-shadow: 0 0 30px rgba(37, 99, 235, 0.15);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== PRICING GRADIENTS ===== */
.pricing-meta {
  background: linear-gradient(135deg, #1877f2, #e1306c);
  padding: 2px;
  border-radius: 24px;
}

.pricing-advanced {
  background: linear-gradient(135deg, #1877f2, #e1306c, #34a853);
  padding: 3px;
  border-radius: 24px;
  transform: scale(1.04);
}

.pricing-ultimate {
  background: linear-gradient(135deg, #1877f2, #e1306c, #34a853, #010101);
  padding: 2px;
  border-radius: 24px;
}

.pricing-card-inner {
  background: #0a0a2e;
  border-radius: 22px;
  padding: 32px;
  height: 100%;
}

/* Platform icons row */
.platform-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.platform-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tech grid bg */
.tech-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ===== MARQUEE ===== */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-track {
  animation: marquee 25s linear infinite;
}

/* ===== COUNTER ===== */
.counter-value {
  font-variant-numeric: tabular-nums;
}

/* ===== MAGNETIC BUTTON ===== */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FLOATING LABEL INPUT ===== */
.float-input-group {
  position: relative;
}

.float-input {
  width: 100%;
  padding: 16px 20px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
}

.float-input:focus {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.float-label {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  pointer-events: none;
  transition: all 0.25s;
}

.float-input:focus ~ .float-label,
.float-input:not(:placeholder-shown) ~ .float-label {
  top: 10px;
  transform: translateY(0);
  font-size: 11px;
  color: #60a5fa;
}

textarea.float-input ~ .float-label {
  top: 16px;
  transform: translateY(0);
}

textarea.float-input:focus ~ .float-label,
textarea.float-input:not(:placeholder-shown) ~ .float-label {
  top: 6px;
  font-size: 11px;
  color: #60a5fa;
}

/* ===== CRO FORM WRAP ===== */
.cro-form-wrap {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
}

/* ===== PULSE CTA ===== */
.pulse-cta {
  position: relative;
  overflow: hidden;
}

.pulse-cta::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  opacity: 0;
  animation: cta-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes cta-pulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.03);
  }
}

/* ===== TRUST SIGNALS ===== */
.trust-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: #10b981;
}

/* ===== FAQ ===== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-arrow {
  transition: transform 0.3s;
}

.faq-arrow.open {
  transform: rotate(180deg);
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ===== PROCESS TIMELINE ===== */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 3px;
  background: linear-gradient(180deg, #2563eb, #7c3aed, #10b981);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #2563eb;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.timeline-dot.active {
  background: #10b981;
  box-shadow: 0 0 0 3px #10b981, 0 0 20px rgba(16, 185, 129, 0.4);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@keyframes wa-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* Mobile menu */
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
}

/* ===== FLOATING ICONS ===== */
.float-icon {
  position: absolute;
  opacity: 0.1;
  animation: float-around ease-in-out infinite;
}

@keyframes float-around {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-3deg);
  }
  75% {
    transform: translateY(-25px) rotate(2deg);
  }
}

/* ===== PARALLAX ===== */
.parallax-slow {
  will-change: transform;
}


/* ===== PAGE LOAD FADE-IN ===== */
@keyframes fadeInPage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body {
  animation: fadeInPage 0.8s ease-out;
}

/* ===== ENHANCED CARD HOVER ===== */
@keyframes shimmerBorder {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.gradient-border-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.4), 0 0 80px rgba(124, 58, 237, 0.25), 0 0 120px rgba(16, 185, 129, 0.15);
}

.gradient-border-card {
  position: relative;
  overflow: hidden;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmerBorder 3s infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.gradient-border-card:hover::before {
  opacity: 1;
}

/* ===== ANIMATED GRADIENT TEXT ===== */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section-title {
  background: linear-gradient(135deg, #2563eb, #7c3aed, #10b981, #2563eb);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== PARALLAX FLOATING ORBS (ENHANCED) ===== */
@keyframes orbDriftParallax {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(40px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 40px) scale(0.95);
  }
  75% {
    transform: translate(-40px, -20px) scale(1.02);
  }
}

.floating-orb {
  animation: orbDriftParallax 25s ease-in-out infinite;
  will-change: transform;
}

/* ===== IMPROVED SECTION TRANSITIONS ===== */
.reveal {
  animation: revealUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal-left {
  animation: revealLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes revealLeft {
  0% {
    opacity: 0;
    transform: translateX(80px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.reveal-right {
  animation: revealRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes revealRight {
  0% {
    opacity: 0;
    transform: translateX(-80px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.reveal-scale {
  animation: revealScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes revealScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* ===== BUTTON PULSE & GLOW (ENHANCED) ===== */
.pulse-cta {
  position: relative;
  overflow: hidden;
}

.pulse-cta::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  opacity: 0;
  animation: ctaPulseEnhanced 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}

@keyframes ctaPulseEnhanced {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
    filter: blur(8px);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
    filter: blur(12px);
  }
}

.pulse-cta:hover::after {
  animation: ctaPulseIntense 1.5s ease-in-out infinite;
}

@keyframes ctaPulseIntense {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

/* ===== ENHANCED MOBILE RESPONSIVE ===== */
@media (max-width: 640px) {
  .section-p {
    padding: 60px 16px;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  .grid {
    gap: 16px !important;
  }

  .card-3d {
    transform: none;
  }

  .card-3d:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .section-title::after {
    width: 40px;
  }
}

@media (min-width: 1024px) {
  .section-p {
    padding: 120px 64px;
  }
}

/* ===== SMOOTH SCROLL SNAP ===== */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===== SKELETON LOADING SHIMMER ===== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton-loading {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* ===== NAVBAR GLASS BLUR ENHANCEMENT ===== */
#navbar.scrolled {
  background: rgba(10, 15, 40, 0.95) !important;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

#navbar.scrolled .nav-link:hover {
  color: #60a5fa !important;
}

#navbar {
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
  opacity: 1;
}

/* ===== PRICING CARD TILT & GLOW ===== */
.pricing-meta:hover,
.pricing-advanced:hover,
.pricing-ultimate:hover {
  transform: translateY(-20px) perspective(1000px) rotateX(5deg);
  box-shadow: 0 30px 80px rgba(24, 119, 242, 0.3), 0 0 60px rgba(124, 58, 237, 0.2);
}

.pricing-card-inner {
  transition: all 0.3s ease;
}

.pricing-meta:hover .pricing-card-inner,
.pricing-advanced:hover .pricing-card-inner,
.pricing-ultimate:hover .pricing-card-inner {
  transform: translateZ(20px);
}

/* ===== FOOTER GRADIENT BACKGROUND ===== */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

footer > * {
  position: relative;
  z-index: 10;
}

/* ===== ACCESSIBILITY FOCUS STATES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3);
}

.float-input:focus {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.nav-link:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-color: #2563eb;
  text-underline-offset: 4px;
}

/* ===== ANIMATED NAV LINK UNDERLINE ===== */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #2563eb !important;
}

/* ===== COUNTER ANIMATION ENHANCEMENT ===== */
@keyframes counterGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.6), 0 0 30px rgba(16, 185, 129, 0.3);
  }
}

.counter-value {
  animation: counterGlow 1.5s ease-in-out;
}


/* ===== PAGE LOAD FADE-IN ===== */
@keyframes fadeInPage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body {
  animation: fadeInPage 0.8s ease-out;
}

/* ===== ENHANCED CARD HOVER ===== */
@keyframes shimmerBorder {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.gradient-border-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.4), 0 0 80px rgba(124, 58, 237, 0.25), 0 0 120px rgba(16, 185, 129, 0.15);
}

.gradient-border-card {
  position: relative;
  overflow: hidden;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmerBorder 3s infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.gradient-border-card:hover::before {
  opacity: 1;
}

/* ===== ANIMATED GRADIENT TEXT ===== */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section-title {
  background: linear-gradient(135deg, #2563eb, #7c3aed, #10b981, #2563eb);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== PARALLAX FLOATING ORBS (ENHANCED) ===== */
@keyframes orbDriftParallax {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(40px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 40px) scale(0.95);
  }
  75% {
    transform: translate(-40px, -20px) scale(1.02);
  }
}

.floating-orb {
  animation: orbDriftParallax 25s ease-in-out infinite;
  will-change: transform;
}

/* ===== IMPROVED SECTION TRANSITIONS ===== */
.reveal {
  animation: revealUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal-left {
  animation: revealLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes revealLeft {
  0% {
    opacity: 0;
    transform: translateX(80px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.reveal-right {
  animation: revealRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes revealRight {
  0% {
    opacity: 0;
    transform: translateX(-80px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.reveal-scale {
  animation: revealScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes revealScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* ===== BUTTON PULSE & GLOW (ENHANCED) ===== */
.pulse-cta {
  position: relative;
  overflow: hidden;
}

.pulse-cta::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  opacity: 0;
  animation: ctaPulseEnhanced 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}

@keyframes ctaPulseEnhanced {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
    filter: blur(8px);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
    filter: blur(12px);
  }
}

.pulse-cta:hover::after {
  animation: ctaPulseIntense 1.5s ease-in-out infinite;
}

@keyframes ctaPulseIntense {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

/* ===== ENHANCED MOBILE RESPONSIVE ===== */
@media (max-width: 640px) {
  .section-p {
    padding: 60px 16px;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  .grid {
    gap: 16px !important;
  }

  .card-3d {
    transform: none;
  }

  .card-3d:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .section-title::after {
    width: 40px;
  }
}

@media (min-width: 1024px) {
  .section-p {
    padding: 120px 64px;
  }
}

/* ===== SMOOTH SCROLL SNAP ===== */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===== SKELETON LOADING SHIMMER ===== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton-loading {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* ===== NAVBAR GLASS BLUR ENHANCEMENT ===== */
#navbar.scrolled {
  background: rgba(10, 15, 40, 0.95) !important;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

#navbar.scrolled .nav-link:hover {
  color: #60a5fa !important;
}

#navbar {
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
  opacity: 1;
}

/* ===== PRICING CARD TILT & GLOW ===== */
.pricing-meta:hover,
.pricing-advanced:hover,
.pricing-ultimate:hover {
  transform: translateY(-20px) perspective(1000px) rotateX(5deg);
  box-shadow: 0 30px 80px rgba(24, 119, 242, 0.3), 0 0 60px rgba(124, 58, 237, 0.2);
}

.pricing-card-inner {
  transition: all 0.3s ease;
}

.pricing-meta:hover .pricing-card-inner,
.pricing-advanced:hover .pricing-card-inner,
.pricing-ultimate:hover .pricing-card-inner {
  transform: translateZ(20px);
}

/* ===== FOOTER GRADIENT BACKGROUND ===== */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

footer > * {
  position: relative;
  z-index: 10;
}

/* ===== ACCESSIBILITY FOCUS STATES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3);
}

.float-input:focus {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.nav-link:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-color: #2563eb;
  text-underline-offset: 4px;
}

/* ===== ANIMATED NAV LINK UNDERLINE ===== */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #2563eb !important;
}

/* ===== COUNTER ANIMATION ENHANCEMENT ===== */
@keyframes counterGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.6), 0 0 30px rgba(16, 185, 129, 0.3);
  }
}

.counter-value {
  animation: counterGlow 1.5s ease-in-out;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2563eb, #7c3aed);
  border-radius: 3px;
}


/* ===== V2 SERVICE CARDS ===== */
.service-card-v2 {
  position: relative;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(56,189,248,0.4), rgba(59,130,246,0.2), rgba(124,58,237,0.3));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card-v2:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, rgba(56,189,248,0.7), rgba(59,130,246,0.5), rgba(124,58,237,0.6));
  box-shadow: 0 20px 60px rgba(56,189,248,0.15), 0 0 40px rgba(59,130,246,0.1);
}
.service-card-v2-inner {
  background: linear-gradient(180deg, rgba(15,23,42,0.95), rgba(10,10,46,0.98));
  border-radius: 18px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  transition: all 0.3s ease;
}
.service-card-v2:hover .service-icon-wrap {
  transform: scale(1.1);
}
.service-icon-blue { background: rgba(37,99,235,0.15); box-shadow: 0 0 20px rgba(37,99,235,0.1); }
.service-icon-purple { background: rgba(124,58,237,0.15); box-shadow: 0 0 20px rgba(124,58,237,0.1); }
.service-icon-green { background: rgba(16,185,129,0.15); box-shadow: 0 0 20px rgba(16,185,129,0.1); }
.service-icon-amber { background: rgba(245,158,11,0.15); box-shadow: 0 0 20px rgba(245,158,11,0.1); }
.service-card-v2:hover .service-icon-blue { box-shadow: 0 0 30px rgba(37,99,235,0.3); }
.service-card-v2:hover .service-icon-purple { box-shadow: 0 0 30px rgba(124,58,237,0.3); }
.service-card-v2:hover .service-icon-green { box-shadow: 0 0 30px rgba(16,185,129,0.3); }
.service-card-v2:hover .service-icon-amber { box-shadow: 0 0 30px rgba(245,158,11,0.3); }
.service-tag-v2 {
  padding: 4px 12px;
  font-size: 11px;
  border-radius: 50px;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.15);
  color: rgba(186,230,253,0.8);
  transition: all 0.3s ease;
}
.service-card-v2:hover .service-tag-v2 {
  background: rgba(56,189,248,0.15);
  border-color: rgba(56,189,248,0.3);
}

/* ===== V2 WHY CARDS (different style) ===== */
.why-card-v2 {
  background: linear-gradient(180deg, rgba(15,23,42,0.7), rgba(15,23,42,0.9));
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.why-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.why-card-v2:hover::before {
  opacity: 1;
}
.why-card-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(56,189,248,0.2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 30px rgba(56,189,248,0.05);
  background: linear-gradient(180deg, rgba(15,23,42,0.85), rgba(15,23,42,0.95));
}
.why-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.why-icon-blue { background: rgba(37,99,235,0.12); }
.why-icon-purple { background: rgba(124,58,237,0.12); }
.why-icon-green { background: rgba(16,185,129,0.12); }
.why-icon-yellow { background: rgba(234,179,8,0.12); }
.why-card-v2:hover .why-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

/* ===== V2 TESTIMONIALS ===== */
.testimonial-v2 {
  background: linear-gradient(180deg, rgba(15,23,42,0.6), rgba(15,23,42,0.85));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56,189,248,0.1);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.testimonial-v2::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56,189,248,0.03) 0%, transparent 60%);
  pointer-events: none;
  transition: opacity 0.4s;
  opacity: 0;
}
.testimonial-v2:hover::after { opacity: 1; }
.testimonial-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(56,189,248,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(56,189,248,0.08);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-quote {
  color: rgba(226,232,240,0.85);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148,163,184,0.08);
  width: 100%;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: white;
  flex-shrink: 0;
}

/* ===== CYAN CURSOR GLOW ===== */
#cyan-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.07) 0%, rgba(56,189,248,0.03) 30%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.2s ease-out, top 0.2s ease-out, opacity 0.3s ease;
  opacity: 0;
}
.dark-section:hover ~ #cyan-glow,
.dark-section #cyan-glow-active {
  opacity: 1;
}

/* Sparkle animation */
@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Gradient text animation */
.gradient-text-animate {
  background: linear-gradient(135deg, #38bdf8, #818cf8, #a78bfa, #38bdf8);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== ROI CALCULATOR ===== */
/* === ROI CALCULATOR REDESIGN === */
.roi-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .roi-wrapper {
    grid-template-columns: 1fr;
  }
}

.roi-inputs-panel,
.roi-results-panel {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.roi-inputs-panel::before,
.roi-results-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  border-radius: 20px 20px 0 0;
}

.roi-results-panel::before {
  background: linear-gradient(90deg, #10b981, #f59e0b);
}

.roi-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.roi-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roi-panel-icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.roi-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0;
}

.roi-input-group {
  margin-bottom: 24px;
}

.roi-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
}

.roi-label-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

/* Custom select wrapper */
.roi-select-wrapper {
  position: relative;
}

.roi-select {
  width: 100%;
  padding: 14px 18px;
  padding-left: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: white;
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.roi-select option {
  background: #1e2740;
  color: #111827;
  font-family: 'Heebo', sans-serif;
  padding: 10px 14px;
  font-size: 15px;
}

.roi-select-arrow {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  pointer-events: none;
  transition: transform 0.3s;
}

.roi-select:focus + .roi-select-arrow {
  color: #60a5fa;
}

.roi-select:hover, .roi-select:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(37, 99, 235, 0.5);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* Budget display */
.roi-budget-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 14px;
}

.roi-budget-amount {
  font-size: 32px;
  font-weight: 900;
  color: #60a5fa;
  letter-spacing: -0.5px;
}

.roi-budget-period {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Custom slider */
.roi-slider-container {
  padding: 0 4px;
}

.roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border: 3px solid rgba(255,255,255,0.9);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,99,235,0.4);
  transition: transform 0.2s;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border: 3px solid rgba(255,255,255,0.9);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,99,235,0.4);
}

.roi-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* CTA button */
.roi-cta-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  border-radius: 14px;
  color: white;
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.roi-cta-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

/* Results panel */
.roi-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
  gap: 16px;
}

.roi-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.roi-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.roi-result-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.roi-result-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.roi-result-highlight {
  background: rgba(16,185,129,0.06);
  border-color: rgba(16,185,129,0.15);
}

.roi-result-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.roi-result-value {
  font-size: 26px;
  font-weight: 900;
  color: #10b981;
  line-height: 1;
  margin-bottom: 6px;
}

.roi-result-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Profit bar */
.roi-profit-bar {
  margin-top: 18px;
  padding: 16px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.12);
  border-radius: 14px;
}

.roi-profit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.roi-profit-value {
  font-size: 20px;
  font-weight: 900;
  color: #10b981;
}

.roi-profit-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.roi-profit-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== BEFORE/AFTER SLIDER ===== */
.before-after-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.before-after-comparison {
  position: relative;
  width: 100%;
  padding-bottom: 66.66%;
  background: #0a0a2e;
}

.before-after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #2563eb, #10b981);
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
}

.before-after-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.before-label, .after-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  z-index: 5;
}

.before-label {
  right: 20px;
}

.after-label {
  left: 20px;
}

/* ===== ANIMATED TIMELINE ===== */
.animated-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-track {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 3px;
  background: linear-gradient(180deg, transparent, #2563eb, #7c3aed, #10b981, transparent);
  background-size: 100% 200%;
  animation: timeline-fill 3s ease forwards;
}

@keyframes timeline-fill {
  0% { background-position: 0 200%; }
  100% { background-position: 0 0; }
}

.timeline-step {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  opacity: 0;
  animation: timeline-step-fade 0.6s ease forwards;
}

.timeline-step:nth-child(1) { animation-delay: 0.2s; }
.timeline-step:nth-child(2) { animation-delay: 0.4s; }
.timeline-step:nth-child(3) { animation-delay: 0.6s; }
.timeline-step:nth-child(4) { animation-delay: 0.8s; }
.timeline-step:nth-child(5) { animation-delay: 1s; }
.timeline-step:nth-child(6) { animation-delay: 1.2s; }
.timeline-step:nth-child(7) { animation-delay: 1.4s; }

@keyframes timeline-step-fade {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-icon-wrapper {
  flex-shrink: 0;
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 2;
  animation: icon-pulse 2s ease-in-out infinite;
}

.timeline-step:hover .timeline-icon {
  animation: icon-pulse 0.6s ease-in-out;
}

@keyframes icon-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.2);
  }
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.timeline-content h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 16px;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== VIDEO TESTIMONIALS ===== */
.video-testimonials-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.video-carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 9/10;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s;
}

.video-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
  transform: translateY(-8px);
}

.video-card-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e40af, #312e81);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 48px;
}

.video-play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.3s;
  z-index: 5;
}

.video-card:hover .video-play-button {
  opacity: 1;
}

.video-play-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s;
}

.video-card:hover .video-play-icon {
  transform: scale(1);
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
  color: white;
  z-index: 4;
}

.video-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.video-business {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  background: #0a0a2e;
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-modal-close {
  position: fixed;
  top: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s;
  z-index: 10000;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== PARALLAX 3D HERO ===== */
.hero-parallax-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.parallax-shape {
  position: absolute;
  opacity: 0.1;
  filter: blur(1px);
  animation: shape-float 6s ease-in-out infinite;
}

.parallax-shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  top: 10%;
  left: 10%;
  border-radius: 30% 70% 70% 30%;
  animation-delay: 0s;
}

.parallax-shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  top: 60%;
  right: 10%;
  border-radius: 63% 37% 54% 46%;
  animation-delay: 1s;
}

.parallax-shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #f59e0b, #10b981);
  top: 30%;
  right: 30%;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation-delay: 2s;
}

@keyframes shape-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(10deg);
  }
  50% {
    transform: translateY(20px) rotate(20deg);
  }
  75% {
    transform: translateY(-10px) rotate(10deg);
  }
}

/* Particles floating up */
.floating-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.glow-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(56, 189, 248, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
  animation: particle-up 4s ease-in infinite;
}

@keyframes particle-up {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(var(--tx));
  }
}
