/* LFOS Labs — RU Company Splash for Foundation Day
   Version: 1.0.0-ru
   Date: 26.06.2026
   Purpose: premium minimal Product Lab splash for lfoslabs.ru
*/

:root {
  --color-emerald: #35E0B2;
  --color-mint: #5CF0C7;
  --color-deep-navy: #071B2C;
  --color-midnight: #03111E;
  --color-near-black: #01060F;
  --color-white: #FFFFFF;
  --color-silver: #B7C5CF;
  --color-muted: rgba(183, 197, 207, 0.72);
  --color-soft: rgba(255, 255, 255, 0.86);

  --gradient-lfos: linear-gradient(
    110deg,
    var(--color-emerald) 0%,
    var(--color-mint) 28%,
    rgba(255, 255, 255, 0.94) 48%,
    var(--color-mint) 62%,
    var(--color-emerald) 100%
  );
  --gradient-labs: linear-gradient(180deg, var(--color-white) 0%, #D7E0E6 54%, var(--color-silver) 100%);
  --gradient-page-bg:
    radial-gradient(circle at 50% 42%, rgba(53, 224, 178, 0.07), transparent 30%),
    radial-gradient(circle at 50% 14%, rgba(92, 240, 199, 0.048), transparent 26%),
    linear-gradient(180deg, var(--color-deep-navy) 0%, var(--color-midnight) 48%, var(--color-near-black) 100%);

  --font-primary: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --title-size-fluid: clamp(52px, 8.2vw, 136px);
  --tagline-size-fluid: clamp(12px, 1.14vw, 18px);
  --status-size-fluid: clamp(13px, 1.05vw, 18px);
  --product-size-fluid: clamp(12px, 0.98vw, 16px);
  --signature-size-fluid: clamp(10px, 0.82vw, 13px);

  --page-padding: clamp(28px, 6vw, 88px);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-near-black);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-synthesis-weight: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  background: var(--gradient-page-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 54%, rgba(1, 6, 15, 0.4) 100%);
  z-index: 0;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  display: block;
  width: clamp(360px, 36vw, 720px);
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.28;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.ambient-orb-a {
  top: -16%;
  left: 7%;
  background: radial-gradient(circle, rgba(53, 224, 178, 0.38), transparent 66%);
  animation: auroraDriftA 24s var(--ease-premium) infinite alternate;
}

.ambient-orb-b {
  right: 4%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(92, 240, 199, 0.28), transparent 68%);
  animation: auroraDriftB 28s var(--ease-premium) infinite alternate;
}

.ambient-orb-c {
  left: 50%;
  top: 42%;
  width: clamp(280px, 32vw, 580px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 70%);
  opacity: 0.18;
  animation: auroraDriftC 30s var(--ease-premium) infinite alternate;
}

.ambient-grid {
  position: absolute;
  inset: -10%;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(92, 240, 199, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 240, 199, 0.18) 1px, transparent 1px);
  background-size: clamp(34px, 3.8vw, 64px) clamp(34px, 3.8vw, 64px);
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  transform: perspective(900px) rotateX(58deg) translateY(14%);
  transform-origin: center bottom;
  animation: gridFlow 34s linear infinite;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--page-padding);
}

.hero-stack {
  width: min(100%, 1180px);
  min-height: min(760px, calc(100dvh - (var(--page-padding) * 2)));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(64px, 9vh, 116px);
}

.identity-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3.2vh, 34px);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.992);
  animation: identityReveal 1050ms var(--ease-premium) 120ms forwards;
}

.lab-title {
  margin: 0;
  max-width: 100%;
  font-size: var(--title-size-fluid);
  font-weight: 760;
  letter-spacing: clamp(-4px, -0.06em, -1.2px);
  line-height: 0.92;
  white-space: nowrap;
}

.lab-gradient,
.lab-name {
  display: inline-block;
}

.lab-gradient {
  color: transparent;
  background: var(--gradient-lfos);
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 46px rgba(53, 224, 178, 0.18);
  animation: lfosShimmer 8.5s ease-in-out infinite;
}

