/* ===============================
   ABOUT PAGE — MIDNIGHT SIGNAL X
================================ */

/* ================= ABOUT LAYOUT ================= */

.about-page {

  position: relative;
}

.about-page .section {
  margin-top: 34px;
}

/* ================= HERO ================= */

.about-hero {

  position: relative;

  overflow: hidden;

  padding: 34px;

  border-radius: 30px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.014)
    );

  border:
    1px solid var(--border-soft);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.32);
}

/* subtle atmosphere */
.about-hero::before {

  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02),
      transparent 28%
    );

  pointer-events: none;

  opacity: 0.85;
}

/* orb */
.about-hero::after {

  content: '';

  position: absolute;

  top: -140px;
  right: -140px;

  width: 320px;
  height: 320px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      color-mix(
        in srgb,
        var(--highlight) 18%,
        transparent
      ),
      transparent 70%
    );

  pointer-events: none;
}

/* ================= TYPOGRAPHY ================= */

.about-page h1 {

  position: relative;

  z-index: 2;

  margin-bottom: 18px;

  font-size:
    clamp(2.2rem, 4vw, 3.2rem);

  line-height: 1.08;

  letter-spacing: -0.05em;

  color: var(--text);
}

.about-page h2 {

  margin-bottom: 16px;

  font-size:
    clamp(1.4rem, 2vw, 1.9rem);

  line-height: 1.2;

  letter-spacing: -0.03em;

  color: var(--text);
}

.about-page p {

  position: relative;

  z-index: 2;

  max-width: 78ch;

  color: var(--muted);

  line-height: 1.8;

  font-size: 0.98rem;
}

/* ================= GRID ================= */

.about-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 20px;

  margin: 30px 0;
}

/* ================= CARDS ================= */

.about-item {

  position: relative;

  overflow: hidden;

  padding: 22px;

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.028),
      rgba(255,255,255,0.014)
    );

  border:
    1px solid var(--border-soft);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 16px 36px rgba(0,0,0,0.28);

  transition:
    transform var(--motion-mid),
    border-color var(--motion-fast),
    box-shadow var(--motion-mid);
}

/* atmosphere layer */
.about-item::before {

  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.02),
      transparent 30%
    );

  pointer-events: none;

  opacity: 0.8;
}

.about-item:hover {

  transform: translateY(-3px);

  border-color:
    rgba(255,255,255,0.10);

  box-shadow:
    0 22px 44px rgba(0,0,0,0.34),
    0 0 18px rgba(138,108,255,0.05);
}

/* ================= ICON ================= */

.about-icon {

  position: relative;

  z-index: 2;

  margin-bottom: 10px;

  font-size: 1.4rem;

  color:
    color-mix(
      in srgb,
      var(--accent) 72%,
      var(--text)
    );
}

/* ================= CARD TYPOGRAPHY ================= */

.about-item h3 {

  position: relative;

  z-index: 2;

  margin: 0 0 10px;

  font-size: 1rem;

  font-weight: 700;

  letter-spacing: -0.02em;

  color: var(--text);
}

.about-item p {

  position: relative;

  z-index: 2;

  margin: 0;

  font-size: 0.9rem;

  line-height: 1.7;

  color: var(--muted);
}

/* ================= CTA ================= */

.about-cta {

  margin-top: 42px;

  text-align: center;
}

.about-cta .solid-btn {

  min-width: 220px;

  justify-content: center;
}

/* ================= COMPARE ================= */

.about-compare {
  margin-top: 46px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 820px){

  .about-hero {
    padding: 26px;
    border-radius: 26px;
  }

  .about-grid {
    gap: 16px;
  }

  .about-item {
    padding: 18px;
    border-radius: 22px;
  }

  .about-page h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 560px){

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

  .about-hero {
    padding: 22px;
  }

  .about-page h1 {
    font-size: 2rem;
  }
}