/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #fcff02;
  --green:  #6eb707;
  --bg:     #050608;
  --bg-2:   #08090d;
  --bg-3:   #0c0e14;
  --border: rgba(255,255,255,0.05);
  --text:   #f0f2f5;
  --muted:  #8892a4;
  --card-bg: rgba(255,255,255,0.025);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

/* ─── Preloader ──────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.5s ease 0.4s;
}

.preloader.done {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.preloader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.preloader__logo {
  position: relative;
  overflow: visible;
  background: none;
}

.preloader__mark {
  width: 72px;
  height: 72px;
  opacity: 0;
  transform: scale(0.6);
  animation: loaderLogoIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s;
}

@keyframes loaderLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Pulsing ring behind logo */
.preloader__logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(252,255,2,0.15);
  animation: loaderRing 2s ease-out infinite 0.5s;
}

@keyframes loaderRing {
  0% { width: 72px; height: 72px; opacity: 0.6; }
  100% { width: 160px; height: 160px; opacity: 0; }
}

.preloader__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 200px;
}

.preloader__bar {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  border-radius: 4px;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(252,255,2,0.3);
}

.preloader__count {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Hide page content scroll during preload */
body.is-loading {
  overflow: hidden;
  background: #000000;
}

/* Delay hero animations until preloader is done */
body.is-loading .hero-anim,
body.is-loading .hero__visual,
body.is-loading .float-badge--1,
body.is-loading .float-badge--2,
body.is-loading .float-badge--3,
body.is-loading .dc__row {
  animation-play-state: paused !important;
  opacity: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #020204;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── Gradient Text ────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(90deg, var(--yellow) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Container ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section base ─────────────────────────────────────────── */
.section { padding: 100px 0; }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__tag {
  display: inline-block;
  background: linear-gradient(90deg, rgba(252,255,2,0.12), rgba(110,183,7,0.12));
  border: 1px solid rgba(252,255,2,0.2);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--accent {
  background: linear-gradient(135deg, var(--yellow), var(--green));
  color: #0a0a0a;
  box-shadow: 0 0 0 0 rgba(252,255,2,0);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(252,255,2,0.3);
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--card-bg);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }

/* ─── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 14px 0;
}

.nav.scrolled {
  background: rgba(8,10,14,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
}

/* ─── Centered logo nav layout ─── */
.nav__logo {
  flex-shrink: 0;
  margin: 0 36px;
  position: relative;
}

.nav__logo-img {
  height: 54px;
  width: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

/* Logo hover animation */
.nav__logo:hover .nav__logo-img {
  transform: scale(1.12) rotate(8deg);
  filter: drop-shadow(0 0 12px rgba(252,255,2,0.35));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav__links--left {
  justify-content: flex-end;
}

.nav__links--right {
  justify-content: flex-start;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Book a Call button in nav */
.nav__cta {
  font-size: 0.85rem !important;
  color: var(--yellow) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(252,255,2,0.4) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.02em;
}

.nav__cta:hover {
  background: rgba(252,255,2,0.08) !important;
  border-color: rgba(252,255,2,0.6) !important;
  box-shadow: 0 0 20px rgba(252,255,2,0.1);
  transform: translateY(-1px);
}

.nav__cta::after {
  display: none !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  right: 24px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  padding: 16px 24px 24px;
  background: rgba(8,10,14,0.97);
  border-top: 1px solid var(--border);
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 16px; }
.nav__mobile a {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--text); }
.nav__mobile.open { display: block; }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

/* ─── Hero Grid Overlay ─── */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(252,255,2,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252,255,2,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: gridPulse 6s ease-in-out infinite;
}

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

/* Grid scanning beam */
.hero__grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(252,255,2,0.04), transparent);
  animation: gridScan 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gridScan {
  0% { left: -30%; }
  100% { left: 130%; }
}

/* ─── Lenis smooth scroll ─── */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* ─── Hero Staggered Entrance Animations ─── */
.hero-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--anim-order, 1) * 0.12s + 0.2s);
}

.title-word {
  display: inline-block;
}

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

/* Gradient text shimmer on the hero title */
.hero__title .gradient-text {
  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--green) 30%,
    var(--yellow) 60%,
    var(--green) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             shimmerGradient 4s ease-in-out infinite 1.5s;
}

@keyframes shimmerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Glowing CTA button */
.hero-btn {
  position: relative;
  overflow: hidden;
}

