/* CGS3 AI Portal - Dynamic Gradients, Hero Animations, and Showcase Sections V1.1 */

/* Hero Section */
.hero-portal {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-portal {
    padding: 80px 0 100px;
  }
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  max-width: 100vw;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(99, 102, 241, 0.12) 40%, rgba(9, 13, 22, 0) 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw + 1rem, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  word-break: break-word;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 80%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw + 0.5rem, 1.25rem);
  color: var(--cgs3-text-muted);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-banner-frame {
  position: relative;
  border-radius: var(--cgs3-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cgs3-surface-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transition: var(--cgs3-transition);
}

.hero-banner-frame:hover {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 30px 80px rgba(14, 165, 233, 0.2);
}

.hero-banner-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature Showcase Grid */
.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--cgs3-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cgs3-text-main);
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--cgs3-text-muted);
  font-size: 0.96rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Mission & Principles Pillars */
.principle-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 4px solid var(--cgs3-primary);
}

.principle-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

/* Project Cards */
.project-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.project-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--cgs3-radius-sm);
  object-fit: cover;
  border: 1px solid var(--cgs3-surface-border);
}

.project-card-meta {
  flex: 1;
}

.project-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--cgs3-text-main);
}

.project-card-summary {
  font-size: 0.95rem;
  color: var(--cgs3-text-muted);
  margin-bottom: 20px;
  min-height: 48px;
  line-height: 1.6;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-chip {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--cgs3-surface-hover);
  color: #f1f5f9;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}
