:root {
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --color-bg: #07070b;
  --color-surface: #111119;
  --color-surface-strong: #171725;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(149, 76, 255, 0.28);
  --color-text: #f2effb;
  --color-text-muted: #b7b1c9;
  --color-text-soft: #8f88a7;
  --color-accent: #8f3dff;
  --color-accent-soft: #b78cff;
  --color-accent-deep: #25103d;
  --color-success: #1fd172;
  --color-success-deep: #103723;
  --color-light-bg: #f6f1fc;
  --color-light-surface: #ffffff;
  --color-light-text: #1f1830;
  --color-light-muted: #5f5576;
  --color-light-border: #e6d8fb;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.24);
  --shadow-glow: 0 24px 70px rgba(143, 61, 255, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1200px;
  --transition: 220ms ease;
  --transition-slow: 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(143, 61, 255, 0.24);
}

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

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

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

button {
  border: 0;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  width: 100%;
}

main {
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section-padding {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(143, 61, 255, 0.22);
  background: rgba(143, 61, 255, 0.1);
  color: var(--color-accent-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(31, 209, 114, 0.35);
  animation: pulse-dot 2s infinite;
}

.section-heading {
  max-width: 42rem;
}

.section-heading h2,
.section-heading h1 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 1.25rem 0 0;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(143, 61, 255, 0.24);
}

.button--primary {
  background: var(--color-success);
  color: #08110b;
  box-shadow: 0 18px 40px rgba(31, 209, 114, 0.18);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 22px 48px rgba(31, 209, 114, 0.24);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(183, 140, 255, 0.55);
  background: rgba(143, 61, 255, 0.08);
}

.button--soft {
  border-color: rgba(143, 61, 255, 0.18);
  background: rgba(143, 61, 255, 0.08);
  color: var(--color-accent-soft);
}

.text-accent {
  color: var(--color-accent-soft);
}

.text-success {
  color: var(--color-success);
}

.panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.reveal,
.reveal-left {
  opacity: 1;
  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 700ms ease;
}

.has-js .reveal,
.has-js .reveal-left {
  opacity: 0;
}

.has-js .reveal {
  transform: translateY(42px);
}

.has-js .reveal-left {
  transform: translateX(-42px);
}

.has-js .reveal.is-visible,
.has-js .reveal-left.is-visible {
  opacity: 1;
  transform: none;
}

.stagger-1 {
  transition-delay: 80ms;
}

.stagger-2 {
  transition-delay: 160ms;
}

.stagger-3 {
  transition-delay: 240ms;
}

.stagger-4 {
  transition-delay: 320ms;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(31, 209, 114, 0.35);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(31, 209, 114, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .button {
    width: 100%;
  }
}
