:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255,255,255,0.95);
  --border: rgba(0,123,255,0.12);
  --border-hover: rgba(0,123,255,0.35);
  --cyan: #007bff;
  --cyan-dim: rgba(0,123,255,0.06);
  --purple: #7c3aed;
  --purple-dim: rgba(124,58,237,0.06);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --success: #10b981;
  --glass: rgba(255,255,255,0.85);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  background: var(--bg-primary); color: var(--text-primary);
  overflow-x:hidden; line-height:1.6;
}
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:#f1f5f9; }
::-webkit-scrollbar-thumb { background:var(--cyan); border-radius:3px; }
a { text-decoration:none; color:inherit; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
img { max-width:100%; display:block; }
ul { list-style:none; }

/* ===== Header ===== */
.header {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(248,250,252,0.9); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.header-inner {
  max-width:1400px; margin:0 auto; padding:0 24px;
  height:64px; display:flex; align-items:center; justify-content:space-between;
}
.logo {
  font-size:18px; font-weight:800;
  background:linear-gradient(135deg,var(--cyan),var(--purple));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; letter-spacing:-0.3px;
  display:flex; align-items:center; gap:8px; text-decoration:none;
  white-space:nowrap;
}
.footer .logo { font-size:17px; }
.logo-2line {
  flex-direction:column; align-items:flex-start; justify-content:center;
  gap:0; line-height:1.25; font-size:14.5px; white-space:normal;
}
.nav { display:flex; align-items:center; gap:28px; }
.nav a {
  color:var(--text-secondary); text-decoration:none; font-size:13.5px; font-weight:500;
  transition:color 0.2s; position:relative;
}
.nav a:hover, .nav a.active { color:var(--cyan); }
.nav a::after {
  content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background:var(--cyan); transition:width 0.3s;
}
.nav a:hover::after, .nav a.active::after { width:100%; }
.nav-consult {
  background:none; border:none; color:var(--text-secondary);
  font-size:13.5px; font-weight:500; cursor:pointer;
  transition:color 0.2s; position:relative; padding:0;
  font-family:inherit;
}
.nav-consult:hover { color:var(--cyan); }
.nav-consult::after {
  content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background:var(--cyan); transition:width 0.3s;
}
.nav-consult:hover::after { width:100%; }
.header-actions { display:flex; align-items:center; gap:16px; }
.lang-switch {
  display:flex; align-items:center; gap:4px;
  background:var(--bg-secondary); border:1px solid var(--border);
  border-radius:20px; padding:4px;
}
.lang-switch button {
  background:none; border:none; color:var(--text-muted);
  font-size:12px; font-weight:600; padding:4px 12px;
  border-radius:16px; cursor:pointer; transition:all 0.2s; font-family:inherit;
}
.lang-switch button.active {
  background:linear-gradient(135deg,var(--cyan),var(--purple)); color:#fff;
}
.btn-primary {
  background:linear-gradient(135deg,var(--cyan),var(--purple));
  color:#fff; border:none; padding:8px 20px;
  border-radius:8px; font-size:13px; font-weight:600;
  cursor:pointer; transition:all 0.2s; font-family:inherit; text-decoration:none; display:inline-flex; align-items:center; justify-content:center;
}
.btn-primary:hover { transform:translateY(-1px); box-shadow:0 8px 24px rgba(0,123,255,0.25); }

/* Mobile menu */
.mobile-menu-toggle {
  display:none; flex-direction:column; gap:4px; cursor:pointer; padding:8px; background:none; border:none;
}
.mobile-menu-toggle span {
  display:block; width:22px; height:2px; background:var(--text-primary); border-radius:1px; transition:0.3s;
}
.mobile-nav {
  display:none; position:fixed; top:64px; left:0; right:0; background:rgba(248,250,252,0.98);
  backdrop-filter:blur(20px); border-bottom:1px solid var(--border); padding:16px 24px; z-index:999;
  flex-direction:column; gap:12px;
}
.mobile-nav a {
  color:var(--text-secondary); text-decoration:none; font-size:15px; font-weight:500; padding:8px 0; border-bottom:1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom:none; }
.mobile-nav.active { display:flex; }
.mobile-nav .nav-consult {
  color:var(--text-secondary); text-decoration:none; font-size:15px; font-weight:500;
  padding:8px 0; border-bottom:1px solid var(--border); width:100%; text-align:left;
}
.mobile-nav .nav-consult:last-child { border-bottom:none; }

/* ===== Hero ===== */
.hero { position:relative; height:560px; overflow:hidden; margin-top:64px; }
.hero-slide { position:absolute; inset:0; opacity:0; transition:opacity .9s ease; z-index:1; }
.hero-slide.active { opacity:1; z-index:2; }
.hero-slide .bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.hero-slide .overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(15,23,42,0.88) 0%,rgba(15,23,42,0.6) 55%,rgba(15,23,42,0.2) 100%); }
.hero-slide .content { position:relative; z-index:3; height:100%; display:flex; align-items:center; }
.hero-slide h1 { font-size:44px; font-weight:800; color:#fff; line-height:1.15; margin-bottom:16px; max-width:600px; letter-spacing:-0.02em; }
.hero-slide p { font-size:17px; color:rgba(255,255,255,0.8); margin-bottom:32px; max-width:480px; line-height:1.65; font-weight:400; }
.hero-dots { position:absolute; bottom:28px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:10; }
.hero-dots button { width:32px; height:3px; border-radius:2px; background:rgba(255,255,255,0.25); border:none; cursor:pointer; transition:.3s; }
.hero-dots button.active { background:#fff; width:40px; }

/* ===== Search ===== */
.search-strip { background:var(--bg-secondary); border-bottom:1px solid var(--border); padding:28px 24px; }
.search-bar {
  display:flex; gap:0; max-width:720px; margin:0 auto;
  background:var(--glass); border:1.5px solid var(--border); border-radius:12px;
  backdrop-filter:blur(10px); overflow:hidden; transition:.2s;
}
.search-bar:focus-within { border-color:var(--cyan); box-shadow:0 0 0 4px var(--cyan-dim); }
.search-bar input {
  flex:1; background:none; border:none; padding:14px 20px;
  color:var(--text-primary); font-size:15px; outline:none; font-family:inherit;
}
.search-bar input::placeholder { color:var(--text-muted); }
.search-bar button {
  background:linear-gradient(135deg,var(--cyan),var(--purple));
  border:none; color:#fff; padding:0 28px; font-size:14px; font-weight:600;
  cursor:pointer; font-family:inherit;
}

/* ===== Section common ===== */
.section { position:relative; z-index:2; padding:80px 24px; max-width:1400px; margin:0 auto; }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:36px; gap:12px; flex-wrap:wrap; }
.section-head .left { text-align:left; }
.section-title { font-size:clamp(24px,4vw,36px); font-weight:800; margin-bottom:6px; }
.section-desc { font-size:15px; color:var(--text-secondary); margin:0; }
.section-link { font-size:13.5px; font-weight:600; color:var(--cyan); display:flex; align-items:center; gap:4px; transition:.2s; white-space:nowrap; text-decoration:none; }
.section-link:hover { gap:8px; color:var(--purple); }

/* ===== Journal cards ===== */
.journal-section { background:var(--bg-primary); }
.journal-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px; }
.journal-card {
  background:var(--bg-secondary); border-radius:14px; overflow:hidden;
  border:1px solid var(--border); transition:all .35s cubic-bezier(.4,0,.2,1); cursor:pointer;
  display:flex; flex-direction:column;
  box-shadow:0 1px 3px rgba(0,0,0,0.04);
}
.journal-card:hover { border-color:var(--border-hover); transform:translateY(-4px); box-shadow:0 14px 40px rgba(0,123,255,0.10); }
.journal-cover { width:100%; position:relative; overflow:hidden; padding-bottom:120%; background:linear-gradient(135deg,#1e3a5f 0%,#0f172a 50%,#1e293b 100%); }
.journal-cover::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:45%;
  background:linear-gradient(to top, rgba(15,23,42,0.55), transparent); z-index:1;
}
.journal-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.journal-card:hover .journal-cover img { transform:scale(1.05); }
.journal-cover-badge { position:absolute; top:10px; left:10px; display:flex; flex-wrap:wrap; gap:4px; z-index:2; }
.journal-cover-badge .bd { font-size:9px; font-weight:700; padding:3px 8px; border-radius:20px; text-transform:uppercase; letter-spacing:0.5px; background:rgba(255,255,255,0.95); box-shadow:0 2px 6px rgba(0,0,0,0.08); }
.journal-body { padding:14px; display:flex; flex-direction:column; gap:6px; flex:1; }
.journal-name { font-size:14px; font-weight:700; color:var(--text-primary); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.journal-issn { font-size:11px; color:var(--text-muted); font-family:'SF Mono',monospace; letter-spacing:0.3px; }
.journal-tags { display:flex; flex-wrap:wrap; gap:4px; margin-top:2px; }
.journal-tags span { font-size:10px; color:var(--text-secondary); padding:3px 8px; background:var(--bg-primary); border-radius:20px; font-weight:500; border:1px solid var(--border); }
.journal-bottom { display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:10px; border-top:1px solid var(--border); gap:6px; }
.journal-bottom .if { font-size:12px; font-weight:700; color:var(--cyan); }

/* ===== Meeting cards ===== */
.meeting-section { background:var(--bg-secondary); border-top:1px solid var(--border); }
.meeting-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); gap:24px; }
.meeting-card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
  overflow:hidden; transition:all .3s; cursor:pointer; display:flex; flex-direction:column;
}
.meeting-card:hover { border-color:var(--border-hover); transform:translateY(-3px); box-shadow:0 16px 48px rgba(0,123,255,0.08); }
.meeting-cover { height:200px; position:relative; overflow:hidden; }
.meeting-cover img { width:100%; height:100%; object-fit:cover; transition:.4s; }
.meeting-card:hover .meeting-cover img { transform:scale(1.03); }
.meeting-cover-overlay { position:absolute; inset:0; background:linear-gradient(0deg,rgba(15,23,42,0.75) 0%,transparent 60%); }
.meeting-cover-info { position:absolute; bottom:16px; left:16px; right:16px; color:#fff; }
.meeting-cover-info .loc { font-size:12.5px; opacity:0.85; font-weight:400; }
.meeting-cover-badges { position:absolute; top:14px; right:14px; display:flex; gap:6px; }
.meeting-cover-badges .bd { font-size:10px; font-weight:700; padding:4px 10px; border-radius:4px; background:rgba(255,255,255,0.95); color:var(--text-primary); text-transform:uppercase; }
.meeting-body { padding:18px 20px; display:flex; flex-direction:column; gap:12px; flex:1; }
.meeting-desc { font-size:13.5px; color:var(--text-secondary); line-height:1.6; }
.meeting-tags { display:flex; flex-wrap:wrap; gap:5px; }
.meeting-tags span { font-size:11px; color:var(--text-secondary); padding:3px 10px; background:var(--bg-primary); border-radius:20px; font-weight:500; border:1px solid var(--border); }
.meeting-footer { padding:14px 20px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; }
.meeting-footer .deadline { font-size:12px; color:var(--text-muted); font-weight:500; }
.meeting-footer .link { font-size:13px; font-weight:600; color:var(--cyan); text-decoration:none; }
.meeting-footer .link:hover { color:var(--purple); }

/* ===== Papers ===== */
.paper-section { background:var(--bg-primary); border-top:1px solid var(--border); }
.paper-list { display:flex; flex-direction:column; gap:1px; background:var(--border); border-radius:14px; overflow:hidden; border:1px solid var(--border); }
.paper-row { display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center; background:var(--bg-card); padding:18px 22px; transition:.15s; cursor:pointer; }
.paper-row:hover { background:var(--cyan-dim); }
.paper-title { font-size:15px; font-weight:600; color:var(--text-primary); line-height:1.4; margin-bottom:5px; }
.paper-authors { font-size:12.5px; color:var(--text-muted); }
.paper-badges { display:flex; gap:5px; margin-top:8px; }
.paper-bd { font-size:10px; font-weight:700; padding:3px 8px; border-radius:3px; text-transform:uppercase; }
.paper-bd-scopus { background:#e0f2fe; color:#0056b3; }
.paper-side { display:flex; align-items:center; gap:14px; }
.paper-date { font-size:12px; color:var(--text-muted); white-space:nowrap; font-weight:500; }

/* ===== Stats ===== */
.stats-bar {
  background:linear-gradient(135deg,var(--cyan),var(--purple));
  color:#fff; padding:56px 24px; position:relative; overflow:hidden;
}
.stats-bar::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 20% 50%,rgba(255,255,255,0.08),transparent 50%),
             radial-gradient(circle at 80% 50%,rgba(255,255,255,0.05),transparent 50%);
}
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; text-align:center; position:relative; z-index:1; max-width:1400px; margin:0 auto; }
.stats-grid .num { font-size:40px; font-weight:800; line-height:1; margin-bottom:8px; }
.stats-grid .label { font-size:12px; color:rgba(255,255,255,0.7); text-transform:uppercase; letter-spacing:1px; font-weight:600; }

