/* ===== PREMIUM ANIMATIONS & TEXT UPGRADES ===== */
/* ===== FONTS — loaded via <link> in header for performance ===== */
body { font-family: var(--font-body, 'Inter', sans-serif); }
h1,h2,h3,h4,h5 { font-family: var(--font-heading, 'Sora', 'Poppins', sans-serif); }

/* ===== GRADIENT TEXT ===== */
.hero-title .highlight {
  background: linear-gradient(135deg, #00C9A7 0%, #00897B 40%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

/* ===== GLOWING TEXT EFFECT ===== */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
}
.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(270deg, var(--teal), transparent);
  border-radius: 2px;
}

/* ===== HERO TITLE UPGRADE ===== */
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
}

/* ===== ANIMATED UNDERLINE ===== */
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00C9A7, #00897B);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineReveal 1s ease 1.2s forwards;
}
@keyframes underlineReveal {
  to { transform: scaleX(1); }
}

/* ===== TYPEWRITER CURSOR ===== */
.hero-desc {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 520px;
  font-family: var(--font-body);
}

/* ===== SCROLL REVEAL BASE ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children delays */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* ===== SECTION TITLE UPGRADE ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title .text-teal {
  background: linear-gradient(135deg, #00C9A7, #00897B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO BADGE ANIMATION ===== */
.hero-badge {
  animation: badgeFloat 0.6s cubic-bezier(0.16,1,0.3,1) both;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
@keyframes badgeFloat {
  from { opacity:0; transform: translateY(-10px); }
  to { opacity:1; transform: translateY(0); }
}

/* ===== GLOWING PULSE DOT ===== */
.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.hero-badge .dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(0, 201, 167, 0.3);
  animation: dotPulse 1.8s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0; }
}

/* ===== STAT COUNTER STYLE ===== */
.stat-item .num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-item .num span { color: var(--teal); }
.stat-item .label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}
.hero-stats { gap: 2.5rem; }

/* ===== SERVICE CARD UPGRADE ===== */
.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,201,167,0.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,201,167,0.14), 0 8px 20px rgba(0,0,0,0.06);
  border-color: rgba(0,201,167,0.3);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.service-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===== TAGS UPGRADE ===== */
.tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(0,201,167,0.1);
  color: var(--teal-dark);
  border: 1px solid rgba(0,201,167,0.2);
  transition: all 0.2s ease;
}
.tag:hover {
  background: var(--teal);
  color: white;
}

/* ===== FLOATING CARDS GLOW ===== */
.float-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,201,167,0.05);
}
.float-card:hover {
  box-shadow: 0 16px 48px rgba(0,201,167,0.15), 0 0 0 1px rgba(0,201,167,0.15);
}
.float-card .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}

/* ===== NAVBAR UPGRADE ===== */
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

/* ===== BUTTON UPGRADE ===== */
.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn:hover::before { transform: translateX(0); }
.btn-primary {
  background: linear-gradient(135deg, #00C9A7 0%, #009688 60%, #00796B 100%);
  box-shadow: 0 4px 16px rgba(0,201,167,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,201,167,0.45);
}

/* ===== PROJECT CARD ===== */
.project-card {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}
.project-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== CTA SECTION TEXT ===== */
.cta-title {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* ===== FOOTER UPGRADE ===== */
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}
.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.footer-col ul li a:hover {
  color: var(--teal) !important;
  padding-left: 4px;
}

/* ===== AUTH CARD UPGRADE ===== */
.auth-title {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.auth-sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
}

/* ===== FORM CONTROL ===== */
.form-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.form-control {
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,201,167,0.12), 0 2px 8px rgba(0,201,167,0.08);
}

/* ===== PAGE HERO ===== */
.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.page-hero p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ===== HERO GRID ANIMATED ===== */
.hero-grid {
  background-image:
    linear-gradient(rgba(0,201,167,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,201,167,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

/* ===== GLOW ORBS ===== */
.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,167,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,137,123,0.1) 0%, transparent 70%);
  bottom: 0;
  left: 5%;
  animation: orbFloat 10s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 0;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-20px) scale(1.05); }
  66% { transform: translate(-10px,15px) scale(0.97); }
}
.hero-content { position: relative; z-index: 1; }

/* ===== SHIMMER LINE ===== */
.shimmer-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
  border-radius: 2px;
  margin: 60px auto;
  max-width: 200px;
  opacity: 0.5;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== SMOOTH NUMBER COUNTER ===== */
.stat-item .num {
  display: inline-block;
  animation: numPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
  animation-delay: 1s;
}
@keyframes numPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== SECTION BG ALTERNATING ===== */
.section:nth-child(odd) {
  background: var(--off-white);
}

/* ===== DASH TITLE ===== */
.dash-title {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.dash-sub {
  font-family: var(--font-body);
}

/* ===== KANBAN CARDS ===== */
.task-title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.kanban-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ===== SIDEBAR LINKS ===== */
.sidebar-link {
  font-family: var(--font-body);
  font-weight: 500;
}
.sidebar-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
}

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #00C9A7, #009688);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0,201,167,0.6);
}

/* ===== CURSOR GLOW (desktop) ===== */
#cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,167,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.08s linear, top 0.08s linear;
}

/* ===== TEXT REVEAL ANIMATION ===== */
@keyframes textReveal {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-title {
  animation: textReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}
.hero-desc {
  animation: textReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}
.hero-actions {
  animation: textReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.6s both;
}
.hero-stats {
  animation: textReveal 0.8s cubic-bezier(0.16,1,0.3,1) 0.8s both;
}

/* ===== SECTION CARD NUMBER LABELS ===== */
.service-card .service-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,201,167,0.08);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s;
}
.service-card:hover .service-num {
  color: rgba(0,201,167,0.15);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; letter-spacing: -0.02em; }
  .section-title { font-size: 1.7rem; }
  #cursor-glow { display: none; }
}

/* =========================================================
   LANDING PAGE UPGRADES — word rotator, particles, marquee,
   bento grid, process timeline, testimonials, animated CTA
   ========================================================= */

/* ===== WORD ROTATOR ===== */
.word-rotator {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  background: linear-gradient(135deg, #00C9A7 0%, #00897B 50%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
  will-change: opacity, transform, filter;
}
.word-rotator.fade-out {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(4px);
}
.word-rotator.fade-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Animated underline (override existing — make it shimmer) */
.hero-title .word-rotator::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00C9A7, #00897B, transparent);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: underlineShimmer 3s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes underlineShimmer {
  0%, 100% { background-position: -100% 0; }
  50% { background-position: 100% 0; }
}

/* ===== HERO PARTICLES ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 201, 167, 0.4);
  box-shadow: 0 0 12px rgba(0, 201, 167, 0.4);
  animation: particleFloat 14s linear infinite;
  opacity: 0;
}
.hero-particles span:nth-child(1) { left: 8%;  width: 6px;  height: 6px;  animation-delay: 0s;   animation-duration: 16s; }
.hero-particles span:nth-child(2) { left: 18%; width: 10px; height: 10px; animation-delay: 2s;   animation-duration: 18s; background: rgba(0,201,167,0.25); }
.hero-particles span:nth-child(3) { left: 28%; width: 5px;  height: 5px;  animation-delay: 4s;   animation-duration: 12s; }
.hero-particles span:nth-child(4) { left: 42%; width: 12px; height: 12px; animation-delay: 1s;   animation-duration: 20s; background: rgba(0,137,123,0.3); }
.hero-particles span:nth-child(5) { left: 55%; width: 7px;  height: 7px;  animation-delay: 6s;   animation-duration: 14s; }
.hero-particles span:nth-child(6) { left: 67%; width: 9px;  height: 9px;  animation-delay: 3s;   animation-duration: 17s; }
.hero-particles span:nth-child(7) { left: 75%; width: 6px;  height: 6px;  animation-delay: 8s;   animation-duration: 13s; }
.hero-particles span:nth-child(8) { left: 84%; width: 11px; height: 11px; animation-delay: 5s;   animation-duration: 19s; background: rgba(0,201,167,0.2); }
.hero-particles span:nth-child(9) { left: 92%; width: 5px;  height: 5px;  animation-delay: 7s;   animation-duration: 15s; }
.hero-particles span:nth-child(10){ left: 50%; width: 8px;  height: 8px;  animation-delay: 9s;   animation-duration: 16s; }
@keyframes particleFloat {
  0%   { transform: translateY(110vh) scale(0.6); opacity: 0; }
  10%  { opacity: 0.9; }
  50%  { transform: translateY(50vh) translateX(20px) scale(1); opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-10vh) translateX(-15px) scale(0.4); opacity: 0; }
}

/* ===== BUTTON ARROW MOTION ===== */
.btn-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.btn:hover .btn-arrow {
  transform: translateX(6px);
}

/* ===== HERO SCROLL CUE ===== */
.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.3s;
  animation: scrollCueFade 0.8s ease 1.4s both;
}
.hero-scroll-cue:hover { opacity: 1; }
.hero-scroll-cue .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--teal-dark);
  border-radius: 14px;
  display: block;
  position: relative;
}
.hero-scroll-cue .mouse-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--teal);
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0);  opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);  opacity: 0; }
}
@keyframes scrollCueFade {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 0.7; transform: translate(-50%, 0); }
}
@media (max-width: 768px) { .hero-scroll-cue { display: none; } }

/* ===== TILT CARDS (mouse-react) ===== */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

