/* =====================================================
   About — page styles
   Shared tokens, base, navbar and footer live in css/shared.css
   ===================================================== */

/* Page-local aliases mapped to the shared design tokens */

:root {
  --blue: var(--primary);
  --blue-dark: var(--primary-dark);
  --purple: var(--accent);
  --violet: var(--accent);
  --black: #15171d;
  --black-soft: #252832;
  --ink: var(--dark);
  --ink-soft: #383b48;
  --muted-light: var(--muted-2);
  --primary-2: var(--primary);
  --shadow: var(--shadow-md);
}

/* Hero */
.about-hero {
  padding: 92px 0 85px;
}

.about-hero-grid {
      display: grid;
      grid-template-columns:
  .95fr
  1.05fr;
      align-items: center;
      gap: 75px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  margin-bottom: 22px;
  border: 1px solid #dfe6ee;
  border-radius: 50px;
  color: #5e6571;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 800;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
          0 0 0 5px rgba(48, 191, 134, .1);
}

.about-hero h1 {
  max-width: 680px;
  margin-bottom: 21px;
  color: #20232d;
  font-size: clamp(42px, 5vw, 30px);
  line-height: 1.25;
  letter-spacing: -1.7px;
  font-weight: 900;
}

.about-hero h1 span {
  position: relative;
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  var(--purple)
          );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero h1 span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -6px;
  height: 6px;
  border-radius: 20px;
  background: rgba(103, 88, 233, .12);
}

.hero-description {
  max-width: 620px;
  margin-bottom: 28px;
  color: #747a87;
  font-size: 14px;
  line-height: 2.3;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  margin-top: 34px;
}

.hero-stat {
  min-width: 130px;
  padding-left: 24px;
  margin-left: 24px;
  border-left: 1px solid #dde3ea;
}

.hero-stat:last-child {
  padding-left: 0;
  margin-left: 0;
  border-left: 0;
}

.hero-stat strong {
  display: block;
  color: #292d37;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 900;
}

.hero-stat span {
  color: #959aa5;
  font-size: 8px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  min-height: 525px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-halo {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background:
          radial-gradient(
                  circle,
                  rgba(35, 156, 254, .14),
                  rgba(103, 88, 233, .045) 45%,
                  transparent 70%
          );
}

.visual-ring {
  position: absolute;
  border: 1px solid rgba(35, 156, 254, .1);
  border-radius: 50%;
}

.ring-one {
  width: 350px;
  height: 350px;
}

.ring-two {
  width: 500px;
  height: 500px;
}

.hero-dashboard {
  position: relative;
  z-index: 2;
  width: min(585px, 94%);
  padding: 14px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 25px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
          0 30px 80px rgba(30, 50, 90, .13);
  transform:
          perspective(1200px)
          rotateY(-4deg)
          rotateX(2deg);
}

.dashboard-top {
  height: 52px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f4;
  border-radius: 15px 15px 0 0;
  background: white;
}

.dashboard-title small {
  display: block;
  color: #9ba0aa;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
}

.dashboard-title strong {
  color: #313540;
  font-size: 10px;
}

.dashboard-status {
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  color: #239e72;
  background: #ebfaf4;
  font-size: 7px;
  font-weight: 800;
}

.dashboard-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.dashboard-content {
  padding: 12px 0 0;
}

.dashboard-chart {
  height: 205px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #f8fafc;
}

.dashboard-grid-lines {
  position: absolute;
  inset: 0;
  background:
          repeating-linear-gradient(
                  to bottom,
                  transparent 0,
                  transparent 39px,
                  rgba(30, 55, 95, .05) 40px
          );
}

.dashboard-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 10px;
}

.dashboard-metric {
  padding: 13px;
  border: 1px solid #edf0f4;
  border-radius: 13px;
  background: white;
}

.dashboard-metric small {
  display: block;
  margin-bottom: 5px;
  color: #9aa0ab;
  font-size: 7px;
}

.dashboard-metric strong {
  display: block;
  color: #30343e;
  font-size: 17px;
  font-weight: 900;
}

.dashboard-metric em {
  display: block;
  margin-top: 3px;
  color: #28ad7b;
  font-size: 7px;
  font-style: normal;
}

