/* ============================================================
   ELYRA ZEN — PRODUCTS PAGE STYLES
============================================================ */

/* ── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) var(--gutter) 5rem;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  animation: fadeUp 0.8s ease both;
}

.page-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-content h1 { margin-bottom: 1.2rem; }

.page-hero-content .hero-sub {
  font-size: 1.05rem;
  color: var(--mid-grey);
  max-width: 54ch;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-badge {
  flex-shrink: 0;
}

.badge-inner {
  background: var(--gold-pale);
  border: 1px solid rgba(184,150,62,0.3);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.8rem;
  text-align: center;
}
.badge-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
  display: block;
  margin-bottom: 0.6rem;
}
.badge-logos {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gold);
  flex-wrap: wrap;
  justify-content: center;
}
.badge-dot { color: var(--light-grey); }

/* ── PRODUCT SECTIONS ───────────────────────────────────── */
.product-section {
  padding: 7rem 0;
  border-top: 1px solid var(--paper);
}
.product-section--alt {
  background: var(--off-white);
}
.product-section--dark {
  background: var(--charcoal);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.product-layout--reversed .product-visual { order: 2; }
.product-layout--reversed .product-info  { order: 1; }

/* Product Visual */
.product-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.product-mockup {
  width: 320px; height: 320px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 1rem;
}

.light-mockup  { background: radial-gradient(circle, #FFF9EC, #F5EDD8, #EDE0C0); box-shadow: 0 0 80px rgba(255,220,100,0.2); }
.lock-mockup   { background: radial-gradient(circle, #F0F0F0, #E2E2E2, #C8C5BE); box-shadow: 0 0 80px rgba(100,100,100,0.1); }
.motor-mockup  { background: radial-gradient(circle, #EFF3F5, #D0DDE6, #B8CAD8); box-shadow: 0 0 80px rgba(100,150,180,0.15); }
.cctv-mockup   { background: radial-gradient(circle, #F2EFF5, #D8D0E2, #C0B4D4); box-shadow: 0 0 80px rgba(120,100,160,0.12); }
.hub-mockup-dark { background: radial-gradient(circle, #2A2A2A, #1A1A1A, #0D0D0D); box-shadow: 0 0 80px rgba(184,150,62,0.25); border: 1px solid rgba(184,150,62,0.2); }

.mockup-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,220,80,0.15), transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
}

.placeholder-icon.large { font-size: 4rem; color: rgba(184,150,62,0.5); }
.hub-icon { color: var(--gold) !important; font-size: 4rem; }

.mockup-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.hub-label { color: rgba(255,255,255,0.4); }

/* Hub rings */
.hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,150,62,0.2);
  animation: expandRing 3s ease-out infinite;
}
.hub-ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.hub-ring-2 { width: 120%; height: 120%; animation-delay: 0.8s; }
.hub-ring-3 { width: 140%; height: 140%; animation-delay: 1.6s; }

/* Product Chips */
.product-chip {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184,150,62,0.2);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  text-align: center;
  min-width: 90px;
}
.product-chip span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  display: block;
}
.product-chip small {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.product-chip--dark {
  background: rgba(30,30,30,0.9);
  border-color: rgba(184,150,62,0.3);
}
.product-chip--dark small { color: rgba(255,255,255,0.4); }

/* Product Info */
.product-info {
  margin-left: 100px;
}

.product-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(184,150,62,0.12);
  line-height: 1;
  display: block;
  margin-bottom: -1rem;
}
.product-number--light { color: rgba(184,150,62,0.2); }

.text-light { color: var(--white); }
.text-light em { color: var(--gold-light); }

.body-text--light { color: rgba(255,255,255,0.55); }

.product-info .section-headline { margin-bottom: 1.4rem; margin-top: 0.4rem; }
.product-info .body-text { margin-bottom: 2rem; }

.product-features {
  list-style: none;
  margin-bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.product-features--light li { color: rgba(255,255,255,0.7); }
.feat-dot {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ── CONNECTIVITY DIAGRAM ───────────────────────────────── */
.connectivity {
  padding: 8rem 0;
  background: var(--off-white);
  overflow: hidden;
}
.connectivity .section-headline { margin-bottom: 4rem; }

.conn-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.conn-hub {
  grid-column: 2;
  position: relative;
  width: 140px; height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.conn-hub-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.conn-hub-inner small { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.conn-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,150,62,0.2);
  animation: expandRing 3s ease-out infinite;
}
.conn-ring-1 { width: 170px; height: 170px; animation-delay: 0s; }
.conn-ring-2 { width: 210px; height: 210px; animation-delay: 1s; }

.conn-nodes {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.conn-node {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--gold);
  line-height: 1.4;
  transition: var(--transition-fast);
  animation: fadeUp 0.5s ease calc(var(--i) * 0.1s) both;
}
.conn-node:hover { border-color: var(--gold); transform: scale(1.04); }
.conn-node small { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid-grey); display: block; }

.conn-apps {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.conn-app {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  transition: var(--transition-fast);
}
.conn-app:hover { border-left-color: var(--gold-light); background: var(--gold-pale); }

/* ── KEYFRAMES ──────────────────────────────────────────── */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.05); }
}
@keyframes expandRing {
  0%   { opacity: 0.6; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.15); }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-badge { display: none; }
  .product-layout { grid-template-columns: 1fr; gap: 3rem; }
  .product-layout--reversed .product-visual,
  .product-layout--reversed .product-info { order: unset; }
  .product-visual { min-height: 280px; }
  .product-mockup { width: 240px; height: 240px; }
  .conn-diagram { grid-template-columns: 1fr; justify-items: center; gap: 2rem; }
  .conn-nodes { grid-column: 1; }
  .conn-apps { grid-column: 1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .product-chip { display: none; }
}