/* ==========================================================================
   SULTHAN PUBLISHER — Core Modern Design System & Stylesheet
   Website Publikasi Jurnal & Portal OJS (https://ojssulthan.com/)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary-950: #050b14;
  --primary-900: #0a1727;
  --primary-800: #0f233d;
  --primary-700: #17365d;
  --primary-600: #1e497e;
  --primary-500: #2563eb;
  --primary-400: #3b82f6;
  --primary-300: #60a5fa;
  --primary-100: #dbeafe;
  --primary-50: #eff6ff;

  /* Accent Jewel Tones */
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --rose-600: #e11d48;
  --indigo-600: #4f46e5;
  --cyan-500: #06b6d4;

  /* Surface & Neutral Colors */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Layout */
  --container-max: 1320px;
  --header-height: 80px;
  --header-height-mobile: 70px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transition Curves */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

/* Hard limit horizontal bleed on major sections */
.site-header,
.top-bar,
.hero-section,
.indexing-strip,
.section,
.site-footer {
  max-width: 100vw;
  width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Update --header-height for mobile */
@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #091424 0%, #0f233d 50%, #091424 100%);
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.top-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary-300);
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ==========================================================================
   NAVIGATION BAR (STICKY & GLASS)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: var(--header-height);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-900);
  line-height: 1.15;
}

.brand-text span {
  color: var(--primary-500);
}

.brand-text p {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.35vw, 1.4rem);
  list-style: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-900);
  padding: 0.45rem 0;
  position: relative;
  white-space: nowrap;
  display: inline-block;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-500);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-500);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-700);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--primary-500);
  color: var(--primary-500);
  background: var(--primary-50);
}

.btn-ojs {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-ojs:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #7dd3fc;
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.2);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-900);
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(160deg, #061120 0%, #0d223f 50%, #08182f 100%);
  color: white;
  padding: 5rem 0 6rem;
  overflow: hidden;
  /* Hard-stop any child from bleeding outside */
  contain: layout paint;
  isolation: isolate;
}

.hero-glow-1 {
  position: absolute;
  top: -20%;
  left: 20%;
  width: clamp(200px, 50vw, 500px);
  height: clamp(200px, 50vw, 500px);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  transform: translateZ(0);
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: clamp(240px, 60vw, 600px);
  height: clamp(240px, 60vw, 600px);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  transform: translateZ(0);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}

/* Ensure all direct children of hero-grid don't overflow */
.hero-grid > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 1.5rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title {
  font-size: 3.15rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: #ffffff;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title .gradient-text {
  background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 50%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: min(620px, 100%);
  overflow-wrap: break-word;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.trust-stat h3 {
  font-size: 1.625rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.trust-stat p {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* Hero Right Interactive Card (OJS Sulthan Hub - Matching Screenshot 1) */
.hero-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  backdrop-filter: blur(16px);
  position: relative;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.15rem;
}

.card-title-group h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
}

.card-title-group p {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.ojs-status-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

/* Cover Showcase Slider (Matching Screenshot 1) */
.hero-slider-container {
  overflow: hidden;
  position: relative;
  margin-bottom: 1.15rem;
}

.hero-slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide-item {
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.slide-cover-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1.15rem;
  transition: all var(--transition-fast);
}

.slide-cover-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.5);
}

.slide-cover-frame {
  position: relative;
  width: 170px;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 35px -6px rgba(0, 0, 0, 0.6), 0 0 0 1.5px rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
  background: #0b1320;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.slide-cover-card:hover .slide-cover-frame {
  transform: scale(1.03);
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(56, 189, 248, 0.6);
}

