/* ==========================================================================
   UPGRADEBI - ABOUT US PAGE STYLES (about.css)
   3D Dark Mode · Neon Accents · Glassmorphic Cards · Modern Typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Impact Metric Counter Banner
   -------------------------------------------------------------------------- */
.about-stats-strip {
  padding: 30px 0;
  background: #080D1D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat-card {
  background: rgba(14, 21, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.about-stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 0, 0.4);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 122, 0, 0.2);
}

.about-stat-card.teal-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 25px rgba(6, 182, 212, 0.2);
}

.about-stat-num {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 5px;
}

.about-stat-num.orange {
  color: #FFA034;
  text-shadow: 0 0 20px rgba(255, 122, 0, 0.35);
}

.about-stat-num.teal {
  color: #38BDF8;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

.about-stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-slate-300);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   2. Story Section (Split Grid & 3D Glass Frame)
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.story-lead {
  font-size: 1.15rem;
  color: #E2E8F0;
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 500;
}

.story-highlight-box {
  background: rgba(255, 122, 0, 0.06);
  border-left: 3px solid var(--brand-orange);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.story-highlight-box p {
  color: #F8FAFC;
  font-size: 0.96rem;
  font-style: italic;
  margin: 0;
}

.story-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-surface);
  box-shadow: var(--shadow-3d-card);
}

.story-visual-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-visual-card:hover img {
  transform: scale(1.04);
}

.story-badge-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(7, 11, 22, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.story-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: var(--shadow-neon-orange);
}

.story-badge-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #FFFFFF;
}

.story-badge-text span {
  font-size: 0.82rem;
  color: var(--color-slate-400);
}

/* --------------------------------------------------------------------------
   3. Core Pillars / DNA Cards
   -------------------------------------------------------------------------- */
.pillar-card {
  background: #0E142C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-3d-card);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.2);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1) rotate(4deg);
}

.pillar-icon-orange {
  background: rgba(255, 122, 0, 0.12);
  color: var(--brand-orange);
  border: 1px solid rgba(255, 122, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.2);
}

.pillar-icon-teal {
  background: rgba(6, 182, 212, 0.12);
  color: var(--brand-teal);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.pillar-icon-purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--brand-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.pillar-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--color-slate-300);
}

/* --------------------------------------------------------------------------
   4. Leadership & Team Showcase (Avinash & Khushi)
   -------------------------------------------------------------------------- */
.team-leader-card {
  background: linear-gradient(180deg, #101830 0%, #0A0F22 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3d-card);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.team-leader-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 0, 0.45);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 122, 0, 0.25);
}

.team-leader-card.teal-leader:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(6, 182, 212, 0.25);
}

.leader-photo-wrap {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #060A16;
}

.leader-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.team-leader-card:hover .leader-photo-wrap img {
  transform: scale(1.06);
}

.leader-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, #101830 100%);
  pointer-events: none;
}

.leader-role-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(7, 11, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.leader-content {
  padding: 28px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.leader-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.leader-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
}

.leader-title {
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.leader-title.teal {
  color: var(--brand-teal);
}

.leader-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-slate-300);
  margin-bottom: 20px;
  flex-grow: 1;
}

.leader-quote-box {
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--brand-teal);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: #CBD5E1;
  font-style: italic;
  margin-bottom: 20px;
}

.leader-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  color: #E2E8F0;
}

.leader-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #38BDF8;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.leader-social-link:hover {
  background: var(--brand-teal);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-neon-teal);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. Core Values Grid (6 Pillars)
   -------------------------------------------------------------------------- */
.value-card {
  background: #0E142C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}

.value-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 14px;
  transition: color var(--transition-fast);
}

.value-card:hover .value-num {
  color: var(--brand-orange);
}

.value-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-slate-400);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. Interactive Timeline Journey
   -------------------------------------------------------------------------- */
.timeline-track {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-orange) 0%, var(--brand-teal) 50%, var(--brand-purple) 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.timeline-item {
  position: relative;
  margin-bottom: 45px;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 45px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 45px;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-orange);
  border: 4px solid #070B16;
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.8);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
  background: var(--brand-teal);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
}

.timeline-card {
  background: #0E142C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-card {
  border-color: rgba(6, 182, 212, 0.4);
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 122, 0, 0.15);
  color: #FFA034;
  margin-bottom: 10px;
}

.timeline-item:nth-child(even) .timeline-year {
  background: rgba(6, 182, 212, 0.15);
  color: #38BDF8;
}

.timeline-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-slate-300);
}

/* --------------------------------------------------------------------------
   7. Tools & Tech Ecosystem Bar
   -------------------------------------------------------------------------- */
.tech-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 30px auto 0 auto;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(14, 21, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  background: rgba(255, 122, 0, 0.15);
  border-color: rgba(255, 122, 0, 0.4);
  color: #FFA034;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   8. Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-visual-card img {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-num {
    font-size: 2.3rem;
  }

  .timeline-track::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 55px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-dot {
    left: 11px !important;
    right: auto !important;
  }

  .leader-photo-wrap {
    height: 320px;
  }
}
