/* ============================================================
   USA Clean — Homepage Styles
   ============================================================ */

/* --- Hero --- */
.home-hero {
  background: linear-gradient(165deg, #081857 0%, var(--color-brand) 100%);
  padding: var(--space-12) 0 var(--space-10);
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 110% 50%, rgba(239,170,34,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.home-hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-12);
  align-items: start;
}
.home-hero__greeting {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.home-hero__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.home-hero__sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--space-6);
}
.home-hero__ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

/* Stats row */
.home-hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.home-hero__stat {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  text-align: center;
}
.home-hero__stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.home-hero__stat-value {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: #fff;
  line-height: 1;
}
.home-hero__stat-label {
  display: block;
  font-size: var(--text-2xs);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--space-1);
}

/* --- Smart Replenish Panel --- */
.replenish-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.replenish-panel__header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.replenish-panel__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}
.replenish-panel__title {
  font-size: var(--text-md);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}
.replenish-panel__arrives {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand);
  background: rgba(0,33,166,0.07);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.replenish-items { padding: var(--space-3) 0; }
.replenish-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}
.replenish-item:last-child { border-bottom: none; }
.replenish-item__img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-subtle);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}
.replenish-item__info { flex: 1; min-width: 0; }
.replenish-item__name {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 2px;
}
.replenish-item__sku { font-size: var(--text-2xs); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.replenish-item__bar {
  height: 3px;
  background: var(--color-bg-muted);
  border-radius: 2px;
  margin-bottom: 4px;
  overflow: hidden;
}
.replenish-item__bar-fill { height: 100%; border-radius: 2px; transition: width 0.4s ease; }
.replenish-item__right { text-align: right; flex-shrink: 0; }
.replenish-item__qty { font-size: var(--text-2xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.replenish-item__price { font-size: var(--text-sm); font-weight: var(--font-weight-bold); color: var(--color-text); }
.replenish-panel__footer {
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-subtle);
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.replenish-panel__footer .btn-ghost { flex-shrink: 0; }

/* --- Value Props --- */
.value-props {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.value-prop {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  border-right: 1px solid var(--color-border);
}
.value-prop:last-child { border-right: none; }
.value-prop__icon {
  width: 40px;
  height: 40px;
  background: rgba(0,33,166,0.07);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
}
.value-prop__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 1.3;
}
.value-prop__desc { font-size: var(--text-2xs); color: var(--color-text-subtle); margin-top: 2px; }

/* --- Section --- */
.home-section { padding: var(--space-12) 0; }

/* --- Equipment Thumbnail --- */
.equipment-row { padding-bottom: var(--space-3); }
.equipment-thumb {
  width: 160px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
  flex-shrink: 0;
}
.equipment-thumb:hover { box-shadow: var(--shadow-md); border-color: var(--color-brand); transform: translateY(-2px); }
.equipment-thumb__img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.equipment-thumb__attn-badge {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: var(--color-accent);
  color: #131313;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
}
.equipment-thumb__body { padding: var(--space-3); }
.equipment-thumb__brand { font-size: 10px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.equipment-thumb__model { font-size: var(--text-sm); font-weight: var(--font-weight-bold); color: var(--color-text); margin-top: 2px; }
.equipment-thumb__status { margin-top: var(--space-2); }

/* --- Bundle Cards --- */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.bundle-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}
.bundle-card:hover { box-shadow: var(--shadow-lg); border-color: var(--color-brand); transform: translateY(-2px); }
.bundle-card__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-accent) 100%);
}
.bundle-card__body { padding: var(--space-6); flex: 1; }
.bundle-card__title { font-size: var(--text-md); font-weight: var(--font-weight-bold); color: var(--color-text); margin-bottom: var(--space-2); line-height: 1.3; }
.bundle-card__desc { font-size: var(--text-xs); color: var(--color-text-subtle); line-height: 1.5; margin-bottom: var(--space-5); }
.bundle-card__pricing { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-2); }
.bundle-card__price { font-size: var(--text-2xl); font-weight: var(--font-weight-bold); color: var(--color-text); }
.bundle-card__period { font-size: var(--text-xs); color: var(--color-text-subtle); }
.bundle-card__save {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-success);
}
.bundle-card__footer { padding: 0 var(--space-6) var(--space-6); }

/* --- Brand Grid --- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--space-3);
}
.brand-tile {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-subtle);
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}
.brand-tile:hover { border-color: var(--color-brand); color: var(--color-brand); background: rgba(0,33,166,0.04); }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .replenish-panel { max-width: 520px; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .value-props__grid { grid-template-columns: repeat(2, 1fr); }
  .value-prop { border-bottom: 1px solid var(--color-border); }
}
@media (max-width: 768px) {
  .bundles-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .home-hero__stats { flex-wrap: wrap; }
}
