/* =========================================================================
   About page — "Edunexa Aurora" visual redesign
   Page-scoped only. Reuses tokens/utilities from style.css (--accent,
   --violet, --gradient-aurora, --radius-*, --shadow-*, .eyebrow, .btn,
   em/.grad-text, [data-reveal]) but every rule below is namespaced under
   about-page-specific classes so nothing here touches shared components.
   ========================================================================= */

/* ---------- Shared decorative bits ---------- */
.about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.about-icon svg { display: block; }

/* Blurred glow blobs dropped for the "solid Material" pass — Material
   surfaces use flat colour + elevation shadows, not glow blobs, so both
   pairs below are suppressed rather than reskinned. */
.about-blobs { position: relative; isolation: isolate; }

/* ---------- Hero enhancements ---------- */
.about-hero { position: relative; overflow: hidden; }
.about-hero .wrap { position: relative; z-index: 1; }

.about-hero__illustration { display: block; margin: 36px auto 0; }
.about-hero__dock {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.about-hero__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.about-hero__chip .about-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gradient-aurora);
  color: #fff;
}
.about-hero__chip .about-icon svg { width: 17px; height: 17px; }

/* ---------- Intro ("Welcome to Edunexa") ---------- */
.about-intro { position: relative; padding: 110px 0; background: var(--paper); overflow: hidden; }
.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.about-intro__head { position: sticky; top: 108px; }
.about-intro__head .section-title { margin-bottom: 22px; }
.about-intro__motif {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 168px;
  margin-bottom: 26px;
}
.about-intro__motif .about-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--paper-soft);
  border: 1px solid var(--border);
  color: var(--accent-dark);
}
.about-intro__motif .about-icon:nth-child(2) { color: var(--violet-dark); }
.about-intro__motif .about-icon:nth-child(3) { color: var(--violet-dark); }
.about-intro__motif .about-icon:nth-child(4) { color: var(--accent-dark); }
.about-intro__motif svg { width: 24px; height: 24px; }

.about-intro__copy {
  position: relative;
  padding-left: 34px;
  border-left: 2px solid var(--border);
}
.about-intro__copy::before {
  content: '';
  position: absolute;
  left: -2px; top: 0;
  width: 2px;
  height: 92px;
  background: var(--gradient-aurora);
  border-radius: 2px;
}
.about-intro__copy p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.8; margin-bottom: 24px; }
.about-intro__copy p:last-child { margin-bottom: 0; }
.about-lede {
  color: var(--ink) !important;
  font-size: 1.2rem !important;
  font-weight: 500;
  line-height: 1.65 !important;
}
.about-note {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px !important;
  display: flex;
  gap: 16px;
  font-size: 0.95rem !important;
  color: var(--ink-soft) !important;
}
.about-note::before {
  content: '';
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 6px;
  background: var(--gradient-aurora);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Persona grid ("Who Edunexa Is Built For") ---------- */
.about-personas { padding: 100px 0 116px; background: var(--paper-soft); position: relative; }
.about-personas .section-head-row { max-width: 680px; margin: 0 0 52px; }
.about-personas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}
.persona-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 32px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.persona-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-aurora);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.persona-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.persona-card:hover::before { opacity: 1; }
.persona-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.persona-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.persona-card__icon svg { width: 22px; height: 22px; }
.persona-card:nth-child(2n) .persona-card__icon { background: var(--violet-soft); color: var(--violet-dark); }
.persona-card__num {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  opacity: 0.55;
  letter-spacing: 0.02em;
}
.persona-card h2 { font-size: 1.12rem; font-weight: 600; margin-bottom: 12px; line-height: 1.3; }
.persona-card__lede {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.94rem !important;
  line-height: 1.55 !important;
  margin-bottom: 14px !important;
}
.persona-card p { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.68; margin-bottom: 14px; }
.persona-card p:last-child { margin-bottom: 0; }

