/* ============================================================
   KJD — Karadeniz Jeoinformasyon Derneği
   Main Stylesheet
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --bg-base:       #f4f0e4;
  --bg-surface:    #e8e3d0;
  --bg-card:       #ffffff;
  --bg-card-hover: #faf7ef;
  --bg-elevated:   #eee9d6;

  --accent:        #c9a227;
  --accent-light:  #dbb83a;
  --accent-glow:   rgba(201, 162, 39, 0.13);
  --accent-mid:    #a8841e;

  --text-primary:  #12195c;
  --text-secondary:#2d3d80;
  --text-muted:    #6272a8;

  --border:        rgba(18, 25, 92, 0.10);
  --border-accent: rgba(201, 162, 39, 0.38);

  --shadow-sm:   0 1px 3px rgba(18,25,92,0.08);
  --shadow-md:   0 4px 16px rgba(18,25,92,0.10);
  --shadow-lg:   0 8px 32px rgba(18,25,92,0.14);
  --shadow-glow: 0 0 24px rgba(201, 162, 39, 0.20);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --font-sans:   'Bookman Old Style', Bookman, 'URW Bookman L', Georgia, serif;
  --font-display:'Bookman Old Style', Bookman, 'URW Bookman L', Georgia, serif;

  --nav-height: 72px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--text-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-mid); }

img { max-width: 100%; display: block; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text-primary);
}

p { color: var(--text-secondary); }

::selection { background: var(--accent); color: #12195c; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(244, 240, 228, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(244, 240, 228, 0.96);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--accent); }
.logo-icon {
  width: 36px; height: 36px;
  color: var(--accent);
  flex-shrink: 0;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; }
.logo-abbr {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1;
}
.logo-full {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(18,25,92,0.07);
}
.nav-link.active { color: var(--accent); }

/* Language Switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 0.2rem;
  margin-left: 1.25rem;
}
.lang-btn {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}
.lang-btn:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: var(--accent-glow);
}
.lang-btn.active {
  background: var(--accent-glow);
  border-color: var(--border-accent);
  color: var(--accent-mid);
}
.lang-flag { font-size: 1rem; line-height: 1; }

/* Language visibility — toggled via body class */
body .l-en { display: none; }
body.lang-en .l-en { display: revert; }
body.lang-en .l-tr { display: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #12195c;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #12195c;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-accent);
}
.btn-outline:hover {
  background: var(--accent-glow);
  color: var(--accent-mid);
  border-color: var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(18,25,92,0.06); }
