/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Decorative Lines ───────────────────────────── */
.line-deco {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.line-h1 { top: 28%; left: 0; width: 100%; height: 1px; }
.line-h2 { top: 72%; left: 0; width: 100%; height: 1px; }
.line-h3 { bottom: 18%; left: 0; width: 100%; height: 1px; }
.line-h4 { top: 15%; left: 0; width: 100%; height: 1px; }
.line-h5 { top: 20%; left: 0; width: 100%; height: 1px; }
.line-v1 { top: 0; left: 35%; width: 1px; height: 100%; }
.line-v2 { top: 0; left: 65%; width: 1px; height: 100%; }
.line-v3 { top: 0; right: 10%; width: 1px; height: 100%; }
.line-v4 { top: 0; left: 50%; width: 1px; height: 100%; }
.line-v5 { top: 0; right: 25%; width: 1px; height: 100%; }

/* ── Hero Typography ────────────────────────────── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}
.hero-title {
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}
.hero-sub {
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}
.hero-cta {
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Floating Stat Cards ────────────────────────── */
.stat-card {
  cursor: default;
}
.stat-card-inner {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.stat-card:hover .stat-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.card-1 { animation: floatA 5s ease-in-out infinite; }
.card-2 { animation: floatB 6s ease-in-out infinite; animation-delay: 1s; }
.card-3 { animation: floatA 5.5s ease-in-out infinite; animation-delay: 2s; }
.card-4 { animation: floatB 4.5s ease-in-out infinite; animation-delay: 0.5s; }

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(8px); }
}

/* ── Section Eyebrow ────────────────────────────── */
.section-eyebrow {
  letter-spacing: 0.2em;
}

/* ── Reveal (progressive enhancement) ───────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Mobile Menu ────────────────────────────────── */
.mobile-link {
  transition: color 0.2s ease;
}
.mobile-link:hover {
  color: #0d9488;
}

/* ── Header Scroll State ────────────────────────── */
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
#site-header.scrolled .font-serif {
  color: #0f172a;
}

/* ── Nav Link Hover Underline ───────────────────── */
nav a:not(.px-5):hover {
  position: relative;
}
nav a:not(.px-5):hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #0d9488;
  transform: scaleX(1);
  transition: transform 0.25s ease;
}
nav a:not(.px-5):hover::after {
  transform-origin: left;
}

/* ── Menu List Dots ─────────────────────────────── */
.text-teal-600 {
  color: #0d9488;
}
.text-teal-700 {
  color: #0f766e;
}
.text-teal-300 {
  color: #5eead4;
}
.text-teal-400 {
  color: #2dd4bf;
}
.text-teal-500 {
  color: #14b8a6;
}
.text-teal-100 {
  color: #ccfbf1;
}
.text-teal-200 {
  color: #99f6e4;
}
.bg-teal-50 {
  background-color: #f0fdfa;
}
.bg-teal-500\/25 {
  background-color: rgba(20, 184, 166, 0.25);
}
.bg-teal-600 {
  background-color: #0d9488;
}
.bg-teal-700 {
  background-color: #0f766e;
}
.hover\:bg-teal-50:hover {
  background-color: #f0fdfa;
}
.hover\:bg-teal-500:hover {
  background-color: #14b8a6;
}
.hover\:bg-teal-700:hover {
  background-color: #0f766e;
}
.hover\:text-teal-700:hover {
  color: #0f766e;
}
.hover\:text-teal-400:hover {
  color: #2dd4bf;
}
.hover\:text-teal-200:hover {
  color: #99f6e4;
}
.hover\:border-teal-400:hover {
  border-color: #2dd4bf;
}
.hover\:border-teal-200:hover {
  border-color: #99f6e4;
}
.focus\:border-teal-400:focus {
  border-color: #2dd4bf;
}
.focus\:ring-teal-400:focus {
  ring-color: #2dd4bf;
}