/* ---------- Toolsets intro ---------- */
.about-toolsets { padding: 112px 0 0; background: var(--paper); }
.about-toolsets__head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.about-toolsets__head .eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- Toolset timeline (CRM / PM / HR / Financial) ---------- */
.toolset-timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.toolset-timeline::before {
  content: '';
  position: absolute;
  left: 33px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: var(--accent);
  opacity: 0.18;
}
.toolset-item {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 32px;
  padding: 46px 0;
  border-top: 1px solid var(--border);
}
.toolset-item:first-child { border-top: none; padding-top: 0; }
.toolset-item:last-child { padding-bottom: 0; }
.toolset-item__marker { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.toolset-item__num {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.toolset-item__num svg { width: 28px; height: 28px; }
.toolset-item:nth-child(2n) .toolset-item__num { color: var(--violet-dark); }
.toolset-item:hover .toolset-item__num {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}
.toolset-item__body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.28;
}
.toolset-item__body p { color: var(--ink-soft); font-size: 1rem; line-height: 1.78; margin-bottom: 20px; max-width: 760px; }
.toolset-item__body p:last-child { margin-bottom: 0; }
.toolset-item__body p:first-of-type {
  color: var(--ink);
  font-size: 1.08rem;
}

/* ---------- Why businesses choose one dashboard (dark panel) ---------- */
.about-why {
  position: relative;
  margin: 96px 24px 0;
  padding: 88px 0;
  border-radius: var(--radius-lg);
  background: var(--panel-dark);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.about-why .wrap { max-width: 900px; }
.about-why__head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.about-why__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient-aurora);
  color: #fff;
  flex: none;
}
.about-why__icon svg { width: 26px; height: 26px; }
.about-why h3 { font-size: 1.7rem; font-weight: 600; color: var(--paper); margin: 0; line-height: 1.3; }
.about-why p { color: var(--ink-on-dark); font-size: 1.02rem; line-height: 1.8; margin-bottom: 20px; }
.about-why p:last-child { margin-bottom: 0; }

/* ---------- Your data and your dashboard (trust panel) ---------- */
.about-trust { padding: 96px 0 100px; background: var(--paper); }
.about-trust__panel {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px clamp(24px, 5vw, 64px);
}
.about-trust__head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.about-trust__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--accent-dark);
  flex: none;
}
.about-trust__icon svg { width: 26px; height: 26px; }
.about-trust h3 { font-size: 1.7rem; font-weight: 600; margin: 0; line-height: 1.3; }
.about-trust__body { margin-top: 30px; columns: 1; }
.about-trust__body p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.8; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.about-trust__body p:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

/* ---------- Closing statement + CTA ---------- */
.about-closing { padding: 100px 0 130px; background: var(--paper); }
.about-closing__card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 68px clamp(24px, 6vw, 72px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}
.about-closing__card p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.8;
  margin-bottom: 22px;
}
.about-closing__card p:first-of-type {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
}
.about-closing__card .btn { margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-intro__head { position: static; }
  .about-intro__motif { width: 148px; }
  .about-personas__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .about-hero__dock { gap: 8px; }
  .about-hero__chip .about-icon { width: 28px; height: 28px; }
  .about-hero__chip .about-icon svg { width: 14px; height: 14px; }
  .about-intro { padding: 64px 0; }
  .about-intro__copy { padding-left: 22px; }
  .about-personas { padding: 60px 0 68px; }
  .about-personas__grid { grid-template-columns: 1fr; }
  .about-toolsets { padding: 64px 0 0; }
  .about-toolsets__head { margin-bottom: 46px; }
  .toolset-timeline::before { left: 25px; }
  .toolset-item { grid-template-columns: 50px 1fr; gap: 18px; padding: 34px 0; }
  .toolset-item__num { width: 50px; height: 50px; }
  .toolset-item__num svg { width: 22px; height: 22px; }
  .toolset-item__body h3 { font-size: 1.25rem; }
  .about-why { margin: 64px 16px 0; padding: 56px 0; }
  .about-why__head { gap: 14px; }
  .about-why__icon { width: 44px; height: 44px; }
  .about-why h3 { font-size: 1.35rem; }
  .about-trust { padding: 64px 0 68px; }
  .about-trust__panel { padding: 36px 20px; }
  .about-trust__head { gap: 14px; }
  .about-trust__icon { width: 44px; height: 44px; }
  .about-trust h3 { font-size: 1.35rem; }
  .about-closing { padding: 64px 0 76px; }
  .about-closing__card { padding: 44px 22px; }
  .about-closing__card p:first-of-type { font-size: 1.08rem; }
}
