/**
 * About Page Styles
 */

.about-hero {
  padding: 80px 0 40px;
  background: var(--color-bg);
  color: var(--color-text);
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}

/* Subtle accent glow matching landing page */
.about-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 70%);
  pointer-events: none;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-title-ar {
  font-family: var(--font-arabic);
  display: block;
  font-size: 3rem;
  margin-bottom: 8px;
  color: var(--color-primary-text);
}

.about-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding: 40px 0;
  background: var(--color-bg);
}

.about-section {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.about-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary-text);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.about-section p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.about-section li {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ILR Table */
.ilr-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.ilr-table th,
.ilr-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.ilr-table th {
  background: var(--color-surface);
  font-weight: 600;
  color: var(--color-text);
}

.ilr-table td {
  color: var(--color-text-secondary);
}

/* About page ILR badge color overrides — higher contrast */
.about-section .ilr-1 { background: rgba(56, 189, 248, 0.2); color: #7dd3fc; }
.about-section .ilr-1-5 { background: rgba(96, 165, 250, 0.2); color: #93bbfd; }
.about-section .ilr-2 { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.about-section .ilr-2-5 { background: rgba(234, 179, 8, 0.2); color: #fde68a; }
.about-section .ilr-3 { background: rgba(251, 146, 60, 0.2); color: #fdba74; }
.about-section .ilr-3-5 { background: rgba(248, 113, 113, 0.2); color: #fca5a5; }

/* Tech Stack */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.tech-item {
  background: var(--color-surface);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.tech-item h4 {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.tech-item p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Credits */
.credit-section {
  background: var(--color-surface);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.credit-section h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.credit-section p {
  margin-bottom: 8px;
}

.credit-link {
  color: var(--color-primary-text);
  text-decoration: none;
}

.credit-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero {
    padding: 60px 0 30px;
  }
  .about-title { font-size: 2rem; }
  .about-title-ar { font-size: 2.25rem; }
  .about-content { padding: 24px 0; }
  .about-section { margin: 0 auto 24px; }
  .about-section h2 { font-size: 1.25rem; margin-bottom: 12px; }
  .credit-section { padding: 24px; }
  .tech-stack { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tech-item { padding: 14px; }
}
