/* =============================================
   ABOUT SHOWCASE — Styles
   Scoped to .ab- prefix / #about
   ============================================= */

/* ---- Section shell ---- */

.ab-section {
  position: relative;
  padding: 7rem 0 8rem;
  overflow: hidden;
}

.ab-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ab-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.38;
}

.ab-bg-orb--1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(139,92,246,0.45) 0%, transparent 70%);
  top: -180px;
  right: -80px;
  animation: ab-orb-1 14s ease-in-out infinite;
}

.ab-bg-orb--2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59,130,246,0.35) 0%, transparent 70%);
  bottom: -120px;
  left: -80px;
  animation: ab-orb-2 17s ease-in-out infinite;
}

@keyframes ab-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-40px, 50px) scale(1.05); }
}

@keyframes ab-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(50px, -35px) scale(1.08); }
}

/* ---- Separator line ---- */

.ab-section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.4) 30%, rgba(59,130,246,0.4) 70%, transparent);
  pointer-events: none;
}

/* ---- Scroll reveal ---- */

.ab-reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(5px);
  transition:
    opacity  750ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 750ms cubic-bezier(0.22, 1, 0.36, 1),
    filter   750ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-reveal.ab-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.ab-reveal-delay-1 { transition-delay: 100ms; }
.ab-reveal-delay-2 { transition-delay: 220ms; }
.ab-reveal-delay-3 { transition-delay: 340ms; }

/* ---- Float-wrap layout ---- */

.ab-grid {
  position: relative;
  z-index: 1;
}

/* clearfix */
.ab-grid::after {
  content: '';
  display: table;
  clear: both;
}

/* ---- Text column ---- */

.ab-col-text {
  display: block;
}

/* Animated label */
.ab-label-wrap {
  margin-bottom: 1.75rem;
}

.ab-animated-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 1.1rem 0.38rem 0.65rem;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.28);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #a78bfa;
}

.ab-label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
  animation: ab-dot-pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ab-dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

/* Heading */
.ab-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #f8fafc;
  margin: 0 0 2.75rem;
}

.ab-heading-gradient {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Chapter storytelling */
.ab-chapters {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.75rem;
}

.ab-chapter {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.25rem 0 0.25rem 1.35rem;
  border-left: 2px solid rgba(139,92,246,0.25);
  transition: border-color 400ms ease;
}

.ab-chapter:hover {
  border-left-color: rgba(139,92,246,0.65);
}

.ab-chapter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #a78bfa;
}

.ab-chapter-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.78;
  color: rgba(248,250,252,0.85);
}

/* CTA */
.ab-cta {
  display: inline-flex;
  margin-top: 0.25rem;
}


/* ---- Scroll glow words ---- */

.ab-glow-word {
  color: rgba(248,250,252,0.18);
  transition: color 500ms ease, text-shadow 500ms ease;
  display: inline;
}

.ab-glow-word--lit {
  color: rgba(248,250,252,0.95);
  text-shadow:
    0 0 14px rgba(255,255,255,0.65),
    0 0 32px rgba(255,255,255,0.22);
}

/* ---- Responsive ---- */

@media (max-width: 720px) {
  .ab-col-visual {
    float: none;
    width: 100%;
    margin: 0 0 2.5rem 0;
  }

  .ab-visual-wrap {
    padding: 1rem 0;
  }

  .ab-profile-card {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .ab-section {
    padding: 5rem 0 6rem;
  }

  .ab-heading {
    font-size: 2.2rem;
  }

  .ab-availability-badge {
    top: 8px;
    left: 8px;
  }

  .ab-visual-wrap {
    min-height: 380px;
    padding: 2.5rem 1rem;
  }

  .ab-profile-card {
    max-width: 100%;
  }

  .ab-stat-value {
    font-size: 1.25rem;
  }
}
