/* =====================================================================
   THREE-PILLAR HOMEPAGE LAYOUT (Pre-Award / Post-Award / Resources)
   ===================================================================== */

/* ─── Pillar Section Base ─── */
.pillar-section {
  padding: 80px 1rem;
  position: relative;
}
.pillar-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── Pillar Header ─── */
.pillar-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pillar-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.pillar-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.pillar-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Three-Card Grid ─── */
.pillar-cards {
  display: grid;
  gap: 1.5rem;
}
.pillar-cards.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .pillar-cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 767px) { .pillar-cards.cols-3 { grid-template-columns: repeat(2, 1fr); } }

/* ─── Individual Pillar Card ─── */
.pillar-card {
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.7), rgba(15, 23, 42, 0.7));
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}
.pillar-card.pre-award::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.pillar-card.post-award::before { background: linear-gradient(90deg, #22c55e, #4ade80); }
.pillar-card.resources::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.pillar-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ─── Card Content ─── */
.pillar-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.pillar-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.pillar-card-text {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.pillar-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.pillar-card-cta.pre-award {
  background: linear-gradient(135deg, #6366f1, #9333ea);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.25);
}
.pillar-card-cta.pre-award:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
}

/* ─── Coming Soon Badge ─── */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 9999px;
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

/* ─── Walled-Off Card (staging lock) ─── */
.pillar-card.walled-off {
  opacity: 0.75;
  cursor: default;
  position: relative;
}
.pillar-card.walled-off:hover {
  transform: none;
  box-shadow: none;
  border-color: #1e293b;
}
.pillar-card.walled-off .pillar-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
  background: transparent;
}
.pillar-lock-icon {
  opacity: 0.4;
  font-size: 0.75rem;
}

/* ─── Pre-Award Feature List ─── */
.pa-features {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.pa-features.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .pa-features.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.pa-feature-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.pa-feature-card:hover { border-color: rgba(99, 102, 241, 0.3); }
.pa-feature-icon { font-size: 1.8rem; margin-bottom: 0.75rem; display: block; }
.pa-feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.35rem;
}
.pa-feature-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.pa-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #818cf8;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.pa-feature-link:hover { color: #a5b4fc; }

/* ─── Pre-Award CTA Row ─── */
.pa-cta-row {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
}
.pa-cta-text {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* ─── Pillar Divider ─── */
.pillar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
  margin: 0;
}

/* ─── Closing Soon within pillar context ─── */
.pillar-closing-section {
  padding: 60px 1rem;
}

/* ─── Pre-Award Hub Page ─── */
.pa-hub-hero {
  padding: 120px 1rem 60px;
  text-align: center;
  position: relative;
}
.pa-hub-hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.pa-hub-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}
.pa-hub-hero p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 36rem;
  margin: 0 auto 2rem;
  position: relative;
}
.pa-hub-section {
  padding: 60px 1rem;
}
.pa-hub-section:nth-child(even) {
  background: rgba(15, 23, 42, 0.3);
}
.pa-hub-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.pa-hub-grid.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .pa-hub-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }

.pa-hub-card {
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.8), rgba(15, 23, 42, 0.8));
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.3s;
}
.pa-hub-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.pa-hub-card-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.pa-hub-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.pa-hub-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.pa-hub-card .btn-secondary {
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
}

/* ─── Placeholder Pages ─── */
.placeholder-hero {
  padding: 140px 1rem 80px;
  text-align: center;
  position: relative;
}
.placeholder-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.placeholder-glow.post-award-glow { background: rgba(34, 197, 94, 0.08); }
.placeholder-glow.resources-glow { background: rgba(245, 158, 11, 0.08); }
.placeholder-icon { font-size: 3rem; margin-bottom: 1rem; position: relative; }
.placeholder-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  position: relative;
}
.placeholder-hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 32rem;
  margin: 0 auto 2rem;
  position: relative;
  line-height: 1.7;
}

.placeholder-vision {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 1rem;
}
.placeholder-vision h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
}
.placeholder-vision-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .placeholder-vision-grid { grid-template-columns: repeat(2, 1fr); } }
.placeholder-vision-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 1.25rem;
}
.placeholder-vision-item .icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
.placeholder-vision-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.35rem;
}
.placeholder-vision-item p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ─── Responsive ─── */
@media (max-width: 639px) {
  .pillar-section { padding: 48px 1rem; }
  .pa-hub-section { padding: 40px 1rem; }
  .pillar-card { padding: 1.5rem; }
}
