/* ── About Page ── */
.about-page {
  min-height: 100vh;
}

/* Active nav link */
.nav-active {
  color: #4f46e5 !important;
}
.nav-active::after {
  transform: scaleX(1) !important;
}

/* Hero banner */
.about-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.about-hero::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -80px;
  left: -60px;
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.about-hero .hero-eyebrow {
  color: #a5b4fc;
}

.about-hero h1 {
  margin: 0.5rem 0 1rem;
  color: #fff;
  font: 700 clamp(2.5rem, 6vw, 4rem)/1.1 Poppins, sans-serif;
  letter-spacing: -0.05em;
}

.about-hero-sub {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font: 400 1.05rem/1.6 Poppins, sans-serif;
}

/* Main layout */
.about-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  box-sizing: border-box;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

/* Sidebar */
.about-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: sticky;
  top: 5rem;
}

.about-photo-wrap {
  position: relative;
  width: 190px;
  height: 190px;
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--nav-bg);
  box-shadow: 0 16px 40px rgba(79,70,229,0.25);
  position: relative;
  z-index: 1;
  display: block;
}

.about-photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #818cf8, #c7d2fe);
  opacity: 0.45;
  z-index: 0;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font: 600 0.72rem Poppins, sans-serif;
  color: #4f46e5;
  letter-spacing: 0.04em;
}

html[data-theme="dark"] .about-badge {
  background: #1e1b4b;
  border-color: #3730a3;
  color: #a5b4fc;
}

.about-info-card {
  width: 100%;
  background: var(--nav-bg);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html[data-theme="dark"] .about-info-card { border-color: #374151; }

.about-info-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font: 400 0.85rem Poppins, sans-serif;
  color: var(--text-muted);
}

.about-info-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.about-info-row a {
  color: #4f46e5;
  text-decoration: none;
  font-size: 0.82rem;
  word-break: break-all;
}

.about-info-row a:hover { text-decoration: underline; }

.about-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.about-sidebar-actions .hero-primary,
.about-sidebar-actions .hero-secondary {
  text-align: center;
  justify-content: center;
  display: block;
  font-size: 0.9rem;
}

.about-sidebar-actions .hero-primary::after { display: none; }

/* Content area */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-bio h2 {
  margin: 0 0 1.25rem;
  font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.2 Poppins, sans-serif;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.about-bio p {
  margin: 0 0 1rem;
  font: 400 1rem/1.8 Poppins, sans-serif;
  color: var(--text-muted);
}

.about-bio p:last-child { margin-bottom: 0; }

/* Blocks */
.about-block {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

html[data-theme="dark"] .about-block { border-color: #1f2937; }

.about-block-title {
  margin: 0 0 1.5rem;
  font: 700 1.1rem Poppins, sans-serif;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Skills grid */
.about-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--nav-bg);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-item:hover {
  border-color: #a5b4fc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79,70,229,0.1);
}

html[data-theme="dark"] .skill-item { border-color: #374151; }
html[data-theme="dark"] .skill-item:hover { border-color: #6366f1; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }

.skill-icon { font-size: 1.1rem; flex-shrink: 0; }

.skill-name {
  font: 500 0.82rem Poppins, sans-serif;
  color: var(--text-primary);
}

/* Timeline */
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 1.5rem;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e2e8f0;
}

html[data-theme="dark"] .about-timeline::before { background: #374151; }

.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--nav-bg);
  border: 2px solid #c7d2fe;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-item--active .timeline-dot {
  background: #4f46e5;
  border-color: #4f46e5;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.15);
}

.timeline-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.timeline-year {
  font: 700 0.72rem Poppins, sans-serif;
  color: #6366f1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-body h4 {
  margin: 0;
  font: 600 1rem Poppins, sans-serif;
  color: var(--text-primary);
}

.timeline-body p {
  margin: 0;
  font: 400 0.88rem/1.65 Poppins, sans-serif;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 860px) {
  .about-skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .about-photo-wrap { width: 130px; height: 130px; }
  .about-sidebar-actions { flex-direction: row; }
  .about-main { padding: 3rem 1.25rem 4rem; }
  .about-hero { padding: 4rem 1.25rem 3rem; }
}

@media (max-width: 480px) {
  .about-skills-grid { grid-template-columns: 1fr 1fr; }
  .about-sidebar-actions { flex-direction: column; }
}
