/*
  Uberspringen Studios
  Neon gamer landing page. No frameworks. No subscriptions. Miracles continue.
*/

:root {
  --bg: #070812;
  --bg-2: #0b1022;
  --panel: rgba(16, 20, 38, 0.82);
  --panel-2: rgba(20, 26, 52, 0.74);
  --text: #f4f8ff;
  --muted: #9aa8d4;
  --muted-2: #7784b8;
  --line: rgba(137, 164, 255, 0.22);
  --purple: #8b5cf6;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --green: #22c55e;
  --yellow: #facc15;
  --red: #fb7185;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.28);
  --glow-purple: 0 0 45px rgba(139, 92, 246, 0.32);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shell: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 2%, rgba(139, 92, 246, 0.34), transparent 32rem),
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.22), transparent 34rem),
    radial-gradient(circle at 50% 100%, rgba(236, 72, 153, 0.15), transparent 30rem),
    linear-gradient(180deg, #070812, #090d1b 48%, #05060d);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.88), transparent 78%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    repeating-radial-gradient(circle at 20% 20%, rgba(255,255,255,0.8) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.11;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.04) 0,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 5px
  );
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #a5f3fc;
}

.shell {
  width: min(var(--shell), calc(100% - 42px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -10rem;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--cyan);
  color: #051018;
  font-weight: 900;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 18, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.52);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.98), rgba(34, 211, 238, 0.88));
  color: white;
  font-weight: 950;
  font-size: 1.3rem;
  box-shadow: var(--glow-cyan), var(--glow-purple);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--text);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 850;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 999px;
  color: var(--text) !important;
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 20, 38, 0.86);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.74fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-block: clamp(3.4rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.42);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
}

.lede {
  max-width: 62ch;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.15rem;
  border: 1px solid rgba(34, 211, 238, 0.6);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(34, 211, 238, 0.9));
  color: white;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: var(--glow-cyan), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  color: white;
  filter: brightness(1.08);
}

.button-ghost {
  background: rgba(16, 20, 38, 0.78);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: var(--glow-purple);
}

.console-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 0%, rgba(34,211,238,0.14), transparent 24rem),
    linear-gradient(180deg, rgba(16,20,38,0.94), rgba(8,12,28,0.96));
  box-shadow: var(--shadow);
}

.console-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(139,92,246,0.22), transparent 30%),
    linear-gradient(315deg, rgba(34,211,238,0.2), transparent 28%);
}

.console-top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.console-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red);
}

.console-top span:nth-child(2) {
  background: var(--yellow);
}

.console-top span:nth-child(3) {
  background: var(--green);
}

.console-top strong {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.console-body {
  position: relative;
  z-index: 1;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  font-family: var(--mono);
  color: #dffbff;
}

.console-body p {
  margin: 0 0 0.9rem;
}

.console-body span {
  color: var(--green);
}

.power-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  padding: 0 clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 1.8rem);
}

.power-grid i {
  height: 44px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(34,211,238,0.28), rgba(139,92,246,0.08));
}

.power-grid i:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(236,72,153,0.24), rgba(139,92,246,0.08));
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(16, 20, 38, 0.72);
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding-block: 1rem;
  animation: ticker 28s linear infinite;
}

.ticker span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.signal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
}

.signal-copy {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.signal-copy p {
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card,
.contact-form,
.studio-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  min-height: 310px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.card.featured {
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.18), transparent 24rem),
    rgba(16, 20, 38, 0.92);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3.8rem;
  color: var(--muted-2);
  font-family: var(--mono);
  font-weight: 900;
}

.card-top i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.09);
  color: var(--cyan);
  font-style: normal;
}

.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.studio-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(139,92,246,0.24), transparent 30rem),
    linear-gradient(135deg, rgba(16,20,38,0.72), rgba(8,12,28,0.92));
}

.studio-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding: clamp(1.35rem, 4vw, 2.2rem);
}

.studio-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.studio-copy p {
  margin-top: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background:
    radial-gradient(circle at top right, rgba(34,211,238,0.11), transparent 22rem),
    rgba(16, 20, 38, 0.86);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 900;
}

label span {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(137, 164, 255, 0.34);
  border-radius: var(--radius-md);
  background: rgba(7, 8, 18, 0.68);
  color: var(--text);
  font: inherit;
  outline: none;
  padding: 0.9rem 1rem;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.13);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-notice {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 850;
}

.form-notice.success {
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.12);
}

.form-notice.error {
  color: #fecdd3;
  border: 1px solid rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.1);
}

.site-footer {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(7, 8, 18, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 940px) {
  .hero,
  .signal-grid,
  .studio-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card-top {
    margin-bottom: 1.6rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    inset: 78px 21px auto 21px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(7, 8, 18, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(var(--shell), calc(100% - 28px));
  }

  .brand-text span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .section h2 {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }
}