.floating-card {
  position: absolute;
  z-index: 5;
  min-width: 155px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid white;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow:
          0 18px 45px rgba(31,49,83,.12);
  animation: floatCard 5s ease-in-out infinite;
}

.floating-card.one {
  top: 70px;
  right: -3px;
}

.floating-card.two {
  bottom: 65px;
  left: -3px;
  animation-delay: 1.3s;
}

.floating-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.floating-icon.blue {
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  var(--purple)
          );
}

.floating-icon.green {
  background:
          linear-gradient(
                  135deg,
                  #35cc95,
                  #159e6b
          );
}

.floating-card strong {
  display: block;
  color: #373b46;
  font-size: 9px;
}

.floating-card small {
  color: #999ea8;
  font-size: 7px;
}

@keyframes floatCard {
  0%,100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-7px);
  }
}

/* Story */
.story {
  padding: 110px 0;
  background: white;
}

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

.story-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: #fbfcfe;
}

.story-card.dark {
  color: white;
  border-color: transparent;
  background:
          radial-gradient(
                  circle at 10% 10%,
                  rgba(35,156,254,.18),
                  transparent 35%
          ),
          linear-gradient(
                  145deg,
                  #171923,
                  #29243b
          );
}

.story-label {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .6px;
}

.story-card.dark .story-label {
  color: #8bc9ff;
}

.story-card h2 {
  margin-bottom: 14px;
  color: inherit;
  font-size: 31px;
  line-height: 1.45;
  font-weight: 900;
}

.story-card p {
  color: #767c89;
  font-size: 12px;
  line-height: 2.15;
}

.story-card.dark p {
  color: #b6bac6;
}

.story-list {
  margin-top: 24px;
  display: grid;
  gap: 11px;
}

.story-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #626874;
  font-size: 10px;
  font-weight: 700;
}

.story-card.dark .story-item {
  color: #d0d3dc;
}

.story-icon {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--blue);
  background: #edf7ff;
  font-size: 11px;
}

.story-card.dark .story-icon {
  color: #b5dcff;
  background: rgba(35,156,254,.12);
}

/* Mission */
.mission {
  padding: 110px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;
}

.section-head h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(32px,4vw,48px);
  line-height: 1.4;
  font-weight: 900;
}

.section-head p {
  font-size: 17px;
  line-height: 2.1;
  background-color: rgb(36, 33, 47);
  color: white;
  border-radius: 38px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 17px;
}

.mission-card {
  min-height: 250px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  transition: .3s ease;
}

.mission-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.mission-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 21px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  var(--purple)
          );
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(76,87,224,.15);
}

.mission-card:nth-child(2) .mission-icon {
  background:
          linear-gradient(
                  135deg,
                  #35ca94,
                  #149c69
          );
}

.mission-card:nth-child(3) .mission-icon {
  background:
          linear-gradient(
                  135deg,
                  #ffb366,
                  #ef8135
          );
}

.mission-card h3 {
  margin-bottom: 10px;
  color: #30343e;
  font-size: 16px;
  font-weight: 900;
}

.mission-card p {
  color: #818692;
  font-size: 10px;
  line-height: 2.1;
}

/* Numbers */
.numbers {
  padding: 110px 0;
}

.numbers-box {
  position: relative;
  overflow: hidden;
  padding: 58px 35px;
  border-radius: 31px;
  color: white;
  background:
          radial-gradient(
                  circle at 90% 5%,
                  rgba(35,156,254,.18),
                  transparent 30%
          ),
          linear-gradient(
                  145deg,
                  #171923,
                  #252a3a
          );
  box-shadow: var(--shadow-lg);
}

.numbers-box::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: -220px;
  top: -300px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
}

.numbers-head {
  max-width: 650px;
  margin: 0 auto 43px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.numbers-head .section-label {
  color: #87c8ff;
}

.numbers-head h2 {
  margin-bottom: 11px;
  font-size: clamp(30px,4vw,45px);
  line-height: 1.4;
  font-weight: 900;
}

.numbers-head p {
  color: #abb1bd;
  font-size: 11px;
  line-height: 2;
}

.numbers-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}

.number-card {
  min-height: 145px;
  padding: 22px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
  background: rgba(255,255,255,.045);
}

.number-card strong {
  display: block;
  margin-bottom: 6px;
  color: white;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 900;
}

.number-card span {
  color: #adb3bf;
  font-size: 9px;
}

