/* ============================================================
   JBRES Landing Page — Shared Stylesheet
   Mirrors the look of jelsciences.com
   ============================================================ */

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

:root {
  --navy:   #1a3a6b;
  --blue:   #2471a3;
  --green:  #27ae60;
  --light:  #f4f7fb;
  --white:  #ffffff;
  --text:   #2c3e50;
  --muted:  #6c7a8d;
  --border: #dde3ed;
  --shadow: 0 2px 12px rgba(26,58,107,.10);
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.80);
  font-size: .78rem;
  padding: 6px 0;
  text-align: center;
  letter-spacing: .3px;
}
.topbar span { margin: 0 14px; }
.topbar span::before { content: '✔  '; color: var(--green); }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px; margin: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { height: 56px; width: auto; }
.logo-text { line-height: 1.2; }
.logo-text .journal-short { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.logo-text .journal-full  { font-size: .72rem; color: var(--muted); max-width: 260px; }
.logo-text .journal-issn  { font-size: .70rem; color: var(--blue); font-weight: 600; margin-top:2px; }

nav { display: flex; align-items: center; gap: 6px; }
nav a {
  color: var(--text); font-size: .88rem; font-weight: 500;
  padding: 7px 14px; border-radius: 4px; transition: background .2s;
}
nav a:hover { background: var(--light); text-decoration: none; }
.btn-submit-nav {
  background: var(--green); color: var(--white) !important;
  border-radius: 5px; font-weight: 600 !important;
  padding: 8px 18px !important;
}
.btn-submit-nav:hover { background: #219150 !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2348 60%, #1a5276 100%);
  color: var(--white);
  padding: 70px 24px 60px;
  text-align: center;
}
.hero .badge {
  display: inline-block; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px; padding: 5px 16px;
  font-size: .78rem; letter-spacing: .5px; margin-bottom: 18px;
}
.hero h1 { font-size: 2.1rem; font-weight: 700; line-height: 1.25; max-width: 700px; margin: 0 auto 14px; }
.hero p  { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 600px; margin: 0 auto 28px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--green); color: var(--white);
  padding: 13px 32px; border-radius: 6px; font-size: 1rem; font-weight: 600;
  display: inline-block; transition: background .2s;
}
.btn-primary:hover { background: #219150; text-decoration: none; }
.btn-outline {
  border: 2px solid rgba(255,255,255,.6); color: var(--white);
  padding: 11px 28px; border-radius: 6px; font-size: 1rem; font-weight: 500;
  display: inline-block; transition: border-color .2s;
}
.btn-outline:hover { border-color: var(--white); text-decoration: none; }

/* ── HERO STATS ── */
.hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0; margin-top: 44px;
  background: rgba(255,255,255,.08); border-radius: 10px;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero-stat { padding: 18px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,.15); }
.hero-stat:last-child { border-right: none; }
.hero-stat .val { font-size: 1.5rem; font-weight: 700; }
.hero-stat .lbl { font-size: .72rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .5px; }

