@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Kanit:wght@300;400;500;600;700&display=swap");

:root {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark;
  background-color: #000000;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(16, 185, 129, 0.12), transparent 45%),
    radial-gradient(circle at 50% 110%, rgba(16, 185, 129, 0.16), transparent 60%),
    #000000;
}

/* ── KEYFRAMES ──────────────────────────────────────── */

@keyframes call-float {
  0%   { transform: translateY(0) scale(1);      opacity: 0.65; }
  50%  { transform: translateY(-18px) scale(1.04); opacity: 0.9; }
  100% { transform: translateY(0) scale(1);      opacity: 0.65; }
}

@keyframes call-leave {
  0%   { opacity: 1; transform: translateY(0) scale(1);       }
  100% { opacity: 0; transform: translateY(-12px) scale(0.98); }
}

@keyframes call-enter {
  0%   { opacity: 0; transform: translateY(12px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1);       }
}

@keyframes call-glow {
  0%   { opacity: 0.35; transform: translate(-50%, -50%) scale(0.92); }
  50%  { opacity: 0.6;  transform: translate(-50%, -50%) scale(1.05); }
  100% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.92); }
}

@keyframes shimmer-line {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%);  }
}

/* ── CUSTOM CLASSES ─────────────────────────────────── */

.font-kanit {
  font-family: "Kanit", sans-serif;
}

.call-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(16, 185, 129, 0.08));
  filter: blur(2px);
  animation: call-float 12s ease-in-out infinite;
}

.call-orb--one {
  left: 8%;
  top: 18%;
}

.call-glow {
  animation: call-glow 10s ease-in-out infinite;
}

.call-leave {
  animation: call-leave 0.26s ease forwards;
}

.call-enter {
  animation: call-enter 0.26s ease both;
}

/* Service card shimmer on hover */
.service-card-shimmer {
  position: relative;
  overflow: hidden;
}

.service-card-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(52, 211, 153, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: none;
}

.service-card-shimmer:hover::after {
  animation: shimmer-line 0.6s ease forwards;
}

/* ── HERO ENTRANCE ANIMATIONS ───────────────────────── */

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-animate {
  animation: hero-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-animate-1 { animation-delay: 0.04s; }
.hero-animate-2 { animation-delay: 0.18s; }
.hero-animate-3 { animation-delay: 0.30s; }
.hero-animate-4 { animation-delay: 0.42s; }

/* ── HERO DOT GRID ───────────────────────────────────── */

.hero-dots {
  background-image: radial-gradient(circle, rgba(52, 211, 153, 0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 32%, black 15%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 32%, black 15%, transparent 68%);
}

/* ── MANIFESTO NUMBER GRADIENT ───────────────────────── */

.manifesto-num {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.24) 0%, rgba(52, 211, 153, 0.07) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SERVICE CARD ICON ───────────────────────────────── */

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(52, 211, 153, 0.15);
  background: rgba(52, 211, 153, 0.07);
  color: rgba(52, 211, 153, 0.65);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.service-card-shimmer:hover .service-icon {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.12);
  color: rgba(52, 211, 153, 0.85);
}

/* ── PROCESS STEP ARROW ──────────────────────────────── */

@keyframes connector-pulse {
  0%, 100% { opacity: 0.3; transform: translateY(-50%) translateX(0px); }
  50%       { opacity: 0.65; transform: translateY(-50%) translateX(2px); }
}

.process-step-arrow {
  animation: connector-pulse 2.6s ease-in-out infinite;
  color: rgba(52, 211, 153, 0.45);
}

/* ── TESTIMONIALS ────────────────────────────────────── */

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

@media (min-width: 768px) {
  .testimonial-card:nth-child(2) { transform: translateY(-10px); }

  .testimonial-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(52, 211, 153, 0.13);
  }
}

/* ── TRUST BAR MARQUEE ───────────────────────────────── */

@keyframes trust-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-track {
  display: flex;
  gap: 0.625rem;
  width: max-content;
  animation: trust-marquee 32s linear infinite;
}

.trust-track:hover {
  animation-play-state: paused;
}

/* ── MODAL ───────────────────────────────────────────── */

#contact-modal {
  display: none;
}

#contact-modal.open {
  display: flex;
}
