/* =========================================================
   The Flying Eagle — Landing Page & Splash Styles
   Matches dark charcoal (#18181b) & metallic gold aesthetic
   ========================================================= */

.hero-splash {
  position: relative;
  overflow: hidden;
  background: #121215;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 4.5rem 1.5rem;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  opacity: 0.24;
  filter: grayscale(35%) contrast(1.1);
}

.hero-bg-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(24, 24, 27, 0.72) 0%, rgba(18, 18, 21, 0.96) 85%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5b94c;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  color: #fafafa;
  margin: 0 0 1rem;
}

.hero-content h1 span {
  color: #e5b94c;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #d4d4d8;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5b94c 0%, #c8962e 100%);
  color: #121215;
  font-weight: 700;
  padding: 0.85rem 1.65rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28);
}

.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 39, 42, 0.85);
  color: #fafafa;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-secondary-dark:hover {
  background: #27272a;
  border-color: #e5b94c;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.stat-pill {
  background: rgba(24, 24, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

.stat-pill strong {
  color: #e5b94c;
  margin-right: 0.25rem;
}

/* Sections */
.landing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 1rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.9rem;
}

.section-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5b94c;
  margin-bottom: 0.25rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.65rem;
  color: #fafafa;
}

.section-cta {
  color: #e5b94c;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.section-cta:hover {
  text-decoration: underline;
}

/* Hub Navigation Cards */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: #1f1f23;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.55);
}

.hub-card-media {
  position: relative;
  height: 165px;
  background: #121215;
}

.hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(18, 18, 21, 0.88);
  color: #e5b94c;
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
}

.hub-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem;
}

.hub-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  color: #fafafa;
}

.hub-card-body p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #a1a1aa;
  flex: 1;
}

.hub-link {
  color: #e5b94c;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Visual Showcase Mosaic */
.showcase-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.mosaic-item {
  position: relative;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  display: block;
}

.mosaic-wide {
  grid-column: span 2;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mosaic-item:hover img {
  transform: scale(1.04);
}

.mosaic-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(18, 18, 21, 0.95) 0%, rgba(18, 18, 21, 0.6) 65%, transparent 100%);
}

.mosaic-caption span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5b94c;
  margin-bottom: 0.2rem;
}

.mosaic-caption strong {
  color: #fafafa;
  font-size: 1rem;
}

/* Interactive Widgets Workbench */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.widget-card {
  display: flex;
  flex-direction: column;
  background: #1f1f23;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  padding: 1.35rem;
}

.widget-slot-card {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
}

.widget-header {
  margin-bottom: 0.65rem;
}

.widget-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #121215;
  background: #e5b94c;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
}

.widget-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #fafafa;
}

.widget-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #a1a1aa;
  margin: 0 0 1rem;
}

.widget-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d4d4d8;
  margin-bottom: 0.35rem;
}

.widget-select {
  width: 100%;
  background: #121215;
  color: #fafafa;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.widget-output {
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #e4e4e7;
  margin-bottom: 1rem;
  flex: 1;
}

.widget-output a {
  color: #e5b94c;
  text-decoration: none;
}

.widget-output a:hover {
  text-decoration: underline;
}

.widget-footer-link {
  color: #e5b94c;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.widget-footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .hero-bg-grid {
    grid-template-columns: 1fr;
  }
  .showcase-mosaic {
    grid-template-columns: 1fr;
  }
  .mosaic-wide {
    grid-column: span 1;
  }
}
