/* ===== ABOUT PAGE STYLES ===== */

/* Page Hero */
.about-hero {
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 10% 18%, rgba(123, 93, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(212, 255, 18, 0.20), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8f8fb 100%);
}

.about-hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
}

.about-hero-orb-purple {
  width: 180px;
  height: 180px;
  left: 6%;
  top: 22%;
  background: rgba(123, 93, 255, 0.2);
}

.about-hero-orb-lime {
  width: 130px;
  height: 130px;
  right: 10%;
  top: 14%;
  background: rgba(212, 255, 18, 0.42);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.about-hero-content h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.12;
  color: #000000;
  margin-top: 18px;
}

.about-hero-content .hero-lede {
  max-width: 680px;
  margin-top: 26px;
}

/* ===== OUR STORY ===== *//* ===== OUR STORY ===== */
.story-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.story-grid {
  display: grid;
  gap: 60px;
  align-items: center;
}

.story-image-block {
  position: relative;
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  background:
    radial-gradient(circle at 22% 20%, rgba(123, 93, 255, 0.22), transparent 20%),
    radial-gradient(circle at 78% 72%, rgba(212, 255, 18, 0.42), transparent 18%),
    linear-gradient(135deg, #ffffff, #f3f3f7);
  box-shadow: 0 34px 100px rgba(0,0,0,0.12);
}

.story-image-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  display: block;
}

.story-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #ffffff;
  border-radius: 8px;
  padding: 16px 22px;
  font-weight: 900;
  color: #000000;
  font-size: 15px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-badge-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent-lime);
  color: #000000;
  font-size: 18px;
}

.story-year-tag {
  position: absolute;
  right: 20px;
  top: 20px;
  background: #000000;
  color: var(--accent-lime);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-copy h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.18;
  color: #000000;
  margin-top: 16px;
}

.story-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-top: 20px;
}

.story-milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.milestone-item {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.milestone-item strong {
  display: block;
  color: var(--primary-purple);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.milestone-item span {
  display: block;
  margin-top: 8px;
  color: rgba(0,0,0,0.62);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

/* ===== WHY RANKBOOST ===== */
.why-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  background: var(--soft-gray);
}

.why-grid {
  display: grid;
  gap: 60px;
  align-items: center;
  margin-top: 64px;
}

.why-pillars {
  display: grid;
  gap: 18px;
}

.pillar-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.09);
}

.pillar-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #000000;
  font-size: 22px;
}

.pillar-card h3 {
  color: #000000;
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.pillar-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 8px;
}

.why-visual {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  background:
    radial-gradient(circle at 24% 22%, rgba(123, 93, 255, 0.24), transparent 22%),
    radial-gradient(circle at 76% 70%, rgba(212, 255, 18, 0.44), transparent 18%),
    linear-gradient(135deg, #ffffff, #f3f3f7);
  box-shadow: 0 34px 100px rgba(0,0,0,0.12);
}

.why-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  display: block;
}

.why-stat-panel {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0,0,0,0.88);
  border-radius: 8px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-stat {
  text-align: center;
}

.why-stat strong {
  display: block;
  color: var(--accent-lime);
  font-size: 28px;
  font-weight: 900;
}

.why-stat span {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== OUR PROCESS ===== */
.process-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.process-full-board {
  display: grid;
  gap: 28px;
  margin-top: 64px;
}

.process-full-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px 32px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.process-full-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.09);
}

.process-full-step.accent-step {
  background: #000000;
}

.process-full-step.accent-step .process-step-num {
  background: var(--accent-lime);
  color: #000000;
}

.process-full-step.accent-step .process-step-body h3 {
  color: #ffffff;
}

.process-full-step.accent-step .process-step-body p {
  color: rgba(255,255,255,0.62);
}

.process-step-num {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #000000;
  color: var(--accent-lime);
  font-size: 18px;
  font-weight: 900;
}

.process-step-body h3 {
  color: #000000;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}

.process-step-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 8px;
}

