@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --red:      #C8102E;
  --red-dark: #9E0A22;
  --red-soft: #FFF1F3;
  --black:    #0D0D0D;
  --white:    #FFFFFF;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --shadow:   0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:0 16px 48px rgba(0,0,0,0.12);
  --radius:   14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ──────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(13,13,13,0.97);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

#navbar.scrolled .nav-logo-name { color: white; }
#navbar.scrolled .nav-logo-sub  { color: rgba(255,255,255,0.4); }
#navbar.scrolled .nav-home       { color: rgba(255,255,255,0.5); }
#navbar.scrolled .nav-home:hover { color: white; }

.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--black);
}

.nav-logo-img {
  width: 38px; height: 38px;
  object-fit: contain;
}

.nav-logo-name { font-size: 14px; font-weight: 800; letter-spacing: -0.3px; display: block; }
.nav-logo-sub  { font-size: 10px; color: var(--gray-500); display: block; line-height: 1.2; }

.nav-spacer { flex: 1; }

.nav-count {
  font-size: 12px; font-weight: 600; color: var(--gray-500);
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 3px 10px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--red); color: white;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(200,16,46,0.25);
  transition: all 0.15s;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,16,46,0.3); }

.nav-home {
  font-size: 13px; font-weight: 600; color: var(--gray-500);
  text-decoration: none; transition: color 0.15s;
}
.nav-home:hover { color: var(--black); }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}

/* Subtle grid pattern */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--red);
  top: -100px; left: -100px;
  opacity: 0.15;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: #7c3aed;
  bottom: -50px; right: 30%;
  opacity: 0.1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 120px 32px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.3);
  border-radius: 20px;
  font-size: 12px; font-weight: 700;
  color: #ff6b7a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
}
.hero-title-red { color: var(--red); }

.hero-subtitle {
  font-size: 18px; line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions { margin-bottom: 56px; }

.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--red); color: white;
  border-radius: 10px; font-size: 15px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(200,16,46,0.4);
  transition: all 0.18s;
  border: none; cursor: pointer;
}
.hero-btn-primary:hover {
  background: var(--red-dark); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,16,46,0.45);
}

/* Hero stats */
.hero-stats {
  display: flex; align-items: center; gap: 32px;
}
.hero-stat { text-align: left; }
.hero-stat-num {
  display: block; font-size: 36px; font-weight: 900;
  color: var(--white); letter-spacing: -1px; line-height: 1;
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 500; }
.hero-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* Floating cards */
.hero-cards {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 380px; z-index: 2;
  pointer-events: none;
  display: none;
}
@media (min-width: 1100px) { .hero-cards { display: block; } }

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 16px;
  width: 220px;
  animation: floatUp 0.6s ease both;
}
@keyframes floatUp {
  from { opacity:0; transform: translateY(20px) rotate(var(--r,0deg)); }
  to   { opacity:1; }
}

