/* DesignHub styles extracted from the SFC to keep component modules below 600 lines. */
.hub-container {
  background-color: #050912;
  color: #f1f5f9;
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.text-gold {
  color: #d4af37 !important;
}

/* Header */
.hub-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(11, 25, 44, 0.4);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand strong {
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.05em;
  display: block;
  overflow-wrap: anywhere;
}

.brand small {
  font-size: 0.72rem;
  color: #d4af37;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ministerial-seal {
  font-size: 0.7rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.15em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.02);
}

.hub-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hub-nav a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.hub-nav a:hover {
  border-color: rgba(212, 175, 55, 0.45);
  color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .ministerial-seal {
    display: none;
  }
  .hub-nav {
    justify-content: center;
  }
}

/* Hero */
.hub-hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-glow {
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.dg-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  margin-bottom: 0.8rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-lead {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 48rem;
  margin: 1.5rem auto 0;
  line-height: 1.6;
  text-wrap: balance;
}

.command-panel {
  position: relative;
  margin: 4rem auto 0;
  max-width: 64rem;
  background: rgba(11, 25, 44, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
}

.grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 3rem;
  gap: 2rem;
  text-align: center;
}

.stat-col {
  display: flex;
  flex-direction: column;
}

.stat-col .val {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.stat-col .lbl {
  font-size: 0.72rem;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Concepts Section */
.concepts-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-title {
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin: 0.5rem 0 0;
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .hub-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .brand strong {
    font-size: 1rem;
    letter-spacing: 0.01em;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hub-hero {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .hero-copy {
    max-width: 100%;
    overflow: hidden;
  }

  .dg-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }

  .hero-copy h1 {
    font-size: 1.95rem;
    letter-spacing: 0;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lead {
    font-size: 1rem;
    max-width: 21rem;
  }

  .command-panel {
    border-radius: 16px;
    margin-top: 3rem;
    max-width: 100%;
  }

  .grid-stats {
    padding: 2rem 1.2rem;
    gap: 1.6rem;
  }

  .stat-col .lbl {
    letter-spacing: 0.08em;
    max-width: 17rem;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
  }

  .section-title h2 {
    font-size: 2.1rem;
    line-height: 1.08;
    max-width: 19rem;
    margin-left: auto;
    margin-right: auto;
  }

  .concepts-grid {
    grid-template-columns: 1fr;
  }
}

.concept-card {
  background: rgba(11, 25, 44, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.concept-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(11, 25, 44, 0.6);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.08);
}

.concept-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(5, 9, 18, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.concept-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(5, 9, 18, 0.55)),
    radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.22), transparent 34%);
  pointer-events: none;
}

.concept-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.02);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.concept-card:hover .concept-media img {
  filter: saturate(1.16) contrast(1.1) brightness(1.04);
  transform: scale(1.07);
}

.card-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  min-height: 22rem;
  position: relative;
  z-index: 2;
}

.card-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  transition: all 0.3s;
}

.concept-card:hover .card-num {
  color: rgba(212, 175, 55, 0.1);
  transform: scale(1.1);
}

.design-tag {
  color: #d4af37;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8rem;
}

.concept-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 1rem;
}

.concept-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.card-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.palette-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.palette-text {
  font-size: 0.65rem;
  color: #cbd5e1;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dots-row {
  display: flex;
  gap: 0.35rem;
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.explore-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.concept-card:hover .explore-btn {
  background: #d4af37;
  color: #0b192c;
  border-color: #d4af37;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Audit Section */
.audit-section {
  padding-bottom: 8rem;
}

.audit-card {
  max-width: 58rem;
  margin: 0 auto;
  background: rgba(11, 25, 44, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 20px;
  padding: 4rem 3rem;
  backdrop-filter: blur(15px);
}

.audit-card h3 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0.4rem 0 1.2rem;
}

.audit-card p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.audit-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.audit-link {
  background: #d4af37;
  color: #0b192c;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
}

.audit-link.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.audit-link:hover {
  transform: translateY(-2px);
}

.audit-link.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.audit-link:not(.ghost):hover {
  background: #fff;
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* Footer */
.hub-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #03050a;
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.hub-footer strong {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 0.2rem;
}

.hub-footer p {
  margin: 0;
}
.privacy-link { display: block; margin-top: 0.35rem; color: #d4af37; text-decoration: none; }
.privacy-link:hover { color: #fff; }

@media (max-width: 768px) {
  .hub-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
