:root {
  color-scheme: dark;
  --bg: #04050a;
  --panel: rgba(12, 15, 22, 0.86);
  --panel-strong: rgba(18, 22, 31, 0.95);
  --text: #f3f6fb;
  --muted: #98a3b2;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #edf2f8;
  --accent-2: #7df6ff;
  --accent-3: #ff4fd8;
  --glow: rgba(125, 246, 255, 0.24);
  --glow-pink: rgba(255, 79, 216, 0.16);
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 0;
  color: var(--text);
  font: 16px/1.55 "Segoe UI Variable", "Bahnschrift", "Aptos", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(125, 246, 255, 0.12), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(255, 79, 216, 0.1), transparent 18%),
    radial-gradient(circle at 50% 84%, rgba(125, 246, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #030409 0%, var(--bg) 46%, #05070b 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(255, 255, 255, 0.07) 50%, transparent 55% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 20%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

body::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 48%, rgba(125, 246, 255, 0.08) 50%, transparent 52% 100%);
  background-size: 100% 72px, 72px 100%, 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 92%);
  opacity: 0.42;
  animation: drift 12s linear infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

.frame {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

main {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: clamp(22px, 4vh, 36px);
}

.hero,
.section,
.contact {
  position: relative;
}

.hero {
  padding: 18px 0 0;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10px auto auto 50%;
  width: min(660px, 92vw);
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 28%, rgba(125, 246, 255, 0.04) 58%, rgba(255, 79, 216, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  clip-path: polygon(0 0, 94% 0, 100% 16%, 100% 100%, 6% 100%, 0 84%);
  transform: translateX(-50%) skewX(-12deg);
  filter: blur(0.1px);
  opacity: 0.95;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(125, 246, 255, 0.1),
    0 0 90px rgba(255, 79, 216, 0.05);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -26px 50%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(125, 246, 255, 0.22), transparent 58%),
    radial-gradient(circle, rgba(255, 79, 216, 0.14), transparent 72%);
  filter: blur(14px);
  animation: pulse 6s ease-in-out infinite;
  transform: translateX(-50%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
  max-width: 10ch;
  font-size: clamp(3.5rem, 10vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.09em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 0 24px rgba(125, 246, 255, 0.12),
    0 0 48px rgba(255, 79, 216, 0.1);
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.02);
}

.button-primary {
  color: #091018;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(190, 202, 214, 0.9)),
    linear-gradient(135deg, rgba(125, 246, 255, 0.18), rgba(255, 79, 216, 0.08));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 26px rgba(125, 246, 255, 0.18);
}

.button-ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.contact {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 100%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section {
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.section h2,
.contact h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
  text-shadow: 0 0 20px rgba(125, 246, 255, 0.08);
}
.lead {
  color: var(--muted);
}

.contact {
  width: min(760px, 100%);
  margin-top: 34px;
  padding: 28px 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(125, 246, 255, 0.12), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 79, 216, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 100%),
    var(--panel-strong);
  border-color: rgba(255, 255, 255, 0.14);
  text-align: center;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(125, 246, 255, 0.1), transparent 42%, rgba(255, 79, 216, 0.06));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.contact:hover::after {
  opacity: 1;
}

.contact h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.contact p {
  max-width: 700px;
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 72px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) skewX(-12deg);
  }
  50% {
    transform: translateX(-50%) translateY(-10px) skewX(-12deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero::before {
    inset: 10px auto auto 50%;
    width: 150px;
    height: 150px;
  }

  body {
    padding: 16px 0;
  }
}

@media (max-width: 680px) {
  .frame {
    width: min(100% - 20px, 1160px);
  }

  main {
    gap: 18px;
  }

  .hero {
    padding-top: 8px;
  }

  h1 {
    max-width: none;
    font-size: clamp(3rem, 18vw, 5.4rem);
  }

  .button {
    width: 100%;
  }

  .hero::before {
    width: 96vw;
    height: 220px;
  }

  .contact {
    padding: 22px 18px;
  }
}
