@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --primary-1: #0f2742;
  --primary-2: #1a3b5d;
  --primary-3: #244e76;
  --accent-1: #ef6a22;
  --accent-2: #fb7a35;
  --bg-main: #ebe4db;
  --bg-soft: #f5efe7;
  --bg-tint: #efe8de;
  --text-1: #101218;
  --text-2: #3d434d;
  --text-3: #616977;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text-1);
  background-color: var(--bg-main);
}

body.has-mobile-app-nav {
  padding-bottom: 6.25rem;
}

.font-sora,
.font-display {
  font-family: "Outfit", sans-serif;
}

.font-mono-stats {
  font-family: "JetBrains Mono", monospace;
}

.page-shell {
  background-image: radial-gradient(circle at 8% 7%, rgba(251, 122, 53, 0.16), transparent 24%), radial-gradient(circle at 90% 20%, rgba(15, 39, 66, 0.08), transparent 26%), linear-gradient(to bottom, #efe7de 0%, #ebe4db 100%);
}

.corporate-hero {
  border-radius: 2.1rem;
  border: 1px solid #ddd4c9;
  background: rgba(249, 244, 238, 0.92);
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(16, 18, 24, 0.07);
}

.corporate-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ef6a22;
}

.corporate-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.8rem;
  background: #ef6a22;
  color: #ffffff;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.corporate-cta:hover {
  background: #fb7a35;
  transform: translateY(-1px);
}

.corporate-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  border: 1px solid #d0c6b9;
  background: #fffdf9;
  color: #1f2937;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.corporate-outline-btn:hover {
  border-color: #ef6a22;
  color: #ef6a22;
}

.corporate-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.corporate-image-grid img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border-radius: 1.6rem;
  border: 1px solid #ddd4c9;
}

.corporate-stat-card {
  border-radius: 1rem;
  border: 1px solid #ddd4c9;
  background: #fffaf4;
  box-shadow: 0 10px 22px rgba(16, 18, 24, 0.06);
}

.home-hero-shell {
  min-height: 47rem;
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(8, 23, 41, 0.86) 20%, rgba(15, 39, 66, 0.72) 52%, rgba(7, 20, 37, 0.88) 100%);
}

.home-hero-left-shape,
.home-hero-right-shape {
  position: absolute;
  top: -4rem;
  bottom: -4rem;
  width: 38vw;
  max-width: 28rem;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.16), rgba(15, 23, 42, 0.1));
  transform: skewX(-28deg);
}

.home-hero-left-shape {
  left: -12rem;
}

.home-hero-right-shape {
  right: -12rem;
  transform: skewX(28deg);
}

.hero-wave-cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4rem;
  background: #f1f5f9;
  border-top-left-radius: 100% 2rem;
  border-top-right-radius: 100% 2rem;
}

.hero-wave-cut::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.5rem;
  width: 9rem;
  height: 4rem;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: #f1f5f9;
}

.home-scroll-badge {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  z-index: 20;
  width: 6.8rem;
  height: 6.8rem;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 8px solid #f1f5f9;
  background: #f8fafc;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-scroll-badge::before {
  content: "";
  position: absolute;
  inset: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 999px;
}

.home-scroll-badge::after {
  display: none;
}

.home-scroll-globe {
  width: 2.05rem;
  height: 2.05rem;
  color: #ea580c;
  animation: heroGlobeSpin 5.8s linear infinite;
}

@keyframes heroGlobeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.metric-strip-card {
  border-radius: 1.2rem;
  border: 1px solid #dbe2ea;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  padding: 1.3rem 1rem;
}

.hero-cta {
  box-shadow: 0 18px 36px rgba(239, 106, 34, 0.38);
}

.hero-gradient {
  background: linear-gradient(130deg, rgba(79, 70, 229, 0.96), rgba(99, 102, 241, 0.84), rgba(124, 58, 237, 0.9));
}

.glass-card {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.soft-card {
  border: 1px solid #ddd4c9;
  background: #fffaf4;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(16, 18, 24, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.soft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(16, 18, 24, 0.12);
}

.metric-orb {
  animation: floaty 7s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.7s ease forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chart-shell canvas,
.chart-shell .apexcharts-canvas {
  max-width: 100%;
}

.noise-panel {
  background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.2) 1px, transparent 0);
  background-size: 19px 19px;
}

.stat-pulse {
  position: relative;
}

.stat-pulse::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 0.75rem;
  border: 1px solid rgba(99, 102, 241, 0.4);
  animation: pulseFrame 2.4s ease-out infinite;
}

@keyframes pulseFrame {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.04);
  }
}

.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 37%, #e2e8f0 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.mouse-parallax {
  transition: transform 0.15s ease-out;
}

[data-filter-target] {
  display: none;
}

[data-filter-target].active {
  display: grid;
}

.timeline-line {
  position: relative;
}

.timeline-line::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 1.2rem;
  height: calc(100% - 1.2rem);
  width: 1px;
  background: #cbd5e1;
}

.nav-active-pill {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4f46e5;
}

.mega-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: 58rem;
  max-width: calc(100vw - 2rem);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 1rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(10px);
  overflow-x: auto;
}

.mega-image-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #f8fafc;
  padding: 0.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mega-image-card:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.15);
}

.mobile-app-nav {
  position: fixed;
  left: 50%;
  bottom: 0.8rem;
  z-index: 60;
  display: grid;
  width: calc(100% - 1rem);
  max-width: 28rem;
  transform: translateX(-50%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.3rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(12px);
  padding: 0.5rem;
}

.mobile-app-nav-link {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  border-radius: 0.85rem;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.5rem 0.2rem;
  transition: all 0.2s ease;
}

.mobile-app-nav-link:hover {
  color: #4f46e5;
}

.mobile-app-nav-link.active {
  color: #4f46e5;
  background: #eef2ff;
}

.mobile-app-nav-link-cta {
  background: linear-gradient(120deg, #4f46e5, #7c3aed);
  color: #ffffff;
}

.mobile-app-nav-link-cta.active {
  background: linear-gradient(120deg, #4338ca, #6d28d9);
  color: #ffffff;
}

.mobile-scan-globe {
  color: #ffffff;
  animation: heroGlobeSpin 4.8s linear infinite;
}

@media (max-width: 1024px) {
  #siteHeader nav {
    margin-top: 0.8rem;
  }

  .home-hero-shell {
    min-height: 42rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
  }

  .home-scroll-badge {
    width: 5.8rem;
    height: 5.8rem;
  }

  .home-scroll-badge span {
    font-size: 0.5rem;
  }
}

@media (max-width: 640px) {
  .home-hero-left-shape,
  .home-hero-right-shape {
    width: 52vw;
  }

  .hero-wave-cut::after {
    width: 7rem;
    top: -1.2rem;
  }
}
