/* ==========================================================================
   NRG Hub — /nrg/ landing page
   The energy layer of the BLOND:ISH ecosystem.
   ========================================================================== */

/* ── Hero ───────────────────────────────────────────────────────────────── */
.nrg-hub-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%, rgba(234,255,43,0.08) 0%, transparent 60%),
              linear-gradient(180deg, #000 0%, #0a0a0a 100%);
}

.nrg-hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(234,255,43,0.03) 2px,
    rgba(234,255,43,0.03) 4px
  );
  pointer-events: none;
}

.nrg-ticker {
  display: inline-block;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #EAFF2B;
  text-shadow: 0 0 60px rgba(234,255,43,0.3), 0 0 120px rgba(234,255,43,0.1);
}

.nrg-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.6;
}

/* ── Utility cards ──────────────────────────────────────────────────────── */
.nrg-utility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.nrg-utility-card {
  background: rgba(234,255,43,0.04);
  border: 1px solid rgba(234,255,43,0.12);
  border-radius: 0;
  padding: 2rem 1.5rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nrg-utility-card:hover {
  border-color: rgba(234,255,43,0.35);
  background: rgba(234,255,43,0.07);
}

.nrg-utility-card h3 {
  color: #EAFF2B;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.nrg-utility-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ── How it works steps ─────────────────────────────────────────────────── */
.nrg-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.nrg-step {
  counter-increment: step;
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  border-top: 2px solid #EAFF2B;
}

.nrg-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(234,255,43,0.15);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: var(--wp--preset--font-family--heading);
}

.nrg-step h3 {
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.nrg-step p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Flywheel / Vortex diagram ──────────────────────────────────────────── */
.nrg-vortex {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.nrg-vortex-node {
  flex: 0 0 auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #EAFF2B;
  position: relative;
  font-family: var(--wp--preset--font-family--heading);
}

.nrg-vortex-node::after {
  content: '→';
  color: rgba(234,255,43,0.3);
  margin-left: 0.5rem;
}

.nrg-vortex-node:last-child::after {
  content: '↻';
  color: rgba(234,255,43,0.5);
}

/* ── Ecosystem links ────────────────────────────────────────────────────── */
.nrg-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.nrg-ecosystem-link {
  display: block;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.nrg-ecosystem-link:hover {
  border-color: #EAFF2B;
  background: rgba(234,255,43,0.04);
}

.nrg-ecosystem-link strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nrg-ecosystem-link span {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.nrg-faq details {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}

.nrg-faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--wp--preset--font-family--heading);
}

.nrg-faq summary::after {
  content: '+';
  color: #EAFF2B;
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s;
}

.nrg-faq details[open] summary::after {
  content: '−';
}

.nrg-faq summary::-webkit-details-marker {
  display: none;
}

.nrg-faq details p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.75rem 0 0;
  padding-right: 2rem;
}

/* ── CTA buttons ────────────────────────────────────────────────────────── */
.nrg-cta-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #EAFF2B;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  transition: background 0.3s, transform 0.2s;
  font-family: var(--wp--preset--font-family--heading);
}

.nrg-cta-primary:hover {
  background: #d4e825;
  transform: translateY(-1px);
}

.nrg-cta-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: #EAFF2B;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid #EAFF2B;
  transition: background 0.3s, color 0.3s;
  font-family: var(--wp--preset--font-family--heading);
}

.nrg-cta-secondary:hover {
  background: rgba(234,255,43,0.1);
}

/* ── Section headers ────────────────────────────────────────────────────── */
.nrg-section-label {
  color: #EAFF2B;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-family: var(--wp--preset--font-family--heading);
}

/* ── Zine grid at bottom ────────────────────────────────────────────────── */
.nrg-zine-section .wp-block-post-featured-image img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nrg-utility-grid,
  .nrg-steps,
  .nrg-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .nrg-ticker {
    font-size: 4rem;
  }
}