/* Values */
.values {
  padding: 110px 0;
  background: white;
}

.values-grid {
      display: grid;
      grid-template-columns:
  1fr
  1fr;
      gap: 70px;
      align-items: center;
}

.values-copy h2 {
  margin-bottom: 17px;
  color: var(--text);
  font-size: clamp(31px,4vw,47px);
  line-height: 1.45;
  font-weight: 900;
}

.values-copy > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2.2;
}

.values-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.value {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5f6470;
  font-size: 10px;
  font-weight: 700;
}

.value-icon {
  width: 33px;
  height: 33px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--purple);
  background: #f0efff;
}

.values-visual {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e1e7ee;
  border-radius: 30px;
  background:
          radial-gradient(
                  circle at 20% 25%,
                  rgba(35,156,254,.12),
                  transparent 28%
          ),
          #eef4f9;
}

.values-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 75px;
  right: calc(50% - 140px);
  border: 1px solid rgba(35,156,254,.14);
  border-radius: 50%;
  box-shadow:
          0 0 0 35px rgba(35,156,254,.025),
          0 0 0 70px rgba(35,156,254,.018);
}

.values-logo {
  position: absolute;
  width: 102px;
  height: 102px;
  top: 164px;
  right: calc(50% - 51px);
  display: grid;
  place-items: center;
  border-radius: 29px;
  color: white;
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  var(--purple)
          );
  font-size: 26px;
  font-weight: 900;
  box-shadow:
          0 25px 50px rgba(40, 94, 212, .22);
}

.values-floating {
  position: absolute;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid white;
  border-radius: 14px;
  color: #3d424c;
  background: rgba(255,255,255,.94);
  box-shadow:
          0 15px 35px rgba(35,52,85,.11);
  font-size: 9px;
  font-weight: 800;
  animation: floatCard 5s ease-in-out infinite;
}

.values-floating.one {
  top: 50px;
  right: 45px;
}

.values-floating.two {
  bottom: 60px;
  left: 45px;
  animation-delay: 1.2s;
}

.values-floating.three {
  top: 100px;
  left: 28px;
  animation-delay: 2.1s;
}

/* Team */
.team {
  padding: 110px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}

.team-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: white;
  text-align: center;
  transition: .3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 23px;
  color: white;
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  var(--purple)
          );
  font-size: 18px;
  font-weight: 900;
}

.team-card:nth-child(2) .team-avatar {
  background:
          linear-gradient(
                  135deg,
                  #35ca94,
                  #149c69
          );
}

.team-card:nth-child(3) .team-avatar {
  background:
          linear-gradient(
                  135deg,
                  #ffb366,
                  #eb833c
          );
}

.team-card:nth-child(4) .team-avatar {
  background:
          linear-gradient(
                  135deg,
                  #e179c0,
                  #b94c9b
          );
}

.team-card h3 {
  margin-bottom: 4px;
  color: #343842;
  font-size: 13px;
  font-weight: 900;
}

.team-card p {
  color: #959aa5;
  font-size: 9px;
}

/* CTA */
.cta-section {
  padding: 15px 0 100px;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 88px 30px;
  text-align: center;
  border-radius: 35px;
  color: white;
  background:
          radial-gradient(
                  circle at 20% 20%,
                  rgba(255,255,255,.11),
                  transparent 25%
          ),
          linear-gradient(
                  135deg,
                  #239cfe,
                  #5144db
          );
  box-shadow: var(--shadow-lg);
}

.cta::before,
        .cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}

.cta::before {
  width: 500px;
  height: 500px;
  right: -120px;
  top: -360px;
}

.cta::after {
  width: 370px;
  height: 370px;
  left: -90px;
  bottom: -290px;
}

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

.cta h2 {
  margin-bottom: 14px;
  font-size: clamp(34px,4vw,51px);
  line-height: 1.4;
  font-weight: 900;
}

.cta p {
  margin-bottom: 27px;
  color: #e0e3ff;
  font-size: 12px;
}

.cta-button {
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 15px;
  color: #5144db;
  background: white;
  font-size: 11px;
  font-weight: 900;
  transition: .3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow:
          0 15px 35px rgba(0,0,0,.14);
}

