/* ========================================================================
   NEXSPIRE — dist-channel.css
   Official Distribution & Delivery Channel section (Spire AI SA)
   Distinctive gold/amber accent to denote official-channel status
   ======================================================================== */

.dist-channel {
  padding: var(--space-24) 0;
  position: relative;
}

.dist-channel__grad {
  background: linear-gradient(110deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: distShimmer 6s ease-in-out infinite;
  display: inline-block;
}
@keyframes distShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Featured card */
.dist-card {
  position: relative;
  margin-top: 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(251, 191, 36, 0.04));
  padding: 3px;
  overflow: hidden;
  isolation: isolate;
}
.dist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg,
    #F59E0B,
    #FBBF24,
    #F59E0B 50%,
    #FBBF24,
    #F59E0B
  );
  z-index: -1;
  opacity: 0.55;
  animation: distRotate 8s linear infinite;
}
@keyframes distRotate {
  to { transform: rotate(360deg); }
}

.dist-card__inner {
  background: var(--bg-elevated);
  border-radius: 26px;
  padding: 3rem;
  position: relative;
}

[data-theme="light"] .dist-card__inner {
  background: #FFFFFF;
}

.dist-card__ribbon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #1A1A1F;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  z-index: 2;
}

.dist-card__head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-right: 8rem; /* leave space for ribbon */
}
@media (max-width: 700px) {
  .dist-card__head {
    padding-right: 0;
    padding-top: 3rem;
  }
}

.dist-card__logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 18px;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.3));
}

.dist-card__name {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, #F59E0B, #FBBF24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.dist-card__country {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0;
}

.dist-card__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 920px;
}
.dist-card__lead strong {
  color: var(--text-primary);
}

.dist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.dist-grid__cell {
  padding: 1.25rem;
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 14px;
  transition: all 0.3s var(--ease-out);
}
.dist-grid__cell:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}
[data-theme="light"] .dist-grid__cell {
  background: #FFFBEB;
  border-color: #FDE68A;
}
[data-theme="light"] .dist-grid__cell:hover {
  background: #FEF3C7;
  border-color: #F59E0B;
}

.dist-grid__icon {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
}

.dist-grid__cell h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #F59E0B;
  margin-bottom: 0.5rem;
}

.dist-grid__cell p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.dist-card__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(245, 158, 11, 0.25);
}

/* Gold-accent button variant */
.btn--gold {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #1A1A1F !important;
  border: 1px solid transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.25s var(--ease-out);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
}
.btn--gold::before, .btn--gold::after { display: none !important; }
