:root {
  --void: #02050a;
  --void-soft: #071018;
  --ink: #f5f9ff;
  --ink-dim: #b7c4d4;
  --muted: #788899;
  --line: rgba(201, 231, 255, 0.17);
  --panel: rgba(9, 18, 27, 0.64);
  --panel-bright: rgba(18, 34, 45, 0.72);
  --cyan: #7de7ff;
  --green: #87ffd0;
  --amber: #ffc66e;
  --violet: #bba6ff;
  --rose: #ff8fbc;
  --danger: #ff6d7a;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.48);
  --max: 1320px;
  --radius: 8px;
  --nav-height: 78px;
  --mouse-x: 50%;
  --mouse-y: 35%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--void);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--void);
  background-image:
    url("../assets/images/atmospheric-noise.svg"),
    linear-gradient(180deg, rgba(2, 5, 10, 0.64), rgba(2, 5, 10, 0.98) 42%, #010307);
  background-size: 420px 420px, auto;
  background-blend-mode: soft-light, normal;
  font-family: "SF Pro Display", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body::selection {
  color: #031018;
  background: var(--cyan);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

main {
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  min-height: 100vh;
  padding: 128px 32px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 231, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 231, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
  opacity: 0.55;
}

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

h1,
h2,
h3 {
  font-weight: 650;
  line-height: 0.98;
}

p {
  color: var(--ink-dim);
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(145%);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(125, 231, 255, 0.24), rgba(135, 255, 208, 0.16), rgba(255, 198, 110, 0.14));
  transform: translateX(-101%);
  transition: transform 360ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 231, 255, 0.42);
}

.button:hover::before {
  transform: translateX(0);
}

.button--primary {
  color: #031018;
  border-color: rgba(125, 231, 255, 0.7);
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 16px 60px rgba(125, 231, 255, 0.25);
}

.button--quiet {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.icon-arrow,
.icon-chevron {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.icon-arrow::before,
.icon-chevron::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  top: 4px;
  right: 3px;
}

.icon-arrow::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  background: currentColor;
  top: 8px;
  right: 3px;
}

.icon-chevron::before {
  transform: rotate(135deg);
  right: 5px;
  top: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}
