@import url("base.css");

/* Insights page specific overrides with professional color scheme */

body.page-insights {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.95) 0%,
    rgba(163, 180, 156, 0.85) 100%
  );
  color: var(--color-text-dark);
}

body.page-insights::before,
body.page-insights::after {
  display: none;
}

/* Hero Section - Professional with #A3B49C */
.hero--sage {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.98) 0%,
    rgba(163, 180, 156, 0.88) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
}

.hero--sage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(255, 255, 255, 0.05),
    transparent 60%
  );
  pointer-events: none;
}

.hero--sage .hero__lead {
  color: rgba(16, 22, 35, 0.82);
  opacity: 0.95;
}

.hero--sage .eyebrow {
  color: rgba(16, 22, 35, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.site-footer {
  color: #ffffff;
}

.hero--sage h1 {
  color: var(--color-text-dark);
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.12);
}

.hero--sage p,
.hero--sage .hero__copy p {
  color: rgba(16, 22, 35, 0.8);
}

/* Section Backgrounds - Only #A3B49C */
.section--sage {
  background: linear-gradient(
    180deg,
    rgba(163, 180, 156, 0.92) 0%,
    rgba(163, 180, 156, 0.78) 100%
  );
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
  padding-bottom: 15vw;
}

.section--sage::before {
  display: none;
}

.section--sage h2 {
  color: var(--color-text-dark);
}

.section--sage .section__intro p {
  color: rgba(16, 22, 35, 0.82);
}

.section--sage .eyebrow {
  color: rgba(16, 22, 35, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

/* Insight Cards - Blue cards that turn white on hover */
.insight-card {
  background: #0f1f35;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.insight-card__category {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: inherit;
  opacity: 0.85;
}

.insight-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
  margin: 0;
}

.insight-card p {
  color: inherit;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.insight-card__link::after {
  content: "→";
  transition: transform 0.3s ease;
}

/* Button Styling */
.page-insights .btn--primary {
  background: #ffffff;
  color: var(--color-brand-deep);
  border: 2px solid var(--color-brand-deep);
  box-shadow: 0 4px 12px rgba(10, 26, 51, 0.25);
  font-weight: 600;
}

.page-insights .btn--primary:hover {
  background: rgba(10, 26, 51, 0.9);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(10, 26, 51, 0.35);
  transform: translateY(-2px);
}

.page-insights .btn--ghost {
  background: rgba(10, 26, 51, 0.9);
  color: #ffffff;
  border: 2px solid rgba(16, 22, 35, 0.3);
}

.page-insights .btn--ghost:hover {
  background: rgba(16, 22, 35, 0.08);
  border-color: rgba(16, 22, 35, 0.5);
  transform: translateY(-2px);
}

.insight-card:hover {
  background: #ffffff;
  color: var(--color-brand-deep);
  border-color: var(--color-brand-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.insight-card:hover .insight-card__link::after {
  transform: translateX(4px);
}

.insight-card__link:hover {
  gap: 0.75rem;
}

/* Floating Card Enhancement */
.hero__floating-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero__floating-card p {
  color: var(--color-text-dark);
  font-weight: 600;
}

.hero__floating-card span {
  color: var(--color-text-dark);
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .insight-card {
    padding: 1.5rem;
  }
}
