/* ==========================================================================
   Homepage-specific styles
   Loaded only on front page.
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  background: var(--c-anthracite);
  color: #fff;
  padding: 96px 0 112px;
  position: relative;
  overflow: hidden;
  margin: 0;
}

/* Subtle grid pattern overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 201, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 201, 60, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-brackets {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(157, 201, 60, 0.12);
  color: var(--c-lime);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
  margin-bottom: 32px;
}
.hero-eyebrow::before { content: "▸"; }

.hero h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-lime);
  font-weight: 600;
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin-bottom: 0;
}

.hero-cta-row {
  margin-top: 28px;
}

/* Stats — compact, single-line labels */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  padding-top: 0;
  border-top: none;
  max-width: 720px;
}
.hero-stat-num {
  font-family: var(--f-mono);
  font-size: 44px;
  font-weight: 500;
  color: var(--c-lime);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  font-family: var(--f-sans);
  white-space: nowrap;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust {
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border);
  padding: 20px 0;
}
.trust-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 0 0 auto;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--c-anthracite);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-lime);
  flex-shrink: 0;
}
.trust-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.trust-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-anthracite);
  margin-bottom: 1px;
}
.trust-item p {
  font-size: 11px;
  color: var(--c-steel);
  font-family: var(--f-mono);
}

/* ==========================================================================
   CATEGORIES GRID
   ========================================================================== */

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

.cat-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 160px;
}
.cat-card:hover {
  border-color: var(--c-anthracite);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--c-lime);
  transition: width 0.3s ease;
}
.cat-card:hover::after { width: 100%; }

.cat-card.featured {
  background: var(--c-anthracite);
  color: #fff;
  border-color: var(--c-anthracite);
}
.cat-card.featured .cat-meta { color: var(--c-lime); }
.cat-card.featured .cat-icon {
  background: rgba(157, 201, 60, 0.15);
  color: var(--c-lime);
}

.cat-icon {
  width: 44px;
  height: 44px;
  background: var(--c-bg-cool);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-anthracite);
}
.cat-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}
.cat-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.cat-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-steel);
  margin-top: auto;
}
.cat-card .arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-family: var(--f-mono);
  color: var(--c-lime);
}
.cat-card:hover .arrow { opacity: 1; }
.cat-card.featured .arrow { opacity: 0.6; }

/* ==========================================================================
   BENEFITS BAND
   ========================================================================== */

.benefits {
  background: var(--c-bg-cool);
  padding: 64px 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.benefits-text h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-anthracite);
  margin-bottom: 16px;
  line-height: 1.15;
}
.benefits-text h2 em {
  color: var(--c-lime-dark);
  font-style: normal;
}
.benefits-text p {
  font-size: 15px;
  color: var(--c-graphite);
  line-height: 1.65;
  margin-bottom: 20px;
}
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefits-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--c-graphite);
}
.benefits-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--c-lime);
  color: var(--c-anthracite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.benefits-visual {
  background: var(--c-anthracite);
  border-radius: var(--r-xl);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.benefits-visual::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(157, 201, 60, 0.15);
  border-radius: 50%;
}
.benefits-visual::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(157, 201, 60, 0.10);
  border-radius: 50%;
}
.bv-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-lime);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.bv-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}
.bv-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.55;
  font-size: 14px;
  position: relative;
  z-index: 2;
}
.bv-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-lime);
  color: var(--c-anthracite);
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
  position: relative;
  z-index: 2;
}
.bv-cta:hover { background: var(--c-lime-light); }

/* ==========================================================================
   BRANDS
   ========================================================================== */

.brands {
  padding: 48px 0;
  border-top: 1px solid var(--c-border);
}
.brands-head {
  text-align: center;
  margin-bottom: 32px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-steel);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brands-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.brand-logo {
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-graphite);
  opacity: 0.7;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
  text-decoration: none;
}
.brand-logo:hover {
  opacity: 1;
  color: var(--c-anthracite);
}

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

@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 15px; }
  .hero-stat-num { font-size: 32px; }
  .hero-stats { gap: 24px; margin-top: 40px; }
  .brands-list { gap: 20px; justify-content: center; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 26px; }
  .hero p.lead { font-size: 14px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
  .hero-stat:nth-child(3) { display: none; } /* hide 3rd stat on narrow phones */
  .hero-stat-num { font-size: 24px; }
  .hero-stat-label { font-size: 11px; white-space: normal; }
  .cat-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
