/* ══════════════════════════════════════════════
   UNIVERANCE LABS — Product Page Styles
   ══════════════════════════════════════════════ */

.green { color: #22C55E; }

/* ── Product Hero ── */
.product-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.product-hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 2rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 20px;
  background: rgba(34,197,94,0.05);
  color: #22C55E;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}
.product-badge .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.gold-badge {
  border-color: rgba(201,168,76,0.25);
  background: rgba(201,168,76,0.05);
  color: var(--gold);
}
.gold-badge .badge-dot { background: var(--gold); }

.product-hero h1 {
  font-family: var(--heading);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.product-hero p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 300;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  margin-top: 3rem;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--body);
  font-size: 2.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

/* ── Sentinel Hero ── */
.sentinel-hero {
  background: radial-gradient(ellipse at center, #060e06 0%, var(--black) 70%);
}
.sentinel-hero .stat-num { color: #22C55E; }

.radar-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-circle {
  position: absolute;
  border: 1px solid rgba(34,197,94,0.06);
  border-radius: 50%;
  width: 200px; height: 200px;
}
.radar-circle.rc2 { width: 350px; height: 350px; }
.radar-circle.rc3 { width: 500px; height: 500px; }
.radar-circle.rc4 { width: 650px; height: 650px; }
.radar-line {
  position: absolute;
  width: 325px; height: 2px;
  background: linear-gradient(90deg, rgba(34,197,94,0.4), transparent);
  transform-origin: left center;
  animation: sweep 5s linear infinite;
}

/* ── Eastworld Hero ── */
.eastworld-hero {
  background: radial-gradient(ellipse at center, #08080e 0%, var(--black) 70%);
}
.eastworld-hero .stat-num { color: var(--gold); }

.stars { position: absolute; inset: 0; }
.stars .star {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--white);
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite alternate;
  opacity: var(--op, 0.5);
}
@keyframes twinkle {
  from { opacity: 0.15; }
  to { opacity: var(--op, 0.7); }
}

.ew-planet-hero {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a3a2a, #050a08);
  box-shadow: 0 0 80px rgba(5,150,105,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
}

/* ── Product Sections ── */
.product-section {
  padding: 5rem 4rem;
  max-width: 1050px;
  margin: 0 auto;
}

/* ── Engine Grid (Sentinel) ── */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.engine-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
}
.engine-card:hover {
  border-color: var(--accent, var(--green));
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.engine-icon {
  width: 36px; height: 36px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.engine-icon svg {
  width: 28px; height: 28px;
  stroke-width: 1.5;
  color: var(--accent, var(--green));
}
.engine-card h3 {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}
.engine-card p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
  font-weight: 300;
}

/* ── Feature Grid (Eastworld) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: default;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.feature-icon {
  width: 36px; height: 36px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.feature-icon svg {
  width: 28px; height: 28px;
  stroke-width: 1.5;
}
.feature-card h3 {
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Threat Feed (Sentinel) ── */
.threat-feed {
  max-width: 580px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  background: var(--surface);
}
.feed-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #EF4444;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.threat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 0.8rem;
}
.threat-item:last-child { border-bottom: none; }

.severity {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border: 1px solid;
  border-radius: 3px;
  flex-shrink: 0;
}
.critical .severity { color: #EF4444; border-color: rgba(239,68,68,0.25); background: rgba(239,68,68,0.06); }
.high .severity { color: #F97316; border-color: rgba(249,115,22,0.25); background: rgba(249,115,22,0.06); }
.medium .severity { color: #EAB308; border-color: rgba(234,179,8,0.25); background: rgba(234,179,8,0.06); }
.low .severity { color: #3B82F6; border-color: rgba(59,130,246,0.25); background: rgba(59,130,246,0.06); }

.threat-title { flex: 1; color: var(--white-dim); font-weight: 400; }
.threat-time { color: var(--gray-muted); font-variant-numeric: tabular-nums; flex-shrink: 0; font-size: 0.75rem; }

/* ── Steps (Eastworld) ── */
.steps {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s var(--ease);
}
.step:hover { border-color: var(--gold); }

.step-num {
  font-family: var(--heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  padding-top: 0.2rem;
  flex-shrink: 0;
}
.step-content h3 {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.step-content p {
  color: var(--gray);
  line-height: 1.65;
  font-size: 0.92rem;
  font-weight: 300;
}

/* ── Quote ── */
.quote-section {
  text-align: center;
  max-width: 650px;
}
blockquote {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  background: var(--surface);
  position: relative;
}
blockquote::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--heading);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}
blockquote p {
  font-family: var(--heading);
  font-size: 1.05rem;
  color: var(--white-dim);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
blockquote cite {
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
}

/* ── Pricing Grid ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-2px); }
.price-card.featured {
  border-color: rgba(34,197,94,0.4);
  background: linear-gradient(180deg, rgba(34,197,94,0.04) 0%, var(--surface) 100%);
}
.price-card.ew-featured {
  border-color: rgba(201,168,76,0.4);
  background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, var(--surface) 100%);
}

.price-card h3 {
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.price {
  font-family: var(--body);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.price span {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 400;
}
.featured .price { color: #22C55E; }
.ew-featured .price { color: var(--gold); }

.price-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}
.price-card li {
  padding: 0.4rem 0;
  font-size: 0.82rem;
  color: var(--gray);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.price-card li::before {
  content: '';
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.ew-featured li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.price-card .cta {
  text-align: center;
  justify-content: center;
  margin-top: auto;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .product-section { padding: 3rem 1.5rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .stat-num { font-size: 1.6rem; }
  .step { flex-direction: column; gap: 0.75rem; }
  .engine-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  blockquote { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .engine-grid { grid-template-columns: 1fr; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .badge-dot,
  .pulse-dot { animation: none; opacity: 1; }
  .radar-line { animation: none; }
  .stars .star { animation: none; }
}
