.about-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-dark);
}

.about-main {
  position: relative;
  z-index: 1;
}

.about-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.about-hero {
  position: relative;
  padding: 170px 0 100px;
  overflow: hidden;
}

.about-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 76% 42%, rgba(11, 171, 245, 0.1), transparent 34%),
    linear-gradient(180deg, transparent, rgba(11, 171, 245, 0.025));
  content: "";
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
}

.about-hero-copy {
  position: relative;
  z-index: 1;
}

.about-eyebrow,
.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 800;
}

.about-eyebrow {
  padding: 7px 12px;
  border: 1px solid rgba(11, 171, 245, 0.2);
  border-radius: 999px;
  background: rgba(11, 171, 245, 0.07);
}

.about-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ccf5f;
  box-shadow: 0 0 12px rgba(140, 207, 95, 0.7);
}

.about-hero h1 {
  margin-top: 20px;
  color: var(--text-primary);
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  font-weight: 800;
  line-height: 1.25;
}

.about-hero h1 span,
.about-section-intro h2 span,
.about-section-heading h2 span,
.about-values-copy h2 span {
  color: var(--accent-light);
}

.about-hero-copy > p {
  max-width: 590px;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 1.06rem;
  line-height: 1.95;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.about-button:hover {
  transform: translateY(-2px);
}

.about-button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 26px rgba(11, 171, 245, 0.16);
  color: #fff;
}

.about-button-primary:hover {
  background: linear-gradient(135deg, #38bdf8, var(--accent-dark));
}

.about-button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
}

.about-button-secondary:hover {
  border-color: rgba(11, 171, 245, 0.5);
  color: var(--text-primary);
}

.about-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.about-principles i {
  margin-inline-end: 4px;
  color: #9bdd72;
  font-style: normal;
}

.about-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  isolation: isolate;
}

.about-visual-glow {
  position: absolute;
  z-index: -1;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(11, 171, 245, 0.12);
  filter: blur(70px);
}

.about-code-window {
  width: min(100%, 480px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(28, 28, 31, 0.97), rgba(18, 18, 20, 0.97));
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.38),
    0 0 70px rgba(11, 171, 245, 0.08);
  transform: rotate(-2deg);
}

.about-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--border);
}

.about-window-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b6b;
}

.about-window-bar > span:nth-child(2) {
  background: #f4c95d;
}

.about-window-bar > span:nth-child(3) {
  background: #77cf78;
}

.about-window-bar small {
  margin-inline-start: auto;
  color: var(--text-muted);
  direction: ltr;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
}

.about-code {
  padding: 28px clamp(18px, 4vw, 36px) 18px;
  color: #d6deeb;
  font-family: "Space Grotesk", monospace;
  font-size: clamp(0.78rem, 1.5vw, 0.98rem);
  line-height: 2;
  text-align: left;
}

.about-code p {
  white-space: pre;
}

.about-code .code-indent {
  padding-left: 24px;
}

.code-purple {
  color: #c792ea;
}

.code-green {
  color: #c3e88d;
}

.code-blue {
  color: #82aaff;
}

.about-code .code-last {
  margin-top: 10px;
}

.code-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--accent-light);
}

.about-window-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 18px 18px;
  padding: 12px;
  border: 1px solid rgba(11, 171, 245, 0.17);
  border-radius: 8px;
  background: rgba(11, 171, 245, 0.06);
}

.about-note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(11, 171, 245, 0.13);
  color: var(--accent-light);
}

.about-window-note strong,
.about-window-note small {
  display: block;
}

.about-window-note strong {
  color: var(--text-primary);
  font-size: 0.78rem;
}

.about-window-note small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.about-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 171, 245, 0.25);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--accent-light);
  font-family: "Space Grotesk", monospace;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.about-orbit-one {
  top: 11%;
  right: 4%;
  width: 54px;
  height: 54px;
  font-size: 1.35rem;
  transform: rotate(9deg);
}

.about-orbit-two {
  bottom: 13%;
  left: 1%;
  width: 64px;
  height: 50px;
  font-size: 1.1rem;
  transform: rotate(-8deg);
}

