/* ============================================================
   PeakRoutine - about.css
   Premium glassmorphism & dynamic bento-grids for About Page
   ============================================================ */

/* ══════════════════════════════════════
   ABOUT HERO
   Uses new animated hero styles from sections.css / hero-fix.css
   so we just need layout alignment.
══════════════════════════════════════ */
.about-hero {
  position: relative;
  min-height: 75svh; /* More height for cinematic feel */
  padding: 12rem 0 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Enhancing the background orbs specifically for the About cinematic look */
.about-hero .opacity-high {
  opacity: 0.65;
  filter: blur(80px);
}
.about-hero .hero-orb-1 {
  width: 50vw;
  height: 50vw;
  top: 10%;
  left: 25%;
}

.about-focus-layout {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem; /* Tightened from 3.5rem for better cohesion */
}

.glow-eyebrow {
  color: #60a5fa !important;
  background: rgba(96, 165, 250, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Hide the inherited green dash from base eyebrow */
.glow-eyebrow::before,
.glow-eyebrow::after {
  display: none !important;
}

.text-gradient-hero {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

/* Horizontal Glassmorphism Ribbon */
.about-stats-ribbon {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  box-shadow: 
    0 24px 40px -10px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.15);
  gap: 1.5rem;
}

.ribbon-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1.5rem;
}

.ribbon-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 10px rgba(255,255,255,0.2);
}

.ribbon-lbl {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b4fc;
  font-weight: 700;
}

.ribbon-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* ══════════════════════════════════════
   ABOUT SECTIONS
══════════════════════════════════════ */
.about-section {
  padding: var(--section-y) 0;
  background: #ffffff;
}

.about-section.alt {
  background: var(--gray-50);
}

.about-narrative {
  max-width: 76ch;
  margin: 0 auto;
}

.about-narrative p {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-highlight {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid rgba(28, 133, 232, 0.2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  color: var(--dark);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow-sm);
}

/* Premium Foundations (Replacing basic timeline cards) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(28, 133, 232, 0.25);
}

.timeline-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3);
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.timeline-body {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   FOUNDER PREMIUM CARDS
══════════════════════════════════════ */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.about-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 28px;
  padding: 2.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05); /* Permanent soft shadow */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
  z-index: 1;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 6px;
  background: linear-gradient(90deg, #1C85E8, #38C172);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: rgba(28, 133, 232, 0.2);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.about-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 12px 28px -6px rgba(0,0,0,0.12);
  object-fit: cover;
  border: 4px solid #ffffff;
  background-color: #ffffff;
}

.about-role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.35rem;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(28, 133, 232, 0.1);
  color: var(--primary);
}

.role-green {
  background: rgba(56, 193, 114, 0.1);
  color: var(--secondary-dark);
}

.role-orange {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
}

.about-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--dark);
}

.about-bio {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

.chip:hover {
  transform: scale(1.05);
}

.chip-blue {
  background: #eff6ff;
  color: var(--primary);
  border-color: #bfdbfe;
}

.chip-green {
  background: #f0fdf4;
  color: var(--secondary-dark);
  border-color: #bbf7d0;
}

.chip-orange {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

/* ══════════════════════════════════════
   PRINCIPLES BENTO
══════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(28, 133, 232, 0.24);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3);
}

.value-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.value-copy {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  flex-grow: 1;
}

/* ══════════════════════════════════════
   MISSION CTA BANNER
══════════════════════════════════════ */
.mission-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 25, 40, 1) 0%, rgba(10, 15, 25, 1) 100%);
  border-radius: 32px;
  padding: clamp(3rem, 5vw, 4.5rem) 2rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 24px 50px rgba(0,0,0,0.3);
  overflow: hidden;
}

.mission-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 70% at 20% -10%, rgba(28, 133, 232, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 80% 80% at 80% 110%, rgba(56, 193, 114, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.mission-banner h2 {
  max-width: 25ch;
  margin: 0 auto;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: #ffffff;
  line-height: 1.15;
}

.mission-banner p {
  max-width: 64ch;
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-cta {
  text-align: center;
  padding-bottom: 4rem;
}

.about-cta p {
  max-width: 56ch;
  margin: 1rem auto 2rem;
  color: var(--gray-600);
  font-size: 1.1rem;
}

.about-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .about-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  .about-focus-layout {
    padding: 0 1rem;
  }
}

@media (max-width: 640px) {
  .about-stats-ribbon {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: flex-start;
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    padding: 0.75rem 0.25rem;
    gap: 0;
  }
  .ribbon-stat {
    width: 100%;
    padding: 0.25rem 0.15rem;
  }
  .ribbon-val {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
  }
  .ribbon-lbl {
    font-size: 0.55rem;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0;
  }
  .ribbon-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
    margin: 0.5rem 0 0 0;
  }
  .about-cta-actions .btn-pr {
    width: 100%;
  }
  .value-card, .about-card, .timeline-item {
    padding: 1.5rem;
  }
}