/* ── Base ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', system-ui, sans-serif; color: #1a202c; background: #fff; }

/* ── Typography ───────────────────────────────────────────── */
.font-display { font-family: 'Playfair Display', Georgia, serif; }

/* ── Announcement bar ─────────────────────────────────────── */
#announcement-bar { background: linear-gradient(90deg, #0D2044 0%, #163366 50%, #0D2044 100%); }

/* ── Navbar ───────────────────────────────────────────────── */
#navbar {
  background: #fff;
  border-bottom: 3px solid #1E8A7E;
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(13,32,68,.12); }
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0D2044;
  padding: .25rem 0;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #1E8A7E;
  transition: width .3s;
}
.nav-link:hover { color: #1E8A7E; }
.nav-link:hover::after { width: 100%; }

/* Logo text styling to match uploaded logo */
.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 2rem;
  color: #1E8A7E;
  letter-spacing: -.01em;
  line-height: 1;
}
.logo-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #0D2044;
  line-height: 1;
}

/* ── Hero ─────────────────────────────────────────────────── */
#home {
  background: linear-gradient(135deg, #07132B 0%, #0D2044 55%, #163366 100%);
  position: relative;
  overflow: hidden;
}
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30,138,126,.18) 0%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,.025) 80px
    );
}
#home::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(30,138,126,.2);
  border: 1px solid rgba(30,138,126,.4);
  color: #7ED8D0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 999px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #1E8A7E;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: .85rem 2rem;
  border-radius: 4px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(30,138,126,.4);
}
.btn-primary:hover { background: #27A89A; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(30,138,126,.5); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: .85rem 2rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,.45);
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }

/* ── Section headers ──────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1E8A7E;
  margin-bottom: .6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #0D2044;
  line-height: 1.2;
}
.section-rule {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #1E8A7E, #27A89A);
  border-radius: 2px;
  margin: 1.1rem 0 1.5rem;
}
.section-rule.center { margin-left: auto; margin-right: auto; }

/* ── About cards ──────────────────────────────────────────── */
.about-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #1E8A7E;
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow .25s, transform .25s;
}
.about-card:hover { box-shadow: 0 12px 40px rgba(13,32,68,.1); transform: translateY(-4px); }

/* ── Editorial Board ──────────────────────────────────────── */
.board-section-header {
  background: linear-gradient(90deg, #0D2044, #163366);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .75rem 1.5rem;
  border-radius: 6px 6px 0 0;
}
.member-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.member-card:hover { box-shadow: 0 10px 35px rgba(13,32,68,.1); transform: translateY(-3px); }
.avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8F5F3, #d1ede9);
  border: 3px solid #1E8A7E;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: #1E8A7E;
}
.eic-badge {
  display: inline-block;
  background: linear-gradient(90deg, #0D2044, #163366);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 999px;
  margin-bottom: .5rem;
}

/* ── Authors ──────────────────────────────────────────────── */
.guideline-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.guideline-item:last-child { border-bottom: none; }
.guide-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: #E8F5F3;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #1E8A7E;
  font-size: .9rem;
}
.apc-badge {
  background: linear-gradient(135deg, #0D2044, #163366);
  color: #fff;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  text-align: center;
}
.free-pill {
  background: #1E8A7E;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: .75rem;
}

/* ── Current Issue ────────────────────────────────────────── */
.issue-header {
  background: linear-gradient(90deg, #0D2044, #1E8A7E);
  color: #fff;
  padding: 2rem 2.5rem;
  border-radius: 10px 10px 0 0;
}
.article-row {
  border-bottom: 1px solid #e2e8f0;
  transition: background .15s;
}
.article-row:last-child { border-bottom: none; }
.article-row:hover { background: #F7F8FA; }
.doi-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #f1f5f9;
  color: #4A5568;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .2rem .6rem;
  border-radius: 4px;
}
.btn-abstract {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #E8F5F3;
  color: #166D64;
  font-size: .78rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: 4px;
  border: 1px solid #1E8A7E;
  cursor: pointer;
  transition: background .15s;
}
.btn-abstract:hover { background: #d1ede9; }
.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #0D2044;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s;
}
.btn-pdf:hover { background: #163366; }

/* Abstract modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7,19,43,.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff;
  max-width: 640px;
  width: 100%;
  border-radius: 10px;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform .25s;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: translateY(0); }

/* ── Contact form ─────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .9rem;
  color: #1a202c;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus { border-color: #1E8A7E; box-shadow: 0 0 0 3px rgba(30,138,126,.15); }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: linear-gradient(135deg, #07132B 0%, #0D2044 100%); }
.footer-link { color: #94a3b8; font-size: .85rem; transition: color .2s; }
.footer-link:hover { color: #7ED8D0; }

/* ── Mobile nav ───────────────────────────────────────────── */
#mobile-menu {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.5rem 1.5rem;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}
#mobile-menu.open { display: flex; }
.mobile-nav-link {
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0D2044;
  padding: .65rem .5rem;
  border-bottom: 1px solid #f1f5f9;
  transition: color .2s;
}
.mobile-nav-link:hover { color: #1E8A7E; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }

/* ── Stats bar ────────────────────────────────────────────── */
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }