/* ===== TIMI — minimal/Swiss, motion-rich but calm ===== */

:root {
  --accent: #4f46e5;
  --accent2: #06b6d4;
}

html { -webkit-font-smoothing: antialiased; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none !important; }
}

/* Hero gradient text */
.text-gradient {
  background: linear-gradient(100deg, #0a0a0a 10%, var(--accent) 55%, var(--accent2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Floating chat bubbles */
@keyframes floaty {
  0%,100% { transform: translateY(0) }
  50% { transform: translateY(-14px) }
}
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.b { animation-delay: -2s; }
.floaty.c { animation-delay: -4s; }

/* Marquee of countries */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: scrollx 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollx {
  from { transform: translateX(0) }
  to { transform: translateX(-50%) }
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid rgba(10,10,10,.08);
  border-radius: 1.25rem;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -22px rgba(10,10,10,.35);
  border-color: rgba(79,70,229,.4);
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: #fff;
  padding: .7rem 1.4rem; border-radius: 9999px;
  font-weight: 600; font-size: .95rem;
  transition: background .3s, transform .2s;
}
.btn-primary:hover { background: #0a0a0a; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(10,10,10,.15); color: #0a0a0a;
  padding: .7rem 1.4rem; border-radius: 9999px; font-weight: 600; font-size: .95rem;
  transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: #0a0a0a; background: rgba(10,10,10,.03); }

/* Underline link */
.ulink { position: relative; }
.ulink::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s;
}
.ulink:hover::after { width: 100%; }

/* Section eyebrow */
.eyebrow {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}

/* Animated dots for "live" feel */
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1) }
  50% { opacity: .35; transform: scale(.7) }
}
.dot-live { width: 8px; height: 8px; border-radius: 9999px; background: #22c55e; display: inline-block; animation: pulse 1.8s ease-in-out infinite; }
.dot-live.b { animation-delay: .6s; }
.dot-live.c { animation-delay: 1.2s; }

/* Step number */
.step-num {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10,10,10,.25);
}

/* Soft grid background for hero */
.hero-grid {
  background-image:
    linear-gradient(to right, rgba(10,10,10,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* Glow blob */
.glow {
  position: absolute; border-radius: 9999px; filter: blur(70px); opacity: .35;
  background: radial-gradient(circle, var(--accent), transparent 70%);
}

/* CTA buttons (no <a> tags for calls-to-action) */
.cta { cursor: pointer; }
.cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Inputs (forms) */
.field {
  width: 100%; background: #fff; border: 1px solid rgba(10,10,10,.14);
  border-radius: .9rem; padding: .8rem 1rem; font-size: .95rem;
  transition: border-color .25s, box-shadow .25s;
}
.field:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
