﻿@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Bebas+Neue&display=swap");

:root {
  --bg-deep: #050b18;
  --bg-mid: #0c1a3b;
  --bg-bright: #10316e;
  --card: rgba(8, 22, 48, 0.82);
  --card-edge: rgba(126, 187, 255, 0.36);
  --text-main: #eaf5ff;
  --text-muted: #a3b4c7;
  --aqua: #4cc6ff;
  --button-blue-1: #1a8dff;
  --button-blue-2: #42a7ff;
  --shadow: 0 28px 60px rgba(3, 10, 24, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 84% 8%, rgba(76, 198, 255, 0.2), transparent 40%),
    radial-gradient(circle at 15% 88%, rgba(76, 142, 255, 0.2), transparent 36%),
    linear-gradient(132deg, var(--bg-deep) 8%, var(--bg-mid) 44%, var(--bg-bright) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: min(58vw, 660px);
  height: min(58vw, 660px);
  border-radius: 50%;
  filter: blur(44px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.25;
  animation: drift 18s ease-in-out infinite alternate;
}

body::before {
  top: -18%;
  left: -14%;
  background: #367eff;
}

body::after {
  right: -14%;
  bottom: -20%;
  background: #2de1ff;
  animation-duration: 24s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(40px, -24px, 0) scale(1.08);
  }
}

.grid-mask {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(154, 177, 204, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 177, 204, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.12));
}

.shell {
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 14px;
  display: grid;
  place-items: start center;
}

.panel {
  border: 1px solid var(--card-edge);
  background: var(--card);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.landing-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 440px);
  min-height: clamp(620px, 84vh, 780px);
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  align-content: start;
  gap: 20px;
}

.landing-card::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 198, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.logo-stage {
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.hero-logo {
  width: clamp(92px, 22vw, 126px);
  height: clamp(92px, 22vw, 126px);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(0, 10, 26, 0.48);
  animation: floatLogo 3.8s ease-in-out infinite;
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.eyebrow {
  margin: 6px 0 2px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  text-align: center;
}

h1 {
  margin: 6px 0 12px;
  font-family: "Bebas Neue", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 0.93;
  letter-spacing: 0.03em;
  text-align: center;
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body[data-lang="ru"] h1 {
  font-size: clamp(1.72rem, 6.7vw, 2.55rem);
  letter-spacing: 0.02em;
}

.lead {
  margin: 8px 0 10px;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 3.8vw, 1.05rem);
  line-height: 1.58;
  text-align: center;
}

body[data-lang="ru"] .lead {
  font-size: clamp(0.89rem, 3.35vw, 0.98rem);
}

.points {
  margin: 8px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.points li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
  color: #d9e8f9;
  font-size: clamp(0.92rem, 3.3vw, 1rem);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2a98ff, #77d2ff);
  box-shadow: 0 0 0 4px rgba(76, 198, 255, 0.14);
}

.btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  color: #eef8ff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 14px 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(132deg, var(--button-blue-1), var(--button-blue-2));
  box-shadow: 0 14px 26px rgba(19, 121, 212, 0.45);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
  margin-top: 2px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(19, 121, 212, 0.52);
}

.index-card {
  width: min(95vw, 840px);
  min-height: auto;
  gap: 16px;
}

.index-title {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1;
}

.index-subtitle {
  margin: 0;
  color: var(--text-muted);
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.index-grid a {
  text-decoration: none;
  color: #eaf5ff;
  border: 1px solid rgba(143, 210, 255, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(5, 16, 36, 0.48);
}

.index-grid a:hover {
  border-color: #42a7ff;
}

.section-label {
  margin: 4px 0 0;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.83rem;
}

@media (max-width: 680px) {
  .shell {
    padding: 12px;
  }

  .landing-card {
    width: 100%;
    min-height: auto;
    padding: 18px;
    gap: 14px;
    border-radius: 20px;
  }

  .hero-logo {
    width: clamp(84px, 24vw, 112px);
    height: clamp(84px, 24vw, 112px);
    border-radius: 18px;
  }

  h1 {
    margin: 5px 0 11px;
    font-size: clamp(1.55rem, 7.2vw, 2.08rem);
    line-height: 0.95;
  }

  body[data-lang="ru"] h1 {
    font-size: clamp(1.46rem, 6.6vw, 1.96rem);
  }

  .lead {
    margin: 6px 0 8px;
    font-size: clamp(0.9rem, 3.7vw, 0.98rem);
  }

  .points {
    margin: 6px 0 10px;
    gap: 10px;
  }

  .points li {
    font-size: clamp(0.88rem, 3.65vw, 0.96rem);
  }

  .btn {
    font-size: 0.95rem;
    padding: 13px 15px;
  }
}
