:root {
  --blue: #0b8dff;
  --blue-2: #00c8ff;
  --white: #ffffff;
  --muted: rgba(255,255,255,.76);
  --shadow: rgba(0, 150, 255, .42);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #020814;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(2,8,20,.15) 0%, rgba(2,8,20,.03) 42%, rgba(2,8,20,.03) 100%),
    url("../assets/background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.012);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 35%, rgba(0, 145, 255, .10), transparent 26%),
    linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.08) 48%, rgba(0,0,0,.10) 100%),
    radial-gradient(circle at 82% 26%, rgba(8, 173, 255, .13), transparent 24%);
  pointer-events: none;
  z-index: 1;
}

#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  opacity: .7;
}

.page {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-left: clamp(48px, 6vw, 104px);
  padding-right: clamp(24px, 4vw, 72px);
}

.content {
  width: min(48vw, 760px);
  transform: translateY(-1.5vh);
}

.logo {
  width: clamp(360px, 41vw, 720px);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 34px rgba(0, 20, 60, .40));
}

.accent-line {
  width: 112px;
  height: 3px;
  margin: clamp(42px, 5vw, 70px) 0 clamp(28px, 3vw, 44px);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #62eaff 18%, #0b8dff 58%, transparent 100%);
  box-shadow: 0 0 16px rgba(0, 199, 255, .95), 0 0 42px rgba(0, 143, 255, .42);
  animation: linePulse 3.6s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: .95;
  letter-spacing: -0.055em;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,.38);
  white-space: nowrap;
}

h1 span {
  color: var(--blue);
  text-shadow: 0 0 18px rgba(0, 132, 255, .42);
}

p {
  margin: clamp(18px, 1.8vw, 26px) 0 0;
  font-size: clamp(19px, 2vw, 30px);
  line-height: 1.35;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

.contact {
  
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #63d7ff;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(0, 159, 255, .36);
  transition: color .22s ease, text-shadow .22s ease, transform .22s ease;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(77, 213, 255, .72), 0 0 30px rgba(0, 145, 255, .36);
  transform: translateX(3px);
  outline: none;
}

.contact-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}

.globe-life {
  position: fixed;
  z-index: 3;
  right: -2vw;
  top: 5vh;
  width: min(58vw, 850px);
  aspect-ratio: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .62;
}

.orbit {
  position: absolute;
  inset: 18% 4%;
  border: 1px solid rgba(27, 177, 255, .25);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(0,160,255,.3));
}
.orbit-1 { transform: rotate(18deg) scaleX(1.15); animation: orbitMove1 13s linear infinite; }
.orbit-2 { transform: rotate(-24deg) scaleX(1.22); animation: orbitMove2 17s linear infinite reverse; opacity: .7; }
.orbit-3 { transform: rotate(72deg) scaleX(1.08); animation: orbitMove3 22s linear infinite; opacity: .55; }

.glow {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #62eaff;
  box-shadow: 0 0 18px #23bbff, 0 0 44px rgba(0, 144, 255, .86);
  animation: glowFloat 6s ease-in-out infinite;
}
.glow-1 { right: 12%; top: 13%; animation-delay: 0s; }
.glow-2 { left: 16%; top: 54%; animation-delay: 1.4s; }
.glow-3 { left: 52%; bottom: 7%; animation-delay: 2.8s; }

@keyframes linePulse {
  0%, 100% { opacity: .74; transform: scaleX(.94); }
  50% { opacity: 1; transform: scaleX(1.08); }
}
@keyframes orbitMove1 { to { transform: rotate(378deg) scaleX(1.15); } }
@keyframes orbitMove2 { to { transform: rotate(336deg) scaleX(1.22); } }
@keyframes orbitMove3 { to { transform: rotate(432deg) scaleX(1.08); } }
@keyframes glowFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(.82); opacity: .42; }
  50% { transform: translate3d(8px,-12px,0) scale(1.18); opacity: .95; }
}

@media (max-width: 1100px) {
  .content { width: min(56vw, 680px); }
  .logo { width: clamp(320px, 45vw, 620px); }
  h1 { font-size: clamp(38px, 5.5vw, 64px); }
  .globe-life { width: 66vw; right: -12vw; top: 8vh; }
}

@media (max-width: 760px) {
  body { overflow: auto; }
  body::before {
    background-position: 62% center;
  }
  .page {
    align-items: flex-start;
    padding: 86px 26px 48px;
  }
  .content {
    width: 100%;
    transform: none;
  }
  .logo {
    width: min(90vw, 430px);
  }
  .accent-line {
    margin: 44px 0 30px;
    width: 92px;
  }
  h1 {
    font-size: clamp(37px, 11vw, 56px);
    white-space: normal;
    max-width: 11ch;
  }
  p { font-size: 20px; max-width: 300px; }

  .contact {
    margin-top: 34px;
    gap: 8px;
  }

  .contact-title {
    font-size: 13px;
  }

  .contact-mail {
    font-size: 16px;
  }
  .globe-life { width: 110vw; right: -52vw; top: 16vh; opacity: .38; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  #fx-canvas { display: none; }
}
