/* Hardware / Purchase page styles */

.nav-link-active {
  color: var(--accent) !important;
}

/* Hero */
.hw-hero {
  padding: 80px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hw-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hw-hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hw-hero-text p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.hw-hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  object-fit: contain;
}

/* Specs section */
.hw-specs {
  padding: 80px 0;
}

.hw-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.hw-spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.hw-spec-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.hw-spec-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hw-spec-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing section */
.hw-pricing {
  padding: 80px 0;
  background: var(--surface);
}

.hw-batch-progress {
  max-width: 520px;
  margin: 0 auto 48px;
  text-align: center;
}

.hw-batch-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hw-batch-bar-wrap {
  background: var(--border);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.hw-batch-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.4s;
}

.hw-batch-count {
  font-size: 13px;
  color: var(--text-muted);
}

.hw-batch-count strong {
  color: var(--text);
}

.hw-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.hw-price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.hw-price-card.hw-price-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.hw-price-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hw-price-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.hw-price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.hw-price-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hw-price-claimed {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 8px;
}

.hw-price-addon {
  max-width: 400px;
  margin: 32px auto 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.hw-price-addon h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hw-price-addon p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hw-price-addon .hw-price-amount {
  font-size: 26px;
}

/* Contact section */
.hw-contact {
  padding: 80px 0;
}

.hw-contact-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.hw-contact-box h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hw-contact-box > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hw-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.hw-phone-label {
  font-size: 14px;
  color: var(--text-muted);
}

.hw-phone-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.hw-phone-number:hover {
  color: var(--accent-hover);
}

.hw-email {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.hw-email-address {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

.hw-email-address:hover {
  color: var(--accent-hover);
}

/* Responsive */
@media (max-width: 900px) {
  .hw-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hw-hero-image {
    order: -1;
  }

  .hw-hero-text h1 {
    font-size: 36px;
  }
}

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

  .hw-price-amount {
    font-size: 24px;
  }

  .hw-contact-box h2 {
    font-size: 26px;
  }

  .hw-phone-number {
    font-size: 22px;
  }
}

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