/* ==========================================================================
   RITIVERSE — ABOUT PAGE DEDICATED STYLES
   (about.html)
   ========================================================================== */

/* Stats Metric Strip */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 218, 204, 0.85);
  border-radius: 16px;
  padding: 36px 30px;
  margin: 60px 0;
  text-align: center;
  box-shadow: 0 20px 40px -15px rgba(217, 119, 6, 0.08);
}

.stat-item-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}

.stat-item-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
}



/* 4-Step Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-step-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 218, 204, 0.85);
  border-radius: 14px;
  padding: 28px 22px;
  position: relative;
  box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.04);
  transition: all 0.22s ease;
}

.process-step-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -10px rgba(248, 104, 0, 0.18);
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 16px;
  display: inline-block;
}

.process-step-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}



/* Alternating Capability Deep-Dive */
.capability-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.capability-row:last-child {
  margin-bottom: 0;
}

.capability-row.reverse {
  direction: rtl;
}

.capability-row.reverse>* {
  direction: ltr;
}

.capability-content h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 16px;
}

.capability-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 22px;
}

.capability-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.capability-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.check-icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(254, 243, 199, 0.9);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}



/* Architecture Card Visual (Amber Minimal Surface) */
.arch-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 218, 204, 0.85);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(217, 119, 6, 0.08);
}

.arch-card-header {
  background: rgba(250, 247, 238, 0.95);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 218, 204, 0.85);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.term-red {
  background: #EF4444;
}

.term-yellow {
  background: #F59E0B;
}

.term-green {
  background: #10B981;
}

.arch-card-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748B;
}

.arch-card-body {
  padding: 24px;
}

.arch-code-block {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #1E293B;
}

.code-keyword {
  color: var(--brand-orange);
  font-weight: 600;
}

.code-prop {
  color: var(--brand-blue);
}

.code-str {
  color: #059669;
}

.code-comment {
  color: #64748B;
}



/* Section Badge Header for Subpages */
.section-badge-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.section-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 8px var(--brand-orange);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

/* About Responsive Adjustments */
@media (max-width: 980px) {
  .capability-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-banner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .stats-banner {
    padding: 20px 14px;
    margin: 30px 0;
  }

  .capability-content h3 {
    font-size: 22px;
  }

  .capability-row {
    gap: 28px;
    margin-bottom: 50px;
  }

  .process-step-card {
    padding: 20px 16px;
  }

  .arch-card-body {
    padding: 16px 14px;
  }

  .arch-code-block {
    font-size: 11px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