.process-step-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: #f2f0ff;
  color: var(--primary-purple);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 14px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.accent-step .process-step-tag {
  background: rgba(212, 255, 18, 0.16);
  color: var(--accent-lime);
}

.process-bottom-visual {
  display: grid;
  gap: 24px;
  margin-top: 60px;
}

.process-visual-row {
  display: grid;
  gap: 24px;
}

.process-shot {
  position: relative;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 22px 70px rgba(0,0,0,0.08);
}

.process-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-shot-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #ffffff;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  color: #000000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ===== TEAM ===== */
.team-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  background: #000000;
}

.team-section .section-heading h2,
.team-section .eyebrow {
  color: #ffffff;
}

.team-section .section-heading p {
  color: rgba(255,255,255,0.62);
}

.team-grid {
  display: grid;
  gap: 24px;
  margin-top: 60px;
}

.team-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: #111111;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.3);
}

.team-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: block;
  object-fit: cover;
}

.team-card h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-top: 18px;
}

.team-card-role {
  display: block;
  color: var(--accent-lime);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.team-card p {
  color: rgba(255,255,255,0.62);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 16px;
}

/* ===== FAQ ===== */
.faq-about-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  background: var(--soft-gray);
}

.faq-about-grid {
  display: grid;
  gap: 60px;
  align-items: start;
  margin-top: 64px;
}

.faq-about-list {
  display: grid;
  gap: 14px;
}

.faq-about-list details {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px 22px;
}

.faq-about-list summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #000000;
  font-size: 18px;
  font-weight: 900;
}

.faq-about-list summary::-webkit-details-marker { display: none; }

.faq-about-list summary .chevron-icon {
  color: var(--primary-purple);
  flex: 0 0 auto;
}

.faq-about-list p {
  margin-top: 16px;
  color: rgba(0,0,0,0.62);
  line-height: 1.75;
}

.faq-about-cta {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 8px;
  background: #000000;
  padding: 36px;
  position: sticky;
  top: 130px;
}

.faq-about-cta h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.faq-about-cta p {
  color: rgba(255,255,255,0.62);
  font-size: 16px;
  line-height: 1.75;
  margin-top: 16px;
}

.faq-about-cta a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  border-radius: 8px;
  background: var(--accent-lime);
  color: #000000;
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease;
}

.faq-about-cta a:hover {
  transform: translateY(-2px);
}

.faq-cta-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.faq-cta-metric {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.faq-cta-metric strong {
  display: block;
  color: var(--accent-lime);
  font-size: 26px;
  font-weight: 900;
}

.faq-cta-metric span {
  display: block;
  color: rgba(255,255,255,0.52);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== ABOUT FINAL CTA ===== */
.about-final-cta {
  padding: 80px 20px;
  background: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .story-milestones {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-visual-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-bottom-visual {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .why-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .process-visual-row {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .process-bottom-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .story-section,
  .why-section,
  .process-section,
  .team-section,
  .faq-about-section {
    padding-top: var(--section-gap-mobile);
    padding-bottom: var(--section-gap-mobile);
  }

  .story-image-block,
  .why-visual {
    min-height: 380px;
  }

  .process-full-step {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .process-step-tag {
    grid-column: 2;
  }

  .why-stat-panel {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 16px;
  }

  .why-stat strong {
    font-size: 22px;
  }

  .milestone-item strong {
    font-size: 26px;
  }

  .story-milestones {
    grid-template-columns: 1fr 1fr;
  }

  .milestone-item:last-child {
    grid-column: span 2;
  }
}

/* =====================================================================
   DESIGN SYSTEM NOTES — about.css
   The following sections are now handled by design-system.css:
   - .rb-faq-section / .rb-faq-outer / .rb-faq-list / .rb-faq-cta
   - .rb-final-cta / .rb-final-cta__inner / .rb-cta-bars
   - .rb-hero / .rb-hero-orb--purple / .rb-hero-orb--lime
   Keep .faq-about-section, .faq-about-grid, .faq-about-list,
   .faq-about-cta, .about-final-cta in this file ONLY as fallback
   for old HTML markup that may not yet be migrated.
   ===================================================================== */
