/* about.css — GCI-TPs About page (scoped) */

.about-page{
  /* Updated to Blue and Green only, removing Orange and Red */
  --c1: var(--brand-blue, #2880c2);
  --c2: var(--brand-green, #81c241);
  --c3: var(--brand-blue, #2880c2); /* Replaced Orange with Blue */
  --c4: var(--brand-green, #81c241); /* Replaced Red with Green */
  
  --brand-gradient: linear-gradient(90deg, var(--c1), var(--c2));
  
  --ink: #0f172a;
  --muted: rgba(15,23,42,0.68);
  --border: rgba(15,23,42,0.10);
  --glass: rgba(255,255,255,0.78);
  --glass-2: rgba(255,255,255,0.64);
  --shadow: 0 16px 46px rgba(15, 23, 42, 0.10);

  color: var(--ink);
}

/* Generic */
.section-pad{ padding: 56px 0; }
.section-pad--alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.35));
  border-top: 1px solid rgba(15,23,42,0.06);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.section-head{ margin-bottom: 18px; }
.section-title{
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0;
}
.section-subtitle{
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 72ch;
}

/* Links */
.link-soft{
  color: rgba(15,23,42,0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,23,42,0.18);
}
.link-soft:hover{
  border-bottom-color: rgba(15,23,42,0.45);
}

/* Glass card */
.glass-card{
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero */
.about-hero{
  position: relative;
  padding: 44px 0 26px;
  overflow: hidden;
}

.about-hero__bg{
  position:absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
}

.blob{
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.55;
  mix-blend-mode: multiply;
  animation: floaty 14s ease-in-out infinite;
}
.blob--1{ left:-160px; top:-180px; background: radial-gradient(circle at 30% 30%, rgba(40,128,194,.45), transparent 60%); }
.blob--2{ right:-180px; top:40px; background: radial-gradient(circle at 40% 40%, rgba(129,194,65,.32), transparent 62%); animation-delay: -4s; }
/* Updated blob--3 from Orange to Blue */
.blob--3{ left: 35%; bottom:-240px; background: radial-gradient(circle at 40% 40%, rgba(40,128,194,.26), transparent 60%); animation-delay: -8s; }

@keyframes floaty{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(14px, -18px, 0) scale(1.03); }
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.70);
  box-shadow: 0 10px 22px rgba(15,23,42,0.06);
  backdrop-filter: blur(10px);
}
.hero-badge i{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-badge span{ color: rgba(15,23,42,0.72); font-weight: 500; }

.hero-title{
  margin: 14px 0 0;
  font-size: clamp(1.1rem, 2.6vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.3px;
  line-height: 1.07;
}
.hero-title__grad{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle{
  margin-top: 12px;
  font-size: 1.05rem;
  color: rgba(15,23,42,0.72);
  max-width: 70ch;
}

.hero-cta .btn{ border-radius: 999px; }
.btn-glow{
  border: none;
  background: var(--brand-gradient);
  box-shadow: 0 18px 40px rgba(40,128,194,0.18);
  color: #fff !important;
}
.btn-glow:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.btn-soft{ border-color: rgba(15,23,42,0.16); }
.btn-soft:hover{ background: rgba(255,255,255,0.75); }

.hero-note{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: rgba(15,23,42,0.64);
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(15,23,42,0.08);
  padding: 12px 14px;
  border-radius: 14px;
  max-width: 76ch;
}
.hero-note i{
  margin-top: 2px;
  color: rgba(15,23,42,0.55);
}

.hero-divider{
  margin-top: 26px;
  height: 1px;
  /* Updated divider to remove orange/red shades */
  background: linear-gradient(90deg,
    rgba(40,128,194,0.22),
    rgba(129,194,65,0.18),
    rgba(15,23,42,0.00)
  );
}

/* Hero card */
.hero-card{
  padding: 18px 18px 14px;
}
.hero-card__top{
  display:flex;
  gap: 12px;
  align-items:center;
}
.hero-card__icon{
  width: 46px; height: 46px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(40,128,194,0.18), rgba(129,194,65,0.12));
  border: 1px solid rgba(15,23,42,0.08);
}
.hero-card__icon i{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-card__title{ font-weight: 600; }
.hero-card__meta{ color: rgba(15,23,42,0.62); font-size: 0.95rem; }

/* Stats */
.stats-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.stat-card{
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.08);
  position: relative;
  overflow:hidden;
}
.stat-card::before{
  content:"";
  position:absolute; inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: .72;
}
.stat-label{ font-size: 0.92rem; color: rgba(15,23,42,0.64); }
.stat-value{
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.1;
  margin-top: 3px;
}
.stat-hint{ font-size: 0.85rem; color: rgba(15,23,42,0.55); margin-top: 2px; }

.hero-card__footer{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
}
.mini-kpis{ display:flex; gap: 14px; }
.kpi-label{ font-size: 0.82rem; color: rgba(15,23,42,0.62); }
.kpi-value{
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* Feature cards */
.feature-card{ padding: 18px; height: 100%; }
.feature-icon{
  width: 46px; height: 46px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 10px 22px rgba(15,23,42,0.06);
}
.feature-icon i{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-title{ margin: 12px 0 0; font-size: 1.15rem; font-weight: 650; }
.feature-text{ margin: 8px 0 0; color: rgba(15,23,42,0.68); }

/* Callout */
.callout{
  display:flex;
  gap: 14px;
  padding: 16px 16px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,0.80), rgba(255,255,255,0.80)) padding-box,
    var(--brand-gradient) border-box;
  border: 1px solid transparent;
  box-shadow: 0 16px 46px rgba(15,23,42,0.08);
}
.callout-icon{
  width: 46px; height: 46px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 16px;
  background: rgba(40,128,194,0.10);
  border: 1px solid rgba(15,23,42,0.08);
}
.callout-title{ font-weight: 650; }
.callout-text{ color: rgba(15,23,42,0.68); }

/* Pipeline */
.pipeline{
  display:grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 14px;
  align-items: start;
}
.pipeline-steps{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.step-btn{
  width:100%;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.72);
  border-radius: 16px;
  padding: 12px 14px;
  text-align:left;
  display:flex;
  gap: 12px;
  align-items:center;
  box-shadow: 0 10px 22px rgba(15,23,42,0.06);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.step-btn:hover{ transform: translateY(-1px); border-color: rgba(15,23,42,0.16); }
.step-btn.active{
  background:
    linear-gradient(rgba(255,255,255,0.78), rgba(255,255,255,0.78)) padding-box,
    var(--brand-gradient) border-box;
  border: 1px solid transparent;
}
.step-dot{
  width: 44px; height: 44px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,23,42,0.08);
}
.step-dot i{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-title{ display:block; font-weight: 700; }
.step-sub{ display:block; color: rgba(15,23,42,0.60); font-size: 0.88rem; }

.pipeline-panel{
  padding: 18px;
}
.panel-head{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items:center;
}
.panel-title{ font-weight: 750; font-size: 1.15rem; }
.panel-badge{
  display:inline-flex;
  gap: 8px;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.70);
  color: rgba(15,23,42,0.70);
  font-size: 0.9rem;
}
.panel-text{ margin: 10px 0 0; color: rgba(15,23,42,0.70); }
.panel-metrics{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.metric-chip{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.70);
  color: rgba(15,23,42,0.72);
  font-weight: 500;
}
.metric-num{ font-weight: 800; letter-spacing: -0.2px; }

.step-panel{ display:none; }
.step-panel.active{ display:block; animation: fadeUp 260ms ease both; }

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* Compute strip */
.compute-strip{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.compute-item{
  display:flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 14px 34px rgba(15,23,42,0.06);
}
.compute-icon{
  width: 42px; height: 42px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(15,23,42,0.08);
}
.compute-icon i{
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.compute-title{ font-weight: 700; }
.compute-text{ margin-top: 2px; color: rgba(15,23,42,0.64); font-size: 0.95rem; }

/* Viz cards */
.viz-card{ padding: 18px; height: 100%; }
.viz-head{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items:flex-start;
}
.viz-title{ font-weight: 750; }
.viz-sub{ color: rgba(15,23,42,0.62); font-size: 0.95rem; margin-top: 2px; }
.viz-tag{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.74);
  font-weight: 700;
}
.viz-body{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items:center;
  margin-top: 12px;
}

.ring-wrap{ position: relative; width: 180px; height: 180px; display:grid; place-items:center; }
.ring{ transform: rotate(-90deg); }
.ring-bg{
  fill: none;
  stroke: rgba(15,23,42,0.10);
  stroke-width: 10;
}
.ring-fg{
  fill: none;
  stroke: rgba(40,128,194,0.85);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 0 999;
  stroke-dashoffset: 0;
  transition: stroke-dasharray 900ms ease;
}
.ring-label{
  position:absolute;
  text-align:center;
  color: rgba(15,23,42,0.80);
}
.ring-big{ font-weight: 800; font-size: 1.6rem; letter-spacing: -0.2px; }
.ring-small{ font-size: 0.9rem; color: rgba(15,23,42,0.62); }

.viz-notes{ display:flex; flex-direction: column; gap: 8px; }
.note-item{ color: rgba(15,23,42,0.70); }
.note-item i{
  width: 18px;
  color: rgba(15,23,42,0.55);
  margin-right: 8px;
}

.bar-wrap{ width: 100%; }
.bar-track{
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  overflow:hidden;
  margin-top: 10px;
}
.bar-fill{
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: var(--brand-gradient);
  transition: width 900ms ease;
}
.bar-labels{ display:flex; align-items: baseline; gap: 10px; }
.bar-big{ font-weight: 900; font-size: 1.6rem; letter-spacing: -0.2px; }
.bar-small{ color: rgba(15,23,42,0.62); }
.bar-foot{ margin-top: 10px; color: rgba(15,23,42,0.62); font-size: 0.95rem; }
.dot{ display:inline-block; width: 10px; height: 10px; border-radius: 99px; margin-right: 6px; }
.dot--b{ background: rgba(40,128,194,0.9); }
.dot--g{ background: rgba(129,194,65,0.9); }
.dot--o{ background: var(--brand-green); }

/* Tabs */
.about-tabs .nav-link{
  border-radius: 999px !important;
  border: 1px solid rgba(15,23,42,0.12) !important;
  background: rgba(255,255,255,0.70);
  color: rgba(15,23,42,0.78);
  font-weight: 600;
}
.about-tabs .nav-link.active{
  border: 1px solid transparent !important;
  background: var(--brand-gradient) !important;
  color: #fff !important;
}
.tab-title{ font-weight: 750; margin: 0; }
.tab-text{ margin-top: 10px; color: rgba(15,23,42,0.70); }
.tab-bullets{ margin-top: 10px; display:flex; flex-direction: column; gap: 8px; }
.bullet{ color: rgba(15,23,42,0.72); }
.bullet i{ margin-right: 8px; color: rgba(15,23,42,0.55); }

/* Illustrations (pure CSS) */
.tab-illu{
  position: relative;
  height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.10);
  background:
    radial-gradient(220px 120px at 25% 35%, rgba(40,128,194,0.18), transparent 60%),
    radial-gradient(220px 120px at 78% 55%, rgba(129,194,65,0.14), transparent 60%),
    rgba(255,255,255,0.64);
  overflow:hidden;
}
.illu-chip{
  position:absolute;
  top: 18px;
  left: 16px;
  display:inline-flex;
  gap: 8px;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.78);
  font-weight: 600;
  color: rgba(15,23,42,0.75);
}
.illu-chip:nth-child(2){ top: 62px; left: 18px; }
.illu-chip:nth-child(3){ top: 106px; left: 18px; }
.illu-line{
  position:absolute;
  left: 52%;
  top: 22px;
  width: 2px;
  height: 135px;
  /* Updated line gradient to remove red */
  background: var(--brand-gradient);
  border-radius: 99px;
}
.illu-node{
  position:absolute;
  left: 52%;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(40,128,194,0.85);
  transform: translateX(-7px);
  box-shadow: 0 10px 22px rgba(40,128,194,0.20);
}
.illu-node--2{ top: 82px; background: rgba(129,194,65,0.85); box-shadow: 0 10px 22px rgba(129,194,65,0.18); }
.illu-node--3{ top: 132px; background: var(--brand-green); box-shadow: 0 10px 22px rgba(129,194,65,0.18); }

.tab-illu--alt{
  background:
    radial-gradient(220px 120px at 25% 35%, rgba(40,128,194,0.18), transparent 60%),
    radial-gradient(220px 120px at 78% 55%, rgba(129,194,65,0.14), transparent 60%),
    rgba(255,255,255,0.64);
}
.pulse-dot{
  position:absolute;
  left: 26px;
  top: 36px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(40,128,194,0.85);
  box-shadow: 0 0 0 rgba(40,128,194,0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
.pulse-dot--2{ left: 84px; top: 86px; background: rgba(129,194,65,0.85); animation-delay: -0.8s; }
.pulse-dot--3{ left: 142px; top: 52px; background: var(--brand-green); animation-delay: -1.2s; }
.pulse-line{
  position:absolute;
  left: 26px;
  top: 36px;
  width: 190px;
  height: 2px;
  background: var(--brand-gradient);
  transform: rotate(12deg);
  transform-origin: left center;
}
@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(40,128,194,0.22); }
  50%{ box-shadow: 0 0 0 16px rgba(40,128,194,0.00); }
}

.tab-illu--screen{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 20px;
}
.screen-pill{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.80);
  font-weight: 700;
}
.screen-pill--2{ border-color: rgba(129,194,65,0.20); }
.screen-pill--3{ border-color: rgba(40,128,194,0.20); }

/* CTA wide */
.cta-wide{
  margin-top: 18px;
  padding: 18px 18px;
  border-radius: 20px;
  background:
    linear-gradient(rgba(255,255,255,0.78), rgba(255,255,255,0.78)) padding-box,
    var(--brand-gradient) border-box;
  border: 1px solid transparent;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 46px rgba(15,23,42,0.08);
}
.cta-title{ font-weight: 850; font-size: 1.15rem; }
.cta-sub{ color: rgba(15,23,42,0.68); }

/* Team cards */
.team-card{ padding: 18px; height: 100%; }
.team-top{ display:flex; gap: 12px; align-items:center; }
.team-top i{
  width: 46px; height: 46px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: linear-gradient(135deg, rgba(40,128,194,0.10), rgba(129,194,65,0.08));
}
.team-title{ font-weight: 800; }
.team-sub{ color: rgba(15,23,42,0.62); }
.team-list{ margin-top: 12px; display:flex; flex-direction: column; gap: 8px; color: rgba(15,23,42,0.72); }
.person{ display:flex; align-items:center; gap: 8px; }

/* Contact strip */
.contact-strip{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.08);
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.contact-item{ color: rgba(15,23,42,0.72); display:flex; align-items:center; gap: 8px; }
.contact-item a{ color: rgba(15,23,42,0.85); text-decoration:none; border-bottom: 1px solid rgba(15,23,42,0.20); }
.contact-item a:hover{ border-bottom-color: rgba(15,23,42,0.45); }

/* Accordion */
.about-accordion{
  border-radius: 18px;
}
.about-accordion .accordion-item{
  border: 0;
  background: transparent;
}
.about-accordion .accordion-button{
  border-radius: 14px !important;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.72);
  color: rgba(15,23,42,0.84);
  font-weight: 700;
  box-shadow: none;
}
.about-accordion .accordion-button:not(.collapsed){
  background:
    linear-gradient(rgba(255,255,255,0.78), rgba(255,255,255,0.78)) padding-box,
    var(--brand-gradient) border-box;
  border: 1px solid transparent;
}
.about-accordion .accordion-body{
  color: rgba(15,23,42,0.70);
}

/* Reveal animation */
.js-reveal{
  /* Visible by default (progressive enhancement) */
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
}
/* Only animate when JS is enabled */
.js .js-reveal{
  opacity: 0;
  transform: translateY(8px);
}
.js .js-reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px){
  .pipeline{ grid-template-columns: 1fr; }
  .pipeline-steps{
    flex-direction: row;
    overflow:auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .step-btn{
    min-width: 280px;
    scroll-snap-align: start;
  }
  .viz-body{ grid-template-columns: 1fr; }
  .ring-wrap{ margin: 0 auto; }
  .compute-strip{ grid-template-columns: 1fr; }
  .cta-wide{ flex-direction: column; align-items:flex-start; }
}

@media (prefers-reduced-motion: reduce){
  .blob{ animation: none !important; }
  .js-reveal{ transition: none !important; }
  .step-panel.active{ animation: none !important; }
  .btn-glow:hover{ transform: none !important; }
}