.lab-name {
  color: var(--color-soft);
  background: var(--gradient-labs);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.18em;
  text-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}

.lab-title sup {
  display: inline-block;
  margin-left: 0.14em;
  vertical-align: super;
  font-size: 0.16em;
  font-weight: 640;
  letter-spacing: 0.02em;
  color: rgba(183, 197, 207, 0.82);
  transform: translateY(-0.08em);
}

.lab-tagline,
.status-line,
.product-reference,
.founder-signature {
  margin: 0;
}

.lab-tagline {
  max-width: min(100%, 860px);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--tagline-size-fluid);
  font-weight: 620;
  letter-spacing: clamp(0.12em, 0.26vw, 0.24em);
  line-height: 1.55;
  text-transform: uppercase;
}

.status-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.35vw, 18px);
  color: var(--color-muted);
  font-size: var(--status-size-fluid);
  font-weight: 460;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

.status-separator {
  color: var(--color-mint);
  opacity: 0.78;
  text-shadow: 0 0 18px rgba(92, 240, 199, 0.34);
  animation: separatorPulse 4.8s ease-in-out infinite;
}

.product-reference {
  color: rgba(183, 197, 207, 0.58);
  font-size: var(--product-size-fluid);
  font-weight: 440;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.founder-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(183, 197, 207, 0.5);
  font-size: var(--signature-size-fluid);
  line-height: 1.45;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  animation: signatureReveal 900ms var(--ease-premium) 620ms forwards;
}

.founder-mark {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 560;
  letter-spacing: 0.22em;
}

.founder-role {
  color: rgba(183, 197, 207, 0.48);
  font-weight: 430;
  letter-spacing: 0.09em;
}

@keyframes identityReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.992);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes signatureReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes lfosShimmer {
  0%, 22% { background-position: 0% 50%; }
  54% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes separatorPulse {
  0%, 100% { opacity: 0.48; transform: scale(0.94); }
  45%, 60% { opacity: 0.92; transform: scale(1.06); }
}

@keyframes auroraDriftA {
  from { transform: translate3d(-3%, -2%, 0) scale(1); opacity: 0.2; }
  to { transform: translate3d(9%, 10%, 0) scale(1.12); opacity: 0.31; }
}

@keyframes auroraDriftB {
  from { transform: translate3d(5%, 8%, 0) scale(1.08); opacity: 0.2; }
  to { transform: translate3d(-8%, -4%, 0) scale(0.94); opacity: 0.29; }
}

@keyframes auroraDriftC {
  from { transform: translate3d(-50%, -2%, 0) scale(0.92); opacity: 0.13; }
  to { transform: translate3d(-46%, 5%, 0) scale(1.08); opacity: 0.21; }
}

@keyframes gridFlow {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 240px, 240px 0; }
}

@media (max-width: 760px) {
  :root {
    --title-size-fluid: clamp(44px, 14.6vw, 68px);
    --tagline-size-fluid: clamp(10px, 3.15vw, 13px);
    --status-size-fluid: clamp(12px, 3.5vw, 14px);
  }

  .hero-stack {
    min-height: calc(100dvh - (var(--page-padding) * 2));
    gap: clamp(54px, 9vh, 78px);
  }

  .identity-group {
    gap: clamp(18px, 3.6vh, 28px);
  }

  .lab-title {
    letter-spacing: -0.055em;
  }

  .lab-tagline {
    letter-spacing: 0.12em;
    max-width: 340px;
  }

  .status-line {
    max-width: 320px;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .product-reference {
    max-width: 280px;
  }
}

@media (max-width: 390px) {
  :root {
    --page-padding: 26px;
  }

  .lab-title {
    font-size: clamp(39px, 13.4vw, 50px);
  }

  .lab-name {
    margin-left: 0.12em;
  }

  .lab-title sup {
    margin-left: 0.08em;
  }
}

@media (min-width: 1440px) {
  .hero-stack {
    min-height: min(820px, calc(100dvh - (var(--page-padding) * 2)));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .identity-group,
  .founder-signature {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
