/* ============================================================
   USA WEB CODERS — ULTRA ANIMATIONS v3
   Million-dollar motion design
   ============================================================ */

/* ── HERO PARTICLE CANVAS ── */
.hero-particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* ── GEOMETRIC SHAPES ── */
.hero-geo-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }

.geo-shape {
  position: absolute;
  border: 1px solid rgba(207,255,69,0.12);
}

.geo-circle {
  width: 500px; height: 500px;
  border-radius: 50%;
  top: -100px; right: -100px;
  animation: geoSpin 30s linear infinite;
}

.geo-ring {
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(207,255,69,0.08);
  bottom: 100px; left: -80px;
  animation: geoSpin 20s linear infinite reverse;
}

.geo-triangle {
  width: 0; height: 0;
  border: none;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid rgba(207,255,69,0.04);
  top: 30%; right: 15%;
  animation: geoFloat 8s ease-in-out infinite;
}

.geo-dot-grid {
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, rgba(207,255,69,0.25) 1px, transparent 1px);
  background-size: 20px 20px;
  bottom: 20%; left: 5%;
  animation: geoFloat 10s ease-in-out infinite reverse;
  border: none;
}

@keyframes geoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes geoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ── HERO BADGE ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(207,255,69,0.08);
  border: 1px solid rgba(207,255,69,0.25);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 32px;
  animation: badgePulse 3s ease-in-out infinite;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotBlink 1.4s ease-in-out infinite;
  box-shadow: 0 0 10px var(--gold);
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(207,255,69,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(207,255,69,0); }
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ── HERO TITLE ANIMATION ── */
.hero-title-animated {
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-white);
}

.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) skewY(3deg);
  animation: wordReveal 0.8s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

.hero-highlight-word {
  color: var(--gold);
  position: relative;
}

.hero-highlight-word::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineReveal 0.6s var(--ease-out) 0.8s forwards;
}

.hero-accent-outline {
  -webkit-text-stroke: 2px var(--gold);
  color: transparent;
}

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) skewY(0deg); }
}

@keyframes underlineReveal {
  to { transform: scaleX(1); }
}

/* ── SLIDE IN UP ── */
.slide-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.9s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes slideInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--border-default);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLineAnim 2s ease-in-out infinite;
}

@keyframes scrollLineAnim {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

/* ── FLOATING HERO CARDS ── */
.hero-floating-cards {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 5;
  animation: floatCards 1s var(--ease-out) 1.2s both;
}

@keyframes floatCards {
  from { opacity: 0; transform: translateY(calc(-50% + 30px)); }
  to { opacity: 1; transform: translateY(-50%); }
}

.hfc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(19,19,19,0.85);
  border: 1px solid rgba(207,255,69,0.2);
  border-radius: 16px;
  padding: 14px 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(207,255,69,0.05);
  animation: floatCard 5s ease-in-out infinite;
}

.hfc-card--2 { animation-duration: 7s; animation-direction: reverse; }

.hfc-icon { font-size: 24px; }

.hfc-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hfc-value {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── MARQUEE STRIP ── */
.marquee-strip {
  overflow: hidden;
  background: rgba(207,255,69,0.04);
  border-top: 1px solid rgba(207,255,69,0.12);
  border-bottom: 1px solid rgba(207,255,69,0.12);
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-strip .marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.m-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-body);
  white-space: nowrap;
}

.m-item em {
  color: var(--gold);
  font-style: normal;
  opacity: 0.6;
}

/* ── STATS BAR ── */
.stat-item {
  position: relative;
  padding: 0 20px;
}

.stat-bar {
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  margin-top: 12px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 1.5s var(--ease-out);
  box-shadow: 0 0 10px rgba(207,255,69,0.5);
}

.reveal-stat.visible .stat-bar-fill {
  width: var(--width);
}

.reveal-stat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--sd, 0s);
}

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

/* ── CLIENTS STRIP V2 ── */
.clients-strip-v2 { padding: 48px 0; }

.clients-eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.clients-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.client-logo-item {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 12px 28px;
  border-right: 1px solid var(--border-subtle);
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
  transition-delay: calc(var(--ci) * 0.1s);
}

.client-logo-item:last-child { border-right: none; }
.client-logo-item:hover { color: var(--gold); }

.client-logo-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTION DIVIDER ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207,255,69,0.15), transparent);
  margin: 0 64px;
}

/* ── SERVICES V2 ── */
.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(207,255,69,0.08);
  border: 1px solid rgba(207,255,69,0.08);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 64px;
}

.svc-card {
  background: var(--bg-surface);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(40px);
  transition: background 0.4s, transform 0.4s var(--ease-out), opacity 0.6s var(--ease-out), box-shadow 0.4s;
  transition-delay: calc(var(--ci) * 0.12s);
}

.svc-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.svc-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 20px 60px rgba(207,255,69,0.08);
}

.svc-card-glow {
  position: absolute;
  top: -100px; left: -100px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(207,255,69,0.08) 0%, transparent 70%);
  transition: opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}

