/* LEPEI TECH · 2026 editorial finish layer */

:root {
  --lp-line: rgba(226, 187, 104, 0.16);
  --lp-glow: rgba(70, 107, 220, 0.18);
  --lp-card: rgba(255, 255, 255, 0.045);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(80% 48% at 50% -8%, rgba(55, 88, 191, 0.18), transparent 64%),
    radial-gradient(45% 34% at 90% 35%, rgba(199, 138, 45, 0.055), transparent 72%),
    #070b1b;
}

body::before {
  position: fixed;
  z-index: 9998;
  inset: 0;
  content: "";
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.58'/%3E%3C/svg%3E");
}

::selection {
  color: #1d1504;
  background: #e8c778;
}

:focus-visible {
  outline: 2px solid #e8c778;
  outline-offset: 4px;
}

.lp-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #9b7127, #ffe2a5 55%, #d6a949);
  box-shadow: 0 0 18px rgba(226, 187, 104, 0.65);
  transform-origin: left center;
}

.nav {
  background: linear-gradient(180deg, rgba(5, 9, 24, 0.74), transparent);
}

.nav.scrolled {
  border-bottom-color: rgba(226, 187, 104, 0.17);
  background: rgba(6, 10, 26, 0.91);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.brand {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover {
  transform: translateY(-1px);
}

.logo-halo::after {
  border-color: rgba(226, 187, 104, 0.16);
  animation-duration: 16s;
}

.menu-link.active {
  color: var(--gold-2);
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn::before {
  position: absolute;
  z-index: -1;
  top: -130%;
  left: -60%;
  width: 35%;
  height: 360%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: rotate(22deg) translateX(-180%);
  transition: transform 0.65s ease;
}

.btn:hover::before {
  transform: rotate(22deg) translateX(560%);
}

.hero {
  background:
    linear-gradient(180deg, rgba(6, 10, 28, 0.08), rgba(6, 10, 28, 0)),
    radial-gradient(circle at 72% 44%, rgba(43, 73, 168, 0.09), transparent 38%);
}

.hero h1 {
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.hero-overline span {
  box-shadow: 0 0 16px rgba(226, 187, 104, 0.7);
}

.hero-badge {
  border-color: rgba(226, 187, 104, 0.26);
  background: rgba(226, 187, 104, 0.065);
  backdrop-filter: blur(12px);
}

.hero-sub {
  color: #b9c5e1;
}

.hero-stats {
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats .stat {
  position: relative;
  padding-left: 15px;
}

.hero-stats .stat::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(226, 187, 104, 0.4), transparent);
}

.hero-stats .stat b {
  letter-spacing: -0.02em;
}

.carousel {
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(226, 187, 104, 0.12),
    0 0 80px rgba(47, 76, 168, 0.11);
}

.car-slide img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s;
}

.carousel:hover .car-slide img {
  filter: saturate(1.04) contrast(1.015);
}

.section {
  padding-top: clamp(92px, 9vw, 138px);
  padding-bottom: clamp(92px, 9vw, 138px);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 35%),
    linear-gradient(180deg, transparent, rgba(61, 94, 201, 0.018) 70%, transparent);
  border-color: rgba(255, 255, 255, 0.055);
}

.sec-head {
  position: relative;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.sec-head::after {
  width: 66px;
  height: 1px;
  margin: 19px auto 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.58;
}

.tb-big,
.sec-kicker {
  color: rgba(231, 194, 113, 0.72);
  text-shadow: 0 0 24px rgba(226, 187, 104, 0.12);
}

.prod-card,
.svc2,
.api-feat,
.about-item,
.works-stat {
  background-image:
    radial-gradient(420px circle at var(--lp-mx, 50%) var(--lp-my, 0%), rgba(255, 223, 157, 0.085), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
}

.prod-card {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.085);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s,
    box-shadow 0.45s;
}

.prod-card::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(248, 222, 164, 0.18), transparent 28%, transparent 72%, rgba(83, 116, 221, 0.12)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.prod-card:hover {
  border-color: rgba(226, 187, 104, 0.38);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.46), 0 0 55px rgba(79, 111, 221, 0.08);
}

.prod-card:hover .prod-go b {
  transform: translateX(4px);
}

.prod-go b {
  display: inline-block;
  transition: transform 0.3s;
}

.prod-band {
  position: relative;
}

.prod-band::after {
  position: absolute;
  right: 18%;
  bottom: -18px;
  width: 130px;
  height: 60px;
  content: "";
  background: radial-gradient(ellipse, rgba(226, 187, 104, 0.16), transparent 68%);
  pointer-events: none;
}

.svc2,
.api-feat,
.about-item,
.works-stat {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, background-color 0.35s;
}

.svc2:hover,
.api-feat:hover,
.about-item:hover,
.works-stat:hover {
  border-color: rgba(226, 187, 104, 0.28);
  transform: translateY(-4px);
}

.svc2-glyph {
  filter: drop-shadow(0 0 18px rgba(226, 187, 104, 0.12));
}

.svc2-flow span {
  letter-spacing: 0.04em;
}

.cal-wrap {
  border-color: rgba(226, 187, 104, 0.16);
  background:
    radial-gradient(80% 70% at 80% 10%, rgba(64, 94, 202, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.cal-app {
  backdrop-filter: blur(12px);
}

.cal-day {
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.cal-day:hover {
  transform: translateY(-1px);
}

.contact-panel {
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.36);
}

.cp-glow {
  animation-duration: 9s;
}

.site-foot {
  position: relative;
}

.site-foot::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(226, 187, 104, 0.28), transparent);
}

.foot-top-btn,
.home-fab {
  backdrop-filter: blur(12px);
}

.reveal.lp-stagger {
  transition-delay: var(--lp-delay, 0ms);
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  body::before {
    opacity: 0.024;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .prod-card,
  .svc2,
  .api-feat,
  .about-item,
  .works-stat {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
