:root {
  --bg-light: #f4f6f4;
  --text-dark: #0b130e;
  --brand-green: #072a1d;
  --accent-mint: #22c55e;
  --card-bg: rgba(255, 255, 255, 0.75);
  --border-light: rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
}

/* ── VIDEO BACKGROUND ── */
#neural-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* ── NAVBAR ── */
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5rem 4rem;
  background: rgba(49, 50, 49, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f4f6f4;
  height: 34px;
  overflow: visible;
  text-decoration: none;
  cursor: pointer;
  justify-self: start;
  width: fit-content;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-mint);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  border: 1px solid var(--border-light);
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--brand-green);
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 1rem; justify-self: end; }
.profile-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; }

.cta-outline {
  border: 1px solid #ffffff;
  background: transparent;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cta-outline:hover {
  background: #fff;
  color: #000000;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrapper > i {
  position: absolute;
  left: 12px;
  color: rgba(244, 246, 244, 0.65);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-input {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 1rem 0.45rem 2.1rem;
  border-radius: 20px;
  color: #fff;
  font-size: 0.9rem;
  width: 220px;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.search-input::placeholder {
  color: rgba(244, 246, 244, 0.65);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.24);
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 3px rgba(122,170,102,0.25);
  width: 350px;
}

.cta-filled {
  background-color: #000000;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(225, 232, 229, 0.15);
  transition: transform 0.2s;
}

.cta-filled:hover { transform: translateY(-2px); }

/* ── MOBILE NAV TOGGLE ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #f4f6f4;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ── */
.hero-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 280px);
  width: 100%;
  max-width: 100%;
  padding: 50px 0rem 0rem 0rem;
  margin: 0;
  position: relative;
  z-index: 5;
}

.hero-left {
  flex: 1;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  margin-right: auto;
}

.hero-right {
  flex: 1;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  margin-left: auto;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #52ffff;
  margin-bottom: 1.5rem;
}