/* ===== Index strip ===== */
.index-strip { background:var(--bg-secondary); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:22px 24px; }
.index-strip-inner { max-width:1400px; margin:0 auto; display:flex; align-items:center; gap:36px; overflow-x:auto; scrollbar-width:none; }
.index-strip-inner::-webkit-scrollbar { display:none; }
.index-strip .lab { font-size:11px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:1px; white-space:nowrap; }
.index-strip span { font-size:13.5px; font-weight:700; color:var(--text-primary); white-space:nowrap; opacity:0.6; }

/* ===== Footer ===== */
.footer { border-top:1px solid var(--border); padding:60px 24px 30px; position:relative; z-index:2; }
.footer-inner { max-width:1400px; margin:0 auto; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:48px; }
.footer-brand .logo { margin-bottom:16px; display:inline-flex; }
.footer-brand p { font-size:13px; color:var(--text-muted); line-height:1.8; max-width:280px; }
.footer-col h4 { font-size:14px; font-weight:700; margin-bottom:20px; }
.footer-col a { display:block; font-size:13px; color:var(--text-muted); text-decoration:none; margin-bottom:12px; transition:color 0.2s; }
.footer-col a:hover { color:var(--cyan); }
.footer-bottom { max-width:1400px; margin:40px auto 0; padding-top:24px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.footer-bottom p { font-size:12px; color:var(--text-muted); }

/* ===== Float ===== */
.float-widget { position:fixed; right:20px; bottom:24px; z-index:90; }
.float-btn { width:44px; height:44px; border-radius:50%; background:var(--text-primary); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,0,0,0.1); transition:.2s; cursor:pointer; border:none; }
.float-btn:hover { background:var(--cyan); transform:scale(1.06); }
.float-btn svg { width:18px; height:18px; }
#backToTop { opacity:0; transform:translateY(10px); pointer-events:none; transition:all .3s; }
#backToTop.show { opacity:1; transform:translateY(0); pointer-events:auto; }

/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-in { opacity:0; animation:fadeInUp 0.6s ease forwards; }

/* ===== Responsive ===== */
@media(max-width:1024px){
  .hero{height:460px}
  .hero-slide h1{font-size:34px}
  .meeting-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:28px}
  .footer-inner{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .nav{display:none}
  .mobile-menu-toggle{display:flex}
  .hero{height:420px;margin-top:64px}
  .hero-slide h1{font-size:26px;max-width:90%}
  .hero-slide p{font-size:15px}
  .journal-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .meeting-grid{grid-template-columns:1fr}
  .paper-row{grid-template-columns:1fr}
  .paper-side{justify-content:flex-start;margin-top:8px}
  .stats-grid .num{font-size:32px}
  .section{padding:48px 24px}
  .section-title{font-size:22px}
}
@media(max-width:480px){
  .hero{height:380px}
  .hero-slide h1{font-size:24px}
  .journal-grid{grid-template-columns:1fr}
}