.hero-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255,255,255,0.15) 50%,
    transparent 60%
  );
  animation: btnSheen 4s ease-in-out infinite;
}

@keyframes btnSheen {
  0%, 100% { transform: translateX(-100%) rotate(45deg); }
  50% { transform: translateX(100%) rotate(45deg); }
}

/* ─── Floating Particles ─── */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0;
  animation: particleFloat var(--dur) ease-in-out infinite var(--del);
}

.particle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,255,2,0.3) 0%, transparent 70%);
}

@keyframes particleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  20% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.4;
    transform: translateY(-40px) scale(1);
  }
  80% {
    opacity: 0.7;
  }
}

/* ─── Global Space Fluid Background ─── */
.space-fluid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: #020204;
}

.space-fluid__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.space-fluid__nebula--1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(252,255,2,0.06) 0%, rgba(110,183,7,0.03) 40%, transparent 70%);
  top: -200px; right: -200px;
  animation: nebulaFloat1 20s ease-in-out infinite;
}

.space-fluid__nebula--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(110,183,7,0.05) 0%, rgba(252,255,2,0.02) 40%, transparent 70%);
  top: 30%; left: -150px;
  animation: nebulaFloat2 25s ease-in-out infinite;
}

.space-fluid__nebula--3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(252,255,2,0.04) 0%, transparent 60%);
  bottom: 20%; right: 10%;
  animation: nebulaFloat3 18s ease-in-out infinite;
}

@keyframes nebulaFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 40px) scale(1.1); }
  66% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes nebulaFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.05); }
  66% { transform: translate(-40px, 50px) scale(0.9); }
}

@keyframes nebulaFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -40px) scale(1.1); }
}

/* Progressive darkening overlay — controlled by JS scroll (reduced) */
.space-fluid__darken {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0;
  transition: opacity 0.15s ease;
  max-opacity: 0.45;
}

/* Hero-local space blobs */
.space-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.space-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.space-bg__blob--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(252,255,2,0.07) 0%, transparent 70%);
  top: -100px; right: -50px;
  animation: blobDrift1 15s ease-in-out infinite;
}

.space-bg__blob--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(110,183,7,0.05) 0%, transparent 70%);
  bottom: 10%; left: -80px;
  animation: blobDrift2 18s ease-in-out infinite;
}

.space-bg__blob--3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(252,255,2,0.04) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: blobDrift3 22s ease-in-out infinite;
}

.space-bg__blob--4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(110,183,7,0.03) 0%, transparent 70%);
  top: 20%; right: 20%;
  animation: blobDrift1 20s ease-in-out infinite reverse;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 20px); }
}

@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, -15px); }
}