.svc-card:hover .svc-card-glow { opacity: 1; }

.svc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.svc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(207,255,69,0.06);
  border: 1px solid rgba(207,255,69,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.svc-card:hover .svc-icon {
  background: rgba(207,255,69,0.12);
  border-color: rgba(207,255,69,0.35);
  transform: scale(1.05);
}

.svc-card h3 {
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.svc-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.3s, gap 0.3s;
}

.svc-card:hover .svc-link { opacity: 1; gap: 12px; }

.svc-card-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}

.svc-card:hover .svc-card-line { width: 100%; }

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ── PROCESS V2 ── */
.process-timeline {
  position: relative;
  margin-top: 64px;
}

.process-line {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: rgba(207,255,69,0.1);
  overflow: hidden;
}

.process-line-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 20px rgba(207,255,69,0.4);
  transition: width 2s var(--ease-out);
}

.process-line-fill.visible { width: 100%; }

.process-steps-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pstep {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--pi) * 0.18s + 0.3s);
}

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

.pstep-node {
  position: relative;
  width: 56px; height: 56px;
  margin-bottom: 24px;
}

.pstep-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(207,255,69,0.2);
  animation: pstepRingPulse 3s ease-in-out infinite;
}

.pstep:nth-child(2) .pstep-ring { animation-delay: 0.75s; }
.pstep:nth-child(3) .pstep-ring { animation-delay: 1.5s; }
.pstep:nth-child(4) .pstep-ring { animation-delay: 2.25s; }

@keyframes pstepRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.15; }
}

.pstep-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid rgba(207,255,69,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; z-index: 1;
}

.pstep:hover .pstep-dot {
  background: rgba(207,255,69,0.1);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(207,255,69,0.2);
}

.pstep-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pstep:hover .pstep-card {
  border-color: rgba(207,255,69,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.pstep-card h3 {
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 10px;
}

.pstep-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── WHY V2 ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: 0.15s;
}

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

.why-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.why-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.85);
  transition: filter 0.5s, transform 0.5s;
}

.why-img-wrap:hover img { filter: brightness(0.85) saturate(1); transform: scale(1.03); }

.why-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,0.5) 0%, transparent 60%);
}

.why-img-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(12,12,12,0.85);
  border: 1px solid rgba(207,255,69,0.25);
  border-radius: 14px;
  padding: 16px 20px;
  backdrop-filter: blur(12px);
}

.wib-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.wib-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.why-img-dots {
  position: absolute;
  top: 20px; right: 20px;
  width: 80px; height: 80px;
  background-image: radial-gradient(circle, rgba(207,255,69,0.4) 1px, transparent 1px);
  background-size: 12px 12px;
}

.why-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.why-content h2 em {
  color: var(--gold);
  font-style: italic;
}

.animated-line {
  animation: lineGrow 0.8s var(--ease-out) 0.5s both;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes lineGrow {
  to { transform: scaleX(1); }
}

.why-checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s;
}

.why-check:hover {
  border-color: rgba(207,255,69,0.2);
  transform: translateX(6px);
}

.check-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(207,255,69,0.1);
  border: 1px solid rgba(207,255,69,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.why-check p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ── TECH STACK ── */
.tech-stack-section { padding: 48px 0; overflow: hidden; }

.tech-eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.tech-marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.tech-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.tech-pill {
  display: inline-block;
  padding: 8px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-body);
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}

.tech-pill:hover {
  border-color: rgba(207,255,69,0.35);
  color: var(--gold);
}

/* ── INDUSTRIES V2 ── */
.industries-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.ind-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: border-color 0.4s, transform 0.5s var(--ease-out), box-shadow 0.4s, opacity 0.6s var(--ease-out);
  transition-delay: calc(var(--ii) * 0.1s);
  position: relative;
  overflow: hidden;
}

.ind-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(207,255,69,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.ind-card:hover::before { opacity: 1; }

.ind-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ind-card:hover {
  border-color: rgba(207,255,69,0.25);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(207,255,69,0.06), 0 0 0 1px rgba(207,255,69,0.08);
}

.ind-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
  transition: transform 0.4s;
}

.ind-card:hover .ind-icon { transform: scale(1.2) rotate(5deg); }

.ind-card h4 {
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.ind-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── RESULTS SECTION ── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.result-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.3s;
  transition-delay: calc(var(--ci) * 0.15s);
}

.result-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}

.result-card:hover::after { transform: scaleX(1); }

.result-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-card:hover { border-color: rgba(207,255,69,0.2); }

.result-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.result-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.result-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── TESTIMONIALS V2 ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.testi-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  transition-delay: calc(var(--ci) * 0.12s);
}

.testi-card.visible { opacity: 1; transform: translateY(0); }

.testi-card:hover {
  border-color: rgba(207,255,69,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(-6px);
}

.testi-quote {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.2;
  margin-bottom: 16px;
}

.testi-card .stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(207,255,69,0.2);
}

.author-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}

.author-title {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── FAQ V2 ── */
.faq-list { margin-top: 48px; }

.faq-item-v2 {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-q-v2 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 24px;
}

.faq-q-v2 span {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-white);
  font-weight: 600;
  transition: color 0.3s;
}

