/* ============================================================
   Pixelizer — About Page Styles
   Premium editorial layout for strategic architecture content
   ============================================================ */

/* ---- About Hero ---- */

.about-hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.about-hero-split {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-hero-text {
  flex: 1;
  z-index: 2;
}

.about-hero-phone-wrap {
  flex: 0 0 420px;
  height: 560px;
  position: relative;
  z-index: 2;
}

#pixel-phone-3d {
  width: 100%;
  height: 100%;
}

.about-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
}

.about-hero-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 32px;
}

.about-hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
  max-width: 800px;
}

.about-hero-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 640px;
}

/* ---- Section Layout ---- */

.about-section {
  padding: 120px 0;
}

.about-section-dark {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-section-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.about-h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 24px;
}

.about-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 20px;
}

.about-body strong {
  color: var(--text-1);
  font-weight: 600;
}

.about-body-wide {
  max-width: 720px;
  margin-bottom: 56px;
}

/* ---- Two Column Layout ---- */

.about-two-col {
  display: flex;
  gap: 80px;
  margin-top: 48px;
  align-items: flex-start;
}

.about-col-main {
  flex: 1;
}

.about-col-side {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-stat-card {
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.3s ease;
}

.about-stat-card:hover {
  border-color: rgba(99,102,241,0.3);
}

.about-stat-value {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--mono);
}

.about-stat-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---- Differentiators Grid ---- */

.about-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-diff-item {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.about-diff-item:hover {
  border-color: rgba(99,102,241,0.25);
  background: rgba(99,102,241,0.04);
}

.about-diff-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-diff-icon svg {
  width: 100%;
  height: 100%;
}

.about-diff-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.about-diff-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---- Competitive Table ---- */

.about-comp-table-wrap {
  overflow-x: auto;
  margin-top: 0;
}

.about-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.about-comp-table th {
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.about-comp-table td {
  padding: 20px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  line-height: 1.5;
  vertical-align: top;
}

.about-comp-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.about-comp-name {
  color: var(--text-1);
  font-weight: 500;
  white-space: nowrap;
}

.about-comp-highlight {
  background: rgba(99,102,241,0.06) !important;
}

.about-comp-highlight td {
  border-bottom-color: rgba(99,102,241,0.2);
}

.about-comp-us {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.about-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.about-badge-yes {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}

.about-badge-mid {
  background: rgba(245,158,11,0.12);
  color: #f59e0b;
}

.about-badge-no {
  background: rgba(239,68,68,0.08);
  color: #ef4444;
}

/* ---- Architecture Diagram ---- */

.about-arch {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.about-arch-tower {
  width: 100%;
  max-width: 560px;
}

.about-arch-tower-inner {
  padding: 40px;
  border: 2px solid var(--accent);
  border-radius: 16px;
  background: rgba(99,102,241,0.06);
  text-align: center;
}

.about-arch-tower-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin: 0 auto 16px;
}

.about-arch-tower-icon svg {
  width: 100%;
  height: 100%;
}

.about-arch-tower h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.about-arch-tower p {
  font-size: 13px;
  color: var(--accent);
  font-family: var(--mono);
  margin-bottom: 12px;
}

.about-arch-tag {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* Connection lines */
.about-arch-lines {
  display: flex;
  justify-content: center;
  gap: 120px;
  height: 48px;
  position: relative;
}

.about-arch-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), rgba(99,102,241,0.2));
}

/* Agent Swarm */
.about-arch-swarm {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.about-arch-agent {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  position: relative;
}

.about-arch-agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.about-arch-agent-vision .about-arch-agent-dot { background: #6366f1; box-shadow: 0 0 12px rgba(99,102,241,0.5); }
.about-arch-agent-perf .about-arch-agent-dot { background: #22c55e; box-shadow: 0 0 12px rgba(34,197,94,0.5); }
.about-arch-agent-android .about-arch-agent-dot { background: #f59e0b; box-shadow: 0 0 12px rgba(245,158,11,0.5); }
.about-arch-agent-security .about-arch-agent-dot { background: #ef4444; box-shadow: 0 0 12px rgba(239,68,68,0.5); }

.about-arch-agent h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.about-arch-agent p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}

/* Self-Healing Loop */
.about-arch-loop {
  margin-top: 32px;
  width: 100%;
}

.about-arch-loop-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 36px;
  border: 1px dashed rgba(99,102,241,0.3);
  border-radius: 12px;
  background: rgba(99,102,241,0.03);
}

.about-arch-loop-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-top: 2px;
}

.about-arch-loop h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.about-arch-loop p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---- Core Features ---- */

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.about-feature {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 40px;
  row-gap: 8px;
}

.about-feature:first-child {
  border-top: 1px solid var(--border);
}

.about-feature-num {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 700;
  color: rgba(99,102,241,0.2);
  line-height: 1;
  grid-row: 1 / 4;
  align-self: start;
  padding-top: 4px;
}

.about-feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.about-feature-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 560px;
}

.about-feature-example {
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 640px;
}

.about-feature-example code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}

/* ---- Roadmap ---- */

.about-roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 64px;
}

.about-roadmap-phase {
  display: flex;
  gap: 32px;
  min-height: 140px;
}

.about-roadmap-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
}

.about-roadmap-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--text-3);
  background: var(--surface);
  flex-shrink: 0;
}

.about-roadmap-dot-active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 16px rgba(99,102,241,0.5);
}

.about-roadmap-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin: 8px 0;
}

.about-roadmap-content {
  padding-bottom: 48px;
}

.about-roadmap-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.about-roadmap-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.about-roadmap-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 520px;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .about-hero-title { font-size: 48px; }
  .about-h2 { font-size: 36px; }
  .about-diff-grid { grid-template-columns: repeat(2, 1fr); }
  .about-arch-swarm { grid-template-columns: repeat(2, 1fr); }
  .about-arch-lines { gap: 60px; }
}

@media (max-width: 768px) {
  .about-hero { padding: 140px 0 80px; }
  .about-hero-split { flex-direction: column; }
  .about-hero-phone-wrap { flex: none; width: 100%; height: 400px; }
  .about-hero-title { font-size: 36px; }
  .about-h2 { font-size: 28px; }
  .about-section { padding: 80px 0; }
  .about-two-col { flex-direction: column; gap: 40px; }
  .about-col-side { flex: none; }
  .about-diff-grid { grid-template-columns: 1fr; }
  .about-arch-swarm { grid-template-columns: 1fr; }
  .about-arch-lines { display: none; }
  .about-arch-tower-inner { padding: 28px 24px; }
  .about-feature { grid-template-columns: 1fr; }
  .about-feature-num { font-size: 32px; grid-row: auto; margin-bottom: 12px; }
}
