/* ===========================
   KATAS DSP — style.css
   Baby Audio-inspired
   =========================== */

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

:root {
  --bg:       #1a1a1c;
  --surface:  #222226;
  --surface2: #2a2a2f;
  --border:   #333338;
  --text:     #e4e4e8;
  --muted:    #8888a0;
  --accent:   #00e5ff;
  --white:    #ffffff;
  --font:     'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow {
  max-width: 720px;
}

/* ===========================
   LABELS & HEADINGS
   =========================== */

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.label.center { text-align: center; }

.section-h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 40px;
}

.section-h2.center { text-align: center; }

/* ===========================
   HEADER
   =========================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 26, 28, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { display: none; }

.wordmark {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
  text-decoration: none;
}

.footer-wordmark {
  font-size: 13px;
  opacity: 0.5;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav-buy {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 13px !important;
  transition: background 0.15s, color 0.15s !important;
}

.nav-buy:hover {
  background: var(--accent) !important;
  color: #000 !important;
}

/* ===========================
   HERO
   =========================== */

.hero {
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 88vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-text h1 {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

.hero-desc {
  font-size: 20px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-formats {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.hero-plugin {
  display: flex;
  align-items: center;
  justify-content: center;
}

.plugin-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}

.plugin-placeholder-img {
  aspect-ratio: 980 / 720;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===========================
   BUTTONS
   =========================== */

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-primary.btn-large {
  font-size: 17px;
  padding: 16px 48px;
  width: 100%;
  text-align: center;
}

.btn-ghost {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 13px 4px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--muted);
}

/* ===========================
   AUDIO SECTION
   =========================== */

.audio-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.players {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.player-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.player-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.player-toggle {
  display: flex;
  background: var(--surface2);
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
}

.toggle-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font);
}

.toggle-btn.active {
  background: var(--accent);
  color: #000;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.play-btn:hover { background: var(--border); }

.play-btn svg {
  width: 16px;
  height: 16px;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
}

.player-time {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.player-note {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.6;
  text-align: center;
}

/* ===========================
   DESCRIPTION
   =========================== */

.description-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.description-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.description-body p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.description-body p:last-child {
  color: var(--text);
  font-style: italic;
}

/* ===========================
   FEATURES
   =========================== */

.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:first-of-type { padding-top: 40px; }
.feature-row:last-of-type { border-bottom: none; }

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.feature-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.feature-visual {
  border-radius: 10px;
  overflow: hidden;
}

.feature-placeholder {
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===========================
   PARAMETERS
   =========================== */

.params-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.params-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.param {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.15s;
}

.param:hover { background: var(--surface2); }

.param-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.param-range {
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.param-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ===========================
   SPECS
   =========================== */

.specs-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.specs-list {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.spec-row:last-child { border-bottom: none; }

.spec-label {
  color: var(--muted);
  font-weight: 500;
}

.spec-value {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* ===========================
   BUY
   =========================== */

.buy-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.buy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.buy-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.buy-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

.buy-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buy-checklist li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.buy-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.buy-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}

.buy-price {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}

.buy-secure {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.5;
}

.footer-tagline { opacity: 0.35 !important; }

/* ===========================
   LEGAL PAGES
   =========================== */

.legal-hero {
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--border);
}

.legal-date {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.legal-body {
  padding: 60px 0 100px;
}

.legal-body h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin: 40px 0 12px;
}

.legal-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-body ul {
  margin: 12px 0 12px 24px;
}

.legal-body ul li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}

.pricing-section {
  padding: 60px 0 100px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.pricing-left { display: flex; flex-direction: column; gap: 16px; }

.faq-section {
  padding: 80px 0 100px;
  border-top: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.faq-item {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item a {
  color: var(--accent);
  text-decoration: none;
}

/* ===========================
   PLUGINS CATALOG
   =========================== */

.plugins-catalog {
  padding: 40px 0 120px;
}

.plugin-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

.plugin-card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface2);
}

.plugin-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plugin-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.plugin-card-info {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.plugin-card-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1;
}

.plugin-card-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.plugin-card-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plugin-card-specs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.plugin-card-specs span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plugin-card-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.plugin-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.plugin-coming-soon {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ===========================
   ACCOUNT PAGE
   =========================== */

.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.account-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--white);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s;
}

.account-input:focus {
  border-color: var(--accent);
}

.account-input::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.account-btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.account-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.account-status {
  font-size: 14px;
  min-height: 20px;
}

.account-help {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.account-help a {
  color: var(--accent);
  text-decoration: none;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 60px;
    gap: 40px;
  }

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

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
    padding: 48px 0;
  }

  .params-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .buy-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 40px;
    text-align: center;
  }

  .buy-checklist li { text-align: left; }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav a:not(.nav-buy):not(:last-of-type) {
    display: none;
  }
}
