/* =========================================================
   GEARHUB — HOMEPAGE PREMIUM POLISH
   Refines only the hero banner and category collection cards.
   Light Theme / Emerald Green. No JS or database changes.
   ========================================================= */

/* HERO: editorial composition with layered mint light and product stage */
.hero-section {
  padding-top: 34px !important;
  padding-bottom: 58px !important;
}

.hero-shell {
  min-height: 520px !important;
  padding: 58px 54px 38px !important;
  border-radius: 28px !important;
  border-color: rgba(18, 154, 91, .19) !important;
  background:
    radial-gradient(ellipse at 76% 53%, rgba(29, 216, 130, .19) 0%, rgba(29,216,130,0) 37%),
    radial-gradient(ellipse at 4% 4%, rgba(193, 247, 215, .76) 0%, rgba(193,247,215,0) 36%),
    radial-gradient(ellipse at 100% 100%, rgba(204, 248, 222, .70) 0%, rgba(204,248,222,0) 34%),
    linear-gradient(116deg, #effaf3 0%, #ffffff 46%, #eaf9f0 100%) !important;
  box-shadow: 0 26px 70px rgba(29, 87, 51, .085), inset 0 1px 0 rgba(255,255,255,.95) !important;
}

.hero-shell::before {
  opacity: .46 !important;
  background-image:
    linear-gradient(rgba(23, 139, 79, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 139, 79, .055) 1px, transparent 1px) !important;
  background-size: 38px 38px !important;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.65) 38%, black 100%) !important;
}

.hero-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 430px;
  height: 430px;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(22, 167, 93, .10);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(22,167,93,.025), 0 0 0 52px rgba(22,167,93,.018), inset 0 0 55px rgba(22,200,120,.045);
  pointer-events: none;
}

.hero-copy { max-width: 555px !important; }
.hero-copy h1 {
  max-width: 570px;
  font-size: clamp(44px, 5.55vw, 76px) !important;
  line-height: .99 !important;
  letter-spacing: -.072em !important;
  text-wrap: balance;
}
.hero-kicker {
  margin-top: 33px !important;
  color: #63796b !important;
  letter-spacing: .22em !important;
}
.hero-description {
  max-width: 420px !important;
  margin-top: 22px !important;
  color: #596d60 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}
.hero-actions { gap: 13px !important; }
.hero-actions .button { min-height: 48px !important; padding-inline: 20px !important; border-radius: 11px !important; }
.hero-proof-row {
  gap: clamp(16px, 2.4vw, 32px) !important;
  margin-top: 54px !important;
  padding-top: 20px !important;
  border-top-color: rgba(28, 93, 52, .13) !important;
}
.hero-proof strong { font-size: 21px !important; }
.hero-proof span { color: #65776b !important; font-size: 10px !important; }

.hero-art-wrap {
  min-height: 420px !important;
  isolation: isolate;
}
.hero-art-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(88%, 490px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.94) 0 28%, rgba(220,249,231,.78) 47%, rgba(183,241,207,.22) 63%, transparent 72%);
  border: 1px solid rgba(23, 171, 97, .11);
  box-shadow: 0 20px 65px rgba(25, 139, 78, .09), inset 0 0 65px rgba(255,255,255,.72);
}
.hero-art-wrap::after {
  content: "PRECISION  /  CONTROL  /  COMFORT";
  position: absolute;
  right: 7%;
  bottom: 18px;
  color: rgba(35, 105, 65, .54);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .19em;
  white-space: nowrap;
}
.hero-glow {
  width: 470px !important;
  height: 320px !important;
  background: rgba(25, 207, 124, .20) !important;
  filter: blur(88px) !important;
}
.hero-art {
  width: min(106%, 680px) !important;
  transform: translate(15px, 2px) scale(1.035) !important;
  filter: drop-shadow(0 34px 32px rgba(20, 75, 43, .22)) !important;
}
.hero-floating-card {
  border-radius: 12px !important;
  border-color: rgba(30, 113, 67, .15) !important;
  box-shadow: 0 16px 35px rgba(27, 80, 47, .12) !important;
  backdrop-filter: blur(14px) !important;
}
.floating-card-top { top: 28px !important; right: 6px !important; padding: 11px 14px !important; }
.floating-card-bottom { bottom: 55px !important; left: -2px !important; padding: 11px 14px !important; }
.hero-slide-controls { bottom: 1px !important; }
.hero-dot { width: 7px !important; height: 7px !important; }
.hero-dot.is-active { width: 25px !important; }
.hero-index { bottom: 22px !important; right: 25px !important; }

