/* ===== Typography ===== */
.ft-home { font-family: 'DM Sans', system-ui, sans-serif; }
.ft-display { font-family: 'Lora', Georgia, serif; }

/* ===== Float animations for hero badges ===== */
@keyframes ft-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-9px) rotate(0.5deg); }
  66%       { transform: translateY(-4px) rotate(-0.5deg); }
}
@keyframes ft-float-b {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40%       { transform: translateY(-7px) rotate(-0.4deg); }
  70%       { transform: translateY(-3px) rotate(0.4deg); }
}
@keyframes ft-float-c {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-11px) rotate(0.3deg); }
}
.ft-badge-a { animation: ft-float   3.8s ease-in-out infinite; }
.ft-badge-b { animation: ft-float-b 4.4s ease-in-out infinite; animation-delay: 0.9s; }
.ft-badge-c { animation: ft-float-c 3.2s ease-in-out infinite; animation-delay: 1.7s; }

/* ===== Hero bar pulse ===== */
@keyframes ft-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}
.ft-pulse-dot { animation: ft-pulse-dot 2s ease-in-out infinite; }

/* ===== Gentle entrance ===== */
@keyframes ft-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ft-rise-1 { animation: ft-rise 0.7s ease-out both; }
.ft-rise-2 { animation: ft-rise 0.7s ease-out 0.12s both; }
.ft-rise-3 { animation: ft-rise 0.7s ease-out 0.24s both; }
.ft-rise-4 { animation: ft-rise 0.7s ease-out 0.36s both; }
.ft-rise-5 { animation: ft-rise 0.7s ease-out 0.48s both; }
.ft-rise-card { animation: ft-rise 0.8s cubic-bezier(0.22,1,0.36,1) 0.2s both; }

/* ===== Stat counter gradient text ===== */
.ft-stat-num {
  background: linear-gradient(135deg, #059669 0%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Emotion bar fill ===== */
.ft-bar-fill { transition: width 1.2s cubic-bezier(0.4,0,0.2,1); }

/* ===== Feature card hover ===== */
.ft-feat-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ft-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(5,150,105,0.12);
}

/* ===== Avatar ring ===== */
.ft-avatar { border: 3px solid white; }

/* ===== CTA button shine ===== */
@keyframes ft-shine {
  0%   { left: -100%; }
  100% { left: 150%; }
}
.ft-cta-btn { position: relative; overflow: hidden; }
.ft-cta-btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  left: -100%;
}
.ft-cta-btn:hover::after {
  animation: ft-shine 0.6s ease-out;
}

/* ===== Section divider wave ===== */
.ft-wave { display: block; width: 100%; height: 48px; }

/* ===== Noise texture overlay ===== */
.ft-hero-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* ===== Testimonial quote mark ===== */
.ft-quote::before {
  content: '\201C';
  font-family: 'Lora', serif;
  font-size: 4rem;
  line-height: 1;
  color: #a7f3d0;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
}
