:root {
  --bg: #060b14;
  --bg-elevated: #0d1524;
  --border: rgba(45, 226, 230, 0.18);
  --text: #e8f4f8;
  --muted: #8fa3b8;
  --cyan: #2de2e6;
  --coral: #ff6b6b;
  --gold: #f4c95d;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 11, 20, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  background: linear-gradient(90deg, var(--cyan), #9efcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, var(--cyan), #1aa8ac);
  color: #041018 !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 11, 20, 0.92) 0%, rgba(6, 11, 20, 0.55) 55%, rgba(6, 11, 20, 0.75) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-lead {
  font-size: 1.12rem;
  color: #c5d6e3;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #1ab8bd);
  color: #041018;
  box-shadow: 0 12px 30px rgba(45, 226, 230, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-card {
  background: rgba(13, 21, 36, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--cyan);
}

.stat span {
  font-size: 0.75rem;
  color: var(--muted);
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(13, 21, 36, 0.6), transparent);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

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

.cards-3,
.cards-2 {
  display: grid;
  gap: 1.25rem;
}

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

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1.75rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card .step {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(45, 226, 230, 0.12);
  color: var(--cyan);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #b8c9d9;
}

.route-map {
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: radial-gradient(ellipse at 20% 30%, rgba(45, 226, 230, 0.07), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 107, 107, 0.08), transparent 45%),
    var(--bg-elevated);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.route-map__toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.65rem;
}

.route-map__route-label {
  margin: 0;
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.95rem;
  white-space: nowrap;
}

.route-map__stage-outer {
  position: relative;
  min-height: min(62vh, 560px);
  height: min(62vh, 560px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.route-map__stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 42% 40%, rgba(45, 226, 230, 0.08), rgba(6, 11, 20, 0.95) 65%);
  cursor: grab;
  transition: margin-left 0.35s ease, width 0.35s ease;
}

.route-map__dj {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  z-index: 4;
  width: clamp(125px, 20vw, 185px);
  pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55));
}

.dj-mascot {
  display: block;
  width: 100%;
  height: auto;
}

.dj-head-group {
  animation: dj-bob 1.05s ease-in-out infinite;
  transform-origin: 90px 48px;
}

.dj-headphone-band {
  animation: dj-band-pulse 2s ease-in-out infinite;
}

.dj-cup-glow {
  animation: dj-cup-pulse 1.4s ease-in-out infinite;
}

.dj-cup-glow--coral {
  animation-delay: 0.35s;
}

.dj-deck-led {
  fill: #2de2e6;
  animation: dj-led 1.2s ease-in-out infinite alternate;
}

.dj-deck-led--coral {
  fill: #ff6b6b;
  animation-delay: 0.4s;
}

@keyframes dj-band-pulse {
  50% {
    stroke-opacity: 0.65;
  }
}

@keyframes dj-cup-pulse {
  50% {
    opacity: 0.45;
    transform: scale(1.15);
  }
}

@keyframes dj-led {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.dj-vinyl-wrap {
  animation: dj-spin 2.4s linear infinite;
}

.dj-vinyl-wrap--b {
  animation-duration: 2.1s;
  animation-direction: reverse;
}

.dj-arm {
  animation: dj-scratch 0.45s ease-in-out infinite alternate;
  transform-origin: 52px 82px;
}

.dj-arm--r {
  transform-origin: 128px 82px;
  animation-delay: 0.2s;
}

.dj-note {
  position: absolute;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(45, 226, 230, 0.65);
  opacity: 0;
  animation: dj-note-fly 2.8s ease-in-out infinite;
}

.dj-note--2 {
  color: var(--coral);
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.55);
  animation-delay: 0.7s;
  left: 55%;
  top: 35%;
}

.dj-note--3 {
  animation-delay: 1.4s;
  left: 40%;
  top: 20%;
  font-size: 0.95rem;
}

.dj-note--4 {
  color: var(--gold);
  animation-delay: 2.1s;
  left: 65%;
  top: 25%;
  font-size: 1rem;
}

.dj-note--1 {
  left: 45%;
  top: 40%;
}

@keyframes dj-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dj-bob {
  50% {
    transform: translateY(-2px);
  }
}

@keyframes dj-scratch {
  from {
    transform: rotate(-6deg);
  }
  to {
    transform: rotate(8deg);
  }
}

@keyframes dj-note-fly {
  0% {
    transform: translate(0, 0) scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translate(140px, -20px) scale(1.15);
    opacity: 0;
  }
}

.route-map__stage:active {
  cursor: grabbing;
}

.route-map__stage canvas {
  display: block;
}

.signup-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.signup-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.signup-tabs button {
  flex: 1;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 0.65rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.signup-tabs button.active {
  background: rgba(45, 226, 230, 0.15);
  color: var(--cyan);
  border-color: rgba(45, 226, 230, 0.45);
}

.signup-panel {
  display: none;
}

.signup-panel.active {
  display: block;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.form-status.success {
  color: #7dffb3;
}

.form-status.error {
  color: var(--coral);
}

.about-founder {
  padding-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1.05fr;
  gap: 2rem;
  align-items: center;
}

.about-photo {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.about-copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
}

.about-greeting {
  font-size: 1.35rem;
  color: var(--cyan);
  margin: 0 0 0.35rem;
}

.about-copy p {
  color: #c5d6e3;
  margin: 0 0 1rem;
}

.about-logo-wrap {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.about-logo-full {
  width: min(720px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  color: var(--text);
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.ee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .cards-3,
  .cards-2,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .route-map__stage-outer {
    min-height: 420px;
    height: 420px;
  }

  @keyframes dj-note-fly {
    100% {
      transform: translate(90px, -10px) scale(1.1);
    }
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 4vw;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.75rem;
    min-width: 220px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

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

  .stat-row {
    grid-template-columns: 1fr;
  }
}
