/* ============================================
   Lupus GmbH - Professional Design System v12
   Google Fonts: Inter + Playfair Display
   ============================================ */

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

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; color: #0f172a; }
h1 { font-size: 56px; }
h2 { font-size: 42px; }
h3 { font-size: 24px; }
p { margin-bottom: 12px; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* === GLASS CARD (for hero overlays) === */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* === PUBLIC NAV === */
.pub-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.pub-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.pub-nav-inner > div:last-child { display: flex; gap: 6px; align-items: center; }
.pub-nav a {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  color: #475569;
  transition: all 0.25s ease;
}
.pub-nav a:hover { background: rgba(30, 64, 175, 0.06); color: #1e40af; }
.pub-nav a.active { background: rgba(30, 64, 175, 0.1); color: #1e40af; font-weight: 600; }
.pub-nav .nav-login {
  background: #1e40af !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}
.pub-nav .nav-login:hover { background: #1e3a8a !important; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3); }

/* === HERO === */
.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(15,23,42,0.55) 0%, rgba(30,64,175,0.4) 50%, rgba(88,28,135,0.5) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; }
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 19px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-grad {
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #581c87 100%);
  color: #fff;
  padding: 100px 24px;
  text-align: center;
}
.hero-grad h1 { color: #fff; font-size: 46px; margin-bottom: 16px; }
.hero-grad p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: #1e40af;
  color: #fff;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}
.btn-primary:hover { background: #1e3a8a; box-shadow: 0 8px 30px rgba(30, 64, 175, 0.4); }
.btn-success {
  background: #059669;
  color: #fff;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}
.btn-success:hover { background: #047857; box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4); }
.btn-outline {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-secondary { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.btn-secondary:hover { background: #e2e8f0; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }

/* === SECTIONS === */
.section { padding: 90px 24px; }
.section-white { background: #fff; }
.section-alt { background: #f8fafc; }
.section-dark { background: #0f172a; color: #e2e8f0; }
.section-dark h2 { color: #fff; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: #64748b; font-size: 17px; max-width: 560px; margin: 0 auto; }

/* === CARDS === */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-4px);
  border-color: #e2e8f0;
}
.card-header { padding: 24px 24px 0; display: flex; justify-content: space-between; align-items: center; }
.card-header h2 { font-size: 20px; font-weight: 700; color: #0f172a; }
.card-body { padding: 24px; }

/* === SERVICE CARD === */
.svc-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid #f1f5f9;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1e40af, #7c3aed);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transform: translateY(-6px);
  border-color: #e2e8f0;
}
.svc-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}
.svc-card h3 { font-size: 19px; margin-bottom: 10px; color: #0f172a; }
.svc-card p { font-size: 14px; color: #64748b; line-height: 1.65; margin-bottom: 16px; }

/* === STAT CARD === */
.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.stat-icon { margin-bottom: 12px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 800; background: linear-gradient(135deg, #1e40af, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 14px; color: #64748b; font-weight: 500; }

/* === BENEFIT CARD === */
.benefit-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: #0f172a; }
.benefit-card p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* === JOB CARD === */
.job-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  transition: all 0.3s ease;
}
.job-card:hover {
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: #e2e8f0;
}
.job-card .job-body { padding: 28px; }
.job-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.job-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #1e40af;
  background: #dbeafe;
  padding: 5px 14px;
  border-radius: 20px;
}
.job-date { font-size: 13px; color: #94a3b8; }
.job-title { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.job-desc { color: #64748b; font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.job-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f1f5f9; padding-top: 18px; }
.job-reward { font-weight: 700; color: #0f172a; font-size: 15px; }

/* === VALUE CARD === */
.value-card {
  text-align: center;
  padding: 36px 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}
.value-card:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.value-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.value-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: #64748b; line-height: 1.65; }

/* === FAQ === */
.faq-item { border-bottom: 1px solid #f1f5f9; padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.faq-a { font-size: 14px; line-height: 1.75; color: #475569; padding-left: 34px; }
.faq-cat { font-size: 12px; font-weight: 700; color: #1e40af; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }

/* === LEGAL === */
.legal-content h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin: 36px 0 14px; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; line-height: 1.75; color: #475569; margin-bottom: 14px; }
.legal-content ul { margin-bottom: 16px; padding-left: 24px; }
.legal-content li { font-size: 15px; line-height: 1.75; color: #475569; margin-bottom: 6px; }
.legal-content strong { color: #0f172a; }

/* === FORMS === */
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 600; font-size: 13px; color: #475569; margin-bottom: 6px; text-transform: none; letter-spacing: 0; }
label .required { color: #dc2626; }
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1e293b;
  transition: all 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}
input::placeholder { color: #94a3b8; }
textarea { min-height: 120px; resize: vertical; }

/* === GRID === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === BADGES === */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }
.badge-gray { background: #f1f5f9; color: #475569; }

/* === TABLE === */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: 14px 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #94a3b8; border-bottom: 2px solid #f1f5f9; }
.table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid #f8fafc; vertical-align: middle; }
.table tr:hover td { background: #fafbfc; }

/* === IMAGES === */
.img-card { overflow: hidden; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.img-card:hover img { transform: scale(1.03); }
.img-round { border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #581c87 100%);
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; font-size: 36px; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.88); font-size: 17px; max-width: 550px; margin: 0 auto 28px; line-height: 1.7; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info-item .icon-wrap {
  width: 48px; height: 48px; background: #dbeafe; color: #1e40af;
  border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item h4 { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: #64748b; margin: 0; }

/* === FOOTER === */
.footer { background: #0f172a; color: #94a3b8; padding: 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
.footer h4 { color: #f8fafc; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer a { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 10px; transition: all 0.2s; }
.footer a:hover { color: #fff; transform: translateX(2px); }
.footer p { font-size: 14px; line-height: 1.8; margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 24px;
  text-align: center; font-size: 13px; color: #64748b;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,0.5);
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* === PAGE TITLE === */
.page-title { margin-bottom: 32px; }

/* === MISC === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.p-4 { padding: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 12px; }
.gap-4 { gap: 24px; }
.w-full { width: 100%; }

/* === ADMIN SIDEBAR (same structure, improved visuals) === */
.admin-wrap { display: flex; min-height: 100vh; }
.sidebar {
  width: 270px; background: #0f172a; color: #cbd5e1;
  position: fixed; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; z-index: 100;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.sidebar-header { padding: 24px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.sidebar-logo {
  width: 40px; height: 40px; background: linear-gradient(135deg, #1e40af, #7c3aed);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 18px; font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}
.sidebar-logo-img {
  width: 42px; height: 42px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4); display: block;
}
.sidebar-title { font-weight: 700; color: #f8fafc; font-size: 16px; letter-spacing: -0.3px; }
.sidebar-sub { font-size: 11px; color: #64748b; }
.sidebar-nav { flex: 1; padding: 12px 10px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-radius: 10px;
  color: #94a3b8; font-size: 13.5px; font-weight: 500;
  transition: all 0.2s ease; margin-bottom: 2px;
}
.sidebar-nav a:hover { background: rgba(30, 64, 175, 0.15); color: #fff; }
.sidebar-nav a.active { background: linear-gradient(135deg, #1e40af, #3730a3); color: #fff; box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3); }
.sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.sidebar-footer a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: #64748b; font-size: 13px; transition: all 0.2s; }
.sidebar-footer a:hover { background: rgba(220, 38, 38, 0.1); color: #ef4444; }
.main { flex: 1; margin-left: 270px; display: flex; flex-direction: column; min-height: 100vh; background: #f8fafc; }
.topbar {
  background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid #f1f5f9; padding: 0 28px;
  display: flex; justify-content: space-between; align-items: center; height: 64px;
  position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-size: 20px; font-weight: 700; color: #0f172a; font-family: 'Playfair Display', serif; }
.topbar-user { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #475569; }
.topbar-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1e40af, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
}
.content { flex: 1; padding: 28px; }

/* === KPI GRID === */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.kpi-card {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #f1f5f9;
  display: flex; align-items: center; gap: 16px;
  transition: all 0.25s ease;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.kpi-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kpi-value { font-size: 26px; font-weight: 800; color: #0f172a; line-height: 1.2; }
.kpi-label { font-size: 12px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* KPI icon colors */
.kpi-icon-blue { background: #dbeafe; color: #1e40af; }
.kpi-icon-green { background: #d1fae5; color: #065f46; }
.kpi-icon-red { background: #fee2e2; color: #991b1b; }
.kpi-icon-yellow { background: #fef3c7; color: #92400e; }
.kpi-icon-purple { background: #f3e8ff; color: #6b21a8; }

/* Generic icon flex container */
.icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }

.kpi-card > div:last-child h3 { font-size: 22px; font-weight: 800; margin-bottom: 2px; color: #0f172a; }
.kpi-card > div:last-child span { font-size: 12px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* === FILTER BAR === */
.filter-bar { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-bar a { padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; color: #64748b; background: #f1f5f9; transition: all 0.2s; }
.filter-bar a:hover { background: #e2e8f0; }
.filter-bar a.active { background: #1e40af; color: #fff; }

/* === FLASH MESSAGES === */
.flash { padding: 14px 20px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.flash-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* === LOGIN === */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #1e40af 100%);
  position: relative; overflow: hidden;
}
.login-page::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
}
.login-page::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.3) 0%, transparent 70%);
}
.login-box {
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
  border-radius: 24px; padding: 32px; width: 100%; max-width: 400px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.3); position: relative; z-index: 1;
}
.login-logo {
  width: 64px; height: 64px; margin: 0 auto 24px;
  background: linear-gradient(135deg, #1e40af, #7c3aed);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; font-weight: 700; font-family: 'Playfair Display', serif;
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.4);
}
.login-logo-img {
  width: 48px; height: 48px; border-radius: 12px; object-fit: cover;
  margin: 0 auto 8px; display: block;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}
.nav-logo-img {
  height: 58px; width: auto; border-radius: 12px; object-fit: cover;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3); display: block;
}
.login-box h1 { text-align: center; font-size: 22px; margin-bottom: 4px; }
.login-box p { text-align: center; color: #94a3b8; margin-bottom: 20px; font-size: 14px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1, .hero-grad h1 { font-size: 32px; }
  .hero { min-height: 450px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 56px 24px; }
  .cta-banner { padding: 56px 24px; }
  .cta-banner h2 { font-size: 26px; }
  h2 { font-size: 30px; }
  .pub-nav-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
