/* ============================================================
   ABOUT PAGE — REDESIGN BASED ON REFERENCE LAYOUT
   Theme: Clean Indigo + White / Slate SaaS Design System
   Matches site header, glassmorphism tokens, and dark mode
   ============================================================ */

/* ---- Page Background & Root Scope ---- */
body[data-page="about"] {
  background: #FAFCFF;
  color: #1E293B;
  font-family: 'Inter', sans-serif;
}

body[data-page="about"].dark-mode {
  background: #0B0F19;
  color: #F8FAFC;
}

/* Base Container & Section Spacing */
.ab-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.ab-sec {
  padding: 48px 0;
}

.ab-sec-sm {
  padding: 32px 0;
}

.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3B5BDB;
  margin-bottom: 12px;
}

.dark-mode .ab-eyebrow { color: #818CF8; }

.ab-sec-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  text-align: center;
}

.dark-mode .ab-sec-title { color: #F8FAFC; }

/* Glass Card Base Token */
.ab-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.dark-mode .ab-glass-card {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.ab-glass-card:hover {
  border-color: #C7D2FE;
  box-shadow: 0 16px 36px rgba(59, 91, 219, 0.12);
}

.dark-mode .ab-glass-card:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.22);
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.ab-hero-sec {
  padding: 56px 0 40px;
}

.ab-hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.ab-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(59, 91, 219, 0.08);
  border: 1px solid rgba(59, 91, 219, 0.18);
  font-size: 0.74rem;
  font-weight: 800;
  color: #3B5BDB;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.dark-mode .ab-hero-badge {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(129, 140, 248, 0.25);
  color: #A5B4FC;
}