@media (max-width: 1050px) {

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
}

  .about-hero-content {
    text-align: center;
}

  .about-hero h1,
            .hero-description {
    margin-left: auto;
    margin-right: auto;
}

  .hero-actions,
            .hero-stats {
    justify-content: center;
}

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

  .values-grid {
    grid-template-columns: 1fr;
}

  .values-copy {
    text-align: center;
}

  .values-copy > p {
    margin-left: auto;
    margin-right: auto;
}

  .values-list {
    justify-items: center;
}

  .mission-grid {
    grid-template-columns: repeat(2,1fr);
}

  .numbers-grid {
    grid-template-columns: repeat(2,1fr);
}

  .team-grid {
    grid-template-columns: repeat(2,1fr);
}

}

@media (max-width: 650px) {

  .about-hero {
    padding-top: 72px;
}

  .about-hero h1 {
    font-size: 39px;
}

  .hero-description {
    font-size: 13px;
}

  .hero-actions {
    flex-direction: column;
}

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
}

  .hero-stat {
    min-width: 95px;
    padding: 0;
    margin: 0;
    border-left: 0;
}

  .hero-stat strong {
    font-size: 18px;
}

  .hero-visual {
    min-height: 390px;
}

  .visual-halo {
    width: 325px;
    height: 325px;
}

  .ring-one {
    width: 280px;
    height: 280px;
}

  .ring-two {
    width: 370px;
    height: 370px;
}

  .hero-dashboard {
    width: 96%;
    padding: 8px;
    border-radius: 18px;
    transform: none;
}

  .dashboard-chart {
    height: 135px;
}

  .dashboard-metrics {
    gap: 5px;
}

  .dashboard-metric {
    padding: 8px;
}

  .dashboard-metric strong {
    font-size: 12px;
}

  .dashboard-metric small {
    font-size: 5px;
}

  .dashboard-metric em {
    font-size: 5px;
}

  .floating-card {
    min-width: 125px;
    padding: 9px;
}

  .floating-card.one {
    top: 5px;
    right: 0;
}

  .floating-card.two {
    bottom: 4px;
    left: 0;
}

  .floating-card strong {
    font-size: 8px;
}

  .floating-card small {
    font-size: 6px;
}

  .story,
            .mission,
            .numbers,
            .values,
            .team {
    padding: 75px 0;
}

  .story-card {
    padding: 26px 22px;
    min-height: auto;
}

  .story-card h2 {
    font-size: 26px;
}

  .mission-grid,
            .numbers-grid,
            .team-grid {
    grid-template-columns: 1fr;
}

  .numbers-box {
    padding: 45px 18px;
    border-radius: 26px;
}

  .number-card {
    min-height: 125px;
}

  .number-card strong {
    font-size: 32px;
}

  .values-visual {
    min-height: 345px;
}

  .values-circle {
    width: 210px;
    height: 210px;
    top: 65px;
    right: calc(50% - 105px);
}

  .values-logo {
    width: 82px;
    height: 82px;
    top: 129px;
    right: calc(50% - 41px);
    border-radius: 23px;
    font-size: 21px;
}

  .values-floating {
    padding: 9px 11px;
    font-size: 7px;
}

  .values-floating.one {
    top: 35px;
    right: 16px;
}

  .values-floating.two {
    left: 16px;
    bottom: 33px;
}

  .values-floating.three {
    left: 13px;
    top: 72px;
}

  .cta {
    padding: 60px 20px;
    border-radius: 27px;
}

}

@media (max-width: 440px) {

  .about-hero h1 {
    font-size: 34px;
}

  .hero-visual {
    min-height: 330px;
}

  .dashboard-chart {
    height: 110px;
}

  .dashboard-top {
    height: 44px;
}

  .dashboard-status {
    font-size: 5px;
}

  .dashboard-title strong {
    font-size: 8px;
}

  .visual-halo {
    width: 285px;
    height: 285px;
}

  .ring-one {
    width: 245px;
    height: 245px;
}

  .ring-two {
    width: 320px;
    height: 320px;
}

  .floating-card {
    min-width: 110px;
}

}

@media (prefers-reduced-motion: reduce) {

  .reveal,
            .floating-card,
            .mission-card,
            .team-card,
            .primary-btn,
            .secondary-btn,
            .cta-button,
            .nav-cta {
    animation: none !important;
    transition: none !important;
}

}
