/* ---- BLOB DRIFTS ---- */
@keyframes drift-a {
  0%,100% { transform: translate(0,0) scale(1); }
  35%     { transform: translate(-28px,20px) scale(1.07); }
  70%     { transform: translate(16px,-12px) scale(.95); }
}
@keyframes drift-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(36px,-30px) scale(1.09); }
}
@keyframes drift-c {
  0%,100% { transform: translate(0,0) scale(1); }
  28%     { transform: translate(-16px,14px) scale(1.05); }
  65%     { transform: translate(12px,-18px) scale(.96); }
}

/* ---- MORPHING BLOB ---- */
@keyframes blob-morph {
  0%,100% { border-radius: 62% 38% 34% 66% / 58% 36% 64% 42%; }
  20%     { border-radius: 38% 62% 50% 50% / 40% 58% 42% 60%; }
  40%     { border-radius: 54% 46% 62% 38% / 66% 34% 58% 42%; }
  60%     { border-radius: 36% 64% 40% 60% / 52% 48% 62% 38%; }
  80%     { border-radius: 66% 34% 52% 48% / 40% 60% 34% 66%; }
}

/* ---- TICKER ---- */
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- FEATURES AURORA ---- */
@keyframes feat-aurora {
  from { opacity: .65; transform: scale(1) translate(0,0); }
  to   { opacity: 1;   transform: scale(1.22) translate(5%,4%); }
}

/* ---- DOT GRID (page texture) ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: none; }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes border-glow {
  0%, 100% { border-color: rgba(255, 107, 53, 0.3); }
  50% { border-color: rgba(255, 107, 53, 0.8); }
}

@keyframes text-highlight {
  0%, 100% { color: var(--primary); }
  50% { color: var(--accent); }
}

@keyframes accent-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(255, 107, 53, 0); }
}


/* Hero stagger animations */
.hero-content .t-display    { animation: fade-up-in .7s ease forwards .15s; opacity: 0; }
.hero-content .hero-sub     { animation: slide-in-left .7s ease forwards .35s; opacity: 0; }
.hero-content .hero-form    { animation: scale-in .6s ease forwards .5s; opacity: 0; }
.hero-content .hero-card    { animation: slide-in-right .8s ease forwards .45s; opacity: 0; }

/* Card animations */
.report-card {
  animation: scale-in .6s ease;
}

.stat-item {
  animation: fade-up-in .6s ease;
}

.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: .15s; }
.stat-item:nth-child(3) { animation-delay: .3s; }

/* Process steps stagger */
.process-step {
  animation: slide-in-left .7s ease;
}

.process-step:nth-child(1) { animation-delay: 0s; }
.process-step:nth-child(2) { animation-delay: .2s; }
.process-step:nth-child(3) { animation-delay: .4s; }

/* Gap contrast animations */
.gap-contrast {
  animation: fade-up-in .7s ease;
}

.gap-contrast.before { animation-delay: 0s; }
.gap-contrast.after { animation-delay: .2s; }

/* Interactive hover effects */
.feat-nav-item {
  position: relative;
}

.feat-nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: var(--radius-md);
  transition: background .25s ease;
}

.feat-nav-item:hover::before {
  background: rgba(255,107,53,.04);
}

/* Button interactions */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity .3s ease;
}

.btn-primary:active::after {
  opacity: 1;
}

/* Form input focus glow */
.field-input:focus {
  box-shadow: inset 0 0 0 2px rgba(255,107,53,.2);
}

/* Hero form hover effect */
.hero-form .field-row:hover {
  box-shadow: 0 0 0 1px var(--accent);
}

/* Button ripple effect on click */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn-primary:active::before {
  animation: ripple .6s ease-out;
}

@keyframes ripple {
  to {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* Interactive stat hover */
.stat-item {
  transition: transform .3s ease;
}

.stat-item:hover .stat-big {
  transform: scale(1.08);
}

/* Report card hover effects */
.report-card {
  transition: box-shadow .3s ease, transform .3s ease;
}

.report-card:hover {
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.2);
  transform: translateY(-6px);
}

/* Process step interactive */
.process-step {
  transition: transform .3s ease;
}

.process-step:hover {
  transform: translateX(8px);
}

.process-step:hover .process-num {
  color: var(--accent);
  transform: scale(1.1);
}

/* Feature nav smooth selection */
.feat-nav-item {
  cursor: pointer;
}

/* Footer link underline animation */
.footer-links a {
  position: relative;
  overflow: hidden;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transition: left .3s ease;
}

.footer-links a:hover::after {
  left: 0;
}