@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, 20px); }
  66% { transform: translate(-15px, -10px); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(252,255,2,0.08);
  border: 1px solid rgba(252,255,2,0.2);
  color: rgba(252,255,2,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge__dot {
  width: 7px; height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sp__item {
  display: flex;
  flex-direction: column;
}
.sp__item strong {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sp__item span {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.sp__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Dashboard card reveal */
.hero__visual {
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: heroVisualReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

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

.dashboard-card-wrapper .dashboard-card {
  animation: float 6s ease-in-out infinite;
  animation-delay: 1.8s;
}

.dashboard-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  animation: float 6s ease-in-out infinite;
  position: relative;
}

/* Scanning light across dashboard */
.dashboard-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(252,255,2,0.03),
    transparent
  );
  animation: dashScan 5s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 1;
}

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

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

.dc__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.dc__dots { display: flex; gap: 6px; }
.dc__dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.dc__dots span:nth-child(1) { background: #ff5f57; }
.dc__dots span:nth-child(2) { background: #ffbd2e; }
.dc__dots span:nth-child(3) { background: #28ca41; }

.dc__title {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.dc__body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.dc__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-16px);
  animation: rowSlideIn 0.5s ease forwards;
}

.dc__row:nth-child(1) { animation-delay: 1.2s; }
.dc__row:nth-child(2) { animation-delay: 1.5s; }
.dc__row:nth-child(3) { animation-delay: 1.8s; }
.dc__row:nth-child(4) { animation-delay: 2.1s; }

@keyframes rowSlideIn {
  to { opacity: 1; transform: translateX(0); }
}
.dc__row--accent {
  background: rgba(252,255,2,0.04);
  border-color: rgba(252,255,2,0.1);
}

.dc__icon {
  font-size: 1.1rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}
.dc__info { flex: 1; min-width: 0; }
.dc__label { display: block; font-size: 0.75rem; color: var(--muted); }
.dc__val { display: block; font-size: 0.85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dc__badge {
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}
.dc__badge--green { background: rgba(40,202,65,0.15); color: #28ca41; }
.dc__badge--yellow { background: rgba(252,189,46,0.15); color: #ffbd2e; }

.dc__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}

.dc__status { display: flex; align-items: center; gap: 6px; }
.dc__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28ca41;
  animation: pulse 2s infinite;
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  white-space: nowrap;
}

.float-badge--1 {
  top: -20px; left: -30px;
  opacity: 0;
  animation: float 5s ease-in-out infinite, badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1s;
}
.float-badge--2 {
  bottom: 30px; left: -40px;
  opacity: 0;
  animation: floatAlt 7s ease-in-out infinite, badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.3s;
}
.float-badge--3 {
  top: 50%; right: -30px;
  opacity: 0;
  animation: float 6s ease-in-out infinite 0.5s, badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.6s;
}

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

@keyframes badgePop {
  from { opacity: 0; transform: scale(0.3) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── Logos Bar ─────────────────────────────────────────────── */
.logos-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}

.logos-bar__label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 24px;
}

.logos-bar__track {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tool-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
}
.tool-pill:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}

/* ─── Services ──────────────────────────────────────────────── */
.services { background: transparent; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(252,255,2,0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(252,255,2,0.15);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

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

.service-card--featured {
  border-color: rgba(252,255,2,0.2);
  background: linear-gradient(135deg, rgba(252,255,2,0.04), rgba(110,183,7,0.02));
  box-shadow: 0 0 40px rgba(252,255,2,0.05);
}

.service-card__badge {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  color: #0a0a0a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.service-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(252,255,2,0.1), rgba(110,183,7,0.08));
  border: 1px solid rgba(252,255,2,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.service-card__features li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.service-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--yellow);
  transition: gap var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
}
.service-card__link:hover { color: var(--green); letter-spacing: 0.01em; }

/* ─── Process ───────────────────────────────────────────────── */
.process { background: transparent; }

.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.process__connector {
  display: flex;
  align-items: flex-start;
  padding-top: 28px;
  padding-left: 16px;
  padding-right: 16px;
}

.process__connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(252,255,2,0.3), rgba(110,183,7,0.3));
  min-width: 40px;
  margin-top: 8px;
}

.process__step {
  text-align: center;
  padding: 0 8px;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(252,255,2,0.15), rgba(110,183,7,0.1));
  border: 2px solid rgba(252,255,2,0.3);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--yellow);
  margin: 0 auto 20px;
  letter-spacing: 0.05em;
}

.step__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step__content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── About ─────────────────────────────────────────────────── */
.about { background: transparent; }

.about__inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about__highlights {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.about__highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about__highlight-icon {
  background: linear-gradient(135deg, var(--yellow), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.9rem;
}

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonials { background: transparent; }

.testimonials__columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 280px);
  justify-content: center;
  gap: 20px;
  height: 600px;
  overflow: hidden;
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.testimonials__col {
  overflow: hidden;
}

.testimonials__col-track {
  display: flex;
  flex-direction: column;
}

.testimonials__col-track[data-direction="up"] {
  animation: scrollColUp 28s linear infinite;
}

.testimonials__col-track[data-direction="down"] {
  animation: scrollColDown 32s linear infinite;
}

@keyframes scrollColUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scrollColDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.tcard {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tcard:hover {
  border-color: rgba(252,255,2,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.tcard::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(252,255,2,0.02), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.tcard:hover::after {
  left: 150%;
}

.tcard__text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

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

.tcard__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0a0a0a;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tcard__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.tcard__author span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-section { background: transparent; }

.cta-box {
  position: relative;
  background: linear-gradient(135deg, rgba(252,255,2,0.05), rgba(110,183,7,0.04));
  border: 1px solid rgba(252,255,2,0.15);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
}

.cta-box__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(252,255,2,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  position: relative;
}

.cta-box__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}

.cta-box__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
}

.cta-box__note {
  font-size: 0.82rem;
  color: var(--muted);
  position: relative;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: transparent;
  border-top: 1px solid var(--border);
}

.footer__inner {
  position: relative;
  overflow: hidden;
  padding: 72px 0 28px;
}

.footer__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,6,8,0.6) 70%, rgba(5,6,8,1) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Watermark — sits behind everything */
.footer__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(100px, 15vw, 240px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

/* Content — above watermark + overlay */
.footer__content {
  position: relative;
  z-index: 2;
}

.footer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 24px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--text); }

/* Social icons */
.footer__socials {
  display: flex;
  gap: 16px;
}
.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  transition: all 0.3s ease;
}
.footer__socials a:hover {
  border-color: rgba(252,255,2,0.4);
  color: var(--yellow);
  background: rgba(252,255,2,0.06);
  transform: translateY(-2px);
}

/* Copyright */
.footer__copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.03em;
  padding-top: 20px;
}

/* ─── Tool Stack ────────────────────────────────────────────── */
.tool-stack { background: transparent; }

.section__subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  margin-top: 16px;
}