.faq-q-v2:hover span { color: var(--gold); }

.faq-icon-v2 {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out), background 0.3s, border-color 0.3s;
  font-weight: 300;
}

.faq-item-v2.open .faq-icon-v2 {
  transform: rotate(45deg);
  background: rgba(207,255,69,0.1);
  border-color: var(--gold);
}

.faq-a-v2 {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.4s;
  padding: 0;
}

.faq-item-v2.open .faq-a-v2 {
  max-height: 200px;
  padding-bottom: 24px;
}

/* ── CTA V2 ── */
.cta-banner-v2 {
  background: linear-gradient(135deg, var(--gold) 0%, #b8e600 100%);
  border-radius: 28px;
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-bg-anim {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0.05) 0%, transparent 60%);
  animation: ctaBgShift 6s ease-in-out infinite alternate;
}

@keyframes ctaBgShift {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.cta-content-v2 {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.cta-content-v2 .section-label {
  color: rgba(12,12,12,0.6);
}

.cta-content-v2 .section-label::before { background: rgba(12,12,12,0.4); }

.cta-content-v2 h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  color: #0c0c0c;
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-content-v2 h2 em {
  font-style: italic;
  color: rgba(12,12,12,0.7);
}

.cta-content-v2 p {
  font-size: 16px;
  color: rgba(12,12,12,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-stats-row {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.cta-stat-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: #0c0c0c;
  line-height: 1;
}

.cta-stat-label {
  font-size: 12px;
  color: rgba(12,12,12,0.55);
}

.cta-content-v2 .btn-primary {
  background: #0c0c0c;
  color: var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.cta-content-v2 .btn-primary:hover {
  background: #1a1a1a;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.btn-xl { padding: 20px 44px; font-size: 16px; }

.cta-deco {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(12,12,12,0.12);
  transform: translate(-50%, -50%);
}

.cta-ring--1 { width: 200px; height: 200px; animation: ringPulse 3s ease-in-out infinite; }
.cta-ring--2 { width: 320px; height: 320px; animation: ringPulse 3s ease-in-out 1s infinite; }
.cta-ring--3 { width: 460px; height: 460px; animation: ringPulse 3s ease-in-out 2s infinite; }

@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.15; }
}

/* ── REVEAL CLASSES ── */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-heading {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--ci, 0) * 0.12s);
}

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

.reveal-ind {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--ii, 0) * 0.1s);
}

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

.reveal-pstep {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--pi, 0) * 0.18s + 0.3s);
}

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

.reveal-client {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
  transition-delay: calc(var(--ci, 0) * 0.1s);
}

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

/* ── MAGNETIC BUTTON ── */
.btn-magnetic {
  position: relative;
  overflow: hidden;
}

.btn-magnetic::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn-magnetic:hover::before {
  width: 200%;
  height: 200%;
}

.btn-ghost-animated {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-white);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s;
}

.btn-ghost-animated::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}

.btn-ghost-animated:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--text-white);
}

.btn-ghost-animated:hover::after { transform: translateX(0); }

.btn-animated {
  position: relative;
  overflow: hidden;
}

.btn-animated::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(207,255,69,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}

.btn-animated:hover::after { transform: translateX(0); }

/* ── SECTION HEADING ── */
.section-heading h2 em {
  font-style: italic;
  color: var(--gold);
}

/* ── SPLIT TEXT ── */
.split-text em {
  font-style: italic;
  color: var(--gold);
}

/* ── FOOTER CONNECT ANIMATED ── */
.footer-connect {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-connect::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(207,255,69,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-connect h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1;
  position: relative;
  display: inline-block;
}

.footer-connect h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 0.8s var(--ease-out) 0.4s both;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .services-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .hero-floating-cards { display: none; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-steps-v2 { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .cta-banner-v2 { padding: 48px 40px; flex-direction: column; }
  .cta-deco { display: none; }
}

@media (max-width: 700px) {
  .services-grid-v2 { grid-template-columns: 1fr; }
  .industries-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .process-steps-v2 { grid-template-columns: 1fr; }
  .cta-banner-v2 { padding: 40px 28px; }
}

/* ============================================================

/* ============================================================
   V4 CLEAN PATCH — fixes only, no font conflicts
   ============================================================ */

/* ── FIX 1: Missing marqueeScroll keyframe ── */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FIX 2: Ensure marquee animates ── */
.marquee-strip .marquee-track {
  animation: marqueeScroll 32s linear infinite !important;
  will-change: transform;
}

/* ── FIX 3: Stat bar starts at 0, JS sets final width ── */
.stat-bar-fill { width: 0 !important; transition: width 1.6s cubic-bezier(0.16,1,0.3,1); }

/* ── FIX 4: Remove bad section opacity (was hiding everything) ── */
section { opacity: 1 !important; transform: none !important; }

/* ── FIX 5: Section reveal — subtle only ── */
.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.section-reveal.in-view { opacity: 1; transform: none; }

