﻿html,
body {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

/* —— Hero (3D + motion) —— */
.hero-vital {
  background: linear-gradient(135deg, #d4dfe0, #d9e1ea, #dce4e0, #d1dbd5);
  background-size: 300% 300%;
  animation: hv-shift 18s ease-in-out infinite;
}

.hv-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  animation: hv-drift 16s ease-in-out infinite alternate;
}

.hv-blob-1 {
  width: 28rem;
  height: 28rem;
  background: #888dac;
  top: -6rem;
  left: -5rem;
}

.hv-blob-2 {
  width: 22rem;
  height: 22rem;
  background: #c38b73;
  bottom: -4rem;
  right: -3rem;
  animation-delay: -5s;
}

.hv-blob-3 {
  width: 12rem;
  height: 12rem;
  background: #55796c;
  top: 40%;
  left: 45%;
  animation-delay: -2.5s;
  opacity: 0.35;
}

.hv-weave path {
  fill: none;
  stroke: #55796c;
  stroke-width: 1.2;
  stroke-dasharray: 14 12;
  opacity: 0.35;
  animation: hv-dash 28s linear infinite;
}

.hero-scene {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-stage {
  position: relative;
  min-height: 340px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.hero-frame-3d {
  position: absolute;
  inset: 0 4% 8%;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(111, 127, 131, 0.65);
  box-shadow:
    0 28px 55px rgba(40, 53, 61, 0.28),
    0 2px 0 rgba(240, 243, 238, 0.4) inset;
  animation: hv-tilt 14s ease-in-out infinite alternate;
  transform-style: preserve-3d;
}

.hero-frame-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.hero-float-card {
  position: absolute;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid rgba(240, 243, 238, 0.85);
  background: rgba(231, 235, 232, 0.92);
  box-shadow: 0 16px 32px rgba(40, 53, 61, 0.22);
  animation: hv-float 9s ease-in-out infinite;
  transform-style: preserve-3d;
}

.hero-float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-f1 {
  width: clamp(72px, 14vw, 110px);
  height: clamp(88px, 16vw, 130px);
  left: -2%;
  top: 6%;
  animation-delay: 0s;
}

.hv-f2 {
  width: clamp(76px, 14vw, 112px);
  height: clamp(76px, 14vw, 112px);
  right: -1%;
  bottom: 18%;
  animation-delay: -3s;
}

.hv-chip {
  position: absolute;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #28353d;
  background: rgba(240, 243, 238, 0.92);
  border: 1px solid rgba(111, 127, 131, 0.5);
  box-shadow: 0 8px 20px rgba(40, 53, 61, 0.12);
  animation: hv-float 11s ease-in-out infinite;
}

.hv-chip-a {
  right: 8%;
  top: 12%;
  animation-delay: -1.5s;
}

.hv-chip-b {
  left: 10%;
  bottom: 6%;
  animation-delay: -4s;
}

.hero-glow-ring {
  position: absolute;
  inset: -12%;
  border-radius: 2rem;
  border: 1px solid rgba(85, 121, 108, 0.25);
  transform: translateZ(-40px) rotateX(8deg);
  pointer-events: none;
}

/* —— Sections —— */
.section-pad {
  padding: 4.5rem 1rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #55796c;
}

.section-label::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: #c38b73;
}

.pillar-card {
  border: 1px solid #929fa1;
  background: linear-gradient(160deg, #d1dbd5 0%, #dce4e0 100%);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(40, 53, 61, 0.12);
}

.stat-pill {
  border-radius: 1rem;
  border: 1px solid #929fa1;
  background: rgba(208, 221, 215, 0.65);
  padding: 1rem 1.25rem;
  text-align: center;
}

.brief-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 1.25rem;
  border: 1px solid #929fa1;
  background: #d1dbd5;
  padding: 1.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brief-card:hover {
  transform: translateY(-3px);
  border-color: #55796c;
}

.about-panel {
  border-radius: 1.25rem;
  border: 1px solid #929fa1;
  background: #d9e1ea;
  padding: 1.5rem;
}

.about-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: #435f70;
  color: #f0f3ee;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hv-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes hv-drift {
  to {
    transform: translate(48px, 32px) scale(1.08);
  }
}

@keyframes hv-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes hv-tilt {
  from {
    transform: rotateX(6deg) rotateY(-6deg) translateZ(0);
  }
  to {
    transform: rotateX(3deg) rotateY(5deg) translateY(-8px) translateZ(12px);
  }
}

@keyframes hv-dash {
  to {
    stroke-dashoffset: -480;
  }
}

@keyframes hv-pulse-dot {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hv-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #55796c;
  animation: hv-pulse-dot 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-vital,
  .hv-blob,
  .hv-weave path,
  .hero-frame-3d,
  .hero-float-card,
  .hv-chip,
  .hv-live-dot {
    animation: none !important;
  }

  .hero-stage {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