.tool-stack__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 56px;
}

.tool-stack__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
}

.tool-stack__card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation-delay: var(--delay, 0s);
}

.tool-stack__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252,255,2,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tool-stack__card:hover {
  transform: translateY(-8px);
  border-color: rgba(252,255,2,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(252,255,2,0.05);
}

.tool-stack__card:hover::before {
  opacity: 1;
}

.tool-stack__card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  align-self: flex-start;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot--active {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--green); }
}

.tool-stack__card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}

.tool-stack__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-stack__card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.tool-stack__card-desc {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ─── Connector Lines ─── */
.tool-stack__connectors {
  width: 100%;
  height: 100px;
  position: relative;
}

.tool-stack__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.connector-line {
  stroke: rgba(252,255,2,0.12);
  stroke-width: 1.5;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.5s ease;
}

.tool-stack__connectors.animated .connector-line {
  stroke-dashoffset: 0;
}

/* Stagger the line draw-in */
.connector-line:nth-child(1) { transition-delay: 0.2s; }
.connector-line:nth-child(2) { transition-delay: 0.35s; }
.connector-line:nth-child(3) { transition-delay: 0.5s; }
.connector-line:nth-child(4) { transition-delay: 0.65s; }
.connector-line:nth-child(5) { transition-delay: 0.8s; }

/* Flowing dots - hidden until animated */
.flow-dot,
.flow-dot--trail {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tool-stack__connectors.animated .flow-dot {
  opacity: 1;
}

.tool-stack__connectors.animated .flow-dot--trail {
  opacity: 0.35;
}

/* ─── Central Hub ─── */
.tool-stack__hub {
  position: relative;
  margin-top: -4px;
}

.tool-stack__hub-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,255,2,0.12) 0%, rgba(110,183,7,0.06) 40%, transparent 70%);
  animation: hub-glow 2.5s ease-in-out infinite;
}

@keyframes hub-glow {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* Second glow ring for "receiving" pulse */
.tool-stack__hub::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(252,255,2,0.1);
  animation: hub-ring 3s ease-out infinite;
}

@keyframes hub-ring {
  0% { width: 60px; height: 60px; opacity: 0.5; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

.tool-stack__hub-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(252,255,2,0.08);
  border: 1px solid rgba(252,255,2,0.2);
  border-radius: 60px;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: hub-pulse 2.5s ease-in-out infinite;
}

@keyframes hub-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(252,255,2,0); }
  50% { box-shadow: 0 0 24px rgba(252,255,2,0.15), 0 0 60px rgba(252,255,2,0.05); }
}

/* ─── Client Logos Strip ────────────────────────────────────── */
.client-logos {
  padding: 48px 0;
  background: transparent;
  overflow: hidden;
}

.client-logos__label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 32px;
}

.client-logos__track-wrapper {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.client-logos__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}

.client-logos__track img {
  height: 75px;
  width: 170px;
  object-fit: contain;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.client-logos__track img:hover {
  opacity: 0.85;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Case Studies ──────────────────────────────────────────── */
.case-studies { background: transparent; }

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.case-card:hover {
  border-color: rgba(252,255,2,0.15);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.case-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  position: relative;
  overflow: hidden;
}

.case-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(252,255,2,0.04), rgba(110,183,7,0.03));
}

.case-card__body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 10px;
}

.case-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.case-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--yellow);
  transition: color var(--transition);
}

.case-card:hover .case-card__link {
  color: var(--green);
}

/* ─── Animations ────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="scale-in"] {
  transform: scale(0.9);
}

[data-animate="fade-up-rotate"] {
  transform: translateY(40px) rotate(2deg);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0) rotate(0) scale(1);
}

/* ─── Service Cards Hover Glow + Stagger ─── */
.service-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(252,255,2,0.04),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

