/* ============================================
   HOME PAGE — home.css
   ============================================ */

/* ── Hero ── */
.hero {
  min-height: 93vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem var(--pad-x) 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.45;
  pointer-events: none;
}
.hero-mountains {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 50vh;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.hero-mountains .range-back  { fill: #1b1b25; }
.hero-mountains .range-mid   { fill: #131319; }
.hero-mountains .range-front { fill: #0a0a0e; }
.hero-mountains .ridge       { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-mountains .ridge-soft  { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 1; vector-effect: non-scaling-stroke; }
/* Summit beacon — broadcasting pulse that reaches up into the page */
.hero-beacon-dot { fill: var(--red); }
.hero-beacon-arc { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-beacon-pulse {
  fill: none; stroke: var(--red); stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center;
  animation: hero-beacon 8s ease-out infinite;
}
.hero-beacon-pulse:nth-of-type(2) { animation-delay: 2.66s; }
.hero-beacon-pulse:nth-of-type(3) { animation-delay: 5.33s; }
@keyframes hero-beacon {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-beacon-pulse { animation: none; opacity: 0; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.8rem, 8.5vw, 8rem);
  line-height: 0.91;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 2rem;
  max-width: 900px;
}
.hero-headline em { font-style: normal; color: var(--red); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero-triad {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  max-width: 700px;
}
.triad-item { display: flex; flex-direction: column; gap: 4px; }
.triad-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--grey);
  text-transform: uppercase;
}
.triad-desc { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.02em; }
.triad-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* ── How It Works ── */
.hiw-section { background: var(--surface); border-bottom: 1px solid var(--border); }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
}
.hiw-card {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
}
.hiw-card:last-child { border-right: none; }
.hiw-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 5rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}
.hiw-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.hiw-title em { color: var(--red); font-style: normal; }
.hiw-body { font-size: 0.875rem; color: var(--grey); line-height: 1.75; font-weight: 300; }
.hiw-tag {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  border: 1px solid rgba(225,6,0,0.3);
  padding: 4px 10px;
  font-weight: 600;
}

/* ── Products ── */
.products-section { border-bottom: 1px solid var(--border); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
}
.product-card {
  background: var(--black);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
}
.product-card:hover { background: #0e0e0e; }
.product-card--coming { opacity: 0.65; }
.product-card--event { grid-column: span 1; }

.product-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--grey-dim);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.product-name span { color: var(--red); }
.product-desc {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 300;
  flex: 1;
}
.product-variants {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid var(--border);
  background: #0d0d0d;
  margin-bottom: 1.5rem;
}
.variant { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.variant-name {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.variant-detail { font-size: 0.7rem; color: var(--grey); }
.variant-divider { width: 1px; background: var(--border); }
.product-link {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: auto;
  transition: opacity 0.2s;
}
.product-link:hover { opacity: 0.75; }
.product-link--dim { opacity: 0.4; pointer-events: none; }

.products-cta { margin-top: 2.5rem; }

/* ── Sectors ── */
.sectors-section { background: var(--surface); border-bottom: 1px solid var(--border); }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
}
.sector-card {
  background: var(--surface);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}
.sector-card:hover { background: #151515; }
.sector-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--white);
  flex-shrink: 0;
}
.sector-icon svg { width: 20px; height: 20px; }
.sector-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.sector-body { font-size: 0.78rem; color: var(--grey); line-height: 1.65; font-weight: 300; flex: 1; }
.sector-link {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: auto;
}
.sector-link:hover { opacity: 0.75; }

/* ── Why Zenith ── */
.why-section { border-bottom: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.why-stats { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; margin-top: 2.75rem; }
.why-stats .stat { flex: 1 1 220px; }
.stat { border-left: 2px solid var(--red); padding-left: 1.5rem; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.8rem; color: var(--grey); margin-top: 0.4rem; line-height: 1.5; font-weight: 300; }
.why-right { display: flex; flex-direction: column; gap: 0; }
.why-point { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.why-point:first-child { padding-top: 0; }
.why-point:last-child { border-bottom: none; }
.why-point-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.why-point-body { font-size: 0.85rem; color: var(--grey); line-height: 1.75; font-weight: 300; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-card { border-right: none; border-bottom: 1px solid var(--border); }
  .hiw-card:last-child { border-bottom: none; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-triad { flex-wrap: wrap; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: clamp(3rem, 12vw, 4.5rem); }
}