.slide-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-hover-tag {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 23, 42, 0.9);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.5);
  backdrop-filter: blur(4px);
  font-size: 0.71875rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.slide-cover-card:hover .slide-hover-tag {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.slide-journal-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.slide-journal-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.slide-code-badge {
  font-size: 0.71875rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
  background: rgba(56, 189, 248, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.slide-field-badge {
  font-size: 0.71875rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.slide-journal-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide-issn-text {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Slider Controls */
.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.85rem;
}

.slider-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-nav-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-slider-dot.active {
  width: 22px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.hero-card-footer {
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.hero-card-footer p {
  font-size: 0.78125rem;
  color: #cbd5e1;
  margin-bottom: 0.6rem;
}

.hero-card-footer-btns {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

/* ==========================================================================
   INDEXING MARQUEE STRIP
   ========================================================================== */
.indexing-strip {
  background: #ffffff;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.indexing-title {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.marquee-container {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  animation: scroll-marquee 32s linear infinite;
  white-space: nowrap;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.index-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-900);
  transition: all var(--transition-fast);
}

.index-pill:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  color: var(--primary-600);
}

.index-pill-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  flex-shrink: 0;
}

.index-pill-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-100);
  color: var(--primary-600);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   JOURNAL DIRECTORY & OJS SHOWCASE SECTION
   ========================================================================== */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.catalog-search-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.catalog-search-wrap:focus-within {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon {
  color: var(--text-muted);
  width: 20px;
  height: 20px;
}

.catalog-search-input {
  flex: 1;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  background: transparent;
  color: var(--text-main);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background: white;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-surface-alt);
  color: var(--primary-700);
  border-color: var(--border-strong);
}

.filter-btn.active {
  background: var(--primary-700);
  color: white;
  border-color: var(--primary-700);
  box-shadow: 0 4px 10px rgba(15, 35, 61, 0.2);
}

/* Journal Grid Cards */
.journals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.journal-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  height: 100%;
}

.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.journal-card-header {
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  color: white;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-height: 405px;
}

.journal-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.journal-badge-acc {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-openaccess { background: #059669; border-color: #34d399; }
.badge-issn { background: #0284c7; border-color: #38bdf8; }
.badge-international { background: #4f46e5; border-color: #818cf8; }

.journal-code-tag {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.05em;
}

.journal-cover-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0 1rem;
}

.journal-cover-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: #0b1320;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.journal-card:hover .journal-cover-box {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.6), 0 0 0 1.5px rgba(56, 189, 248, 0.4);
}

.journal-cover-img {
  width: 145px;
  height: 205px;
  object-fit: cover;
  display: block;
}

.journal-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 0.4rem;
  min-height: 4.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-field-text {
  font-size: 0.8125rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.25rem;
  margin-top: auto;
}

.journal-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.journal-issn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-strong);
  margin-bottom: 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.journal-issn-row strong {
  color: var(--primary-900);
}

.journal-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  min-height: 4.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-indexing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  min-height: 52px;
  align-content: flex-start;
}

.index-tag {
  font-size: 0.71875rem;
  font-weight: 600;
  background: var(--bg-surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.journal-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* ==========================================================================
   SERVICES & WORKFLOW SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.service-features li {
  font-size: 0.84375rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* Interactive Timeline */
.timeline-wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .timeline-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .timeline-wrap {
    grid-template-columns: 1fr;
  }
}

.timeline-step {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-fast);
}

.timeline-step:hover {
  transform: translateY(-4px);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PRICING & INTERACTIVE CALCULATOR
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border-color: var(--primary-500);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.25);
  transform: scale(1.03);
  z-index: 2;
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.pricing-card-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 0.35rem;
}

.pricing-card-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-900);
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1;
}

.price-suffix {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Interactive Estimator Box */
.estimator-card {
  margin-top: 4rem;
  background: linear-gradient(135deg, #0a1727 0%, #142842 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .estimator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.form-select, .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: #38bdf8;
  outline: none;
}

.form-select option {
  background: #0f172a;
  color: white;
}

.estimate-result-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.estimate-result-box h4 {
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.calc-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.25rem;
}

.calc-timeline {
  font-size: 0.875rem;
  color: #a7f3d0;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   TESTIMONIALS & TRUST
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.rating-stars {
  color: #f59e0b;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.author-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-900);
}

.author-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-400);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-900);
  background: transparent;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-500);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-500);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-fast);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* ==========================================================================
   CTA CALLOUT SECTION
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #091729 0%, #17365d 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  font-size: 2.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060e18;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.btn-float-wa {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-fast);
}

.btn-float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.btn-float-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-900);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
}

.btn-float-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-float-top:hover {
  background: var(--primary-500);
  transform: translateY(-3px);
}

/* ==========================================================================
   MODAL POPUP (JOURNAL DETAIL & SUBMISSION)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: white;
  width: 100%;
  max-width: 780px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-normal);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  color: white;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-body-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.75rem;
}

@media (max-width: 680px) {
  .modal-body-layout {
    grid-template-columns: 1fr;
  }
}

.modal-cover-wrap {
  text-align: center;
}

.modal-cover-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  object-fit: cover;
  display: inline-block;
}

.modal-close-btn {
  color: #cbd5e1;
  padding: 0.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

.modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: white;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 3000;
  transition: transform var(--transition-normal);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (COMPREHENSIVE MOBILE OPTIMIZATION)
   ========================================================================== */
.nav-mobile-cta {
  display: none;
}