/* ─── Process Step Animations ─── */
.step__number {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.process__step:hover .step__number {
  transform: scale(1.15);
  box-shadow: 0 0 24px rgba(252,255,2,0.2);
}

.process__connector::after {
  background: linear-gradient(90deg, rgba(252,255,2,0.3), rgba(110,183,7,0.3));
  position: relative;
  overflow: hidden;
}

/* Animated gradient on connectors */
.process__connector {
  position: relative;
  overflow: hidden;
}

/* ─── About Highlights Stagger ─── */
.about__highlight {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about__highlight:hover {
  transform: translateY(-4px);
  border-color: rgba(252,255,2,0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* (Testimonial card enhancements merged into main Testimonials block above) */

/* ─── Case Study Card Enhancements ─── */
.case-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(252,255,2,0.03);
}

.case-card__placeholder {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-card__placeholder {
  transform: scale(1.05);
}

.case-card__link {
  transition: letter-spacing 0.3s ease, color 0.3s ease;
}

.case-card:hover .case-card__link {
  letter-spacing: 0.02em;
}

/* ─── CTA Section Glow Enhancement ─── */
.cta-box {
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(252,255,2,0.03) 60deg,
    transparent 120deg
  );
  animation: ctaSpin 8s linear infinite;
  pointer-events: none;
}

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

/* ─── Section Divider Glow Lines ─── */
.section {
  position: relative;
}

.services::before,
.process::before,
.testimonials::before,
.case-studies::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252,255,2,0.25), transparent);
}

/* ─── Section ambient glow ─── */
.services::after,
.about::after,
.process::after,
.case-studies::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(252,255,2,0.025) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Accent borders on section cards for visibility */
.service-card {
  border-color: rgba(255,255,255,0.07);
}

.about__inner {
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 24px;
  padding: 60px 48px;
  background: rgba(255,255,255,0.015);
  position: relative;
}

.about__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252,255,2,0.3), transparent);
}

.process__step {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 32px 24px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.process__step:hover {
  border-color: rgba(252,255,2,0.1);
  background: rgba(255,255,255,0.03);
}

.case-card {
  border-color: rgba(255,255,255,0.07);
}

/* ─── Footer Reveal ─── */
.footer {
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252,255,2,0.1), transparent);
}

/* ─── Stars Canvas ─────────────────────────────────────────── */
.stars-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}

/* ─── Cursor Glow ──────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,255,2,0.035) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  mix-blend-mode: screen;
}

/* ─── Smooth reveal animations ─────────────────────────────── */
[data-animate] {
  will-change: transform, opacity;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { max-width: 500px; }
  .float-badge--3 { display: none; }

  .services__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process__connector { display: none; }
  .process__step { text-align: left; display: flex; align-items: flex-start; gap: 20px; }
  .step__number { margin: 0; flex-shrink: 0; }

  .testimonials__columns { grid-template-columns: repeat(3, 240px); height: 500px; gap: 14px; }

  .case-studies__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .tool-stack__cards { grid-template-columns: repeat(3, 1fr); }
  .tool-stack__connectors { display: none; }
  .tool-stack__hub { margin-top: 32px; }

  .footer__columns { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__logo { margin: 0; }
  .nav__inner { position: relative; }

  .hero { padding: 120px 0 72px; }
  .hero__title { font-size: 2.4rem; }
  .hero__actions { flex-direction: column; }
  .hero__social-proof { flex-wrap: wrap; gap: 16px; }
  .sp__divider { display: none; }

  .cta-box { padding: 48px 24px; }
  .cta-box__actions { flex-direction: column; align-items: center; }

  .float-badge--1, .float-badge--2, .float-badge--3 { display: none; }

  .footer__columns { grid-template-columns: 1fr; gap: 32px; }

  .tool-stack__cards { grid-template-columns: repeat(2, 1fr); }

  .testimonials__columns { grid-template-columns: repeat(3, 200px); height: 420px; gap: 12px; }
  .tcard { padding: 16px; }
  .tcard__text { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .tool-stack__cards { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .hero__title { font-size: 2rem; }
  .about__highlights { flex-direction: column; align-items: center; }
  .testimonials__columns { grid-template-columns: repeat(2, 1fr); height: 380px; }
  .testimonials__col:nth-child(3) { display: none; }
  .tcard { padding: 14px; }
  .tcard__text { font-size: 0.78rem; }
}
