/* ==========================================================================
   HDC Suite - Home CSS
   Homepage specific styles & layout overrides
   ========================================================================== */

/* 1. Featured Card */
.featured-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), var(--bg) 55%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card, 14px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.featured-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
}

@media (max-width: 860px) {
  .featured-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* 2. Featured Body */
.featured-body .product-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  display: block;
}

.featured-body h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.featured-body p {
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* 3. Featured Points */
.featured-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}

.featured-points li {
  padding-left: 26px;
  position: relative;
  color: var(--text-2);
}

.featured-points li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* 4. Featured Facts */
.featured-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}

.fact {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(5, 9, 20, 0.5);
}

.fact strong {
  display: block;
  font-size: 1.35rem;
  color: var(--cyan);
  margin-bottom: 4px;
}

.fact span {
  font-size: 13px;
  color: var(--text-3);
}

/* 5. Section Sub */
.section-sub {
  color: var(--text-2);
  margin: 6px 0 28px;
  max-width: 640px;
}

/* 6. Product Group & Group Title */
.product-group {
  margin-top: 36px;
}

.product-group:first-of-type {
  margin-top: 0;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin: 0 0 16px;
}

.group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* 7. Product Card Soon State */
.product-group .product-card.is-soon {
  opacity: 0.75;
}

/* 8. CTA Band */
.cta-band .container {
  text-align: center;
  padding: 56px 24px;
  background: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.14), transparent 70%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card, 14px);
}

.cta-band h2 {
  margin: 0 0 10px;
}

.cta-band p {
  color: var(--text-2);
  margin: 0 auto 22px;
  max-width: 560px;
}

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

/* 9. Footer */
.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  width: 100%;
  flex: 1 0 100%;
}

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

.footer-brand p {
  margin: 12px 0 0;
  max-width: 320px;
  font-size: 14px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  width: 100%;
  flex: 1 0 100%;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

/* 10. Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .featured-card {
    transition: none;
    transform: none;
  }
}

/* 11. Overrides & Alignment Fixes */
.cta-band .container {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 1088px;
}

.site-footer {
  text-align: left;
}

.site-footer .container {
  align-items: flex-start;
  text-align: left;
}

.site-footer p {
  text-align: left;
}

.site-footer .footer-grid,
.site-footer .footer-brand,
.site-footer .footer-col,
.site-footer .footer-bottom {
  text-align: left;
}

.site-footer .footer-brand .brand {
  display: inline-block;
}

.site-footer .footer-brand p {
  margin: 12px 0 0;
  padding: 0;
  text-align: left;
}

.site-footer .footer-col ul {
  justify-items: start;
}

.site-footer .footer-bottom p {
  margin: 0;
}

