/* ============================================================
   PGX Framework — Satellite Framework Pages
   Hero · Features · Specs · Built on Core · Use Cases · Gallery
   ============================================================ */

/* ===== FRAMEWORK HERO (shorter than home) ===== */
.fw-hero {
  min-height: 50vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 70px;
  text-align: center;
}

.fw-hero .hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, color-mix(in srgb, var(--fw-primary) 10%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, color-mix(in srgb, var(--fw-secondary) 6%, transparent) 0%, transparent 60%);
  z-index: 0;
}

.fw-hero .hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--fw-primary) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--fw-primary) 4%, transparent) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
  z-index: 0;
}

.fw-hero-content {
  position: relative; z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.fw-hero-content .hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 0.8rem; font-weight: 600;
  background: color-mix(in srgb, var(--fw-primary) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--fw-primary) 30%, transparent);
  color: var(--fw-primary);
  margin-bottom: 20px;
  animation: badgeGlow 3s ease-in-out infinite;
}

.fw-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  background: var(--fw-gradient, linear-gradient(135deg, var(--fw-primary, #7f00ff), var(--fw-secondary, #00bcd4)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fw-hero-content .fw-tagline-hero {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.fw-hero-content .hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center;
}

/* Hero layout — single centered column (placeholders hidden) */
.fw-hero-layout {
  display: block;
}

.fw-hero-visual {
  display: none;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px color-mix(in srgb, var(--fw-primary) 15%, transparent);
  border-color: var(--fw-primary);
}

.feature-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.feature-card-img .placeholder-img {
  border-radius: 0;
  border: none;
  height: 100%;
}

.feature-card-body {
  padding: 20px;
}

.feature-card-body h4 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 8px;
}

.feature-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== SPECS TABLE ===== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.specs-table th {
  text-align: left;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--fw-secondary);
  border-bottom: 2px solid var(--border-glass);
  width: 40%;
}

.specs-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.specs-table tr:hover td {
  background: color-mix(in srgb, var(--fw-primary) 4%, transparent);
}

/* ===== BUILT ON CORE ===== */
.core-systems-used {
  display: flex; gap: 12px; flex-wrap: wrap;
}

.core-system-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--border-glass);
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}

.core-system-tag:hover {
  border-color: var(--fw-primary);
  color: var(--text-primary);
}

.core-system-tag .sys-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== USE CASE CARDS ===== */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-top: 3px solid var(--fw-primary);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px color-mix(in srgb, var(--fw-primary) 15%, transparent);
}

.usecase-card h4 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 8px;
}

.usecase-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
}