/* CATEGORY COLLECTION: larger, richer cards with individual visual treatments */
.category-strip {
  padding-top: 30px !important;
  padding-bottom: 82px !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(22,200,120,.045), transparent 58%),
    #f7faf8 !important;
}
.section-heading-compact { margin-bottom: 27px !important; }
.section-heading-compact h2 { font-size: clamp(30px, 3.5vw, 42px) !important; letter-spacing: -.065em !important; }
.section-heading-compact .section-overline { letter-spacing: .2em !important; }
.category-grid { gap: 15px !important; }
.category-card {
  min-height: 224px !important;
  padding: 17px 17px 16px !important;
  border-radius: 18px !important;
  border-color: rgba(28, 96, 55, .12) !important;
  background: linear-gradient(150deg, #fff 0%, #f7fbf8 66%, #eff9f3 100%) !important;
  box-shadow: 0 11px 30px rgba(24, 72, 42, .055), inset 0 1px 0 rgba(255,255,255,.95) !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}
.category-card::before {
  content: "";
  position: absolute;
  width: 138px;
  height: 138px;
  right: -54px;
  top: -58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,211,129,.16), rgba(36,211,129,0) 70%);
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: none;
}
.category-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(22, 175, 99, .40) !important;
  background: linear-gradient(150deg, #fff 0%, #f0fbf4 100%) !important;
  box-shadow: 0 22px 42px rgba(24, 92, 51, .11), inset 0 1px 0 #fff !important;
}
.category-card:hover::before { transform: scale(1.35); }
.category-number {
  width: fit-content;
  min-width: 29px;
  padding: 5px 7px;
  border: 1px solid rgba(30, 126, 70, .12);
  border-radius: 7px;
  background: rgba(239, 249, 242, .9);
  color: #6c8977 !important;
  font-size: 9px !important;
  font-weight: 800;
  letter-spacing: .13em;
}
.category-art {
  height: 105px !important;
  margin: 1px 0 7px;
  display: grid !important;
  place-items: center;
  isolation: isolate;
}
.category-art::before {
  width: 108px !important;
  height: 78px !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse, rgba(37,210,126,.17), rgba(37,210,126,.035) 56%, transparent 73%) !important;
  filter: blur(11px) !important;
}
.category-art::after {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(22, 159, 88, .14);
  border-radius: 23px;
  transform: rotate(8deg);
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(228,248,236,.48));
  box-shadow: 0 9px 22px rgba(26, 109, 60, .06), inset 0 1px 0 #fff;
  z-index: -1;
  transition: transform .28s ease, border-radius .28s ease, box-shadow .28s ease;
}
.category-card:hover .category-art::after {
  transform: rotate(0deg) scale(1.08);
  border-radius: 25px;
  box-shadow: 0 14px 27px rgba(26, 109, 60, .10), inset 0 1px 0 #fff;
}
.category-art span {
  color: #118653 !important;
  font-size: 47px !important;
  font-weight: 500 !important;
  text-shadow: 0 8px 18px rgba(22, 160, 91, .14) !important;
  transition: transform .28s ease;
}
.category-card:hover .category-art span { transform: translateY(-3px) scale(1.08); }
.category-art-2 span { transform: rotate(-18deg); }
.category-card:hover .category-art-2 span { transform: rotate(-18deg) translateY(-3px) scale(1.08); }
.category-art-3 span { font-size: 53px !important; }
.category-card-bottom { margin-top: auto !important; gap: 8px !important; }
.category-card-bottom strong { color: #20372a !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: -.015em; }
.category-arrow {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  border: 1px solid rgba(22, 167, 93, .18);
  border-radius: 50%;
  color: #0b9657 !important;
  background: rgba(230, 249, 238, .78);
  font-size: 14px !important;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.category-card:hover .category-arrow { color: #fff !important; background: #16b96c; transform: translate(2px,-2px); }
.category-card-desc {
  max-width: 100%;
  margin-top: 7px !important;
  color: #73857a !important;
  font-size: 9px !important;
  line-height: 1.45;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Slightly vary the category card tint without changing the database-driven labels */
.category-card:nth-child(2) { background: linear-gradient(150deg,#fff 0%,#f2f9fc 100%) !important; }
.category-card:nth-child(3) { background: linear-gradient(150deg,#fff 0%,#f5f4fc 100%) !important; }
.category-card:nth-child(4) { background: linear-gradient(150deg,#fff 0%,#f2faf9 100%) !important; }
.category-card:nth-child(5) { background: linear-gradient(150deg,#fff 0%,#f4f8ff 100%) !important; }
.category-card:nth-child(6) { background: linear-gradient(150deg,#fff 0%,#f2faf5 100%) !important; }

/* Responsive adjustments */
@media (max-width: 1100px) {
  .hero-shell { min-height: 490px !important; padding: 44px 38px 32px !important; }
  .hero-art-wrap { min-height: 360px !important; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 680px) {
  .hero-section { padding-top: 17px !important; padding-bottom: 38px !important; }
  .hero-shell { padding: 29px 20px 24px !important; border-radius: 19px !important; }
  .hero-copy h1 { font-size: clamp(39px, 11vw, 54px) !important; }
  .hero-kicker { margin-top: 22px !important; }
  .hero-description { font-size: 12px !important; }
  .hero-proof-row { gap: 12px !important; margin-top: 31px !important; }
  .hero-proof strong { font-size: 17px !important; }
  .hero-proof span { font-size: 8px !important; }
  .hero-art-wrap { min-height: 245px !important; margin: 7px -7px 0 !important; }
  .hero-art-wrap::after { display: none; }
  .hero-art-wrap::before { width: 80%; }
  .hero-art { width: 100% !important; transform: none !important; }
  .floating-card-top { top: 8px !important; right: 0 !important; }
  .floating-card-bottom { bottom: 23px !important; left: 0 !important; }
  .hero-index { right: 17px !important; bottom: 13px !important; }
  .category-strip { padding-bottom: 52px !important; }
  .section-heading-compact { align-items: flex-start !important; }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important; }
  .category-card { min-height: 194px !important; padding: 12px !important; border-radius: 15px !important; }
  .category-art { height: 82px !important; }
  .category-art::after { width: 62px; height: 62px; border-radius: 18px; }
  .category-art span { font-size: 39px !important; }
  .category-art-3 span { font-size: 45px !important; }
  .category-card-bottom strong { font-size: 10px !important; }
  .category-card-desc { font-size: 8px !important; }
}