.fc-top   { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.fc-avatar { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.fc-letter {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--red); display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: white;
}
.fc-name  { font-size: 12px; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-title { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 1px; }
.fc-tags  { display: flex; flex-wrap: wrap; gap: 4px; }
.fc-tag   {
  padding: 2px 7px; border-radius: 20px; font-size: 10px; font-weight: 600;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
}

/* ─── SECTION COMMONS ─────────────────────────────────────────────── */
.section-inner {
  max-width: 1200px; margin: 0 auto; padding: 80px 32px;
}
.section-header { margin-bottom: 48px; }
.section-title { font-size: 36px; font-weight: 900; letter-spacing: -1px; color: var(--black); margin-bottom: 10px; }
.section-sub   { font-size: 16px; color: var(--gray-500); max-width: 480px; line-height: 1.6; }

/* ─── INDUSTRIES ──────────────────────────────────────────────────── */
.industries-section { background: var(--gray-50); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  transition: all 0.18s;
  display: block;
}
.industry-card:hover {
  border-color: var(--tag-color, var(--gray-400));
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ic-icon  { font-size: 24px; margin-bottom: 8px; }
.ic-name  { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.ic-count { font-size: 11.5px; color: var(--gray-500); margin-bottom: 10px; }

.ic-bar-bg   { height: 3px; background: var(--gray-200); border-radius: 2px; overflow: hidden; }
.ic-bar-fill { height: 100%; border-radius: 2px; transition: width 0.6s ease; }

/* ─── SPOTLIGHT ───────────────────────────────────────────────────── */
.spotlight-section { background: var(--white); }

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  justify-content: center;
  gap: 16px;
}

.spotlight-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.spotlight-card:hover { border-color: var(--gray-400); transform: translateY(-2px); box-shadow: var(--shadow); }

.sp-top { margin-bottom: 14px; }
.sp-avatar, .sp-letter {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; margin: 0 auto; display: block;
}
.sp-letter {
  background: var(--black);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: white;
}

.sp-name    { font-size: 15px; font-weight: 800; color: var(--black); margin-bottom: 3px; }
.sp-title   { font-size: 12px; color: var(--gray-500); line-height: 1.4; margin-bottom: 4px; }
.sp-company { font-size: 12px; color: var(--gray-400); margin-bottom: 10px; }
.sp-tags    { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-bottom: 12px; }
.sp-tag {
  padding: 2px 8px; border-radius: 20px; font-size: 10.5px; font-weight: 700;
  background: var(--gray-100); color: var(--gray-500);
}
.sp-link {
  font-size: 12px; font-weight: 700; color: var(--red);
  text-decoration: none; transition: opacity 0.15s;
}
.sp-link:hover { opacity: 0.75; }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--black); padding: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { width: 38px; height: 38px; object-fit: contain; }
.footer-logo-name { font-size: 13px; font-weight: 700; color: white; }
.footer-logo-sub  { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 1px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ─── BROWSE PAGE ─────────────────────────────────────────────────── */
.browse-page { background: var(--gray-50); }

.browse-header {
  background: var(--black);
  padding: 80px 32px 40px;
  margin-top: 64px;
}
.browse-header-inner { max-width: 1200px; margin: 0 auto; }

.browse-title { font-size: 36px; font-weight: 900; letter-spacing: -1px; color: var(--white); margin-bottom: 6px; }
.browse-sub   { font-size: 15px; color: rgba(255,255,255,0.45); margin-bottom: 28px; }

.browse-search-wrap {
  position: relative; max-width: 640px;
}
.browse-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: rgba(255,255,255,0.3); pointer-events: none;
}
.browse-search {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 13px 48px 13px 42px;
  font-family: inherit; font-size: 15px;
  color: white; outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.browse-search::placeholder { color: rgba(255,255,255,0.3); }
.browse-search:focus {
  border-color: var(--red); background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.2);
}
.browse-search-kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 5px; padding: 2px 7px; font-size: 11px;
  color: rgba(255,255,255,0.4); pointer-events: none; font-family: monospace;
}

/* Filter bar */
.filter-bar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 64px; z-index: 50;
}
.filter-bar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 32px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

.filter-group {
  display: flex; align-items: center; gap: 8px;
}
.filter-group-label {
  font-size: 11px; font-weight: 700; color: var(--gray-400);
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}

.tag-pill-row { display: flex; flex-wrap: wrap; gap: 5px; }

.tag-pill-btn {
  padding: 3px 10px; border-radius: 20px;
  font-family: inherit; font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-500);
  cursor: pointer; transition: all 0.12s; white-space: nowrap;
}
.tag-pill-btn:hover { border-color: var(--c,var(--gray-400)); color: var(--c,var(--gray-700)); }
.tag-pill-btn.active {
  background: color-mix(in srgb, var(--c,var(--red)) 12%, transparent);
  border-color: var(--c,var(--red));
  color: var(--c,var(--red));
}

.filter-select {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 7px; padding: 5px 24px 5px 8px;
  font-family: inherit; font-size: 12px; color: var(--gray-700);
  outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%239CA3AF' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  min-width: 100px;
}
.filter-select:focus { border-color: var(--red); }

.filter-clear {
  padding: 4px 10px; border-radius: 6px;
  background: var(--red-soft); border: 1px solid #FECDD3;
  color: var(--red); font-family: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: background 0.1s;
}
.filter-clear:hover { background: #FEE2E7; }

/* Browse body */
.browse-body {
  max-width: 1200px; margin: 0 auto; padding: 24px 32px 48px;
}

.results-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.results-count { font-size: 13px; color: var(--gray-400); font-weight: 500; }

.active-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px 3px 10px;
  background: var(--red-soft); border: 1px solid #FECDD3;
  border-radius: 20px; font-size: 11.5px; font-weight: 600; color: var(--red);
}
.ac-chip button {
  background: none; border: none; cursor: pointer;
  color: var(--red); font-size: 15px; line-height: 1; padding: 0; opacity: 0.6;
}
.ac-chip button:hover { opacity: 1; }

