/* Public homepage in the visual language of the DJ PoolBox admin panel. */
:root {
  --color-page: #08121e;
  --color-page-deep: #08121e;
  --color-surface: #102232;
  --color-surface-raised: #152b3c;
  --color-surface-hover: #1b3b48;
  --color-text: #edf7fa;
  --color-text-body: #bdced9;
  --color-text-muted: #9bb1c1;
  --color-border: #314c60;
  --color-border-strong: #426678;
  --color-accent: #70e0d0;
  --color-accent-hover: #90eee0;
  --color-accent-blue: #55b4d5;
  --color-accent-ink: #092b2a;
  --font-body: "Segoe UI", Inter, Arial, sans-serif;
}

html, body { overflow-x: clip; }
body { background: var(--color-page); }
.container { width: min(100% - 40px, 1280px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: auto;
  border-bottom: 1px solid #29465a;
  background: #0b1826f2;
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 82px; height: auto; gap: 18px; }
.identity-mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #78e4d5, #57bad9);
  color: #092536;
  box-shadow: 0 8px 25px #3db8c52e;
}
.identity-name { font-size: 22px; }
.header-nav { gap: 7px; }
.header-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #bacfdb;
  font-size: 13px;
  transition: background-color .15s ease, border-color .15s ease;
}
.header-nav a:hover, .header-nav a:focus-visible {
  border-color: #3b6071;
  background: #183443;
  color: #f3fffd;
}
.header-tools { gap: 8px; }
.header-tools .language-switch {
  height: 44px;
  padding: 1px;
  border-radius: 11px;
}
.header-tools .language-switch a {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 8px;
}
.language-switch a {
  min-width: 39px;
  min-height: 44px;
  border-radius: 9px;
  color: #b8d0d7;
  font-size: 12px;
  font-weight: 800;
}
.language-switch a[aria-current="true"] { background: #76e2d2; color: #082923; }
.header-action, .button-quiet {
  border: 1px solid #3d6072;
  border-radius: 11px;
  background: #193244;
  color: #e6f3f7;
}
.header-action { min-height: 44px; }
.header-action:hover, .button-quiet:hover { border-color: #77dbcf; background: #214657; }

.hero { background: transparent; overflow: visible; }
.hero-grid {
  min-height: 0;
  align-items: stretch;
  gap: 18px;
  padding-block: 28px 18px;
}
.hero-copy, .hero-art {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: linear-gradient(145deg, #163344, #102234 67%, #0e1d2b);
  box-shadow: 0 12px 34px #0002;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 58px); }
.eyebrow { color: #8bdace; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.hero h1 { font-size: clamp(48px, 5.5vw, 78px); line-height: 1.02; margin: 18px 0 22px; }
.hero h1 span, .section-heading h2 span { color: var(--color-accent); }
.hero-lead { font-size: 16px; line-height: 1.65; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.hero-actions .button-primary { grid-column: 1 / -1; }
.button { min-height: 51px; border-radius: 11px; padding: 12px 17px; font-size: 14px; font-weight: 800; }
.button-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.button-primary:hover { background: var(--color-accent-hover); }
.hero-note { margin-top: 23px; color: #a8c8cb; font-size: 13px; }
.hero-art { height: auto; min-height: 540px; background: linear-gradient(145deg, #1a3e4b, #112b3c 55%, #102332); }
.record { width: min(90%, 460px); }
.record-label { background: var(--color-accent); }
.record-label span {
  margin-left: 0;
  font-family: var(--font-body);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
}
.record-label small {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: clamp(11px, 1.15vw, 15px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}

.ticker { background: transparent; }
.ticker-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  padding-block: 0 18px;
  color: #c8dedf;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.ticker-inner span {
  min-height: 73px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 21px;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: #122536;
}
.ticker-inner span::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px #70e0d021; }

.section { padding-block: 18px 28px; background: transparent; }
.about-grid, .questions-grid { gap: 16px; align-items: stretch; }
.section-heading, .about-copy {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #112435;
  padding: clamp(23px, 3vw, 35px);
}
.section-heading h2 { margin-top: 15px; font-size: clamp(34px, 3.4vw, 48px); }
.about-copy { display: flex; flex-direction: column; justify-content: center; }
.about-copy p { max-width: 65ch; }
.text-link { color: #8debdc; }
.instruction-heading, .plans-heading { align-items: center; }
.instruction-heading > p, .plans-heading > p { max-width: 400px; }
.instruction-video {
  max-width: none;
  border-color: var(--color-border);
  border-radius: 18px;
  background: #112435;
  box-shadow: none;
}
.steps { gap: 14px; }
.step {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 16px;
  background: #112435;
}
.step-number { color: #8debdc; }
.instruction-download {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #152d3b;
}
.plans-section .section-heading { margin-bottom: 16px; }
.plan-grid { gap: 13px; }
.plan-card {
  min-width: 0;
  min-height: 280px;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 16px;
  background: #112435;
}
.plan-card.featured { background: #19423f; border-color: #65cdbd; }
.plan-card a { min-height: 44px; color: #8debdc; }
.plans-caption { margin: 14px 3px 0; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 13px;
  background: #112435;
  margin-bottom: 9px;
  padding-inline: 17px;
}
.faq summary { min-height: 60px; display: flex; align-items: center; }
.faq details p { padding-bottom: 18px; }
.final-cta { background: transparent; color: var(--color-text); }
.cta-inner {
  align-items: center;
  min-height: 210px;
  margin-block: 10px 28px;
  padding: 30px 35px;
  border: 1px solid #4b867d;
  border-radius: 20px;
  background: linear-gradient(115deg, #153b3e, #123041 70%);
}
.final-cta h2 { margin: 12px 0 0; color: var(--color-text); font-size: clamp(34px, 3.8vw, 52px); }
.site-footer { border-top: 1px solid var(--color-border); background: #0b1724; }

@media (min-width: 901px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 84px;
  }
  .identity { justify-self: start; }
  .header-nav { justify-self: center; }
  .header-tools { justify-self: end; }
}

@media (max-width: 900px) {
  .header-inner { padding-block: 10px; }
  .header-nav { gap: 4px; }
  .hero-art { min-height: 450px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 24px, 540px); }
  .header-inner { gap: 6px 8px; }
  .identity-mark { width: 39px; height: 39px; }
  .identity-name { font-size: 18px; }
  .header-tools { gap: 3px; }
  .header-action { min-height: 44px; padding-inline: 10px; font-size: 11px; }
  .header-nav { order: 3; display: flex; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-top: 7px; }
  .header-nav a { flex: 1 0 auto; justify-content: center; min-height: 44px; padding-inline: 10px; font-size: 12px; }
  .hero-grid { gap: 13px; padding-block: 14px 12px; }
  .hero-copy { padding: 25px 21px; }
  .hero h1 { font-size: clamp(44px, 10vw, 65px); }
  .hero-actions { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button-primary { grid-column: auto; }
  .hero-art { min-height: 0; height: min(90vw, 420px); }
  .ticker-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding-block: 0 9px; }
  .ticker-inner span { min-height: 62px; padding: 12px; font-size: 11px; text-align: left; }
  .ticker-inner span:last-child { grid-column: 1 / -1; }
  .section { padding-block: 9px 18px; }
  .section-heading, .about-copy { padding: 23px 20px; }
  .instruction-heading, .plans-heading { display: block; }
  .instruction-heading > p, .plans-heading > p { margin-top: 14px; }
  .steps { gap: 9px; }
  .instruction-download { padding: 18px; }
  .cta-inner { margin-block: 4px 20px; padding: 25px 20px; }
}
@media (min-width: 370px) and (max-width: 720px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card { min-height: 205px; }
}
@media (max-width: 400px) {
  .identity-name { font-size: 16px; }
  .header-action { font-size: 10px; }
  .header-nav a { padding-inline: 7px; }
  .hero h1 { font-size: 44px; }
  .plan-grid { gap: 9px; }
  .plan-card { padding: 15px; }
}
