.profile-lang-toggle{
  display:inline-flex;
  align-items:center;
  gap:0.45rem;
  padding:0.35rem;
  border-radius:999px;
  background:rgba(63,111,247,0.1);
  margin-bottom:1.5rem;
}
.profile-lang-toggle__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.45rem 1.2rem;
  border-radius:999px;
  font-size:0.85rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:#2b3a5c;
  transition:all 0.2s ease;
}
.profile-lang-toggle__link:hover{
  background:rgba(63,111,247,0.25);
  color:#1f2a44;
}
.profile-lang-toggle__link--active{
  background:#3f6ff7;
  color:#ffffff;
  box-shadow:0 10px 20px rgba(63,111,247,0.35);
}
.profile-nav{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  gap:0.7rem;
  padding:0.75rem 1rem;
  margin-bottom:1.8rem;
  border-radius:18px;
  border:1px solid rgba(63,111,247,0.25);
  background:linear-gradient(135deg,rgba(63,111,247,0.12) 0%,rgba(111,84,255,0.18) 100%);
  box-shadow:0 25px 40px rgba(30,45,92,0.18);
  overflow:hidden;
}
.profile-nav::before{
  content:"";
  position:absolute;
  inset:-40% auto auto -20%;
  width:160%;
  height:160%;
  background:radial-gradient(circle at top,rgba(255,255,255,0.35) 0%,rgba(255,255,255,0) 55%);
  opacity:0.85;
  pointer-events:none;
  transform:rotate(-8deg);
}
.profile-nav__link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:0.45rem;
  padding:0.5rem 1.1rem;
  border-radius:999px;
  font-size:0.88rem;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#213052;
  text-decoration:none;
  background:linear-gradient(135deg,rgba(255,255,255,0.92) 0%,rgba(222,229,255,0.85) 100%);
  box-shadow:0 10px 22px rgba(28,44,94,0.14);
  transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  backdrop-filter:blur(6px);
}
.profile-nav__link::after{
  content:"";
  position:absolute;
  left:18%;
  right:18%;
  bottom:0.25rem;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(63,111,247,0.6) 0%,rgba(111,84,255,0.8) 100%);
  opacity:0;
  transition:opacity 0.25s ease, transform 0.25s ease;
  transform:scaleX(0.6);
}
.profile-nav__link:hover,
.profile-nav__link:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 18px 32px rgba(28,44,94,0.28);
  color:#101a33;
  background:linear-gradient(135deg,rgba(255,255,255,0.95) 0%,rgba(168,182,255,0.92) 100%);
}
.profile-nav__link:hover::after,
.profile-nav__link:focus-visible::after{
  opacity:1;
  transform:scaleX(1);
}
.profile-hero{
  background:linear-gradient(135deg,#f8fbff 0%,#f2f0ff 100%);
  border-radius:22px;
  padding:2.1rem;
  box-shadow:0 22px 45px rgba(36,56,99,0.16);
  margin-bottom:2.5rem;
}
.profile-hero__quote{
  font-size:1.05rem;
  color:#3a4a67;
  margin:0 0 1.4rem;
}
.profile-hero__grid{
  display:flex;
  flex-wrap:wrap;
  gap:1.25rem;
  align-items:stretch;
}
.profile-card{
  background:rgba(255,255,255,0.93);
  border-radius:18px;
  padding:1.3rem 1.4rem;
  box-shadow:0 14px 28px rgba(18,33,68,0.12);
  flex:0 0 auto;
  width:auto;
  min-width:220px;
}
.profile-card h3{
  margin-top:0;
  margin-bottom:0.6rem;
  font-size:1.05rem;
  font-weight:600;
  color:#253354;
}
.profile-card p{
  margin:0;
  color:#4a5875;
  line-height:1.55;
}
.profile-card__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:0.38rem;
}
.profile-card__item{
  display:flex;
  align-items:center;
  gap:0.55rem;
  font-size:0.92rem;
  color:#32405e;
}
.profile-card__icon{
  width:1.6rem;
  height:1.6rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(63,111,247,0.16);
  color:#3f6ff7;
  font-size:0.86rem;
  flex-shrink:0;
  box-shadow:0 6px 12px rgba(35,52,109,0.18);
}
.profile-card__item a{
  color:inherit;
  text-decoration:none;
  font-weight:600;
}
.profile-card__item a:hover{
  color:#3f6ff7;
}
.profile-hero__lead{
  margin:1.8rem 0 0;
  font-size:1.02rem;
  color:#27354f;
}
.profile-hero__lead a{
  color:#3f6ff7;
}
.profile-hero__lead--secondary{
  margin-top:0.7rem;
  font-size:0.95rem;
  color:#3a4866;
}
.profile-section{
  margin-bottom:2.6rem;
}
.profile-section h2{
  font-size:1.35rem;
  color:#23304d;
  margin-bottom:1.2rem;
}
.profile-subsection h3{
  font-size:1.05rem;
  color:#334161;
  margin-bottom:1rem;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.profile-paper{
  background:#ffffff;
  border-radius:10px;
  padding:0.38rem 0.75rem;
  border:1px solid rgba(63,111,247,0.15);
  box-shadow:0 14px 24px rgba(35,52,109,0.14);
  margin-bottom:0.35rem;
}
.profile-paper__tag{
  display:inline-block;
  padding:0.18rem 0.62rem;
  border-radius:999px;
  background:rgba(63,111,247,0.15);
  color:#2a3b5f;
  font-size:0.88rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  margin:0 0.35rem 0.22rem 0;
}
.profile-paper__title{
  margin:0 0 0.06rem;
  font-size:1.12rem;
  color:#1f2a3f;
  line-height:1.18;
}
.profile-paper__title a{
  color:inherit;
  text-decoration:none;
}
.profile-paper__title a:hover{
  color:#3f6ff7;
}
.profile-paper__authors,
.profile-paper__venue{
  margin:0;
  font-size:1.02rem;
  color:#4b5873;
  line-height:1.12;
}
.profile-paper__venue{
  margin-top:0.04rem;
}
.profile-timeline{
  list-style:none;
  margin:0;
  padding:0;
  border-left:3px solid rgba(63,111,247,0.18);
}
.profile-timeline li{
  position:relative;
  padding-left:1.6rem;
  margin-bottom:0.9rem;
}
.profile-timeline li:last-child{
  margin-bottom:0;
}
.profile-timeline li::before{
  content:"";
  position:absolute;
  left:-9px;
  top:0.35rem;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#3f6ff7;
  box-shadow:0 0 0 4px rgba(63,111,247,0.2);
}
.profile-timeline time{
  display:block;
  font-size:0.82rem;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:#38405d;
  margin-bottom:0.18rem;
}
.profile-timeline span{
  font-size:1.02rem;
  color:#1f273d;
  line-height:1.2;
}
.profile-awards{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:0.75rem;
}
.profile-awards li{
  display:flex;
  gap:0.9rem;
  align-items:center;
  padding:0.9rem 1.1rem;
  border-radius:14px;
  background:rgba(63,111,247,0.1);
  color:#2b3a5c;
}
.profile-awards li span{
  font-weight:600;
  font-size:0.85rem;
  letter-spacing:0.05em;
  color:#1f2a44;
  text-transform:uppercase;
  min-width:95px;
}
.profile-awards li a{
  color:inherit;
}
.profile-competitions{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.profile-competitions li{
  display:flex;
  gap:1rem;
  padding:1rem 1.2rem;
  border-radius:16px;
  background:#ffffff;
  box-shadow:0 18px 32px rgba(19,29,52,0.12);
}
.profile-competitions__year{
  font-weight:700;
  color:#3f6ff7;
  letter-spacing:0.08em;
  min-width:90px;
}
.profile-competitions__body strong{
  display:block;
  color:#202c43;
  margin-bottom:0.35rem;
}
.profile-competitions__body p{
  margin:0;
  color:#4b5870;
}
.profile-edu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.profile-edu li{
  padding:1.1rem 1.3rem;
  border-radius:18px;
  background:linear-gradient(135deg,#ffffff 0%,#f5f7ff 100%);
  box-shadow:0 18px 36px rgba(25,38,70,0.12);
}
.profile-edu li strong{
  display:block;
  font-size:1.05rem;
  color:#243251;
  margin-bottom:0.35rem;
}
.profile-edu li span{
  display:block;
  color:#4c5a75;
  font-size:0.92rem;
  line-height:1.55;
}
.profile-cards{
  display:grid;
  gap:1.1rem;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.profile-cards--wide{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.profile-mini-card{
  padding:1.1rem 1.3rem;
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 18px 32px rgba(17,33,66,0.12);
}
.profile-mini-card h3{
  margin-top:0;
  margin-bottom:0.45rem;
  font-size:1rem;
  color:#283553;
}
.profile-mini-card p{
  margin:0 0 0.4rem;
  color:#4c5a74;
  line-height:1.45;
}
.profile-mini-card__links a{
  color:#3f6ff7;
}
.profile-details{
  background:#ffffff;
  border-radius:16px;
  padding:1rem 1.2rem;
  box-shadow:0 16px 28px rgba(16,30,58,0.12);
}
.profile-details summary{
  cursor:pointer;
  font-size:1.05rem;
  color:#253356;
}
.profile-details[open] summary{
  margin-bottom:1rem;
}
.profile-tag-groups{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.profile-tag-list{
  font-size:0.92rem;
}
.profile-tag-list strong{
  display:block;
  font-size:0.9rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#3b4971;
  margin-bottom:0.4rem;
}
.profile-tag-list p{
  margin:0;
  color:#3b4662;
  line-height:1.6;
}
.profile-chip{
  display:inline-flex;
  align-items:center;
  gap:0.4rem;
  padding:0.25rem 0.65rem;
  border-radius:999px;
  background:rgba(63,111,247,0.18);
  color:#1d2842;
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.profile-chip--accent{
  background:#3f6ff7;
  color:#ffffff;
}
.profile-tag-note{
  margin:1rem 0 0;
  font-size:0.85rem;
  color:#62708f;
}
.profile-benchmark{
  margin:0;
  padding-left:1.4rem;
  color:#32405e;
  line-height:1.65;
}
.profile-benchmark li{
  margin-bottom:0.35rem;
}
.profile-benchmark li:last-child{
  margin-bottom:0;
}
.profile-benchmark a{
  color:#32405e;
}
.profile-benchmark a:hover{
  color:#3f6ff7;
}
.profile-benchmark--preview{
  margin:0 0 1.2rem;
  padding-left:1.4rem;
  color:#32405e;
  line-height:1.65;
}
.profile-benchmark--preview li{
  margin-bottom:0.3rem;
}
.profile-benchmark--preview li:last-child{
  margin-bottom:0;
}
.profile-benchmark--preview a{
  color:#32405e;
}
.profile-benchmark--preview a:hover{
  color:#3f6ff7;
}
@media (max-width:600px){
  .profile-hero{
    padding:1.6rem;
  }
  .profile-hero__grid{
    flex-direction:column;
  }
  .profile-card{
    padding:1rem 1.1rem;
    min-width:100%;
  }
  .profile-mini-card{
    padding:1rem 1.1rem;
  }
  .profile-competitions li{
    flex-direction:column;
  }
  .profile-competitions__year{
    min-width:auto;
  }
}
