/* ============================================================
   TuneX — pages.css
   Hero, pricing, CTA, comparison table
   ============================================================ */

/* ===================== HERO ===================== */
.hero {
  padding: 160px 0 100px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-prefix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 32px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-headline em {
  display: block;
  color: var(--red-bright);
  font-weight: 700;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tagline .sep {
  color: var(--red);
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ===================== PRICING ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
  transition: all var(--t-base);
}

.pricing-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: var(--red);
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(165, 42, 42, 0.05) 100%);
}

.pricing-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
}

.pricing-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-duration {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}

.pricing-price .currency {
  font-size: 24px;
  vertical-align: top;
  color: var(--red);
}

.pricing-price.free {
  color: var(--green);
}

.pricing-savings {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.pricing-features li {
  padding: 8px 0 8px 24px;
  font-size: 13px;
  color: var(--text-dim);
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-features li.disabled::before {
  content: '×';
  color: var(--text-muted);
}

.pricing-cta {
  width: 100%;
  margin-top: 16px;
}

/* ===================== COMPARISON TABLE ===================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}

.compare-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
}

.compare-table td {
  color: var(--text-dim);
}

.compare-table .check {
  color: var(--green);
  font-weight: 700;
}

.compare-table .cross {
  color: var(--text-muted);
}

/* ===================== CTA SECTION ===================== */
.cta-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.cta-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--red);
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  font-style: italic;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cta-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================== EMPTY STATES ===================== */
.solutions-list-empty {
  padding: 40px;
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.6;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero-tagline {
    flex-direction: column;
    gap: 6px;
  }
  .hero-tagline .sep {
    display: none;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 40px 24px;
  }
  .compare-table {
    font-size: 12px;
  }
  .compare-table th,
  .compare-table td {
    padding: 10px 8px;
  }
}