/* Alumni grid */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.alumni-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 18px;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.alumni-card:hover {
  border-color: var(--red); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(200,16,46,0.1);
}

.ac-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.ac-avatar-wrap { flex-shrink: 0; }
.ac-avatar, .ac-letter {
  width: 46px; height: 46px; border-radius: 10px; object-fit: cover;
}
.ac-letter {
  background: var(--black); display: grid; place-items: center;
  font-size: 16px; font-weight: 800; color: white;
}
.ac-info { flex: 1; min-width: 0; }
.ac-name  { font-size: 14px; font-weight: 700; color: var(--black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-title { font-size: 12px; color: var(--gray-500); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }

.ac-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11.5px; color: var(--gray-400); margin-bottom: 10px; }

.ac-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ac-tag  { padding: 2px 8px; border-radius: 20px; font-size: 10.5px; font-weight: 700; }

/* Loading */
.loading-state {
  grid-column: 1/-1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 80px;
  gap: 16px; color: var(--gray-400); font-size: 14px;
}
.loading-spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--gray-200); border-top-color: var(--red);
  border-radius: 50%; animation: spin 0.65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Empty state */
.empty-state {
  grid-column: 1/-1; text-align: center; padding: 80px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty-icon { font-size: 40px; margin-bottom: 8px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--gray-700); }
.empty-state p  { font-size: 13px; color: var(--gray-400); }

.clear-btn-inline {
  margin-top: 8px; padding: 8px 18px; border-radius: 8px;
  background: var(--red); color: white; border: none;
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}

/* ─── PROFILE MODAL OVERLAY ───────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close-btn {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85); cursor: pointer; font-size: 13px;
  display: grid; place-items: center; transition: all 0.1s;
  z-index: 20;
}
.modal-close-btn:hover { background: rgba(0,0,0,0.65); color: white; }

.modal-loading {
  display: flex; align-items: center; justify-content: center; min-height: 200px;
}

/* ─── FIELD SECTION ───────────────────────────────────────────────── */
.field-section {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.field-section-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
}
.field-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 14px;
}
.field-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.field-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.field-btn:hover {
  border-color: var(--c, var(--gray-400));
  background: color-mix(in srgb, var(--c, var(--gray-400)) 6%, white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.09);
}
.field-btn.active {
  border-color: var(--c, var(--red));
  background: color-mix(in srgb, var(--c, var(--red)) 8%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--red)) 15%, transparent),
              0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.field-icon { font-size: 22px; line-height: 1; }
.field-name {
  font-size: 14px; font-weight: 700; color: var(--gray-700);
  transition: color 0.15s;
}
.field-btn:hover .field-name { color: var(--gray-900); }
.field-btn.active .field-name { color: var(--c, var(--red)); }
.field-count {
  font-size: 12px; font-weight: 800;
  color: var(--c, var(--gray-500));
  background: color-mix(in srgb, var(--c, var(--gray-400)) 12%, transparent);
  padding: 3px 9px; border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--c, var(--gray-400)) 22%, transparent);
  min-width: 26px; text-align: center;
}
.field-clear-btn {
  margin-top: 12px;
  padding: 6px 14px; border-radius: 8px;
  background: var(--red-soft); border: 1px solid #FECDD3;
  color: var(--red); font-family: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: background 0.1s;
}
.field-clear-btn:hover { background: #FEE2E7; }

/* ─── COMPANY FILTER INPUT ────────────────────────────────────────── */
.filter-search-wrap {
  position: relative; display: flex; align-items: center;
}
.filter-search-wrap svg {
  position: absolute; left: 8px; width: 12px; height: 12px;
  color: var(--gray-400); pointer-events: none;
}
.filter-text-input {
  padding: 5px 10px 5px 26px;
  border: 1px solid var(--gray-200); border-radius: 7px;
  background: var(--gray-50); font-family: inherit; font-size: 12px;
  color: var(--gray-700); outline: none; width: 160px;
  transition: border-color 0.15s;
}
.filter-text-input:focus { border-color: var(--red); background: white; }
.filter-text-input::placeholder { color: var(--gray-400); }

/* ─── PROFILE MODAL — REDESIGN ────────────────────────────────────── */
.modal-box {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 20px; width: 100%; max-width: 580px; max-height: 92vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mp-banner {
  height: 110px;
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1230 50%, #0D0D0D 100%);
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
}
.mp-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,16,46,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,16,46,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.mp-banner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: var(--red);
  border-radius: 50%;
  top: -150px; right: -80px;
  opacity: 0.12; filter: blur(60px);
}

.mp-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 24px 0;
  margin-top: -48px;
  margin-bottom: 14px;
  position: relative; z-index: 2;
}

