html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 96px);
}

body {
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 34, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fbf7 56%, #edf6ef 100%);
}

.site-main {
  padding-top: var(--header-offset, 96px);
}

.anchor-section {
  scroll-margin-top: calc(var(--header-offset, 96px) + 28px);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.hero-mesh {
  border-radius: 0;
  background:
    radial-gradient(circle at 11% 14%, rgba(255, 251, 196, 0.96), rgba(255, 251, 196, 0.2) 28%, transparent 62%),
    linear-gradient(158deg, rgba(232, 249, 233, 0.88) 0%, rgba(220, 243, 227, 0.66) 38%, rgba(213, 243, 232, 0.58) 100%);
  transform-style: preserve-3d;
}

.hero-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 255, 251, 0.16), rgba(245, 255, 248, 0.74)),
    url("https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=2200&q=80") center / cover;
  opacity: 0.88;
  transform: scale(1.08) translateY(-2.4%);
  filter: saturate(1.15) contrast(1.08);
}

.hero-sun {
  position: absolute;
  left: 8%;
  top: 5%;
  width: 240px;
  height: 240px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 248, 178, 0.95) 0%, rgba(255, 248, 178, 0.38) 50%, transparent 76%);
  filter: blur(1px);
}

.hero-beam {
  position: absolute;
  top: -12%;
  left: 18%;
  width: 180%;
  height: 76%;
  border-radius: 100%;
  transform: rotate(16deg) perspective(1100px) translateZ(0) rotateX(14deg);
  mix-blend-mode: screen;
}

.hero-beam-a {
  background: linear-gradient(90deg, rgba(255, 251, 218, 0.74) 0%, rgba(255, 251, 218, 0.2) 48%, transparent 100%);
  filter: blur(6px);
  opacity: 0.8;
}

.hero-beam-b {
  top: -20%;
  left: 12%;
  transform: rotate(8deg) perspective(1100px) translateZ(0) rotateX(11deg);
  background: linear-gradient(90deg, rgba(232, 255, 241, 0.58) 0%, rgba(232, 255, 241, 0.15) 55%, transparent 100%);
  filter: blur(10px);
  opacity: 0.72;
}

.hero-fog {
  position: absolute;
  inset: auto -8% -6% -8%;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(229, 248, 233, 0.26) 40%, rgba(244, 252, 246, 0.82) 100%);
  backdrop-filter: blur(2px);
}

.hero-digital-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 34, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 34, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 22% 20%, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.08) 78%);
  opacity: 0.55;
}

.hero-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 34, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 34, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 96%);
  pointer-events: none;
}

.floating-tools {
  position: fixed;
  right: 1rem;
  bottom: 1.1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.floating-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border-radius: 9999px;
  border: 1px solid rgba(20, 184, 34, 0.24);
  backdrop-filter: blur(10px);
  padding: 0.62rem 0.92rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 15px 36px rgba(15, 23, 42, 0.14);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.floating-tool .material-symbols-outlined {
  font-size: 20px;
}

.floating-tool:hover {
  transform: translateY(-2px);
}

.floating-tool-service {
  background: rgba(20, 184, 34, 0.9);
  color: #fff;
}

.floating-tool-service:hover {
  background: rgba(16, 151, 28, 0.95);
}

.floating-tool-top {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

.floating-tool-top.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.case-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 17, 11, 0.7) 100%);
}

.nav-anchor {
  position: relative;
}

.nav-anchor.is-active {
  color: #14b822 !important;
}

@media (min-width: 768px) {
  .nav-anchor.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.55rem;
    height: 2px;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(20, 184, 34, 0.4), rgba(20, 184, 34, 1), rgba(20, 184, 34, 0.35));
  }
}

@media (max-width: 767px) {
  #mobile-menu .nav-anchor.is-active {
    background: #edf9ef;
  }

  .hero-sun {
    width: 170px;
    height: 170px;
    left: 6%;
    top: 4%;
  }

  .hero-beam {
    width: 230%;
    left: 4%;
    height: 68%;
  }

  .floating-tools {
    right: 0.74rem;
    bottom: 0.84rem;
  }

  .floating-tool {
    padding: 0.58rem 0.82rem;
    font-size: 0.76rem;
  }
}
