/* 
 * Rumah Jurnal INSIBU - Design System & Modern CSS (Simpel, Modern & Profesional)
 * Updated UI Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Core Color Palette */
  --primary: #0f172a;          /* Slate 900 */
  --primary-light: #1e293b;    /* Slate 800 */
  --primary-accent: #0284c7;   /* Sky 600 */
  --primary-accent-hover: #0369a1;
  --accent-green: #059669;     /* Emerald 600 */
  --accent-green-hover: #047857;
  --accent-gold: #d97706;      /* Amber 600 */
  --accent-purple: #9333ea;
  
  --bg-main: #f8fafc;          /* Slate 50 */
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #38bdf8;
  
  /* SINTA Badges */
  --sinta-2-bg: #fffbe6;
  --sinta-2-color: #b45309;
  --sinta-2-border: #fef3c7;
  
  --sinta-3-bg: #eff6ff;
  --sinta-3-color: #1d4ed8;
  --sinta-3-border: #dbeafe;

  --sinta-4-bg: #ecfdf5;
  --sinta-4-color: #047857;
  --sinta-4-border: #a7f3d0;

  --sinta-5-bg: #fdf4ff;
  --sinta-5-color: #a21caf;
  --sinta-5-border: #f5d0fe;

  /* Elevations & Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 6px 12px -2px rgba(15, 23, 42, 0.06), 0 3px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 6px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  font-size: 0.925rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Typography & Tags */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(2, 132, 199, 0.09);
  color: var(--primary-accent);
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 36px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.btn-emerald {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #047857, #065f46);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.btn-outline {
  background-color: #ffffff;
  border-color: var(--border-light);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--primary);
  background-color: var(--bg-main);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   HEADER NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0f172a, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background-color: rgba(15, 23, 42, 0.04);
}

.nav-link.active {
  color: var(--primary-accent);
  background-color: rgba(2, 132, 199, 0.08);
  font-weight: 700;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-link {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
  background-color: var(--bg-main);
  color: var(--primary-accent);
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 80px;
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.06) 0%, rgba(248, 250, 252, 1) 90%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero-title span {
  background: linear-gradient(135deg, #0284c7, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Hero Search Box */
.hero-search-box {
  position: relative;
  max-width: 540px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  padding: 4px 16px;
  transition: var(--transition);
}

.hero-search-box:focus-within {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12), var(--shadow-md);
}

.hero-search-box i {
  color: var(--text-light);
  font-size: 1rem;
  margin-right: 12px;
}

.hero-search-box input {
  width: 100%;
  padding: 12px 0;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-main);
  background: transparent;
  font-family: inherit;
}

.hero-search-box input::placeholder {
  color: var(--text-light);
}

/* Hero Visual & Stats Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-main {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: rgba(5, 150, 105, 0.1);
  color: var(--accent-green);
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.stat-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-number.accent-blue { color: var(--primary-accent); }
.stat-number.accent-green { color: var(--accent-green); }
.stat-number.accent-gold { color: var(--accent-gold); }

.stat-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   KATALOG JURNAL SECTION
   ========================================================================== */
.journals-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary);
  border-color: var(--border-hover);
}

.tab-btn.active {
  color: #ffffff;
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Journal Cards Grid */
.journals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.journal-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.journal-cover-wrapper {
  height: 120px;
  position: relative;
  overflow: hidden;
  padding: 16px 20px;
  display: flex;
  align-items: flex-end;
}

.journal-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}

.journal-cover-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journal-badge-category {
  font-size: 0.725rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.journal-cover-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.journal-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.journal-issn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 10px;
}

.journal-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 10px;
}

.journal-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-indexing-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 20px;
}

.sinta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
}

.badge-sinta-2 { background-color: var(--sinta-2-bg); color: var(--sinta-2-color); border: 1px solid var(--sinta-2-border); }
.badge-sinta-3 { background-color: var(--sinta-3-bg); color: var(--sinta-3-color); border: 1px solid var(--sinta-3-border); }
.badge-sinta-4 { background-color: var(--sinta-4-bg); color: var(--sinta-4-color); border: 1px solid var(--sinta-4-border); }
.badge-sinta-5 { background-color: var(--sinta-5-bg); color: var(--sinta-5-color); border: 1px solid var(--sinta-5-border); }

.tag-item {
  font-size: 0.725rem;
  color: var(--text-muted);
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.journal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.journal-card-footer .btn {
  flex: 1;
}

/* ==========================================================================
   ALUR PUBLIKASI SECTION
   ========================================================================== */
.workflow-section {
  padding: 80px 0;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.workflow-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition);
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-accent);
}

.workflow-number {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 8px rgba(2, 132, 199, 0.2);
}

.workflow-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.workflow-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   PANDUAN PENULIS SECTION
   ========================================================================== */
.author-guide-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.check-icon-box {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: rgba(5, 150, 105, 0.12);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.download-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition);
}

.download-item:last-child {
  margin-bottom: 0;
}

.download-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-xs);
}

.download-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: #eff6ff;
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.download-icon.icon-purple {
  background-color: #fdf4ff;
  color: var(--accent-purple);
}

.download-icon.icon-emerald {
  background-color: #ecfdf5;
  color: var(--accent-green);
}

.download-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.download-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background-color: var(--primary);
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.service-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ==========================================================================
   INDEXING SHOWCASE SECTION
   ========================================================================== */
.indexing-section {
  padding: 70px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.indexing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.partner-logo-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.partner-logo-box:hover {
  background-color: #ffffff;
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 20px;
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-accent);
  color: #ffffff;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.footer-contact-item i {
  color: var(--primary-accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   MODAL QUICK VIEW
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.875rem;
}

.modal-detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.modal-detail-value {
  color: var(--primary);
  font-weight: 700;
  text-align: right;
}

.modal-footer {
  padding: 18px 24px;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }

  .hero-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .journals-grid {
    grid-template-columns: 1fr;
  }
}
