/* ==========================================================================
   C2Cnetworks Lenovo showcase — additions on top of the shared styles.css
   (styles.css is a straight copy of the main site's; keep edits here)
   ========================================================================== */

/* ---------- Brand + Lenovo logo lockup ---------- */

.brand-lenovo {
  height: 24px;
  width: auto;
  border-radius: 3px;
  margin-left: 4px;
}

/* ---------- Hero partner lockup ---------- */

.partner-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.partner-lockup img {
  height: 35px;
  width: auto;
  border-radius: 4px;
}

.partner-lockup .eyebrow {
  margin-bottom: 0;
}

/* ---------- Category cards (homepage) ---------- */

.category-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.category-card .product-visual {
  border-radius: 0;
  min-height: 170px;
}

.category-card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card-body .card-link {
  margin-top: auto;
  padding-top: 16px;
}

.category-lines {
  font-size: 0.82rem;
  color: var(--slate-400);
  margin-top: 8px;
}

/* ---------- Product visual placeholder (swap for real photos later) ---------- */

.product-visual {
  position: relative;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-radius: var(--radius);
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  overflow: hidden;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.product-visual svg {
  width: 64px;
  height: 64px;
  position: relative;
  z-index: 1;
  opacity: 0.9;
  transition: transform 0.4s var(--ease);
}

.card:hover .product-visual svg {
  transform: scale(1.08);
}

.product-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ---------- Product series cards (category pages) ---------- */

.product-card {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 26px;
}

.product-card .product-visual {
  margin-bottom: 22px;
}

.product-card .service-tag {
  align-self: flex-start;
  margin-bottom: 10px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-card .spec-list {
  margin: 16px 0 4px;
}

.product-card .card-link {
  margin-top: auto;
  padding-top: 16px;
}

.spec-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.spec-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
}

/* ---------- Category tab strip (under page hero) ---------- */

.category-tabs {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-tabs .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 12px;
  padding-bottom: 12px;
}

.category-tabs .container::-webkit-scrollbar {
  display: none;
}

.category-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-400);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.category-tabs a:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.category-tabs a.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), #0891b2);
  border-color: transparent;
}

/* ---------- Trademark note ---------- */

.tm-note {
  font-size: 0.78rem;
  color: var(--slate-600);
  padding-top: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .category-tabs .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .category-tabs a {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .site-header .brand-name {
    display: none;
  }

  .brand-lenovo {
    height: 22px;
  }
}
