/* ═══════════════════════════════════════════════════════
   ROBOX — Premium Enhancements
   Features: cursor, grain, progress, dark mode, carousel,
   sticky CTA, exit popup, page transitions, tilt, parallax
═══════════════════════════════════════════════════════ */

/* ── 1. CUSTOM CURSOR ── */
*, *::before, *::after { cursor: none !important; }

#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--red, #ff0000);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
  mix-blend-mode: multiply;
}

#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,0,0,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              height 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.3s;
}

#cursor.hover { width: 6px; height: 6px; }
#cursor-ring.hover { width: 56px; height: 56px; border-color: rgba(255,0,0,0.3); }
#cursor.click { width: 14px; height: 14px; }
#cursor-ring.click { width: 28px; height: 28px; }

@media (hover: none) {
  #cursor, #cursor-ring { display: none; }
  *, *::before, *::after { cursor: auto !important; }
}

/* ── 2. SCROLL PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red, #ff0000), #ff6b6b);
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(255,0,0,0.5);
}

/* ── 3. GRAIN TEXTURE ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainShift 0.5s steps(2) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2px,1px); }
  50%  { transform: translate(1px,-2px); }
  75%  { transform: translate(-1px,2px); }
  100% { transform: translate(2px,-1px); }
}

/* ── 4. DARK MODE ── */
[data-theme="dark"] {
  --white: #0a0a0f;
  --off-white: #0d1117;
  --gray-50: #111827;
  --gray-100: #1a2332;
  --gray-200: #2d3748;
  --gray-400: #9ca3af;
  --gray-500: #94a3b8;
  --gray-700: #cbd5e1;
  --black: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

[data-theme="dark"] .navbar {
  background: rgba(10,10,15,0.95);
  border-bottom-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .hcard,
[data-theme="dark"] .service-card,
[data-theme="dark"] .case-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .contact-form {
  background: #111827;
  border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .metric-box { background: #1a2332; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .hero { background: #0a0a0f; }
[data-theme="dark"] .page-hero { background: #0d1117; }
[data-theme="dark"] .marquee-section { background: #0d1117; }

.dark-toggle {
  width: 40px; height: 22px;
  background: var(--gray-200);
  border-radius: 100px;
  border: none;
  cursor: none;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}

.dark-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .dark-toggle { background: var(--red); }
[data-theme="dark"] .dark-toggle::after { transform: translateX(18px); }

.dark-icon { font-size: 14px; pointer-events: none; }

/* ── 5. PAGE TRANSITION OVERLAY ── */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--black, #0a0a0f);
  z-index: 9997;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

#page-transition.enter {
  animation: ptEnter 0.35s cubic-bezier(0.76,0,0.24,1) forwards;
}
#page-transition.exit {
  transform: scaleY(1);
  transform-origin: top;
  animation: ptExit 0.35s cubic-bezier(0.76,0,0.24,1) forwards;
}

@keyframes ptEnter {
  0%   { transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes ptExit {
  0%   { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* ── 6. STICKY CTA ── */
#sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}

#sticky-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#sticky-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red, #ff0000);
  color: #fff;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(255,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

#sticky-cta a:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(255,0,0,0.5);
}

#sticky-cta .pulse-dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ── 7. EXIT INTENT POPUP ── */
#exit-popup {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#exit-popup.show {
  opacity: 1;
  pointer-events: auto;
}

#exit-popup-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(6px);
}

#exit-popup-box {
  position: relative;
  background: var(--white, #fff);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border-top: 4px solid var(--red, #ff0000);
}

#exit-popup.show #exit-popup-box { transform: translateY(0) scale(1); }

#exit-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-100, #f3f4f6);
  border: none;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  color: var(--gray-500, #6b7280);
  transition: background 0.2s;
}
#exit-close:hover { background: var(--gray-200, #e5e7eb); }

.exit-emoji { font-size: 48px; margin-bottom: 16px; }
#exit-popup h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; color: var(--black, #0a0a0a); }
#exit-popup p { font-size: 15px; color: var(--gray-500, #6b7280); margin-bottom: 28px; line-height: 1.6; }

/* ── 8. TESTIMONIALS CAROUSEL ── */
.testimonials-section { padding: 80px 0; overflow: hidden; }

.testimonials-track-wrap {
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.testimonial-card {
  background: var(--white, #fff);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 16px;
  padding: 32px;
  min-width: 380px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.3s;
}

.testimonial-card:hover { box-shadow: var(--shadow-lg); }

.testimonial-quote {
  font-size: 40px;
  color: var(--red, #ff0000);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700, #374151);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.testimonial-name { font-size: 14px; font-weight: 700; color: var(--black, #0a0a0a); }
.testimonial-role { font-size: 12px; color: var(--gray-400, #9ca3af); }

.stars { color: #f59e0b; font-size: 13px; margin-bottom: 12px; }

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200, #e5e7eb);
  background: var(--white, #fff);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  font-size: 18px;
  transition: all 0.2s;
  color: var(--black, #0a0a0a);
}

.carousel-btn:hover {
  background: var(--red, #ff0000);
  border-color: var(--red, #ff0000);
  color: #fff;
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-200, #e5e7eb);
  transition: all 0.3s;
  cursor: none;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 100px;
  background: var(--red, #ff0000);
}

/* ── 9. SPLIT TEXT ── */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.split-word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.split-word-inner.visible {
  transform: translateY(0);
}

/* Stagger delays */
.split-word:nth-child(1)  .split-word-inner { transition-delay: 0s; }
.split-word:nth-child(2)  .split-word-inner { transition-delay: 0.06s; }
.split-word:nth-child(3)  .split-word-inner { transition-delay: 0.12s; }
.split-word:nth-child(4)  .split-word-inner { transition-delay: 0.18s; }
.split-word:nth-child(5)  .split-word-inner { transition-delay: 0.24s; }
.split-word:nth-child(6)  .split-word-inner { transition-delay: 0.30s; }
.split-word:nth-child(7)  .split-word-inner { transition-delay: 0.36s; }
.split-word:nth-child(8)  .split-word-inner { transition-delay: 0.42s; }
.split-word:nth-child(9)  .split-word-inner { transition-delay: 0.48s; }

/* ── 10. STAT GLOW ── */
.stat-glow {
  animation: statGlow 0.6s ease forwards;
}

@keyframes statGlow {
  0%   { text-shadow: none; }
  50%  { text-shadow: 0 0 20px rgba(255,0,0,0.6), 0 0 40px rgba(255,0,0,0.3); }
  100% { text-shadow: 0 0 8px rgba(255,0,0,0.2); }
}

/* ── 11. CALENDLY MODAL ── */
#calendly-modal {
  position: fixed;
  inset: 0;
  z-index: 99991;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#calendly-modal.show { opacity: 1; pointer-events: auto; }

#calendly-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(8px);
}

#calendly-modal-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  height: 80vh;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border-top: 4px solid #ff0000;
}

#calendly-modal.show #calendly-modal-box { transform: scale(1) translateY(0); }

#calendly-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  font-size: 20px;
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
#calendly-close:hover { background: rgba(0,0,0,0.15); }

#calendly-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── 12. TYPED CURSOR ── */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--red, #ff0000);
  margin-left: 4px;
  vertical-align: middle;
  animation: typedBlink 0.9s step-end infinite;
}

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

/* ── 13. SMOOTH SCROLL ── */
html { scroll-behavior: smooth; }

/* ── 14. TILT CARDS (perspective wrapper) ── */
.tilt-wrap {
  transform-style: preserve-3d;
  transition: transform 0.15s ease;
}

/* ── 15. GRADIENT MESH ── */
.mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: meshFloat 12s ease-in-out infinite;
}

.mesh-blob-1 {
  width: 500px; height: 500px;
  background: var(--red, #ff0000);
  top: -150px; right: -100px;
  animation-duration: 14s;
}

.mesh-blob-2 {
  width: 400px; height: 400px;
  background: var(--navy, #1d3d52);
  bottom: -100px; left: -100px;
  animation-duration: 10s;
  animation-delay: -5s;
}

.mesh-blob-3 {
  width: 300px; height: 300px;
  background: var(--red, #ff0000);
  top: 40%; left: 60%;
  opacity: 0.07;
  animation-duration: 18s;
  animation-delay: -8s;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-20px) scale(1.05); }
  66%  { transform: translate(-20px,25px) scale(0.97); }
}

/* ══════════════════════════════════════════════
   PREMIUM UPGRADES ROUND 2
══════════════════════════════════════════════ */

/* ── GLASSMORPHISM HERO CARDS ── */
.hcard {
  background: rgba(255,255,255,0.65) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9) !important;
}
[data-theme="dark"] .hcard {
  background: rgba(17,24,39,0.7) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

/* ── SVG WAVE DIVIDERS ── */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }
.wave-divider.flip { transform: scaleY(-1); }

/* ── ANIMATED PROCESS LINE ── */
.process-svg-line {
  position: absolute;
  top: 48px; left: 12%; right: 12%;
  height: 2px;
  overflow: visible;
  pointer-events: none;
}
.process-line-path {
  stroke: var(--red);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4,0,0.2,1);
}
.process-line-path.drawn { stroke-dashoffset: 0; }

/* ── MICRO-INTERACTIONS ── */

/* Button ripple */
.btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* Nav link underline slide */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: left 0.25s ease, right 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { left: 12px; right: 12px; }

/* Form focus glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(255,0,0,0.1), 0 4px 12px rgba(255,0,0,0.08) !important;
}

/* ── SOCIAL PROOF TICKER ── */
.proof-ticker {
  background: var(--navy);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.proof-ticker::before,
.proof-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.proof-ticker::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.proof-ticker::after  { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }

.proof-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: proofScroll 30s linear infinite;
}
@keyframes proofScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 0 40px;
  white-space: nowrap;
}
.proof-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.proof-sep { color: rgba(255,255,255,0.2); padding: 0 8px; }

/* ── NEWSLETTER SECTION ── */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2535 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.newsletter-text p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.7; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-input-row { display: flex; gap: 10px; }
.newsletter-form input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input[type="email"]:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.15);
}
.newsletter-note { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── ROI CALCULATOR ── */
.roi-section { padding: 100px 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
[data-theme="dark"] .roi-section { background: var(--gray-50); }

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.roi-inputs { display: flex; flex-direction: column; gap: 32px; }

.roi-slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 12px;
}
.roi-slider-group label span {
  color: var(--red);
  font-size: 16px;
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) 50%, var(--gray-200) 50%, var(--gray-200) 100%);
  outline: none;
  cursor: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(255,0,0,0.35);
  cursor: none;
  transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

.roi-results {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.roi-results::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}
.roi-label { font-size: 13px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.roi-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.roi-period { font-size: 13px; color: var(--gray-400); margin-bottom: 32px; }
.roi-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}
.roi-stat-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px;
}
.roi-stat-box .val { font-size: 18px; font-weight: 800; color: var(--black); }
.roi-stat-box .lbl { font-size: 11px; color: var(--gray-400); margin-top: 2px; }
.roi-disclaimer { font-size: 11px; color: var(--gray-400); line-height: 1.5; }

/* ── BEFORE/AFTER SLIDER ── */
.ba-section { padding: 100px 0; }
.ba-header { text-align: center; margin-bottom: 56px; }

.ba-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  border: 1px solid var(--gray-200);
}

.ba-after, .ba-before {
  width: 100%;
  padding: 40px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ba-before {
  background: var(--white);
  border-right: none;
}

.ba-after {
  position: absolute;
  inset: 0;
  background: var(--navy);
  clip-path: inset(0 50% 0 0);
  transition: none;
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--red);
  transform: translateX(-50%);
  z-index: 10;
  cursor: ew-resize;
}

.ba-handle-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,0,0,0.4);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.ba-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ba-before .ba-label { background: var(--gray-100); color: var(--gray-500); }
.ba-after  .ba-label { background: rgba(255,0,0,0.2); color: var(--red); }

.ba-content-title { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.ba-before .ba-content-title { color: var(--black); }
.ba-after  .ba-content-title { color: #fff; }

.ba-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ba-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.5; }
.ba-before .ba-list li { color: var(--gray-500); }
.ba-after  .ba-list li { color: rgba(255,255,255,0.85); }
.ba-list li::before { font-size: 16px; flex-shrink: 0; }
.ba-before .ba-list li::before { content: '✗'; color: #ef4444; }
.ba-after  .ba-list li::before { content: '✓'; color: #22c55e; }

/* ── SKELETON SCREENS ── */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── CASE STUDY FILTER ── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: none;
  transition: all 0.2s;
  font-family: var(--font);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,0,0,0.25);
}

.case-card { transition: all 0.35s cubic-bezier(0.4,0,0.2,1); }
.case-card.hidden { opacity: 0; transform: scale(0.92); pointer-events: none; display: none; }

/* ── INDUSTRY PAGE HERO ── */
.industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,0,0,0.08);
  border: 1px solid rgba(255,0,0,0.15);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ── 404 PAGE ── */
.notfound-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.notfound-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gray-100);
  letter-spacing: -8px;
  margin-bottom: 0;
  position: relative;
}
.notfound-code span { color: var(--red); }
.notfound-title { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.notfound-text { color: var(--gray-500); font-size: 16px; margin-bottom: 36px; max-width: 400px; margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
  .newsletter-inner { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; }
  .newsletter-input-row { flex-direction: column; }
  .ba-container { cursor: ns-resize; }
}