.btn-lg { padding: 0.8rem 1.75rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn.loading { opacity: 0.7; cursor: not-allowed; }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-container {
  position: fixed;
  top: calc(var(--nav-height) + 1rem);
  right: 1rem;
  z-index: 2000;
  display: flex; flex-direction: column; gap: 0.5rem;
  max-width: 420px;
}
.flash {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
  border: 1px solid;
}
.flash-error {
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.3);
  color: #fca5a5;
}
.flash-success {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.3);
  color: #86efac;
}
.flash-close {
  background: none; border: none; cursor: pointer;
  color: inherit; margin-left: auto;
  font-size: 1.2rem; line-height: 1;
  opacity: 0.7;
}
.flash-close:hover { opacity: 1; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 5rem 0;
}
.bg-dark {
  background: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.section-title-left {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--bg-base);
}
.hero-bg { display: none; }
.hero-overlay { display: none; }
.hero-content {
  position: relative;
  padding: 6rem 1.5rem 4rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  color: var(--accent);
  animation: bounce 2.5s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card-hover:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ============================================================
   JOURNAL PROMO
   ============================================================ */
.section-journal { background: var(--bg-base); }
.journal-promo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center;
}
.journal-promo-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.journal-promo-content p {
  font-size: 1rem; line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.journal-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.65rem;
  margin-bottom: 2rem;
}
.journal-features li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.9rem; color: var(--text-secondary);
}
.journal-features svg { color: var(--accent); flex-shrink: 0; }
.journal-promo-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Journal 3D Card */
.journal-promo-visual {
  display: flex; justify-content: center; align-items: center;
}
.journal-card-3d {
  perspective: 800px;
}
.journal-cover {
  width: 240px;
  background: linear-gradient(145deg, #091430, #0f1e50);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: rotate3d(0.1, -1, 0, 8deg);
  transition: transform 0.4s ease;
  display: flex; flex-direction: column; gap: 1rem;
}
.journal-card-3d:hover .journal-cover {
  transform: rotate3d(0, 0, 0, 0deg);
}
.cover-header {
  display: flex; justify-content: space-between;
  font-size: 0.7rem; color: var(--text-muted);
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cover-globe {
  display: flex; justify-content: center;
  padding: 1rem 0;
}
.cover-title {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.3;
}
.cover-footer {
  font-size: 0.7rem; color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   ACTIVITIES
   ============================================================ */
.activities-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.activity-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}
.activity-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.activity-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.activity-icon svg { width: 20px; height: 20px; }
.activity-content h3 {
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.activity-content p { font-size: 0.875rem; color: var(--text-secondary); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta { background: var(--bg-surface); }
.cta-box {
  background: linear-gradient(135deg, rgba(18,25,92,0.05), rgba(26,34,114,0.02));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.cta-content p { max-width: 500px; color: var(--text-secondary); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  position: relative;
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  overflow: hidden;
  background: var(--bg-base);
}
.page-header-bg { display: none; }
.page-header .container { position: relative; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.825rem; color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }
.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-subtitle { font-size: 1.05rem; color: var(--text-secondary); }

/* ============================================================
   SUBMIT FORM
   ============================================================ */
.submit-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem;
  align-items: start;
}
.submit-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.info-card h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 1rem; color: var(--text-primary);
}
.info-card h3 svg { color: var(--accent); }
.info-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.info-list li {
  font-size: 0.85rem; color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}
.info-list li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--accent);
}
.format-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.format-badge {
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}
.template-links { display: flex; flex-direction: column; gap: 0.5rem; }
.template-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-secondary);
  padding: 0.6rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.template-link:hover {
  border-color: var(--border-accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.template-link svg { color: var(--accent); flex-shrink: 0; }

/* Form sections */
.submit-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.form-section {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.form-section:last-child { border-bottom: none; }
.form-section-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.75rem;
}
.form-section-num {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #12195c;
  font-weight: 800; font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
}
.form-section-title {
  font-size: 1.15rem; font-weight: 700;
}

/* Form controls */
.form-group {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group:last-child { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary);
}
.form-label.required::after {
  content: ' *'; color: var(--accent);
}
.form-control {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-control:hover:not(:focus) { border-color: rgba(18,25,92,0.22); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); }
.char-count { font-size: 0.78rem; color: var(--text-muted); text-align: right; }

/* File upload */
.file-upload-area {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
  overflow: hidden;
}
.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.file-input {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer; z-index: 0;
  width: 100%; height: 100%;
}
.file-upload-ui {
  display: flex; flex-direction: column; align-items: center;
  padding: 3rem 2rem; gap: 0.75rem; pointer-events: none;
}
.file-upload-icon {
  width: 56px; height: 56px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.file-upload-icon svg { width: 28px; height: 28px; }
.file-upload-text {
  font-size: 0.95rem; color: var(--text-secondary);
  font-weight: 500; text-align: center;
}
.file-upload-browse { color: var(--accent); text-decoration: underline; }
.file-upload-hint { font-size: 0.8rem; color: var(--text-muted); }
.file-preview {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  pointer-events: all;
}
.file-preview-icon { color: var(--accent); width: 36px; height: 36px; }
.file-preview-icon svg { width: 100%; height: 100%; }
.file-preview-info { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.file-preview-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.file-preview-size { font-size: 0.8rem; color: var(--text-muted); }
.file-preview-remove {
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem; cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  display: flex; align-items: center;
}
.file-preview-remove:hover { border-color: rgba(239,68,68,0.5); color: #f87171; }
.file-preview-remove svg { width: 16px; height: 16px; }

/* Form checkbox */
.form-check {
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.form-check-input {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check-label { font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }

/* Form submit */
.form-submit {
  padding: 2rem 2.5rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
}
.form-submit-note { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-wrapper {
  max-width: 600px; margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
}
.success-icon {
  width: 80px; height: 80px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  color: #4ade80;
}
.success-icon svg { width: 40px; height: 40px; }
.success-title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.success-subtitle {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 2.5rem;
}
.success-details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  display: flex; flex-direction: column; gap: 1rem;
}
.success-detail-item {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.detail-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.detail-value { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; text-align: right; }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.status-pending  { background: rgba(234,179,8,0.15); color: #fbbf24; border: 1px solid rgba(234,179,8,0.3); }
.status-review   { background: rgba(99,102,241,0.15); color: #a78bfa; border: 1px solid rgba(99,102,241,0.3); }
.status-accepted { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.status-rejected { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.status-revision { background: rgba(249,115,22,0.15); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }

/* ============================================================
   JOURNAL PAGE
   ============================================================ */
.journal-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 2.5rem;
  align-items: start;
}
.journal-info-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.journal-info-block:last-child { border-bottom: none; margin-bottom: 0; }
.journal-info-block h2 {
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}
.journal-info-block p {
  color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 1rem;
}

/* Rules grid */
.rules-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.rule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--transition);
}
.rule-card:hover { border-color: var(--border-accent); }
.rule-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.rule-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.rule-card p { font-size: 0.82rem; color: var(--text-secondary); }

/* Template download cards */
.template-download-cards { display: flex; flex-direction: column; gap: 1rem; }
.template-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--transition);
}
.template-card:hover { border-color: var(--border-accent); }
.template-card-icon { color: var(--accent); width: 36px; height: 36px; flex-shrink: 0; }
.template-card-icon svg { width: 100%; height: 100%; }
.template-card-info { flex: 1; }
.template-card-info h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.template-card-info p { font-size: 0.82rem; color: var(--text-secondary); }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex; gap: 1.25rem;
  padding: 1.25rem 0;
  position: relative;
}
.process-step::before {
  content: '';
  position: absolute; left: 15px; top: 52px; bottom: -20px;
  width: 2px; background: var(--border);
}
.process-step:last-child::before { display: none; }
.step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--accent);
  color: #12195c;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
  position: relative; z-index: 1;
}
.step-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.step-content p { font-size: 0.85rem; color: var(--text-secondary); }

/* Editorial Board */
.editor-group { margin-bottom: 1.75rem; }
.editor-group:last-child { margin-bottom: 0; }
.editor-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}
.editor-grid { display: flex; flex-direction: column; gap: 0.65rem; }
.editor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.2s;
}
.editor-card:hover { border-color: var(--border-accent); }
.editor-card--chief {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(201,162,39,0.07), transparent);
}
.editor-avatar {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.editor-card--chief .editor-avatar { width: 48px; height: 48px; border-color: var(--border-accent); }
.editor-info { display: flex; flex-direction: column; gap: 0.15rem; }
.editor-info strong { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.editor-info span { font-size: 0.82rem; color: var(--text-secondary); }
.editor-info a { font-size: 0.8rem; color: var(--accent); text-decoration: none; }
.editor-info a:hover { text-decoration: underline; }

/* Sidebar */
.journal-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-cta {
  background: linear-gradient(135deg, rgba(201,162,39,0.13), rgba(168,132,30,0.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.sidebar-cta h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.sidebar-cta p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; }
.sidebar-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.sidebar-info h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.sidebar-info dl { display: flex; flex-direction: column; gap: 0.6rem; }
.sidebar-info dt { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.sidebar-info dd { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0.25rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.about-hero-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.about-hero-text .lead { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.about-hero-text p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.5rem; }
.about-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.about-info-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.about-info-value { font-size: 0.9rem; color: var(--text-primary); font-weight: 600; }

.about-section { margin-bottom: 4rem; }
.about-text-block p {
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 1rem;
}

.work-areas-list { display: flex; flex-direction: column; gap: 0.75rem; }
.work-area-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.work-area-item:hover { border-color: var(--border-accent); }
.work-area-dot {
  width: 8px; height: 8px; flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 6px;
}
.work-area-item p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

.membership-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.membership-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.membership-card:hover { border-color: var(--border-accent); }
.membership-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1rem;
}
.membership-icon svg { width: 24px; height: 24px; }
.membership-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.membership-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }
.membership-note {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.85rem; color: var(--text-muted);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
}
.membership-note svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: 3rem;
  align-items: start;
}
.contact-info-col { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-card h4 { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.contact-info-card p { font-size: 0.9rem; color: var(--text-secondary); }
.contact-form-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; }
.contact-form h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.75rem; }

/* ============================================================
   ADMIN TABLE
   ============================================================ */
.admin-table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th {
  background: var(--bg-card);
  padding: 0.9rem 1.1rem;
  text-align: left;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--bg-card); }
.table-id { font-family: monospace; color: var(--text-muted); font-size: 0.82rem; }
.table-title .article-title-cell { display: flex; flex-direction: column; gap: 0.25rem; }
.article-title-cell strong { color: var(--text-primary); }
.article-abstract-preview { font-size: 0.8rem; color: var(--text-muted); }
.author-cell { display: flex; flex-direction: column; gap: 0.2rem; }
.author-cell span { color: var(--text-primary); font-weight: 500; }
.author-email { font-size: 0.8rem; color: var(--accent); }
.area-badge {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem; color: var(--text-secondary);
}
.table-date { white-space: nowrap; }
.date-time { font-size: 0.78rem; color: var(--text-muted); }
.file-info-small { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.82rem; }

/* Empty State */
.empty-state {
  text-align: center; padding: 5rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  color: var(--text-muted);
}
.empty-state h3 { font-size: 1.1rem; color: var(--text-secondary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0f1754;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4rem 0 2rem;
  --text-primary:  #f0ece0;
  --text-secondary:#b0bce0;
  --text-muted:    #7888b8;
  --border:        rgba(255, 255, 255, 0.10);
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.footer-brand .footer-logo strong {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  display: block;
}
.footer-brand .footer-logo span { font-size: 0.75rem; color: var(--text-muted); }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links li a {
  font-size: 0.875rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--accent-light); }
.footer-contact p {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem;
}
.footer-contact svg { color: var(--accent); flex-shrink: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap; gap: 0.5rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .journal-layout { grid-template-columns: 1fr; }
  .journal-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(244, 240, 228, 0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .hamburger { display: flex; }
  .lang-switcher { margin-left: auto; margin-right: 0.5rem; }

  .section { padding: 3.5rem 0; }
  .hero-content { padding: 4rem 1.5rem 3rem; }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }

  .cards-grid { grid-template-columns: 1fr 1fr; }
  .journal-promo { grid-template-columns: 1fr; }
  .journal-promo-visual { display: none; }
  .cta-box { flex-direction: column; text-align: center; align-items: center; }

  .submit-layout { grid-template-columns: 1fr; }
  .submit-sidebar { order: 2; }
  .submit-form-wrapper { order: 1; }
  .form-section { padding: 1.5rem; }
  .form-submit { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .about-hero-block { grid-template-columns: 1fr; }
  .about-info-cards { grid-template-columns: 1fr 1fr; }
  .membership-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .journal-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { justify-content: center; }
}
