/* =========================================================
   SHARED — section header + reveal utility
   ========================================================= */
html { scroll-behavior: smooth; }

/* Reveal animations (used across sections) */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reusable section header (01 — LABEL) */
.section-header {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  font-family: var(--font-display);
}

.section-header__number {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--accent-3);
}

.section-header__line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-3), transparent);
}

.section-header__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  z-index: 1;
}

/* --- Background --- */
.about__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.about__outline-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 24vw, 380px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}

.about__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.22;
}

.about__glow--1 { top: 10%;     left: -180px;  background: var(--accent-1); }
.about__glow--2 { bottom: 5%;   right: -180px; background: var(--accent-2); }

/* Content layer */
.about > .container-fluid { position: relative; z-index: 1; }

/* --- Title --- */
.about__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: var(--fg);
  max-width: 760px;
  background: linear-gradient(180deg, #ffffff 0%, #c8c8dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__title-highlight {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
}

/* --- Bio --- */
.about__bio { margin-bottom: 44px; }

.about__para {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-soft);
  margin: 0 0 20px;
  max-width: 620px;
}

.about__para:last-child { color: var(--muted); }

.about__para em {
  font-style: normal;
  color: var(--fg);
  font-weight: 500;
}

/* --- Actions --- */
.about__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-gradient {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    0 12px 30px -10px rgba(139, 92, 246, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease;
  overflow: hidden;
}

.btn-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px -10px rgba(139, 92, 246, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn-gradient:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    gap 0.3s var(--ease-out),
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.btn-ghost:hover {
  gap: 12px;
  border-color: var(--accent-3);
  color: var(--accent-3);
  background: rgba(34, 211, 238, 0.06);
}

.btn-gradient svg,
.btn-ghost svg { transition: transform 0.3s var(--ease-out); }
.btn-ghost:hover svg { transform: translateX(3px); }

/* =========================================================
   FACT CARD (right)
   ========================================================= */
.fact-card {
  position: relative;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(139, 92, 246, 0.2) 100%
  );
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

.fact-card__inner {
  padding: 28px 28px 24px;
  border-radius: 21px;
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
}

.fact-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.fact-card__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.fact-card__version {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

.fact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fact-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.10);
  color: var(--accent-3);
  border: 1px solid rgba(139, 92, 246, 0.22);
}

.fact-item__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.fact-item__label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.fact-item__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.45;
}

.fact-item__value strong {
  color: var(--accent-3);
  font-weight: 500;
}

/* =========================================================
   STATS GRID
   ========================================================= */
.stats-grid {
  margin-top: 90px;
  padding: 42px 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.stats-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
}

.stat {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--border);
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #a8a8c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .about { padding: 110px 0 90px; }
  .about__aside { margin-top: 40px; }

  .stats-grid {
    margin-top: 70px;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
    padding: 32px 24px;
  }

  .stat:nth-child(3)::before { display: none; }
}

@media (max-width: 575.98px) {
  .about { padding: 90px 0 70px; }

  .about__outline-text { font-size: 120px; }

  .about__actions { flex-direction: column; align-items: stretch; }
  .btn-gradient, .btn-ghost { justify-content: center; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 28px 20px;
    gap: 28px 16px;
  }

  .stat { padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .fact-card__dot { animation: none !important; }
}