.about-mission {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 7vw, 92px);
  padding-top: 78px;
  padding-bottom: 84px;
  border-top: 1px solid var(--border);
}

.about-section-intro h2,
.about-section-heading h2,
.about-values-copy h2 {
  margin-top: 10px;
  color: var(--text-primary);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.45;
}

.about-mission-copy {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 2;
}

.about-approach {
  padding: 82px 0 88px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 0, rgba(11, 171, 245, 0.06), transparent 55%),
    var(--bg-card);
}

.about-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.about-section-heading > p {
  max-width: 390px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.9;
}

.about-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-dark);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 171, 245, 0.42);
}

.about-feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.about-icon-cyan {
  color: #53c8ff;
  background: rgba(83, 200, 255, 0.08);
}

.about-icon-purple {
  color: #bb9cff;
  background: rgba(187, 156, 255, 0.08);
}

.about-icon-green {
  color: #a6dd79;
  background: rgba(166, 221, 121, 0.08);
}

.about-card-index {
  display: block;
  margin-top: 22px;
  color: var(--text-muted);
  font-family: "Space Grotesk", "Cairo", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.about-feature-card h3 {
  margin-top: 5px;
  color: var(--text-primary);
  font-size: 1.08rem;
  font-weight: 800;
}

.about-feature-card p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.9;
}

.about-values {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
  padding-top: 96px;
  padding-bottom: 96px;
}

.about-values-copy > p {
  max-width: 430px;
  margin-top: 13px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.95;
}

.about-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--accent-light);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.about-inline-link:hover {
  color: var(--text-primary);
}

.about-value-list {
  display: grid;
  gap: 12px;
}

.about-value-list article {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-card);
}

.about-value-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 9px;
  background: rgba(11, 171, 245, 0.1);
  color: var(--accent-light);
  font-weight: 800;
}

.about-value-list h3 {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.about-value-list p {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.8;
}

.about-cta {
  padding: 52px 0;
  border-top: 1px solid rgba(11, 171, 245, 0.18);
  background:
    radial-gradient(ellipse at 15% 50%, rgba(11, 171, 245, 0.13), transparent 50%),
    var(--bg-card);
}

.about-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-cta h2 {
  margin-top: 5px;
  color: var(--text-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.about-cta p {
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

:root.light-theme .about-code-window {
  background: linear-gradient(145deg, #fff, #f1f5f9);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.12);
}

:root.light-theme .about-code {
  color: #334155;
}

:root.light-theme .about-feature-card {
  background: var(--bg-card);
}

:root.light-theme .about-approach {
  background:
    radial-gradient(ellipse at 50% 0, rgba(11, 171, 245, 0.08), transparent 55%),
    var(--bg-elevated);
}

@media (max-width: 900px) {
  .about-hero {
    padding-top: 145px;
  }

  .about-hero-grid {
    gap: 36px;
  }

  .about-visual {
    min-height: 330px;
  }

  .about-mission,
  .about-values {
    gap: 38px;
  }
}

@media (max-width: 700px) {
  .about-shell {
    width: min(100% - 32px, 560px);
  }

  .about-hero {
    padding: 122px 0 62px;
  }

  .about-hero-grid,
  .about-mission,
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    gap: 22px;
  }

  .about-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .about-hero-copy > p {
    font-size: 0.94rem;
  }

  .about-principles {
    gap: 8px 14px;
  }

  .about-visual {
    min-height: 315px;
    margin: 0 4px;
  }

  .about-code-window {
    transform: none;
  }

  .about-orbit-one {
    top: 2%;
    right: 0;
  }

  .about-orbit-two {
    bottom: 2%;
    left: 0;
  }

  .about-mission {
    gap: 14px;
    padding-top: 50px;
    padding-bottom: 58px;
  }

  .about-mission-copy {
    font-size: 0.9rem;
  }

  .about-approach {
    padding: 58px 0;
  }

  .about-section-heading,
  .about-cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-section-heading {
    gap: 10px;
  }

  .about-approach-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-card {
    min-height: 0;
  }

  .about-values {
    gap: 24px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .about-cta {
    padding: 40px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
