/* ═══════════════════════════════════════════
   ABOUT PAGE – Premium Dark SaaS Aesthetic
   ═══════════════════════════════════════════ */

/* ── Layout ── */
.about-page {
  --purple:      #a76bf3;
  --purple-deep: #7c3aed;
  --purple-soft: #c084fc;
  --pink:        #ec4899;
  --ink:         #f8f7ff;
  --muted:       #b9b3ca;
  --line:        rgba(255,255,255,.08);
  max-width: 1080px;
  margin: auto;
  padding: clamp(3rem,7vw,7rem) 1.25rem;
  color: var(--ink);
}

/* Override main-content wrapper */
.main-content:has(.about-page) { padding: 0; }
.main-content:has(.about-page) > .container { max-width: none; padding: 0; }


/* ═══════════════════════════════════════════
   KICKER (shared label component)
   ═══════════════════════════════════════════ */
.about-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--purple-soft), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.about-hero {
  text-align: center;
  max-width: 850px;
  margin: auto;
  padding-bottom: 5rem;
  position: relative;
}

/* Ambient glow behind hero */
.about-hero::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124,58,237,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.about-hero h1 {
  font-size: clamp(2.7rem,6vw,5rem);
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 1rem 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fff 40%, var(--purple-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated gradient bar under hero heading */
.about-hero h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 1.2rem auto 0;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  background-size: 200% 100%;
  animation: about-gradient-slide 3s ease-in-out infinite;
}
@keyframes about-gradient-slide {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.about-hero p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.08rem;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════════
   COPY SECTION (Two-column)
   ═══════════════════════════════════════════ */
.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}
/* Gradient accent on border */
.about-copy::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), transparent);
}

.about-copy h2,
.about-values h2 {
  font-size: clamp(2rem,4vw,3rem);
  letter-spacing: -.035em;
  margin-top: 0;
  background: linear-gradient(135deg, #fff 60%, var(--purple-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.06rem;
  margin-bottom: 1rem;
}


/* ═══════════════════════════════════════════
   VALUES SECTION
   ═══════════════════════════════════════════ */
.about-values {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.about-values::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), transparent);
}

.about-values h2 {
  margin-bottom: 2.5rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.value-grid article {
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border-radius: 20px;
  transition: .35s transform, .35s border-color, .35s box-shadow;
  position: relative;
  overflow: hidden;
}

/* Top gradient accent on hover */
.value-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  opacity: 0;
  transition: opacity .35s;
}
.value-grid article:hover::before { opacity: 1; }

.value-grid article:hover {
  border-color: rgba(167,107,243,.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124,58,237,.12),
              inset 0 1px 0 rgba(255,255,255,.06);
}

/* Numbered badge */
.value-grid .value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 900;
  color: var(--purple-soft);
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(236,72,153,.08));
  border: 1px solid rgba(167,107,243,.2);
}

/* Fallback for old span styling */
.value-grid span:not(.value-number):not(.about-kicker) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 900;
  color: var(--purple-soft);
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(236,72,153,.08));
  border: 1px solid rgba(167,107,243,.2);
}

/* Value icon circles */
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(236,72,153,.10));
  border: 1px solid rgba(167,107,243,.2);
  margin-bottom: .8rem;
}
.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--purple-soft);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-grid h3 {
  font-size: 1.12rem;
  margin: 1rem 0 .65rem;
  letter-spacing: -.015em;
}
.value-grid p {
  color: var(--muted);
  line-height: 1.7;
  font-size: .92rem;
  margin: 0;
}


/* ═══════════════════════════════════════════
   MISSION BANNER
   ═══════════════════════════════════════════ */
.about-mission {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.2rem;
  margin: 0 0 5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.025);
  position: relative;
  overflow: hidden;
}
.about-mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--purple), var(--pink));
  border-radius: 3px 0 0 3px;
}
.about-mission-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(236,72,153,.10));
  border: 1px solid rgba(167,107,243,.2);
}
.about-mission-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--purple-soft);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-mission p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}
.about-mission strong {
  color: var(--ink);
}


/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(2rem,4vw,3rem);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(236,72,153,.08));
  border: 1px solid rgba(167,107,243,.3);
  box-shadow: 0 20px 60px rgba(124,58,237,.12);
}

/* Animated gradient top border */
.about-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--purple));
  background-size: 200% 100%;
  animation: about-gradient-slide 3s ease-in-out infinite;
}

.about-cta h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.6rem,3vw,2.2rem);
  letter-spacing: -.025em;
  background: linear-gradient(135deg, #fff 60%, var(--purple-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-cta p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.about-cta a:not(.about-kicker) {
  flex: none;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--pink));
  padding: .9rem 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  font-size: .95rem;
  box-shadow: 0 14px 40px rgba(124,58,237,.28);
  transition: .25s transform, .25s box-shadow;
  position: relative;
  overflow: hidden;
}
.about-cta a:not(.about-kicker):hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(124,58,237,.40);
}
/* Shimmer */
.about-cta a:not(.about-kicker)::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.12) 50%, transparent 80%);
  transform: skewX(-25deg);
  animation: about-shimmer 4s ease-in-out infinite;
}
@keyframes about-shimmer {
  0%   { left: -75%; }
  100% { left: 175%; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 760px) {
  .about-copy,
  .value-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-cta {
    display: grid;
  }
  .about-cta a:not(.about-kicker) {
    text-align: center;
    width: 100%;
  }
  .about-mission {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .about-page { padding-inline: 1rem; }
  .about-hero h1 { font-size: 2.5rem; }
  .about-hero { padding-bottom: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
