:root {
  --bg: #070b14;
  --bg-2: #0d1524;
  --ink: #f4f7fb;
  --muted: #9aa8bc;
  --cyan: #3dfff0;
  --cyan-dim: #1aa89c;
  --ember: #ff6b4a;
  --line: rgba(244, 247, 251, 0.12);
  --glass: rgba(13, 21, 36, 0.55);
  --radius: 18px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 255, 240, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(255, 107, 74, 0.14), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, #081018 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-size: 0.9em;
  color: var(--cyan);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  z-index: 0;
  animation: drift 18s var(--ease) infinite alternate;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  top: -12vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(61, 255, 240, 0.45), transparent 70%);
}

.orb-b {
  width: 36vw;
  height: 36vw;
  top: 20vh;
  right: -12vw;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.35), transparent 70%);
  animation-duration: 22s;
  animation-delay: -4s;
}

.orb-c {
  width: 28vw;
  height: 28vw;
  bottom: 5vh;
  left: 30vw;
  background: radial-gradient(circle, rgba(80, 120, 255, 0.22), transparent 70%);
  animation-duration: 26s;
  animation-delay: -8s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, 3vh, 0) scale(1.12); }
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  z-index: 20;
}

.top.is-stuck {
  border-bottom-color: var(--line);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--bg) !important;
  background: var(--cyan);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex: 0 0 auto;
  padding: clamp(0.75rem, 2vh, 1.25rem) clamp(1.2rem, 4vw, 3rem) 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.fold {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.25rem;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--cyan);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 12.5vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.01em;
}

.brand span {
  display: inline-block;
  color: #f4f7fb;
  background: linear-gradient(115deg, #ffffff 8%, #7afff4 42%, #ff8a6a 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: letterFloat 5.5s var(--ease) infinite;
}

.brand span:nth-child(2) { animation-delay: 0.12s; }
.brand span:nth-child(3) { animation-delay: 0.24s; }
.brand span:nth-child(4) { animation-delay: 0.36s; }
.brand span:nth-child(5) { animation-delay: 0.48s; }
.brand span:nth-child(6) { animation-delay: 0.6s; }

@keyframes letterFloat {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50% { transform: translateY(-6px); filter: brightness(1.15); }
}

.hero-line {
  margin: 0.85rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 600;
}

.hero-blurb {
  margin: 0;
  max-width: 34rem;
  color: #c5d0e0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.hero-stage {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 400px);
  justify-self: end;
  display: grid;
  place-items: center;
}

.stage-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(61, 255, 240, 0.28);
  animation: spin 18s linear infinite;
}

.stage-ring.r1 {
  inset: 0;
  border-color: rgba(255, 107, 74, 0.35);
  animation-duration: 24s;
}

.stage-ring.r2 {
  inset: 12%;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 16s;
}

.stage-ring.r3 {
  inset: 24%;
  border-color: rgba(255, 255, 255, 0.18);
  animation-duration: 12s;
}

.stage-core {
  position: relative;
  z-index: 1;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 28px;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  background:
    linear-gradient(160deg, rgba(61, 255, 240, 0.18), transparent 50%),
    linear-gradient(320deg, rgba(255, 107, 74, 0.2), transparent 45%),
    rgba(7, 11, 20, 0.75);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.stage-core span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.stage-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 54px;
  width: 70%;
}

.stage-bars i {
  flex: 1;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--ember));
  animation: eq 1.1s ease-in-out infinite;
}

.stage-bars i:nth-child(1) { height: 35%; animation-delay: 0.05s; }
.stage-bars i:nth-child(2) { height: 70%; animation-delay: 0.12s; }
.stage-bars i:nth-child(3) { height: 48%; animation-delay: 0.18s; }
.stage-bars i:nth-child(4) { height: 90%; animation-delay: 0.24s; }
.stage-bars i:nth-child(5) { height: 55%; animation-delay: 0.3s; }
.stage-bars i:nth-child(6) { height: 78%; animation-delay: 0.36s; }
.stage-bars i:nth-child(7) { height: 42%; animation-delay: 0.42s; }
.stage-bars i:nth-child(8) { height: 63%; animation-delay: 0.48s; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: #04141a;
}

.btn-primary:hover {
  background: #7afff4;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(61, 255, 240, 0.45);
}

.btn-link {
  padding-left: 0.4rem;
  color: var(--muted);
}

.btn-link:hover {
  color: var(--cyan);
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.section {
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.2rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.plugin-rail {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .plugin-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plugins-fold {
  padding-top: 0.75rem !important;
  padding-bottom: 1.5rem !important;
}

.section-head.tight {
  margin-bottom: 1rem;
}

.section-head.tight h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.plugin {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 1.15rem 1.15rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(61, 255, 240, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.plugin::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.25), transparent 70%);
  transition: transform 0.5s var(--ease);
}

.plugin:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 255, 240, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.plugin:hover::after {
  transform: translate(-20px, -10px) scale(1.2);
}

.plugin-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}

.plugin strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.plugin p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
  font-size: 0.95rem;
}

.plugin .btn {
  min-height: 40px;
  padding: 0.55rem 1rem;
  align-self: flex-start;
}

.fineprint {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.music {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.music-stage {
  margin: 0 clamp(1.2rem, 4vw, 3rem);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 107, 74, 0.12), transparent 40%),
    linear-gradient(300deg, rgba(61, 255, 240, 0.1), transparent 45%),
    rgba(7, 11, 20, 0.65);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.music-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wave {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: 2rem;
}

.wave i {
  flex: 1;
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--ember));
  animation: eq 1.2s ease-in-out infinite;
  opacity: 0.85;
}

.wave i:nth-child(odd) { animation-duration: 0.9s; }
.wave i:nth-child(3n) { animation-duration: 1.4s; }
.wave i:nth-child(1) { height: 30%; animation-delay: 0.05s; }
.wave i:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.wave i:nth-child(3) { height: 45%; animation-delay: 0.15s; }
.wave i:nth-child(4) { height: 80%; animation-delay: 0.2s; }
.wave i:nth-child(5) { height: 55%; animation-delay: 0.25s; }
.wave i:nth-child(6) { height: 95%; animation-delay: 0.3s; }
.wave i:nth-child(7) { height: 40%; animation-delay: 0.35s; }
.wave i:nth-child(8) { height: 70%; animation-delay: 0.4s; }
.wave i:nth-child(9) { height: 50%; animation-delay: 0.45s; }
.wave i:nth-child(10) { height: 85%; animation-delay: 0.5s; }
.wave i:nth-child(11) { height: 35%; animation-delay: 0.55s; }
.wave i:nth-child(12) { height: 65%; animation-delay: 0.6s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

.world-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .world-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.world {
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.world:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 74, 0.4);
  background: rgba(255, 107, 74, 0.06);
}

.world-kicker {
  color: var(--ember);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.world strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.world span:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.social-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.social-pill:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(61, 255, 240, 0.5);
  background: rgba(61, 255, 240, 0.08);
}

.connect-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem clamp(1.2rem, 4vw, 3rem) 2.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.foot-mark {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in,
.fold .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .hero-stage {
    width: min(100%, 300px);
    max-height: 280px;
    justify-self: start;
    order: -1;
  }

  .fold {
    min-height: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .brand {
    font-size: clamp(3.2rem, 18vw, 4.8rem);
  }

  .hero-stage {
    width: min(100%, 260px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .brand span,
  .wave i,
  .stage-ring,
  .stage-bars i {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