/* ── BADGES ROW ── */
.badges-row {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
.badges-inner {
  max-width: 1000px; margin: auto;
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.badge-item { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.badge-item .icon { font-size: 1.2rem; }

/* ── SECTION COMMONS ── */
section { padding: 60px 24px; }
.section-inner { max-width: 1200px; margin: auto; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 8px; }
.section-title p  { color: var(--muted); font-size: 1rem; }
.section-title .underline {
  width: 60px; height: 4px; background: var(--green);
  border-radius: 3px; margin: 10px auto 0;
}

/* ── NETWORK STATS ── */
.network-section { background: var(--light); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card {
  background: var(--white); border-radius: 10px;
  padding: 28px 16px; text-align: center; box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}
.stat-card .num { font-size: 1.9rem; font-weight: 700; color: var(--navy); }
.stat-card .desc { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ── PROCESS STEPS ── */
.process-section { background: var(--white); }
.steps { display: flex; gap: 0; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; max-width: 300px; text-align: center; padding: 0 20px; position: relative; }
.step:not(:last-child)::after {
  content: '→'; position: absolute; right: -16px; top: 28px;
  font-size: 1.8rem; color: var(--border);
}
.step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.step p  { font-size: .87rem; color: var(--muted); line-height: 1.6; }

/* ── WHY CHOOSE US ── */
.why-section { background: var(--light); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-card {
  background: var(--white); border-radius: 10px; padding: 28px;
  box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start;
}
.why-icon { font-size: 2rem; flex-shrink: 0; }
.why-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; font-weight: 600; }
.why-card p  { font-size: .87rem; color: var(--muted); line-height: 1.6; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), #1a5276);
  color: var(--white); text-align: center; padding: 56px 24px;
}
.cta-banner h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.80); margin-bottom: 28px; font-size: 1rem; }

/* ── FOOTER ── */
footer { background: #0d1f3c; color: rgba(255,255,255,.70); padding: 40px 24px 20px; }
.footer-inner { max-width: 1200px; margin: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; font-size: .85rem; }
footer ul li a { color: rgba(255,255,255,.65); }
footer ul li a:hover { color: var(--white); }
.footer-brand .journal-short { font-size: 1.4rem; font-weight: 700; color: var(--white); }
.footer-brand p { font-size: .83rem; margin-top: 8px; line-height: 1.7; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.10); margin: 20px 0 16px; }
.footer-bottom { text-align: center; font-size: .78rem; }

/* ── SUBMISSION PAGE ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #1a5276);
  color: var(--white); padding: 40px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.page-hero p  { color: rgba(255,255,255,.80); font-size: .97rem; }

.form-section { background: var(--light); padding: 50px 24px; }
.form-wrap {
  max-width: 780px; margin: auto;
  background: var(--white); border-radius: 12px;
  box-shadow: var(--shadow); padding: 40px 44px;
}
.form-wrap h2 { font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: .88rem; margin-bottom: 28px; line-height: 1.6; }

/* Submit page layout */
.submit-section { background: var(--light); padding: 50px 24px; }
.submit-wrap {
  max-width: 820px; margin: auto;
  background: var(--white); border-radius: 12px;
  box-shadow: var(--shadow); padding: 40px 44px;
}
.submit-header { margin-bottom: 28px; }
.submit-header h1 { font-size: 1.6rem; color: var(--navy); margin-bottom: 8px; }
.submit-header p { color: var(--muted); font-size: .92rem; }
.form-section-title { font-size: 1.1rem; color: var(--navy); margin: 0 0 4px; }
.form-hint { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.alert-info { background: #eaf4fb; border-left: 4px solid var(--blue); color: #1a5276; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .87rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group label .req { color: #e74c3c; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: .93rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36,113,163,.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.file-note { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

.submit-btn {
  width: 100%; padding: 14px;
  background: var(--green); color: var(--white);
  border: none; border-radius: 7px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.submit-btn:hover { background: #219150; }
.submit-btn:disabled { background: #95a5a6; cursor: not-allowed; }

.form-notice {
  background: #eaf4fb; border-left: 4px solid var(--blue);
  border-radius: 6px; padding: 14px 18px; margin-bottom: 24px;
  font-size: .85rem; color: var(--text); line-height: 1.6;
}

/* ── THANK YOU PAGE ── */
.ty-section { background: var(--light); min-height: 70vh; display:flex; align-items:center; padding:60px 24px; }
.ty-box {
  max-width: 620px; margin: auto; background: var(--white);
  border-radius: 14px; box-shadow: var(--shadow); padding: 50px 44px; text-align: center;
}
.ty-icon { font-size: 4rem; margin-bottom: 16px; }
.ty-box h1 { font-size: 1.7rem; color: var(--navy); margin-bottom: 10px; }
.ty-box p  { color: var(--muted); line-height: 1.7; margin-bottom: 16px; font-size: .95rem; }
.manuscript-id {
  background: var(--light); border: 2px dashed var(--blue);
  border-radius: 8px; padding: 18px; margin: 24px 0;
  font-size: 1.3rem; font-weight: 700; color: var(--navy); letter-spacing: 1px;
}
.manuscript-id small { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); margin-bottom: 6px; }

/* ── ALERTS ── */
.alert { border-radius: 7px; padding: 14px 18px; margin-bottom: 20px; font-size: .88rem; }
.alert-error { background: #fdf2f2; border-left: 4px solid #e74c3c; color: #922b21; }
.alert-success { background: #eafaf1; border-left: 4px solid var(--green); color: #1e8449; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid   { grid-template-columns: 1fr; }
 