/* Public pricing page — Artificial Labs */

.pricing-hero {
  padding-bottom: 40px;
}

.pricing-hero .hero-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  border-color: rgba(92, 225, 230, 0.2);
}

.plan-card.recommended {
  border-color: rgba(92, 225, 230, 0.5);
  box-shadow: 0 0 0 1px rgba(92, 225, 230, 0.15), 0 24px 70px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, rgba(92, 225, 230, 0.06) 0%, var(--bg-card) 140px);
}

.recommended-badge,
  .best-value-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0b;
  background: var(--accent-cyan);
  }

  .best-value-badge {
    color: #0a0a0b;
    background: var(--accent-cyan);
  padding: 5px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 22px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
  min-height: 1.35rem;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
  min-height: 2.6rem;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: super;
  margin-right: 2px;
}

.plan-price .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
  min-height: 4.275rem;
}

.plan-card .btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin-bottom: 24px;
  min-height: 48px;
  box-sizing: border-box;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.plan-features li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: rgba(67, 177, 75, 0.15);
  border-radius: 50%;
}

.plan-features li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--accent-green);
  border-bottom: 2px solid var(--accent-green);
  transform: rotate(45deg);
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.faq-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-cyan);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  color: var(--text-muted);
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* GPU Compute */
.gpu-section {
  padding-top: 0;
}

.gpu-section .section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.gpu-section .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.gpu-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 16px;
  color: var(--text);
}

.gpu-section .section-header > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.gpu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.gpu-card {
  position: relative;
}

.coming-soon-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0b;
  background: var(--accent-cyan);
  padding: 5px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

.gpu-card .plan-name {
  font-size: 1.25rem;
}

.gpu-card .plan-description {
  min-height: auto;
}

@media (max-width: 640px) {
  .gpu-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-section p {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-size: 1.05rem;
}

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

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    padding: 28px 22px;
  }
}
