:root {
  --bg: #05040a;
  --bg-alt: #0a0813;
  --card: #141024;
  --border: #2a203f;
  --accent: #ff6ad5;
  --accent-soft: rgba(255, 106, 213, 0.2);
  --accent-2: #5ef2ff;
  --text: #f7f2ff;
  --muted: #b6a9d9;
  --danger: #ff4b7d;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #1b1233 0, var(--bg) 55%);
  color: var(--text);
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(5, 4, 10, 0.96),
      rgba(5, 4, 10, 0.85)
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 106, 213, 0.35) 0, rgba(94, 242, 255, 0.12) 40%, transparent 70%),
    radial-gradient(circle at 70% 90%, rgba(94, 242, 255, 0.25) 0, #120820 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 26px rgba(0, 0, 0, 0.7);
}

.brand-logo-svg {
  width: 70%;
  height: 70%;
  display: block;
}

/* optional: scale logo a bit on larger screens */
@media (min-width: 900px) {
  .logo-circle {
    width: 46px;
    height: 46px;
  }
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.86rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  margin: 0 0 0.6rem;
}

.hero-subtitle {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  color: var(--muted);
}

.hero-body {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  color: #dcd1ff;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
}

.hero-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.8);
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  margin: 0 0 0.6rem;
}

/* Stack vertically + shrink logo a bit on small screens */
@media (max-width: 600px) {
  .hero-heading {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-logo-img {
    width: 48px;
    height: 48px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #15081a;
  box-shadow: 0 10px 30px rgba(255, 106, 213, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(255, 106, 213, 0.45);
}

.btn.secondary {
  background: transparent;
  color: var(--accent-2);
  border-color: rgba(94, 242, 255, 0.6);
}

.btn.secondary:hover {
  background: rgba(94, 242, 255, 0.08);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(circle at top left, #3a214f 0, var(--card) 55%);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-card-header {
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: #e8defc;
}

.hero-card-body li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.1rem;
}

.hero-card-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Features */

.grid.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.feature {
  background: rgba(11, 9, 20, 0.9);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Requirements */

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.requirements-grid h3 {
  margin-top: 0;
  font-size: 1rem;
}

.requirements-grid ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.requirements-note {
  margin-top: 1.3rem;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Buy */

.buy-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: start;
}

.buy-note {
  background: rgba(11, 9, 20, 0.9);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: var(--muted);
}

.buy-note ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0 1.2rem;
  background: #06040c;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive tweaks */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-inner,
  .buy-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }
}

/* Samples */

.section-samples {
  background: radial-gradient(circle at top, #1b1233 0, var(--bg-alt) 55%);
}

.samples-note {
  margin-top: 0;
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
}

.sample-card {
  background: rgba(11, 9, 20, 0.95);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.sample-title {
  margin: 0 0 0.65rem;
  font-size: 0.94rem;
}

.sample-player {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.sample-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 30% 0, var(--accent) 0, var(--accent-2) 60%, #1c0f2c 100%);
  color: #15081a;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(255, 106, 213, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.sample-play-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(255, 106, 213, 0.45);
}

.sample-play-btn.is-playing {
  box-shadow: 0 12px 28px rgba(94, 242, 255, 0.45);
}

.sample-progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: pointer;
}

.sample-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.sample-time {
  font-size: 0.78rem;
  color: var(--muted);
  min-width: 3rem;
  text-align: right;
}

/* Vocal sample lyrics drawer */

.sample-card--vocal {
  position: relative;
}

.lyrics-toggle {
  margin-top: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 9, 20, 0.9);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.1s ease;
}

.lyrics-toggle::after {
  content: "▾";
  font-size: 0.7rem;
}

.lyrics-toggle.is-open {
  background: rgba(94, 242, 255, 0.12);
  border-color: rgba(94, 242, 255, 0.7);
  color: var(--text);
}

.lyrics-toggle.is-open::after {
  content: "▴";
}

.lyrics-body {
  margin-top: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(5, 4, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  max-height: 260px;
  overflow-y: auto;
}

/* Instructional videos section */

.section-videos {
  background: linear-gradient(to bottom, #05040a 0, #0a0813 60%, #05040a 100%);
}

.videos-note {
  max-width: 640px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 1.3rem;
}

.videos-placeholder {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(11, 9, 20, 0.8);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.videos-coming {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--text);
}

.videos-sub {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* LoRA packs section */

.section-loras {
  background: #05040a;
  background: radial-gradient(circle at bottom, #1b1233 0, var(--bg) 55%);
}

.loras-note {
  max-width: 640px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.lora-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.lora-card {
  background: rgba(11, 9, 20, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lora-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.lora-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.lora-download {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.lora-hint {
  margin-top: 0.25rem;
  opacity: 0.85;
  font-size: 0.78rem;
}

.lc-brand {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.lc-logo-icon {
  width: 40px;
  height: 40px;
}

.lc-logo-wordmark {
  height: 32px; /* let width auto-scale */
}
