/* ============================================
   ABOUT PAGE — Styles
   ============================================ */

/* ── Hero ── */
.about-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--section-padding) + 80px);
  text-align: center;
}
.about-hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(79,124,255,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.about-hero-tag { margin-bottom: 24px; }

.about-hero-title {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.about-hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

/* Stats bar */
.about-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 48px;
  max-width: 800px;
  margin: 0 auto;
}
.about-stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
}
.about-stat-number {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.about-stat-suffix {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-blue);
}
.about-stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.about-stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  margin: 0 8px;
  flex-shrink: 0;
}

/* ── Story ── */
.story-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-content { display: flex; flex-direction: column; gap: 20px; }
.story-para {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--border);
  transition: border-color 0.3s;
}
.story-para:hover { border-left-color: var(--accent-blue); }

/* ── Values ── */
.values-section { background: var(--bg-base); }

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  height: 100%;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.value-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-5px);
}
.value-icon {
  width: 50px;
  height: 50px;
  background: rgba(79,124,255,0.1);
  border: 1px solid rgba(79,124,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-blue);
  margin-bottom: 20px;
  transition: background 0.3s, transform 0.3s;
}
.value-card:hover .value-icon {
  background: rgba(79,124,255,0.18);
  transform: scale(1.05);
}
.value-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.value-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Approach ── */
.approach-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.approach-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.approach-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.approach-item:last-child { border-bottom: none; }
.approach-item:hover { border-bottom-color: var(--border-bright); }

.approach-number {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blue);
  letter-spacing: 0.08em;
  padding-top: 4px;
  flex-shrink: 0;
  width: 28px;
}
.approach-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.approach-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Approach Visual — stacked cards */
.approach-visual { position: relative; height: 320px; }
.approach-card-stack { position: relative; height: 100%; }

.acard {
  position: absolute;
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.acard:hover { box-shadow: var(--shadow-glow); }

.acard-1 {
  top: 0;
  transform: rotate(-2deg) translateY(0);
  z-index: 1;
}
.acard-2 {
  top: 80px;
  transform: rotate(0.5deg) translateY(0);
  z-index: 2;
}
.acard-3 {
  top: 160px;
  transform: rotate(1.5deg) translateY(0);
  z-index: 3;
}
.approach-card-stack:hover .acard-1 { transform: rotate(-2deg) translateY(-8px); }
.approach-card-stack:hover .acard-2 { transform: rotate(0.5deg) translateY(-4px); }
.approach-card-stack:hover .acard-3 { transform: rotate(1.5deg) translateY(0px); }

.acard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.acard-header .lnr {
  font-size: 16px;
  color: var(--accent-blue);
}
.acard-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 2px 10px;
  border-radius: 100px;
}
.acard-text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Stack ── */
.stack-section {
  background: var(--bg-base);
}
.stack-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.stack-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stack-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: default;
}
.stack-tag:hover {
  border-color: var(--border-bright);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.stack-tag.featured {
  color: var(--accent-blue);
  border-color: rgba(79,124,255,0.25);
  background: rgba(79,124,255,0.06);
}
.stack-tag.featured:hover {
  background: rgba(79,124,255,0.12);
  border-color: rgba(79,124,255,0.45);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .about-stats-bar { padding: 28px 24px; }
  .approach-visual { height: 280px; }
}
@media (max-width: 767px) {
  .about-stats-bar { flex-direction: column; gap: 24px; }
  .about-stat-divider { width: 40px; height: 1px; margin: 0; }
  .approach-visual { height: 240px; }
  .acard-2 { top: 65px; }
  .acard-3 { top: 130px; }
}
