/* =========================================================
   HOME.CSS
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  max-width: 14ch;
}

.hero h1 .accent {
  color: var(--cyan);
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 46ch;
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---------- Hero visual: one clean panel, not scattered cards ---------- */
.hero-panel {
  padding: 20px;
}

.hero-panel .thumb {
  width: 100%;
  height: 150px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 14px;
}

.hero-panel .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
}

.hero-panel .row:first-of-type {
  border-top: none;
}

.hero-panel .row .label {
  color: var(--text-muted);
}

.hero-panel .row .value {
  font-weight: 600;
}

.hero-panel .row .value.accent {
  color: var(--cyan);
}

/* ---------- Product section ---------- */
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.tab-group {
  display: flex;
  gap: 6px;
}

.tab-btn {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tab-btn.active {
  color: var(--bg);
  background: var(--cyan);
  border-color: var(--cyan);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.product-card {
  padding: 12px;
}

.product-card .thumb {
  width: 100%;
  height: 110px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 10px;
  position: relative;
}

.product-card .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(10, 14, 21, 0.85);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.product-card .name {
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
}

.product-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.product-card .price {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.86rem;
}

.product-card .stock {
  font-size: 0.74rem;
  color: var(--text-faint);
}

/* ---------- About: simple 3-up feature list ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-grid .feature {
  padding: 20px;
}

.feature .icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 12px;
}

.feature h4 {
  font-size: 0.94rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- CTA ---------- */
.cta-band {
  padding: 40px 24px;
  border-radius: var(--radius);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
}

.cta-band p {
  color: var(--text-muted);
  margin: 10px 0 22px;
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-top: 10px;
  max-width: 32ch;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 10px;
}

.footer ul li {
  margin-bottom: 7px;
}

.footer ul a {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer ul a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-socials a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

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

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    max-width: 380px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media (max-width: 560px) {
  .hero {
    padding-top: calc(var(--nav-height) + 28px);
  }
  .hero-panel {
    max-width: 100%;
  }
  .hero-actions .btn {
    flex: 1;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
