:root {
  --bg: #07090d;
  --surface: #11151d;
  --surface-2: #181e28;
  --line: #2a313d;
  --text: #f7f8f3;
  --muted: #9298a3;
  --neon: #b9ff37;
  --cyan: #21e6ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

.public-nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-brand { display: flex; align-items: center; gap: 12px; }
.public-brand > span:last-child { display: grid; gap: 2px; letter-spacing: 2px; }
.public-brand small { color: var(--muted); font-size: 8px; }
.public-logo,
.rhythm-logo {
  display: grid;
  place-items: center;
  background: var(--neon);
  color: #071000;
  font-weight: 950;
  box-shadow: 0 0 34px #b9ff3738;
}
.public-logo { width: 46px; height: 46px; border-radius: 14px; font-size: 28px; }
.admin-link {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: 64px;
  padding: 64px 0 86px;
}
.platform-pill,
.eyebrow {
  color: var(--neon);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 2px;
}
.platform-pill {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid #b9ff3748;
  border-radius: 999px;
  background: #b9ff370c;
}
.hero h1 {
  margin: 22px 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: .96;
  letter-spacing: -4px;
}
.hero h1 em { color: var(--neon); font-style: normal; }
.hero-copy > p { max-width: 660px; color: #b3b8c1; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.public-button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .5px;
  cursor: pointer;
}
.public-button.primary { border-color: var(--neon); background: var(--neon); color: #071000; }
.public-button.secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.download-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; color: var(--muted); font-size: 10px; }
.download-meta code { color: #7e8590; }

.rhythm-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 1px solid #394152;
  border-radius: 34px;
  background: radial-gradient(circle at 50% 38%, #23340f 0, #11151d 42%, #0a0d12 100%);
  box-shadow: 0 40px 90px #0008;
}
.rhythm-card::before {
  content: "";
  position: absolute;
  inset: -55%;
  background: conic-gradient(from 0deg, transparent 0 37%, #b9ff370f 48%, transparent 60% 84%, #21e6ff0c 94%);
  animation: aura-rotation 12s linear infinite;
}
.rhythm-logo {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  font-size: 58px;
  z-index: 2;
  animation: logo-vibration 2.28s ease-in-out infinite;
}
.rhythm-card strong { font-size: 21px; letter-spacing: 2px; z-index: 2; }
.rhythm-card > span { color: var(--muted); font-size: 13px; z-index: 2; }
.rhythm-lines { height: 74px; display: flex; align-items: center; gap: 7px; z-index: 2; }
.rhythm-lines i { width: 6px; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 16px #21e6ff55; }
.rhythm-lines i:nth-child(1), .rhythm-lines i:nth-child(5) { height: 24px; }
.rhythm-lines i:nth-child(2), .rhythm-lines i:nth-child(4) { height: 48px; }
.rhythm-lines i:nth-child(3) { height: 70px; background: var(--neon); }
.rhythm-lines i { animation: sound-wave 1.05s ease-in-out infinite alternate; transform-origin: center; }
.rhythm-lines i:nth-child(2) { animation-delay: -.8s; }
.rhythm-lines i:nth-child(3) { animation-delay: -.35s; }
.rhythm-lines i:nth-child(4) { animation-delay: -.65s; }
.rhythm-lines i:nth-child(5) { animation-delay: -.2s; }
.pulse {
  position: absolute;
  border: 1px solid #b9ff3755;
  border-radius: 50%;
  opacity: 0;
  animation: pulse-ring 2.28s ease-out infinite;
}
.pulse-one { width: 260px; height: 260px; }
.pulse-two { width: 390px; height: 390px; animation-delay: 1.14s; }

@keyframes logo-vibration {
  0%, 16%, 100% { transform: translateX(0) scale(1) rotate(0); }
  2% { transform: translateX(-4px) scale(1.02) rotate(-2deg); }
  4% { transform: translateX(4px) scale(1.04) rotate(2deg); }
  6% { transform: translateX(-3px) scale(1.05) rotate(-1deg); }
  8% { transform: translateX(3px) scale(1.04) rotate(1deg); }
  11% { transform: translateX(0) scale(1.08) rotate(0); }
}

@keyframes pulse-ring {
  0% { opacity: 0; transform: scale(.72); }
  12% { opacity: .8; }
  75%, 100% { opacity: 0; transform: scale(1.12); }
}

@keyframes sound-wave {
  from { transform: scaleY(.48); opacity: .65; }
  to { transform: scaleY(1.08); opacity: 1; }
}

@keyframes aura-rotation {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .rhythm-card::before,
  .rhythm-logo,
  .rhythm-lines i,
  .pulse {
    animation: none;
  }

  .pulse { opacity: .35; }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.steps article { padding: 28px; display: grid; gap: 8px; }
.steps article + article { border-left: 1px solid var(--line); }
.steps span { color: var(--neon); font-size: 11px; font-weight: 950; letter-spacing: 2px; }
.steps strong { font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.registration {
  padding: 110px 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  gap: 80px;
  align-items: center;
}
.registration h2 { margin: 8px 0 16px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.registration-copy > p:not(.eyebrow) { color: #b3b8c1; line-height: 1.7; }
.registration-copy ul { margin: 24px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.registration-copy li::before { content: "✓"; margin-right: 10px; color: var(--neon); font-weight: 950; }
.registration-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 35px 80px #0006;
}
.registration-card h2 { font-size: 30px; }
.registration-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.registration-form { display: grid; gap: 17px; margin-top: 24px; }
.registration-form label { display: grid; gap: 8px; color: #c9ccd2; font-size: 13px; font-weight: 800; }
.registration-form label small { color: var(--muted); font-weight: 400; }
.registration-form input {
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: #0b0e14;
  color: var(--text);
  font: inherit;
}
.registration-form input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px #b9ff3710; }
.registration-form .public-button { width: 100%; margin-top: 4px; }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.public-alert { margin-top: 18px; padding: 13px 14px; border: 1px solid #ff547055; border-radius: 12px; background: #ff547012; color: #ff98a9; font-size: 13px; }
.success-mark { width: 58px; height: 58px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 18px; background: var(--neon); color: #071000; font-size: 28px; font-weight: 950; }
.registration-card > .public-button { margin-top: 12px; }

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 48px; }
  .rhythm-card { min-height: 360px; }
  .steps { grid-template-columns: 1fr; }
  .steps article + article { border-left: 0; border-top: 1px solid var(--line); }
  .registration { grid-template-columns: 1fr; gap: 44px; padding: 82px 0; }
}

@media (max-width: 520px) {
  .public-nav, main, footer { width: min(100% - 28px, 1180px); }
  .public-nav { padding: 16px 0; }
  .public-brand > span:last-child { display: none; }
  .admin-link { font-size: 10px; }
  .hero { min-height: auto; padding: 52px 0 66px; }
  .hero h1 { font-size: 48px; letter-spacing: -2.5px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { display: grid; }
  .public-button { width: 100%; }
  .rhythm-card { min-height: 330px; border-radius: 24px; }
  .steps article { padding: 22px; }
  .registration { padding: 70px 0; }
  .registration-card { padding: 22px; border-radius: 20px; }
  footer { flex-direction: column; }
}