.services-about-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 1024px) {
  .hero-section {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-badge-wrap {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .hero-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
  }

  .indexed-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .top-bar {
    display: none;
  }

  .site-header {
    height: 70px;
  }

  .nav-actions .nav-btn-desktop {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-btn-contact {
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-subtle);
    color: var(--primary-900);
    padding: 0;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    gap: 0.35rem;
    align-items: stretch;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
  }

  .btn-mobile-action {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .journals-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 5.5vw, 1.95rem);
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-badge-wrap {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.5vw, 2.15rem);
    line-height: 1.22;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.9375rem;
  }

  .hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.5rem;
    padding-top: 1.25rem;
    text-align: center;
  }

  .trust-stat h3 {
    font-size: 1.35rem;
  }

  .trust-stat p {
    font-size: 0.6875rem;
  }

  .hero-card {
    padding: 1.25rem 1rem;
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius-lg);
  }

  .hero-card-header {
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .card-title-group h4 {
    font-size: 0.95rem;
  }

  .card-title-group p {
    font-size: 0.75rem;
  }

  .slide-cover-card {
    padding: 1rem 0.6rem;
  }

  .slide-cover-frame {
    width: 140px;
    height: 198px;
    margin-bottom: 0.75rem;
  }

  .slide-journal-title {
    font-size: 0.875rem;
    white-space: normal;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .slide-journal-badges {
    gap: 0.25rem;
  }

  .slide-code-badge, .slide-field-badge {
    font-size: 0.6875rem;
    padding: 0.12rem 0.45rem;
  }

  .hero-card-footer {
    padding: 0.75rem;
  }

  .hero-card-footer p {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .hero-card-footer-btns {
    flex-direction: column;
    width: 100%;
    gap: 0.45rem;
  }

  .hero-card-footer-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .services-grid, .services-about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
  }

  .indexed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.75rem;
  }

  .indexed-card {
    padding: 1.15rem 0.65rem;
    min-height: 120px;
  }

  .indexed-card-logo-wrap {
    height: 42px;
    margin-bottom: 0.5rem;
  }

  .indexed-card-logo {
    max-height: 38px;
  }

  .indexed-card-name {
    font-size: 0.8125rem;
  }

  .indexed-card-sub {
    font-size: 0.6875rem;
  }

  .btn-float-wa {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
  }

  .btn-float-top {
    bottom: 4.75rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  .brand-text p {
    display: none;
  }

  .brand-text h1 {
    font-size: 1.05rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .brand-icon svg {
    width: 20px;
    height: 20px;
  }

  .nav-btn-contact {
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
  }

  .journal-card-header {
    padding: 1.25rem 1rem 1rem;
    min-height: auto;
  }

  .journal-cover-img {
    width: 130px;
    height: 185px;
  }

  .journal-title {
    font-size: 1.05rem;
    min-height: auto;
    margin-bottom: 0.4rem;
    -webkit-line-clamp: 2;
  }

  .journal-card-body {
    padding: 1.25rem 1rem;
  }

  .journal-desc {
    min-height: auto;
    font-size: 0.8125rem;
    margin-bottom: 0.85rem;
  }

  .journal-card-actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .journal-card-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .catalog-search-wrap {
    padding: 0.5rem 0.85rem;
  }

  .filter-pills {
    gap: 0.35rem;
  }

  .filter-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.78125rem;
  }
}

@media (max-width: 380px) {
  .nav-btn-contact .nav-btn-text {
    display: none;
  }

  .nav-btn-contact {
    padding: 0.45rem;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
}

/* ==========================================================================
   OFFICIAL INDEXED SHOWCASE (MATCHING SCREENSHOT 2)
   ========================================================================== */
.indexed-card {
  background: white;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  min-height: 140px;
}

.indexed-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-500);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12), 0 8px 10px -6px rgba(37, 99, 235, 0.08);
}

.indexed-card-logo-wrap {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}

.indexed-card-logo {
  max-width: 135px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.indexed-card:hover .indexed-card-logo {
  transform: scale(1.06);
}

.indexed-card-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.01em;
}

.indexed-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* ==========================================================================
   OFFICIAL CONTACT SECTION (MATCHING SCREENSHOT 2)
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
}

.contact-box {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-box:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.contact-type-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-600);
  background: var(--primary-50);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.contact-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 0.35rem;
}

.contact-institution {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-subtle);
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.contact-detail-row svg {
  width: 18px;
  height: 18px;
  color: var(--primary-500);
  flex-shrink: 0;
}

.contact-detail-row a {
  color: var(--primary-600);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-detail-row a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