.accent-text { color: #6a9175; }

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #52ffff;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.action-row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.avatar-group { display: flex; align-items: center; gap: 0.8rem; }
.avatars { display: flex; }

.avatar {
  width: 35px;
  height: 35px;
  background: #fff;
  border: 2px solid var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  font-size: 0.9rem;
}

.avatars .avatar:first-child { margin-left: 0; }
.avatar-text { font-size: 0.85rem; color: #fff3f3; }

/* ── INFO CARDS ── */
.info-card {
  background: #fecfcf;
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.green-accent { background: var(--brand-green); color: #fff; }

.card-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-mint);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-mint);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── CIRCULAR PROGRESS (FIXED — was 544px) ── */
.statistics-card h4 { font-size: 0.9rem; margin-bottom: 1rem; color: #555; }
.progress-container { display: flex; align-items: center; gap: 1.5rem; }

.circular-progress {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: conic-gradient(var(--brand-green) 84%, #e2e8f0 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.circular-progress::before {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  background-color: white;
  border-radius: 50%;
}

.progress-value {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-green);
}

.statistics-card p { font-size: 0.85rem; color: #555; line-height: 1.4; }

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.85rem;
  color: #555;
}

.micro-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

.badge { padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.badge.blue { background: #e0f2fe; color: #0369a1; }

/* ── PARTNERS STATIC GRID (replaces marquee) ── */
.partners-ribbon {
  background: rgba(238, 233, 233, 0.85);
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 4rem;
  position: relative;
  z-index: 10;
}

.ribbon-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #777;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
}

.logo-grid img {
  height: 48px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.logo-grid img:hover { opacity: 1; }

/* ── LOWER PAGE WRAPPER ── */
.lower-page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #0f1115;
  border-top: 1px solid rgba(0, 163, 163, 0.2);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.4);
}

.advisors-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 4rem;
}

.section-header {
  margin-bottom: 2rem;
  max-width: 600px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #00a3a3;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #f3f4f6;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  margin-top: 1rem;
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── ADVISOR GRID ── */
.advisors-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── ADVISOR CARD ── */
.advisor-card {
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid #00a3a3;
  border-radius: 0 28px 28px 0;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              border-left-color 0.3s ease,
              background-color 0.3s ease,
              box-shadow 0.3s ease;
}

.advisor-card:hover {
  transform: translateX(8px);
  background: #22262f;
  border-left-color: #f13737;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* ── PROFILE FRAME (FIXED — was 230px causing layout break) ── */
.profile-frame {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  display: block;
}

/* Fallback initials shown when image is missing */
.initials-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 163, 163, 0.15);
  border: 2px solid rgba(0, 163, 163, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #00f2f2;
  position: relative;
  z-index: 2;
}

.glow-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border-radius: 50%;
  background: rgba(0, 163, 163, 0.02);
  border: 1px dashed rgba(0, 163, 163, 0.2);
  z-index: 1;
}

@keyframes pulseRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.advisor-card:hover .glow-ring {
  animation: pulseRotate 12s linear infinite;
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

.expert-tag {
  position: absolute;
  bottom: -4px;
  right: -20px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 163, 163, 0.2);
  color: #00f2f2;
  border: 1px solid rgba(0, 163, 163, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  z-index: 3;
  white-space: nowrap;
}

/* ── CARD BODY ── */
.advisor-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.advisor-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.advisor-name {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

.advisor-role {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #008080;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

.advisor-bio {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.card-link {
  color: #00a3a3;
  text-decoration: underline;
  text-decoration-color: #00a3a3;
  text-underline-offset: 3px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.card-link i { color: inherit; }

.card-link:hover {
  color: #f13737;
  text-decoration-color: #f13737;
}

.card-footer-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #64748b;
  margin-top: auto;
}

.highlight {
  color: #000000;
  font-weight: 700;
}

.card-arrow {
  align-self: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.3s ease, transform 0.3s ease;
}

.advisor-card:hover .card-arrow {
  color: #fffefe;
  transform: translateX(4px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1600px) {
  .hero-wrapper { gap: 3rem; padding: 2rem; }
  .navbar { padding: 1.5rem 2rem; }
  .hero-title { font-size: 3.4rem; }

  .hero-right {
    gap: 0.75rem !important;
    align-items: center;
    width: 100%;
  }

  .info-card {
    padding: 1rem;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .circular-progress {
    width: 60px;
    height: 60px;
  }

  .circular-progress::before {
    width: 44px;
    height: 44px;
  }

  .progress-value { font-size: 0.95rem; }
  .progress-container { gap: 1rem; }
}

@media (max-width: 1070px) {
  .logo-img { height: 64px; }
  .nav-links { gap: 0.9rem; padding: 0.5rem 0.9rem; }
  .nav-links a { font-size: 0.8rem; white-space: nowrap; }
  .search-input { width: 130px; }
  .search-input:focus { width: 220px; }
}

@media (max-width: 820px) {
  #neural-bg { object-position: 30% center; }
  .navbar { padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; }
  .logo-img { height: 52px; }
  .nav-hamburger { display: flex; }
  .search-wrapper { display: none; }
  .nav-actions .mobile-search-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(15, 17, 21, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border-radius: 0;
    border: none;
    padding: 6.5rem 2rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 500;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a {
    color: #f4f6f4;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
    width: 100%;
    padding: 0.7rem 0.1rem;
    opacity: 0;
    transform: translateY(16px);
  }
  .nav-links a.active, .nav-links a:hover { color: var(--accent-mint) !important; }
  .nav-links.open a { animation: navLinkIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .nav-links.open a:nth-child(1) { animation-delay: 0.08s; }
  .nav-links.open a:nth-child(2) { animation-delay: 0.14s; }
  .nav-links.open a:nth-child(3) { animation-delay: 0.20s; }
  .nav-links.open a:nth-child(4) { animation-delay: 0.26s; }
  .nav-links.open a:nth-child(5) { animation-delay: 0.32s; }
  @keyframes navLinkIn { to { opacity: 1; transform: translateY(0); } }
  .hero-wrapper { flex-direction: column; padding: 5rem 1.5rem 2rem; min-height: auto; }
  .hero-right { max-width: 100%; }
  .partners-ribbon { padding: 2rem 1.5rem; }
  .search-input { width: 150px; }
  .search-input:focus { width: 220px; }
}

@media (max-width: 820px) and (max-height: 500px) and (orientation: landscape) {
  .nav-links { padding: 4.5rem 2rem 1.5rem; }
  .nav-links a { font-size: 1.15rem; padding: 0.7rem 0.1rem; }
}

@media (max-width: 640px) {
  .advisors-section { padding: 4rem 1.5rem; }
  .logo { font-size: 1.05rem; }
  .search-input { width: 96px; font-size: 0.78rem; }
  .search-input:focus { width: 150px; }

  .advisor-card {
    flex-direction: column;
    border-radius: 0 16px 16px 0;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .card-footer-meta { gap: 1rem; }
}


