:root {
  --primary: #1bbae1;
  --primary-dark: #1597ba;
  --primary-light: #4dd4f7;
  --success: #27ae60;
  --warning: #e67e22;
  --danger: #e74c3c;
  --purple: #9b59b6;
  --dark: #2c3e50;
  --text: #34495e;
  --text-light: #7f8c8d;
  --border: #e1e8ed;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: white;
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--primary);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  left: 16px;
  z-index: 1000;
}

.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__back {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

.header__back:hover {
  background: #f0f0f0;
  transform: translateX(-4px);
}

.header__title {
  font-size: 22px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, var(--primary), #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(27, 186, 225, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.hero {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #667eea);
  border-radius: 20px 20px 0 0;
}

.hero__title {
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.hero__title strong {
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #667eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 20px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.hero__meta-item i {
  color: var(--primary);
}

.section-title {
  font-size: 26px;
  font-weight: 300;
  color: white;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.section-title strong {
  font-weight: 900;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f4;
}

.kpi-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 700;
}

.kpi-value {
  font-size: 24px;
  font-weight: 700;
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}

.kpi-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  gap: 6px;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f4;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-subtitle {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge.success {
  background: rgba(39, 174, 96, 0.12);
  color: var(--success);
}

.badge.warning {
  background: rgba(230, 126, 34, 0.12);
  color: var(--warning);
}

.badge.danger {
  background: rgba(231, 76, 60, 0.12);
  color: var(--danger);
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.table th,
.table td {
  padding: 14px;
  text-align: left;
}

.table thead {
  background: linear-gradient(135deg, rgba(27, 186, 225, 0.08), rgba(102, 126, 234, 0.08));
}

.table tbody tr {
  background: white;
}

.table tbody tr + tr {
  border-top: 1px solid #f0f0f0;
}

.table tbody tr:hover {
  background: rgba(27, 186, 225, 0.05);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  background: #eef6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .header__title {
    font-size: 18px;
  }

  .hero__title {
    font-size: 30px;
  }

  .container {
    padding: 24px 16px 40px;
  }
}
