/* ============================================================
   MODERN ANIMATIONS & UI ENHANCEMENTS
   Adds hover effects, micro-interactions, smooth transitions,
   and modern visual polish to the existing design system.
   ============================================================ */

/* ============================================================
   0. HERO AUTOMATION FLOW — Sequential Step Animation
   ============================================================ */

/* Status container holds both spinner and check, positioned on top of each other */
.hero__flow-status {
  margin-left: auto;
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.hero__flow-status .hero__flow-spinner {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(245, 158, 11, 0.2);
  border-top-color: #fbbf24;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero__flow-status .hero__flow-check {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--brand-accent, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  opacity: 0;
  transform: scale(0) rotate(-90deg);
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- PENDING state: dim row, nothing visible in status --- */
.hero__flow-step--pending {
  background: transparent;
  border-color: transparent;
  opacity: 0.35;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- PROCESSING state: spinner visible, row highlighted amber --- */
.hero__flow-step--processing {
  opacity: 1;
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.15);
  animation: softPulse 2s infinite;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__flow-step--processing .hero__flow-status .hero__flow-spinner {
  opacity: 1;
  transform: scale(1);
}

.hero__flow-step--processing .hero__flow-status .hero__flow-check {
  opacity: 0;
  transform: scale(0) rotate(-90deg);
}

/* --- COMPLETED state: check visible, row highlighted green --- */
.hero__flow-step--completed {
  opacity: 1;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
  animation: none;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__flow-step--completed .hero__flow-status .hero__flow-spinner {
  opacity: 0;
  transform: scale(0);
}

.hero__flow-step--completed .hero__flow-status .hero__flow-check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Brief green flash when completing */
.hero__flow-step--just-completed {
  background: rgba(34, 197, 94, 0.08) !important;
  border-color: rgba(34, 197, 94, 0.2) !important;
}

/* Connector glow when active */
.hero__flow-connector {
  transition: opacity 0.4s ease;
}

.hero__flow-connector--dimmed span {
  background: rgba(255, 255, 255, 0.03) !important;
}

.hero__flow-connector--active span {
  background: linear-gradient(to bottom, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.05)) !important;
  animation: connectorPulse 1.5s infinite !important;
}

.hero__flow-connector--done span {
  background: rgba(34, 197, 94, 0.15) !important;
}

/* Sub text changes for processing step */
.hero__flow-step--processing .hero__flow-sub {
  color: #fbbf24 !important;
}

/* Deal Won last step stays processing permanently */
.hero__flow-step--final-processing {
  opacity: 1;
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.15);
  animation: softPulse 2s infinite;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__flow-step--final-processing .hero__flow-status .hero__flow-spinner {
  opacity: 1;
  transform: scale(1);
}

.hero__flow-step--final-processing .hero__flow-status .hero__flow-check {
  opacity: 0;
  transform: scale(0);
}

.hero__flow-step--final-processing .hero__flow-sub {
  color: #fbbf24 !important;
}


/* ============================================================
   1. ENHANCED SCROLL REVEAL ANIMATIONS
   ============================================================ */

/* Override default reveal with smoother, spring-like motion */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}

[data-reveal="left"] {
  transform: translateX(-50px);
}

[data-reveal="right"] {
  transform: translateX(50px);
}

[data-reveal]:not([data-reveal="left"]):not([data-reveal="right"]) {
  transform: translateY(40px);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
  filter: blur(0);
}


/* ============================================================
   2. ENHANCED CARD HOVER EFFECTS
   ============================================================ */

/* Automation cards - tilt + glow */
.auto-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.auto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--palette-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.auto-card:hover::before {
  transform: scaleX(1);
}

.auto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26, 127, 60, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.auto-card__icon-wrap {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.auto-card:hover .auto-card__icon-wrap {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.auto-card__title {
  transition: color 0.3s ease;
}

.auto-card:hover .auto-card__title {
  color: var(--brand-primary);
}

.auto-card--highlight:hover .auto-card__title {
  color: var(--brand-accent-light);
}

/* Tool tags slide in */
.auto-card__tool {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.auto-card:hover .auto-card__tool {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.auto-card--highlight:hover .auto-card__tool {
  background: rgba(34, 197, 94, 0.15);
  color: var(--brand-accent);
}


/* Vertical cards */
.vertical-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.vertical-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.vertical-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26, 127, 60, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.vertical-card__icon {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vertical-card:hover .vertical-card__icon {
  transform: scale(1.1);
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 127, 60, 0.3);
}

.vertical-card__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}

.vertical-card__link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brand-primary);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.vertical-card:hover .vertical-card__link::after {
  transform: translateX(0);
}


/* Why-us cards */
.why-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 197, 94, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.1);
}

.why-card__icon {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card:hover .why-card__icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(34, 197, 94, 0.2);
}


/* Process step cards */
.process-step {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-step:hover {
  transform: translateY(-4px);
}

.process-step__num {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-step:hover .process-step__num {
  color: var(--brand-primary);
  transform: scale(1.1);
}

.process-step__duration {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-step:hover .process-step__duration {
  background: var(--brand-primary);
  color: #fff;
  transform: scale(1.05);
}


/* Zoho product cards */
.zoho-product {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.zoho-product:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.zoho-product__icon {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zoho-product:hover .zoho-product__icon {
  transform: scale(1.15) rotate(-5deg);
}


/* Industry overview cards */
.ind-overview__card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ind-overview__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ind-overview__card:hover::before {
  transform: scaleX(1);
}

/* Blog / article cards */
.ins-article {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ins-article:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}


/* ============================================================
   3. ENHANCED BUTTON ANIMATIONS
   ============================================================ */

.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shine sweep effect on primary buttons */
.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn--primary:hover::after {
  left: 120%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 127, 60, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 127, 60, 0.2);
}

/* Outline button fill on hover */
.btn--outline {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn--outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn--outline:hover {
  color: #fff;
  border-color: var(--brand-primary);
}

/* Glow pulse animation */
.btn--glow {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(26, 127, 60, 0.25), 0 0 60px rgba(34, 197, 94, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(26, 127, 60, 0.4), 0 0 80px rgba(34, 197, 94, 0.2);
  }
}

.btn--glow:hover {
  animation: none;
  box-shadow: 0 0 35px rgba(26, 127, 60, 0.5), 0 0 100px rgba(34, 197, 94, 0.25);
}

/* Button icon bounce on hover */
.btn__icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover .btn__icon {
  transform: translateX(5px);
}


/* ============================================================
   4. ENHANCED NAVIGATION & LINKS
   ============================================================ */

/* Nav links - underline slide effect */
.navbar__link {
  position: relative;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 1px;
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 70%;
  left: 15%;
}

/* Mega menu items - icon lift */
.navbar__mega-item {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__mega-item:hover {
  transform: translateX(4px);
}

.navbar__mega-icon {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar__mega-item:hover .navbar__mega-icon {
  transform: scale(1.1);
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

/* Dropdown items */
.navbar__dropdown-item {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__dropdown-item:hover {
  transform: translateX(4px);
}

/* Footer links - slide effect */
.footer__link {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-accent);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__link:hover {
  transform: translateX(3px);
}

/* Social links pulse */
.footer__social-link {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer__social-link:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 127, 60, 0.3);
}

/* Topbar social links */
.topbar__social {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.topbar__social:hover {
  transform: scale(1.2);
}


/* ============================================================
   5. HERO SECTION ENHANCEMENTS
   ============================================================ */

/* Animated gradient orbs - floating motion */
.hero__gradient-orb {
  animation: heroOrbFloat 8s ease-in-out infinite;
}

.hero__gradient-orb--1 {
  animation-delay: 0s;
  animation-duration: 10s;
}

.hero__gradient-orb--2 {
  animation-delay: -3s;
  animation-duration: 12s;
}

.hero__gradient-orb--3 {
  animation-delay: -5s;
  animation-duration: 9s;
}

@keyframes heroOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -15px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.02); }
}

/* Hero title gradient text animation */
.hero__title-gradient {
  background-size: 200% auto;
  animation: gradientShift 4s ease-in-out infinite;
}

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

/* Hero badge entrance animation */
.hero__badge {
  animation: badgeFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Automation panel - enhanced floating effect */
.hero__automation-panel {
  animation: panelFloat 6s ease-in-out infinite;
}

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

/* Flow steps stagger animation */
.hero__flow-step {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__flow-step:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

/* Proof bar avatars bounce */
.hero__proof-avatars span {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__proof-avatars span:hover {
  transform: translateY(-3px) scale(1.1);
  z-index: 2;
}

/* Grid background subtle animation */
.hero__grid-bg {
  animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}


/* ============================================================
   6. IMPACT STATS / COUNTER ENHANCEMENTS
   ============================================================ */

.impact__item {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.impact__item:hover {
  transform: translateY(-4px);
}

.impact__num {
  position: relative;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.impact__num.counting {
  color: var(--brand-accent);
}

/* Number glow when counting */
.impact__num.counting::after {
  content: '';
  position: absolute;
  inset: -8px -12px;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.15), transparent 70%);
  border-radius: 8px;
  pointer-events: none;
  animation: counterGlow 1.8s ease-out forwards;
}

@keyframes counterGlow {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Partner strip counters */
.partner-strip__stat {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.partner-strip__stat:hover {
  transform: translateY(-2px);
}

.partner-strip__stat-num {
  transition: all 0.3s ease;
}

.partner-strip__stat:hover .partner-strip__stat-num {
  transform: scale(1.08);
}

/* Client stats */
.clients__stat {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients__stat:hover {
  transform: translateY(-2px);
}

.clients__stat-num {
  transition: all 0.3s ease;
}

.clients__stat:hover .clients__stat-num {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(26, 127, 60, 0.2);
}


/* ============================================================
   7. TESTIMONIALS ENHANCEMENTS
   ============================================================ */

.testimonial-card {
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.testimonial-card.is-active {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.testimonial-card__stars {
  transition: all 0.3s ease;
}

.testimonial-card.is-active .testimonial-card__stars {
  animation: starsEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes starsEntrance {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.testimonial-card__avatar-placeholder {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card.is-active .testimonial-card__avatar-placeholder {
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

/* Arrow buttons */
.testimonials__arrow {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonials__arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.testimonials__dots button {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonials__dots button:hover:not(.active) {
  background: var(--brand-primary-light);
  transform: scale(1.3);
}


/* ============================================================
   8. CTA BANNER ENHANCEMENTS
   ============================================================ */

.cta-banner__inner {
  transition: all 0.5s ease;
}

.cta-banner__inner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  animation: ctaPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}


/* ============================================================
   9. SECTION TAG ANIMATIONS
   ============================================================ */

.section__tag {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.section__tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: tagShimmer 3s ease-in-out infinite;
}

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


/* ============================================================
   10. PARTNER STRIP HOVER EFFECTS
   ============================================================ */

.partner-strip__cta {
  position: relative;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.partner-strip__cta svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.partner-strip__cta:hover svg {
  transform: translateX(4px);
}


/* ============================================================
   11. CLIENT LOGOS HOVER ENHANCEMENTS
   ============================================================ */

.clients__logo {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients__logo:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.12) translateY(-2px);
}


/* ============================================================
   12. FOUNDER SECTION ENHANCEMENTS
   ============================================================ */

.founder__photo {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.founder__inner:hover .founder__photo {
  box-shadow: 0 16px 50px rgba(26, 127, 60, 0.2);
}

.founder__quote {
  transition: all 0.4s ease;
}

.founder__accent-line {
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.founder__inner:hover .founder__accent-line {
  width: 100px;
}


/* ============================================================
   13. FORM INPUT FOCUS ANIMATIONS
   ============================================================ */

.ct-form__input,
.ct-form__select,
.ct-form__textarea,
.newsletter__input,
.ins-newsletter__input {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ct-form__input:focus,
.ct-form__select:focus,
.ct-form__textarea:focus,
.newsletter__input:focus,
.ins-newsletter__input:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 127, 60, 0.1), 0 0 0 3px rgba(26, 127, 60, 0.1);
}


/* ============================================================
   14. CONTACT INFO CARD ENHANCEMENTS
   ============================================================ */

.ct-info-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.ct-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ct-info-card:hover::before {
  transform: scaleX(1);
}

.ct-info-card__icon {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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


/* ============================================================
   15. PAGE HERO ENHANCEMENTS
   ============================================================ */

.page-hero__gradient-orb {
  animation: heroOrbFloat 10s ease-in-out infinite;
}

.page-hero__gradient-orb--2 {
  animation-delay: -4s;
}

.page-hero__grid-bg {
  animation: gridDrift 30s linear infinite;
}


/* ============================================================
   16. CAPABILITIES PAGE ENHANCEMENTS
   ============================================================ */

.cap-pillar {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.cap-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cap-pillar:hover::before {
  transform: scaleX(1);
}

.cap-pillar__icon {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cap-pillar:hover .cap-pillar__icon {
  transform: scale(1.1) rotate(-3deg);
}

.cap-stat {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cap-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}


/* ============================================================
   17. SMOOTH SCROLL INDICATOR
   ============================================================ */

@keyframes scrollIndicator {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}


/* ============================================================
   18. HEADER ENHANCED TRANSITIONS
   ============================================================ */

.header {
  transition: top 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              background 0.35s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Theme toggle spin */
.theme-toggle {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.1);
}

.theme-toggle:active {
  transform: rotate(180deg) scale(0.95);
}


/* ============================================================
   19. CURSOR / MOUSE TRACKER GLOW
   ============================================================ */

.mouse-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 127, 60, 0.04), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.15s ease-out, opacity 0.3s ease;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
}

.mouse-glow.active {
  opacity: 1;
}


/* ============================================================
   20. LOADING / SKELETON SHIMMER (for slow content)
   ============================================================ */

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

.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}


/* ============================================================
   21. DARK THEME ANIMATION OVERRIDES
   ============================================================ */

.dark-theme .auto-card:hover {
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.08), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dark-theme .vertical-card:hover {
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.08), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dark-theme .why-card:hover {
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.08), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dark-theme .mouse-glow {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.03), transparent 70%);
}

.dark-theme .header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark-theme .testimonial-card.is-active {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.dark-theme .auto-card::before {
  background: linear-gradient(90deg, var(--brand-accent), var(--palette-blue), var(--palette-purple));
}


/* ============================================================
   22. ACCESSIBILITY - REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero__gradient-orb,
  .hero__automation-panel,
  .hero__grid-bg,
  .page-hero__gradient-orb,
  .page-hero__grid-bg,
  .btn--glow,
  .hero__title-gradient,
  .mouse-glow,
  .section__tag::before {
    animation: none !important;
  }

  [data-reveal] {
    filter: none;
    transition-duration: 0.01ms !important;
  }

  .btn--primary::after {
    display: none;
  }
}
