.about {
  padding: 24px 16px;
}

.about-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 24px 0 32px;
  animation: .65s cubic-bezier(.22, 1, .36, 1) both fadeInUp;
}

.about-logo {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  display: inline-flex;
}

.about-logo .logo-mark {
  width: 72px;
  height: 72px;
}

.about-logo .logo-mark svg {
  width: 100%;
  height: 100%;
}

.about-logo .logo-text {
  letter-spacing: .06em;
  font-size: 1.6em;
  font-weight: 900;
}

.about-header h1 {
  margin: 0 0 6px;
  font-size: 1.8em;
}

.about-tagline {
  color: var(--muted);
  margin: 0;
  font-size: 1em;
}

.about-content {
  animation: .65s cubic-bezier(.22, 1, .36, 1) .15s both fadeInUp;
}

.about-tags {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
  animation: .65s cubic-bezier(.22, 1, .36, 1) .3s both fadeInUp;
}

.about-tags h2 {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 12px;
  font-size: 1.1em;
  font-weight: 500;
}

.about-tags .tags .tag {
  text-decoration: none;
  transition: background .15s, color .15s;
}

.about-tags .tags .tag:hover {
  background-color: var(--tag-bg);
  color: var(--text);
  text-decoration: none !important;
}

@media (width <= 640px) {
  .about-logo .logo-mark {
    width: 56px;
    height: 56px;
  }

  .about-logo .logo-text {
    font-size: 1.35em;
  }

  .about-header h1 {
    font-size: 1.5em;
  }
}

.dashboard {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 2.5em 0;
  padding: 24px;
  box-shadow: 0 8px 32px #0000000d;
}

[data-theme="dark"] .dashboard {
  box-shadow: 0 8px 32px #0003;
}

.dashboard-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  display: flex;
}

.dashboard-title {
  margin: 0;
  font-size: 1.2em;
  font-weight: 700;
}

.dashboard-subtitle {
  color: var(--muted);
  margin-top: 4px;
  font-size: .85em;
}

.current-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  display: grid;
}

.stat-badge {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  text-align: center;
  border-radius: 10px;
  padding: 12px 16px;
}

.stat-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
  font-size: .75em;
  font-weight: 600;
}

.stat-val {
  font-size: 1.4em;
  font-weight: 700;
}

.stat-val .unit {
  color: var(--muted);
  font-size: .5em;
  font-weight: 500;
}

.chart-container {
  width: 100%;
  height: 300px;
  margin-bottom: 16px;
  position: relative;
}

.legend {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  display: flex;
}

.legend-item {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: .85em;
  display: flex;
}

.legend-color {
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

@media (width <= 640px) {
  .current-stats {
    grid-template-columns: 1fr 1fr;
  }

  .chart-container {
    height: 200px;
  }
}

.legend-color[data-series="srv-cpu"] {
  background: #06c;
}

.legend-color[data-series="srv-ram"] {
  background: #10b981;
}

.legend-color[data-series="hitin-cpu"] {
  background: #f59e0b;
}

.legend-color[data-series="hitin-ram"] {
  background: #8b5cf6;
}

.chart-container {
  aspect-ratio: 2;
  width: 100%;
  height: auto;
  max-height: 300px;
  margin-bottom: 16px;
  position: relative;
}

.chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.perf-table-wrapper {
  -webkit-overflow-scrolling: touch;
  width: 100%;
  overflow-x: auto;
}

.perf-table {
  text-align: left;
  border-collapse: collapse;
  white-space: nowrap;
  width: 100%;
  font-size: .9em;
}

.perf-table th {
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  padding: 8px;
  font-weight: 500;
}

.perf-table td {
  border-bottom: 1px solid var(--border);
  padding: 8px;
}

.perf-score {
  color: #10b981;
  font-weight: bold;
}

.perf-date {
  color: var(--muted);
}

@media (width <= 640px) {
  .dashboard {
    padding: 16px;
  }
}

.perf-header-badge {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  padding: 32px 0 24px;
  display: flex;
}

.perf-main-title {
  color: #888;
  text-transform: uppercase;
  letter-spacing: -.03em;
  margin: 0 0 12px;
  font-size: 2em;
  font-weight: 800;
  line-height: 1;
}

.perf-tagline {
  color: var(--muted);
  max-width: 600px;
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
}

@media (width <= 640px) {
  .perf-main-title {
    font-size: 1.5em;
  }
}
