/* Museiac — Global Stylesheet */
/* Font: Inter loaded via Google Fonts in each page <head> */

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

:root {
  --bg:        #0a0a0f;
  --bg-card:   #111118;
  --bg-raised: #18181f;
  --accent:    #e8ff47;
  --accent-2:  #47ffa8;
  --text:      #f0f0f5;
  --muted:     #8888a0;
  --border:    rgba(255,255,255,0.08);
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Ambient glow ─── */
.glow-orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(232,255,71,0.055) 0%, transparent 68%);
}

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  backdrop-filter: blur(24px);
  background: rgba(10,10,15,0.85);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo .dot { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0a0a0f;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.88; }

/* ─── Container ─── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 1;
  padding: 148px 40px 80px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 860px;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 44px;
}

/* ─── Stats row ─── */
.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.stat-item { display: flex; flex-direction: column; }

.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── Section headers ─── */
.section { position: relative; z-index: 1; padding: 88px 40px; max-width: 1080px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 52px;
}

/* ─── Bullet list ─── */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.93rem;
  line-height: 1.55;
  transition: border-color 0.25s;
}

.feature-list li:hover { border-color: rgba(232,255,71,0.25); }

.feature-list li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-list .feat-title { font-weight: 600; display: block; margin-bottom: 4px; }

/* ─── Pricing table ─── */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tr:hover td { background: rgba(255,255,255,0.02); }

.plan-name { font-weight: 700; letter-spacing: -0.01em; }

.plan-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.plan-original {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: line-through;
  display: block;
}

.plan-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(232,255,71,0.12);
  color: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
}

.table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ─── Steps ─── */
.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}

.steps-list li:last-child { border-right: none; }

.step-num-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(232,255,71,0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-num-badge::before { content: counter(step, decimal-leading-zero); }

.steps-list h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.steps-list p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ─── Store grid ─── */
.store-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.store-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  white-space: nowrap;
}

.store-tag.highlight {
  background: rgba(232,255,71,0.08);
  border-color: rgba(232,255,71,0.2);
  color: var(--accent);
}

/* ─── FAQ ─── */
.faq-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  font-size: 0.97rem;
  font-weight: 600;
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
  user-select: none;
}

.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0 24px 22px;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* ─── Internal links ─── */
.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.int-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 18px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: -0.01em;
}

.int-link:hover { border-color: var(--accent); color: var(--accent); }
.int-link::after { content: '→'; font-size: 0.9em; }

/* ─── Divider ─── */
.divider { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.divider hr { border: none; border-top: 1px solid var(--border); }

/* ─── CTA section ─── */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.1;
}

.cta-section h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a0a0f;
  background: var(--accent);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.88; }

/* ─── Footer ─── */
footer {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer .logo { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
footer .logo .dot { color: var(--accent); }

.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
footer small { font-size: 0.75rem; color: var(--muted); }

/* ─── Last updated badge ─── */
.last-updated {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
}

/* ─── Breadcrumb ─── */
nav.breadcrumb {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 84px 40px 0;
  background: none;
  border: none;
  height: auto;
  backdrop-filter: none;
  display: block;
}

nav.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

nav.breadcrumb ol li { display: flex; align-items: center; gap: 6px; }
nav.breadcrumb ol li::before { content: none; }
nav.breadcrumb ol li + li::before { content: '/'; color: var(--border); }
nav.breadcrumb ol li a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
nav.breadcrumb ol li a:hover { color: var(--accent); }
nav.breadcrumb ol li[aria-current="page"] { color: var(--text); font-weight: 500; }

/* ─── Comparison table ─── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table thead tr {
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare-table th.museiac-col { color: var(--accent); }
.compare-table th.distrokid-col { color: var(--muted); }

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.45;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.018); }

.compare-table td:first-child { font-weight: 500; color: var(--muted); font-size: 0.84rem; }
.compare-table td.win { color: var(--accent); font-weight: 600; }
.compare-table td.loss { color: #ff6b6b; }

.table-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* ─── Blog grid ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s;
}

.blog-card:hover { border-color: rgba(232,255,71,0.25); }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(232,255,71,0.1);
  color: var(--accent);
}

.blog-card-meta time {
  font-size: 0.77rem;
  color: var(--muted);
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card h3 a:hover { color: var(--accent); }

.blog-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: 4px;
}

.read-more:hover { opacity: 0.75; }

/* ─── Reasons (why-switch) blocks ─── */
.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.reason-block {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s;
}

.reason-block:hover { border-color: rgba(232,255,71,0.2); }

.reason-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}

.reason-block p {
  font-size: 0.91rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 12px;
}

.reason-block p:last-child { margin-bottom: 0; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hero { padding: 120px 20px 60px; }
  .section { padding: 60px 20px; }
  .container { padding: 0 20px; }
  .divider { padding: 0 20px; }
  .stats { gap: 28px; }
  footer { padding: 28px 20px; flex-direction: column; text-align: center; }
  .footer-meta { align-items: center; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li { border-right: none; border-bottom: 1px solid var(--border); }
  .steps-list li:last-child { border-bottom: none; }
  .pricing-table { font-size: 0.82rem; }
  .pricing-table td, .pricing-table th { padding: 14px 12px; }
}