.ab-hero-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0F172A;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.dark-mode .ab-hero-h1 { color: #F8FAFC; }

.ab-hero-gradient-text {
  background: linear-gradient(135deg, #3B5BDB 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark-mode .ab-hero-gradient-text {
  background: linear-gradient(135deg, #818CF8 0%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-hero-p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.72;
  margin-bottom: 24px;
  max-width: 540px;
}

.dark-mode .ab-hero-p { color: #94A3B8; }

/* Status & Location Pill Strip */
.ab-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.ab-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.81rem;
  font-weight: 600;
  color: #334155;
}

.dark-mode .ab-meta-pill { color: #CBD5E1; }

.ab-meta-pill i {
  color: #3B5BDB;
  font-size: 0.88rem;
}

.dark-mode .ab-meta-pill i { color: #818CF8; }

.ab-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  display: inline-block;
}

/* Action Buttons */
.ab-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ab-btn-primary {
  background: #3B5BDB;
  color: #FFFFFF !important;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(59, 91, 219, 0.25);
  transition: all 0.28s ease;
}

.ab-btn-primary:hover {
  background: #2F4AC7;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 91, 219, 0.38);
}

.ab-btn-outline {
  background: transparent;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.28s ease;
}

.dark-mode .ab-btn-outline {
  color: #F8FAFC !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.ab-btn-outline:hover {
  border-color: #3B5BDB;
  color: #3B5BDB !important;
  transform: translateY(-2px);
}

.dark-mode .ab-btn-outline:hover {
  border-color: #818CF8;
  color: #818CF8 !important;
}

/* Hero Portrait Card Right */
.ab-hero-portrait-card {
  position: relative;
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(59, 91, 219, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1px solid rgba(59, 91, 219, 0.2);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.dark-mode .ab-hero-portrait-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ab-hero-img-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.ab-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: 22px;
}

.ab-hero-float-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 12px 18px;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.ab-hero-float-tag i {
  color: #F59E0B;
  font-size: 1.05rem;
}

/* ============================================================
   2. WHO I AM & MY JOURNEY (2 COLUMNS)
   ============================================================ */
.ab-split-2col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.ab-who-text p {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.76;
  margin-bottom: 18px;
}

.dark-mode .ab-who-text p { color: #94A3B8; }

/* Education Card inside Who I Am */
.ab-edu-box {
  margin-top: 28px;
  padding: 22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.ab-edu-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59, 91, 219, 0.12);
  color: #3B5BDB;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.dark-mode .ab-edu-icon {
  background: rgba(99, 102, 241, 0.18);
  color: #818CF8;
}

.ab-edu-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
}

.dark-mode .ab-edu-title { color: #F8FAFC; }

.ab-edu-inst {
  font-size: 0.83rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 8px;
}

.dark-mode .ab-edu-inst { color: #94A3B8; }

.ab-edu-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #3B5BDB;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dark-mode .ab-edu-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #818CF8;
}

.ab-edu-desc {
  font-size: 0.81rem;
  color: #64748B;
  line-height: 1.58;
}

.dark-mode .ab-edu-desc { color: #94A3B8; }

/* My Journey Vertical Timeline */
.ab-journey-timeline {
  display: grid;
  gap: 14px;
}

.ab-journey-item {
  display: grid;
  grid-template-columns: 36px 1fr 50px;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}

.dark-mode .ab-journey-item {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
}

.ab-journey-item:hover {
  transform: translateX(4px);
  border-color: #3B5BDB;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(59, 91, 219, 0.1);
}

.dark-mode .ab-journey-item:hover {
  border-color: #818CF8;
  background: rgba(30, 41, 59, 0.8);
}

.ab-j-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(59, 91, 219, 0.08);
  color: #3B5BDB;
  display: grid;
  place-items: center;
  font-size: 0.88rem;
}

.dark-mode .ab-j-icon {
  background: rgba(99, 102, 241, 0.15);
  color: #818CF8;
}

.ab-j-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1E293B;
}

.dark-mode .ab-j-text { color: #E2E8F0; }

.ab-j-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  text-align: right;
}

.dark-mode .ab-j-year { color: #94A3B8; }

/* ============================================================
   3. MY AREAS OF EXPERTISE (WHAT I DO)
   ============================================================ */
.ab-expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ab-exp-card {
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.ab-exp-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.ab-exp-icon.blue   { background: rgba(59, 91, 219, 0.12); color: #3B5BDB; }
.ab-exp-icon.purple { background: rgba(124, 58, 237, 0.12); color: #7C3AED; }
.ab-exp-icon.green  { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.ab-exp-icon.orange { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }

.dark-mode .ab-exp-icon.blue   { background: rgba(99, 102, 241, 0.18); color: #818CF8; }
.dark-mode .ab-exp-icon.purple { background: rgba(168, 85, 247, 0.18); color: #C084FC; }
.dark-mode .ab-exp-icon.green  { background: rgba(52, 211, 153, 0.18); color: #34D399; }
.dark-mode .ab-exp-icon.orange { background: rgba(251, 191, 36, 0.18); color: #FBBF24; }

.ab-exp-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.dark-mode .ab-exp-title { color: #F8FAFC; }

.ab-exp-desc {
  font-size: 0.83rem;
  color: #64748B;
  line-height: 1.6;
}

.dark-mode .ab-exp-desc { color: #94A3B8; }

/* ============================================================
   4. TECHNOLOGIES I WORK WITH (SKILLS CATEGORIZED)
   ============================================================ */
.ab-tech-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ab-cat-card {
  padding: 22px;
}

.ab-cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ab-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 91, 219, 0.1);
  color: #3B5BDB;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.dark-mode .ab-cat-icon {
  background: rgba(99, 102, 241, 0.15);
  color: #818CF8;
}

.ab-cat-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0F172A;
  font-family: 'Poppins', sans-serif;
}

.dark-mode .ab-cat-title { color: #F8FAFC; }

.ab-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ab-cchip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
  transition: all 0.22s ease;
}

.dark-mode .ab-cchip {
  background: rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
  border-color: rgba(255, 255, 255, 0.1);
}

.ab-cchip:hover {
  background: #EEF2FF;
  color: #3B5BDB;
  border-color: #3B5BDB;
  transform: translateY(-2px);
}

.dark-mode .ab-cchip:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #A5B4FC;
  border-color: #818CF8;
}

/* ============================================================
   5. FEATURED EXPERIENCE (ZURICH CARD)
   ============================================================ */
.ab-feat-exp-card {
  padding: 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.ab-fe-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  display: block;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-fe-img-uzh {
  object-fit: cover !important;
  object-position: center bottom !important;
}

.ab-fe-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.ab-fe-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}

.dark-mode .ab-fe-title { color: #F8FAFC; }

.ab-fe-sub {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 16px;
}

.dark-mode .ab-fe-sub { color: #94A3B8; }

.ab-fe-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.ab-fe-list li {
  font-size: 0.81rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.dark-mode .ab-fe-list li { color: #CBD5E1; }

.ab-fe-list i {
  color: #10B981;
  font-size: 0.85rem;
  margin-top: 2px;
}

.ab-fe-highlight-box {
  background: linear-gradient(135deg, rgba(59, 91, 219, 0.12) 0%, rgba(124, 58, 237, 0.12) 100%);
  border: 1px solid rgba(59, 91, 219, 0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.dark-mode .ab-fe-highlight-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.ab-fe-hb-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #3B5BDB;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(59, 91, 219, 0.3);
}

.ab-fe-hb-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.45;
  font-family: 'Poppins', sans-serif;
}

.dark-mode .ab-fe-hb-text { color: #F8FAFC; }

/* ============================================================
   6. DESIGN PHILOSOPHY & PERSONAL INTERESTS (2 COLUMNS)
   ============================================================ */
.ab-philo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ab-philo-list li {
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dark-mode .ab-philo-list li { color: #CBD5E1; }

.ab-philo-list i {
  color: #7C3AED;
  font-size: 0.92rem;
}

.dark-mode .ab-philo-list i { color: #C084FC; }

.ab-interests-grid-8 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ab-int-chip-card {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #E2E8F0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  transition: all 0.22s ease;
}

.dark-mode .ab-int-chip-card {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
}

.ab-int-chip-card:hover {
  border-color: #3B5BDB;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 91, 219, 0.1);
}

.dark-mode .ab-int-chip-card:hover {
  border-color: #818CF8;
}

.ab-int-chip-card i {
  color: #3B5BDB;
  font-size: 0.9rem;
}

.dark-mode .ab-int-chip-card i { color: #818CF8; }

/* ============================================================
   7. STATS STRIP (4 CARDS)
   ============================================================ */
.ab-stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ab-stat-box {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ab-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59, 91, 219, 0.1);
  color: #3B5BDB;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dark-mode .ab-stat-icon {
  background: rgba(99, 102, 241, 0.16);
  color: #818CF8;
}

.ab-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
}

.dark-mode .ab-stat-num { color: #F8FAFC; }

.ab-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
  margin-top: 2px;
}

.dark-mode .ab-stat-label { color: #94A3B8; }

/* ============================================================
   8. CALL TO ACTION BANNER
   ============================================================ */
.ab-cta-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
  border-radius: 24px;
  padding: 44px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 20px 50px rgba(49, 46, 129, 0.35);
  position: relative;
  overflow: hidden;
}

.ab-cta-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.ab-cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.ab-cta-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  line-height: 1.6;
}

.ab-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1080px) {
  .ab-hero-layout      { grid-template-columns: 1fr; gap: 36px; }
  .ab-split-2col       { grid-template-columns: 1fr; gap: 36px; }
  .ab-expertise-grid   { grid-template-columns: repeat(2, 1fr); }
  .ab-tech-cat-grid    { grid-template-columns: repeat(2, 1fr); }
  .ab-feat-exp-card    { grid-template-columns: 1fr; text-align: left; }
  .ab-stats-grid-4     { grid-template-columns: repeat(2, 1fr); }
  .ab-cta-banner       { flex-direction: column; text-align: center; padding: 32px 24px; }
  .ab-cta-btns         { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .ab-expertise-grid   { grid-template-columns: 1fr; }
  .ab-tech-cat-grid    { grid-template-columns: 1fr; }
  .ab-stats-grid-4     { grid-template-columns: 1fr; }
  .ab-interests-grid-8 { grid-template-columns: 1fr; }
  .ab-hero-btns        { flex-direction: column; width: 100%; }
  .ab-hero-btns a      { width: 100%; justify-content: center; }
  .ab-cta-btns         { flex-direction: column; }
}
