:root {
  --bg-0: #110f16;
  --bg-1: #1b1724;
  --bg-2: #261d30;
  --panel: rgba(29, 23, 37, 0.78);
  --text: #f0e8f8;
  --muted: #beaed0;
  --magenta: #ff3dd1;
  --magenta-2: #d616a8;
  --border: rgba(255, 61, 209, 0.46);
  --glow: 0 0 14px rgba(255, 61, 209, 0.46), 0 0 28px rgba(255, 61, 209, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 61, 209, 0.12), transparent 40%),
    radial-gradient(circle at 82% 10%, rgba(214, 22, 168, 0.16), transparent 36%),
    radial-gradient(circle at 52% 95%, rgba(255, 61, 209, 0.1), transparent 36%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 48%, var(--bg-2) 100%);
}

.page-wrap {
  min-height: 100vh;
  width: min(1050px, 93vw);
  margin: 0 auto;
  padding: 2.2rem 0 2.9rem;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 1.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  animation: rise-in 620ms ease-out both;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 11px;
  border: 1px solid var(--border);
  box-shadow: var(--glow);
  object-fit: cover;
}

.brand h1 {
  margin: 0;
  letter-spacing: 0.02em;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.42rem;
  border: 1px solid rgba(255, 61, 209, 0.24);
  border-radius: 999px;
  background: rgba(23, 18, 30, 0.68);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: rise-in 700ms ease-out both;
}

.tab {
  text-decoration: none;
  color: var(--text);
  padding: 0.56rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.tab:hover,
.tab:focus-visible {
  border-color: var(--border);
  box-shadow: var(--glow);
  transform: translateY(-1px);
  outline: none;
}

.tab.active {
  background: linear-gradient(180deg, rgba(255, 61, 209, 0.2), rgba(255, 61, 209, 0.08));
  border-color: var(--border);
  box-shadow: var(--glow);
}

.card {
  background: var(--panel);
  border: 1px solid rgba(255, 61, 209, 0.2);
  border-radius: 22px;
  padding: clamp(1.2rem, 2.3vw, 2rem);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  animation: rise-in 840ms ease-out both;
}

.hero-title {
  margin: 0 0 0.52rem;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.hero-sub {
  margin: 0;
  color: var(--muted);
  max-width: 66ch;
}

.feature-bullets {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.feature-bullets li {
  margin: 0.25rem 0;
}

.feature-bullets strong {
  color: #ffd2f3;
}

.stack {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.group {
  border: 1px solid rgba(255, 61, 209, 0.24);
  border-radius: 14px;
  background: rgba(13, 9, 18, 0.48);
  padding: 0.8rem 0.92rem;
}

.group h3 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.group p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.percussion-videos {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.percussion-videos .demo-card {
  width: min(100%, 320px);
  margin: 0 auto;
  grid-column: auto;
}

.percussion-videos .demo-card .vertical-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #0b0b0d;
}

.direct-email {
  margin: 0.78rem 0 0;
  color: var(--muted);
}

.direct-email a {
  color: #ffd2f3;
  text-decoration: none;
  font-weight: 700;
}

.direct-email a:hover,
.direct-email a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.demo-gallery {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.demo-gallery h3 {
  margin: 0;
  grid-column: 1 / -1;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.demo-card {
  margin: 0;
  grid-column: span 6;
  border: 1px solid rgba(255, 61, 209, 0.25);
  border-radius: 14px;
  background: rgba(12, 8, 18, 0.52);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.demo-card video {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
  background: #0b0b0d;
}

.demo-card figcaption {
  padding: 0.48rem 0.62rem 0.6rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.demo-open-link {
  margin: 0 0.62rem 0.7rem;
}

.demo-open-link a {
  color: #ffd2f3;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.83rem;
}

.demo-open-link a:hover,
.demo-open-link a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.photo-gallery {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.photo-gallery h3 {
  margin: 0;
  grid-column: 1 / -1;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.photo-card {
  margin: 0;
  grid-column: span 6;
  border: 1px solid rgba(255, 61, 209, 0.25);
  border-radius: 14px;
  background: rgba(12, 8, 18, 0.52);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.photo-card figcaption {
  padding: 0.48rem 0.62rem 0.6rem;
  color: var(--muted);
  font-size: 0.86rem;
}

form {
  margin-top: 1rem;
  display: grid;
  gap: 0.84rem;
  max-width: 700px;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 61, 209, 0.3);
  border-radius: 12px;
  background: rgba(16, 10, 22, 0.74);
  color: var(--text);
  font: inherit;
  padding: 0.68rem 0.8rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--magenta);
  box-shadow: var(--glow);
  outline: none;
}

button {
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 61, 209, 0.24), rgba(255, 61, 209, 0.1));
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 0.56rem 1rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

button:hover,
button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--glow);
  outline: none;
}

footer {
  color: var(--muted);
  font-size: 0.87rem;
  text-align: center;
  padding-top: 0.5rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .tabs {
    border-radius: 16px;
  }

  .tab {
    flex: 1 1 auto;
    text-align: center;
  }

  .demo-card {
    grid-column: span 12;
  }

  .demo-card video {
    height: 210px;
  }

  .photo-card {
    grid-column: span 12;
  }

  .percussion-videos {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: 220px;
  }
}
