:root {
  --bg: #081217;
  --bg-deep: #071015;
  --card: rgba(62, 72, 79, 0.68);
  --text: #f5f3ee;
  --muted: rgba(245, 243, 238, 0.92);
  --line: rgba(255, 255, 255, 0.03);
  --line-strong: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  font-family: "Gilroy", "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  background:
    radial-gradient(circle at 8% 18%, rgba(98, 151, 179, 0.5), transparent 26%),
    radial-gradient(circle at 92% 20%, rgba(88, 118, 52, 0.28), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 11, 15, 0.36) 0%, rgba(5, 11, 15, 0.08) 18%, rgba(5, 11, 15, 0.08) 82%, rgba(5, 11, 15, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 11, 15, 0.14) 0%, rgba(5, 11, 15, 0.26) 100%);
}

.hero-stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(88px);
  pointer-events: none;
  opacity: 0.28;
  animation: drift 14s ease-in-out infinite;
}

.glow-left {
  top: -9rem;
  left: -11rem;
  background: #6ba9cc;
}

.glow-right {
  top: -8rem;
  right: -10rem;
  background: #5a7d3b;
  animation-duration: 18s;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(654px, calc(100vw - 48px));
  min-height: 292px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  animation: cardFade 0.9s ease both;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-line {
  margin-top: 14px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}

.hero-line a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
  -webkit-user-select: none;
  user-select: none;
}

.hero-line a:hover {
  opacity: 0.92;
  border-color: var(--line-strong);
}

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

  50% {
    transform: translate3d(16px, 14px, 0) scale(1.05);
  }
}

@keyframes cardFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  body::before {
    background-size: 40px 40px;
  }

  .hero-stage {
    padding: 18px;
  }

  .hero-card {
    width: min(100%, 654px);
    min-height: 248px;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .hero-line {
    font-size: 1rem;
  }
}
