/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE STYLES
   ═══════════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --about-bg: #08090b;
  --about-surface: #101318;
  --about-card: #101318;
  --about-border: rgba(255, 255, 255, 0.08);
  --about-text: #eef2f7;
  --about-text-muted: #a6b0bf;
  --about-accent-yellow: #ffffff;
  --about-accent-blue: #00b4ff;
  --about-accent-green: #39ff14;
  --about-accent-purple: #b537f2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--about-bg);
  color: var(--about-text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.6;
}

.wrap {
  width: min(1240px, 100% - 48px);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */

h1,
h2,
h3 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 700;
}

h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 24px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

p {
  margin: 0;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.32);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--about-accent-yellow);
  color: var(--about-bg);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-ghost {
  background: transparent;
  color: var(--about-text);
  border: 1px solid var(--about-border);
}

.btn-ghost:hover {
  border-color: var(--about-accent-blue);
  background: rgba(0, 180, 255, 0.04);
}

.btn-secondary {
  background: transparent;
  color: var(--about-accent-blue);
  border: 1px solid var(--about-accent-blue);
}

.btn-secondary:hover {
  background: rgba(0, 180, 255, 0.1);
  border-color: var(--about-accent-blue);
}

/* ═══════════════════════════════════════════════════════════════
   TAGS & BADGES
   ═══════════════════════════════════════════════════════════════ */

.about-tag {
  display: inline-block;
  border: 1px solid var(--about-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: var(--about-text);
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   MOTION / INTERSECTION OBSERVER
   ═══════════════════════════════════════════════════════════════ */

[data-motion] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-motion].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.about-hero {
  padding: 120px 0 80px;
}

.about-hero__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-hero__title {
  margin-top: 16px;
  margin-bottom: 24px;
}

.about-hero__lede {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--about-text);
  margin-bottom: 16px;
}

.about-hero__sub {
  font-size: 16px;
  color: var(--about-text-muted);
  margin-bottom: 32px;
}

.about-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION STRUCTURE
   ═══════════════════════════════════════════════════════════════ */

.about-section {
  padding: 100px 0;
  border-top: 1px solid var(--about-border);
}

.about-section:first-of-type {
  border-top: none;
}

.about-section__head {
  text-align: center;
  margin-bottom: 64px;
}

.about-section__head h2 {
  margin-bottom: 12px;
}

.about-section__head > p {
  font-size: 16px;
  color: var(--about-text-muted);
}

.about-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-section__layout--reverse {
  grid-template-columns: 1fr 1fr;
}

.about-section__layout--reverse > .about-section__visual {
  order: -1;
}

.about-section__content h2 {
  margin-bottom: 32px;
}

.about-section__content > p {
  font-size: 16px;
  color: var(--about-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-section__content > p:last-of-type {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   VISUAL PLACEHOLDERS
   ═══════════════════════════════════════════════════════════════ */

.about-visual-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--about-border);
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(0, 180, 255, 0.02) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual-placeholder svg {
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEM SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */

.about-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.stat-mini {
  padding: 24px;
  border: 1px solid var(--about-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-mini__number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--about-accent-yellow);
  margin-bottom: 8px;
  font-family: "Archivo", sans-serif;
}

.stat-mini__label {
  display: block;
  font-size: 13px;
  color: var(--about-text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   SOLUTION SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */

.about-solution-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}

.solution-step {
  padding: 32px;
  border: 1px solid var(--about-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.solution-step:hover {
  border-color: rgba(0, 180, 255, 0.3);
  background: rgba(0, 180, 255, 0.04);
}

.step-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--about-accent-blue);
  font-family: "Archivo", sans-serif;
  margin-bottom: 12px;
}

.solution-step h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.solution-step p {
  font-size: 14px;
  color: var(--about-text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   METRICS GRID
   ═══════════════════════════════════════════════════════════════ */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.metric-card {
  padding: 40px 32px;
  border: 1px solid var(--about-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  text-align: center;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.metric-card:hover {
  border-color: var(--about-accent-yellow);
  background: rgba(255, 255, 255, 0.03);
}

.metric-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--about-accent-yellow);
  font-family: "Archivo", sans-serif;
  margin-bottom: 8px;
  line-height: 1;
}

.metric-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--about-text);
  margin-bottom: 12px;
}

.metric-desc {
  font-size: 13px;
  color: var(--about-text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border: 1px solid var(--about-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--about-accent-blue);
  background: rgba(0, 180, 255, 0.04);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 180, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--about-accent-blue);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.feature-card p {
  font-size: 14px;
  color: var(--about-text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   VISION SECTION
   ═══════════════════════════════════════════════════════════════ */

.about-vision-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-vision-content h2 {
  margin-bottom: 24px;
}

.about-vision-content > p {
  font-size: 16px;
  color: var(--about-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.vision-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
  padding: 40px;
  border: 1px solid var(--about-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
}

.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.highlight-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--about-accent-green);
  margin-bottom: 8px;
}

.highlight-desc {
  display: block;
  font-size: 13px;
  color: var(--about-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

.about-cta-final {
  padding: 80px 0;
  border-top: 1px solid var(--about-border);
}

.about-cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.about-cta-content h2 {
  margin-bottom: 12px;
}

.about-cta-content > p {
  font-size: 18px;
  color: var(--about-text-muted);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .wrap {
    width: min(1240px, 100% - 24px);
  }

  .about-hero {
    padding: 80px 0 60px;
  }

  .about-section {
    padding: 80px 0;
  }

  .about-section__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-section__layout--reverse > .about-section__visual {
    order: 0;
  }

  .about-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .about-hero__actions .btn {
    width: 100%;
  }

  .about-stats-mini {
    grid-template-columns: 1fr;
  }

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

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

  .vision-highlights {
    grid-template-columns: 1fr;
  }

  .about-section__head {
    margin-bottom: 48px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .about-hero {
    padding: 60px 0 40px;
  }

  .about-hero__title {
    margin-bottom: 20px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-section__layout {
    gap: 32px;
  }

  .about-section__content h2 {
    margin-bottom: 20px;
  }

  .solution-step {
    padding: 24px;
  }

  .metric-card {
    padding: 28px 20px;
  }

  .metric-number {
    font-size: 36px;
  }

  .feature-card {
    padding: 24px;
  }

  .about-tag {
    font-size: 10px;
    padding: 6px 12px;
  }

  .about-cta-final {
    padding: 60px 0;
  }

  .vision-highlights {
    padding: 28px 24px;
    gap: 20px;
  }

  .about-hero__sub {
    margin-bottom: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  [data-motion],
  .btn,
  .feature-card,
  .metric-card,
  .solution-step {
    transition: none;
    will-change: auto;
  }

  .btn:hover,
  .feature-card:hover {
    transform: none;
  }
}

/* Light theme support (if toggled) */
:root[data-theme="light"] {
  --about-bg: #f6f7fb;
  --about-surface: #ffffff;
  --about-card: #ffffff;
  --about-border: #dbe2ec;
  --about-text: #0d1117;
  --about-text-muted: #526077;
  --about-accent-yellow: #0d1117;
  --about-accent-blue: #0099ff;
  --about-accent-green: #22c55e;
  --about-accent-purple: #9d4edd;
}