/* ===== TECH MARQUEE ===== */
.trust-marquee {
  background: linear-gradient(90deg, var(--off-white), white, var(--off-white));
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 22px 0;
  position: relative;
  overflow: hidden;
}
.trust-marquee::before,
.trust-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.trust-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--off-white), transparent);
}
.trust-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--off-white), transparent);
}
.marquee-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--gray-100);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  z-index: 3;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.trust-marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 18px;
  flex-shrink: 0;
}
.marquee-content span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.marquee-content span:hover { color: var(--teal-dark); }
.marquee-content .dot-sep {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== BENTO GRID (Why Aumfig) ===== */
.bento-section {
  background: linear-gradient(180deg, var(--off-white), white);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
  margin-top: 50px;
}
.bento-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,201,167,0.08) 0%, transparent 50%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,201,167,0.3);
  box-shadow: 0 24px 60px rgba(0,201,167,0.12), 0 6px 18px rgba(0,0,0,0.05);
}
.bento-card:hover::before {
  opacity: 1;
  transform: scale(1);
}
.bento-card.bento-lg {
  grid-row: span 2;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
  border-color: var(--navy-light);
}
.bento-card.bento-lg::before {
  background: radial-gradient(circle, rgba(0,201,167,0.2) 0%, transparent 60%);
  opacity: 0.6;
  transform: scale(1);
}
.bento-card.bento-lg h3 { color: white; }
.bento-card.bento-lg p { color: rgba(255,255,255,0.7); }
.bento-card.bento-wide { grid-column: span 2; }
.bento-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.bento-card.bento-lg .bento-icon {
  background: rgba(0,201,167,0.18);
}
.bento-card:hover .bento-icon {
  transform: scale(1.08) rotate(-6deg);
}
.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.bento-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.bento-mini-stats {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}
.bento-mini-stats > div {
  display: flex;
  flex-direction: column;
}
.bento-mini-stats strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
}
.bento-mini-stats span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.bento-lg { grid-row: span 2; }
  .bento-card.bento-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.bento-lg, .bento-card.bento-wide { grid-row: auto; grid-column: auto; }
}

/* ===== PROCESS TIMELINE ===== */
.process-section { position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 18px);
  opacity: 0.35;
  z-index: 0;
}
.process-step {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0,201,167,0.4);
  box-shadow: 0 18px 44px rgba(0,201,167,0.12);
}
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(0,201,167,0.35);
  position: relative;
}
.process-num::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0,201,167,0.25);
  animation: ringPulse 2.4s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1);   opacity: 0.5; }
  50%      { transform: scale(1.15); opacity: 0; }
}
.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
  overflow: hidden;
}
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,201,167,0.3);
  box-shadow: 0 22px 50px rgba(0,0,0,0.08);
}
.testimonial-card:hover::after { width: 100%; }
.quote-mark {
  position: absolute;
  top: -10px;
  right: 22px;
  font-family: 'Syne', serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(0,201,167,0.18);
  line-height: 1;
  pointer-events: none;
}
.t-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.t-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,201,167,0.3);
}
.t-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}
.t-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== ANIMATED CTA ===== */
.cta-section {
  position: relative;
  padding: 100px 5%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0a3d3a 100%);
  overflow: hidden;
  isolation: isolate;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg,
    rgba(0,201,167,0.18) 90deg,
    transparent 180deg,
    rgba(0,137,123,0.15) 270deg,
    transparent 360deg);
  animation: ctaSpin 18s linear infinite;
  z-index: 0;
  opacity: 0.7;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 30% 30%, rgba(0,201,167,0.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 70%, rgba(0,137,123,0.10), transparent 60%);
  z-index: 1;
}
@keyframes ctaSpin {
  to { transform: rotate(360deg); }
}
.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,167,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.cta-highlight {
  background: linear-gradient(135deg, #00D4AA 0%, #00C9A7 50%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}
.cta-btn {
  font-size: 1.05rem;
  padding: 16px 40px;
  box-shadow: 0 12px 32px rgba(0,201,167,0.45), 0 0 0 0 rgba(0,201,167,0.4);
  animation: ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(0,201,167,0.45), 0 0 0 0 rgba(0,201,167,0.45); }
  50%      { box-shadow: 0 12px 32px rgba(0,201,167,0.45), 0 0 0 14px rgba(0,201,167,0); }
}

/* ===== SERVICE NUMBER POSITION FIX ===== */
.service-card .service-num {
  font-size: 3.4rem;
  top: 12px;
  right: 22px;
  transition: color 0.4s ease, transform 0.4s ease;
}
.service-card:hover .service-num {
  transform: translateY(-4px) rotate(-4deg);
  color: rgba(0,201,167,0.22);
}

/* ===== MOBILE TWEAKS ===== */
@media (max-width: 768px) {
  .cta-section { padding: 70px 5%; }
  .bento-mini-stats { gap: 16px; }
}
