﻿:root {
  --text: #f4f6f8;
  --muted: rgba(244, 246, 248, 0.8);
  --panel: rgba(9, 16, 24, 0.58);
  --panel-border: rgba(244, 246, 248, 0.18);
  --accent: #35d0ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: "Exo 2", sans-serif;
  background: #03070d;
  color: var(--text);
}

.hero,
.carousel {
  width: 100%;
  min-height: 100vh;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 7000ms ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(53, 208, 255, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(2, 6, 12, 0.68) 0%, rgba(2, 6, 12, 0.28) 40%, rgba(2, 6, 12, 0.82) 100%);
  z-index: 2;
}

.topbar {
  position: relative;
  isolation: isolate;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(16px, 3vw, 44px) 0;
}

.topbar::before {
  content: "";
  position: absolute;
  left: clamp(-36px, -2vw, -8px);
  top: -34px;
  width: clamp(280px, 33vw, 470px);
  height: clamp(150px, 19vw, 260px);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 52%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.13) 30%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(ellipse at 44% 30%, rgba(210, 236, 255, 0.2) 0%, rgba(210, 236, 255, 0.08) 28%, rgba(210, 236, 255, 0) 66%);
  filter: blur(10px);
  mix-blend-mode: screen;
  animation: logoGlowDrift 11s ease-in-out infinite alternate;
}

.logo {
  width: clamp(120px, 14vw, 210px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

@keyframes logoGlowDrift {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.85;
  }

  100% {
    transform: translateX(10px) translateY(-2px) scale(1.04);
    opacity: 1;
  }
}

.contacts {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contacts a {
  text-decoration: none;
  color: var(--text);
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2, 6, 12, 0.4);
  border: 1px solid rgba(244, 246, 248, 0.2);
  transition: border-color 180ms ease, transform 180ms ease;
}

.contacts a:hover {
  border-color: rgba(53, 208, 255, 0.8);
  transform: translateY(-1px);
}

.hero-text {
  position: relative;
  z-index: 4;
  max-width: min(900px, 92vw);
  padding: clamp(80px, 12vh, 140px) clamp(16px, 3vw, 44px) 0;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-text h1 {
  margin: 14px 0 16px;
  font-size: clamp(34px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-text p {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--muted);
}

.controls {
  position: absolute;
  left: 50%;
  bottom: 176px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(244, 246, 248, 0.35);
  background: rgba(4, 9, 15, 0.45);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(244, 246, 248, 0.35);
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.info-panel {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px));
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.info-panel article {
  padding: 16px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}

.info-panel h2 {
  margin: 0;
  font-size: 16px;
}

.info-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .controls {
    bottom: 235px;
  }

  .info-panel {
    grid-template-columns: 1fr;
    bottom: 14px;
  }

  .contacts {
    gap: 8px;
  }

  .contacts a {
    font-size: 13px;
    padding: 7px 10px;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: clamp(30px, 9vw, 50px);
  }

  .hero-text {
    padding-top: 66px;
  }

  .controls {
    bottom: 285px;
  }
}