.mp-avatar-wrap { flex-shrink: 0; }

.mp-avatar {
  width: 92px; height: 92px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.mp-letter {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--black);
  display: grid; place-items: center;
  font-size: 34px; font-weight: 800; color: white;
  border: 3px solid white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.mp-linkedin-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 22px;
  background: #0A66C2; color: white;
  font-family: inherit; font-size: 13px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 2px 10px rgba(10,102,194,0.3);
  white-space: nowrap;
}
.mp-linkedin-btn:hover { background: #084fa3; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(10,102,194,0.35); }

.mp-identity {
  padding: 0 24px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.mp-name     { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; color: var(--black); margin-bottom: 4px; }
.mp-headline { font-size: 14px; color: var(--gray-500); line-height: 1.5; margin-bottom: 12px; }

.mp-meta-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-meta-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 20px; font-size: 12px; color: var(--gray-600);
}
.mp-grad-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: rgba(200,16,46,0.06); border: 1px solid rgba(200,16,46,0.18);
  border-radius: 20px; font-size: 12px; font-weight: 700; color: var(--red);
}

/* Sections */
.mp-section {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.mp-section:last-child { border-bottom: none; padding-bottom: 28px; }

.mp-section-title {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 14px;
}

.mp-about-text {
  font-size: 13px; color: var(--gray-600); line-height: 1.7;
}

/* Timeline */
.mp-timeline { display: flex; flex-direction: column; gap: 2px; }

.mp-tl-item {
  display: flex; gap: 12px;
  position: relative; padding-bottom: 14px;
}
.mp-tl-item:last-child { padding-bottom: 0; }
.mp-tl-item:not(:last-child)::after {
  content: '';
  position: absolute; left: 14px; top: 30px; bottom: 0;
  width: 1px; background: var(--gray-200);
}

.mp-tl-dot {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 8px; display: grid; place-items: center;
  font-size: 13px; position: relative; z-index: 1;
}

.mp-tl-body   { flex: 1; padding-top: 4px; }
.mp-tl-title  { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 2px; line-height: 1.3; }
.mp-tl-company{ font-size: 12px; color: var(--gray-600); margin-bottom: 2px; }
.mp-tl-dates  { font-size: 11.5px; color: var(--gray-400); }
.mp-tl-desc   { font-size: 12px; color: var(--gray-500); margin-top: 6px; line-height: 1.6; }

/* Education */
.mp-edu-item {
  display: flex; gap: 12px; align-items: center;
}
.mp-edu-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(200,16,46,0.07); border: 1px solid rgba(200,16,46,0.15);
  border-radius: 10px; display: grid; place-items: center; font-size: 20px;
}
.mp-edu-school { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.mp-edu-year   { font-size: 12px; color: var(--gray-400); }

/* Skills */
.mp-skills    { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-skill     { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.mp-skill-tag { padding: 3px 10px; border-radius: 20px; font-size: 11.5px; background: rgba(255,255,255,0.06); color: #9ca3af; border: 1px solid rgba(255,255,255,0.1); }

/* Contact */
.mp-contact { display: flex; flex-direction: column; gap: 8px; }
.mp-contact-item { font-size: 13px; color: var(--gray-300); text-decoration: none; }
.mp-contact-item:hover { color: #fff; }
.mp-contact-no-info { font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
.mp-contact-li-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: #0a66c2; color: #fff; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; }
.mp-contact-li-btn:hover { background: #0856a8; }

/* ─── AI SUMMARY BOX ─────────────────────────────────────────────── */
.mp-ai-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--black);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  align-self: flex-start;
}
.mp-ai-btn:hover { background: var(--red); }
.mp-ai-result {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
}
.mp-ai-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-500);
}
.mp-ai-error { font-size: 12px; color: var(--red); }

/* ─── SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-title { font-size: 42px; letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 15px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 28px; }
  .section-inner { padding: 56px 20px; }
  .browse-header { padding: 80px 20px 32px; }
  .filter-bar-inner { padding: 10px 20px; }
  .browse-body { padding: 16px 20px 40px; }
  .alumni-grid { grid-template-columns: 1fr; }
  .tag-pill-row { display: none; }
}
