/* ==========================================================================
   NAIJALOYAL MODERN DESIGN SYSTEM (v2.0)
   Authoritative, High-Performance, Accessible & AdSense-Compliant
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  /* Brand Core Palette */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --primary-glow: rgba(79, 70, 229, 0.15);
  
  --accent: #10B981;
  --accent-light: #ECFDF5;
  --accent-dark: #059669;
  
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  
  --info: #0284C7;
  --info-light: #E0F2FE;

  /* Neutrals & Surfaces */
  --dark: #0F172A;
  --dark-surface: #1E293B;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --bg-page: #F8FAFC;
  --card-bg: #FFFFFF;
  --surface-subtle: #F1F5F9;
  
  --border: #E2E8F0;
  --border-focus: #4F46E5;
  --border-subtle: #F1F5F9;
  
  /* Geometry & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --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 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.18);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
a:hover {
  color: var(--primary-hover);
}

/* Focus Visibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Layout Containers */
.container {
  width: min(calc(100% - 40px), 1160px);
  margin-inline: auto;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand:hover {
  color: var(--primary);
  text-decoration: none;
}
.brand::before {
  content: "NL";
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: #FFFFFF;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover::before {
  transform: scale(1.06) rotate(-3deg);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
}
.navlinks a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}
.navlinks a:hover, .navlinks a.active {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}
.navlinks a.nav-cta {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}
.navlinks a.nav-cta:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--dark);
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: var(--shadow-lg);
  }
  .navlinks.is-open {
    display: flex;
  }
  .navlinks a {
    padding: 12px 16px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   TYPOGRAPHY & HERO SECTION
   ========================================================================== */
main {
  flex: 1;
}

main.container, main.home-main, main.tool-page, main.category-page {
  width: min(calc(100% - 40px), 1160px);
  margin-inline: auto;
  padding: 44px 0 88px;
}

main.tool-page .container, main.category-page .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.025em;
  margin-top: 36px;
  margin-bottom: 16px;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.hero-text {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.68;
  margin-bottom: 28px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 48px 0 32px;
  background: radial-gradient(100% 60% at 50% 0%, #F5F3FF 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  background: linear-gradient(135deg, #4338CA 0%, #3730A3 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.38);
  text-decoration: none;
}
.btn:active {
  transform: translateY(0);
}

.btn.secondary {
  background: #FFFFFF;
  color: #334155;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn.secondary:hover {
  background: #F8FAFC;
  color: var(--dark);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.btn.accent {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}
.btn.accent:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38);
}

/* Category Quick Bar */
.platform-strip {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0 0;
  box-shadow: var(--shadow-sm);
}
.platform-strip-heading {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.platform-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.platform-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  color: #334155;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.platform-links a:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.section {
  padding: 56px 0;
}
.section-heading {
  margin-bottom: 32px;
}
.section-heading h2 {
  margin-top: 0;
  margin-bottom: 8px;
}
.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.tool-grid, .category-grid, .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #8B5CF6);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
  text-decoration: none;
}
.tool-card:hover::before {
  opacity: 1;
}

.tool-icon, .feature-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}
.tool-card:hover .tool-icon, .tool-card:hover .feature-mark {
  transform: scale(1.08);
}

.tool-card h2, .tool-card h3 {
  color: var(--dark);
  font-size: 1.18rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.3;
}
.tool-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.58;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.tool-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.tool-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tool-arrow {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.tool-card:hover .tool-arrow {
  transform: translateX(5px);
}

/* Feature Grid */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}
.feature-card h3 {
  margin-top: 12px;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ==========================================================================
   CALCULATOR UI & TOOL WORKBENCH
   ========================================================================== */
.breadcrumbs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumbs a {
  color: var(--text-muted);
  font-weight: 500;
}
.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.trust-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 28px;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EFF6FF;
  color: #1E40AF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #DBEAFE;
}

.tool-box, .calculator {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
}

.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.field-help {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

input[type="number"],
input[type="text"],
input[type="date"],
input[type="search"],
select,
textarea {
  width: 100%;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}
.input-with-unit input {
  padding-right: 48px;
}
.input-unit {
  position: absolute;
  right: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  margin-bottom: 24px;
}

/* Result Box */
.result, [aria-live="polite"].result {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #14532D;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.result.empty, .result:empty {
  background: #F8FAFC;
  border-color: var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.result strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F172A;
  margin-top: 4px;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.result-meaning {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #15803D;
  margin-bottom: 6px;
}

.result-tools, .engagement-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.result-tools button, .engagement-actions button {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.result-tools button:hover, .engagement-actions button:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: var(--dark);
}

/* Tool Trust Indicator */
.tool-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
  padding: 18px 22px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tool-trust div {
  font-size: 0.86rem;
  color: var(--text-muted);
}
.tool-trust strong {
  display: block;
  color: var(--dark);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

/* Informational Content Panels */
.info, .content-card, .notice, .original-quality-content, #related-tools-quality, .info-rich {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.info-rich section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.info-rich section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.article-callout {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 22px;
  font-size: 1.05rem;
}
.article-callout strong {
  display: block;
  color: var(--dark);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.article-callout p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info h2, .original-quality-content h2, #related-tools-quality h2, .info-rich h2 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--dark);
}
.info p, .original-quality-content p, .info-rich p {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.info p:last-child, .original-quality-content p:last-child, .info-rich p:last-child {
  margin-bottom: 0;
}

.original-quality-content ul, .info-rich ul, .content-card ul {
  margin: 12px 0 18px 24px;
  color: #334155;
  line-height: 1.7;
}
.original-quality-content li, .info-rich li, .content-card li {
  margin-bottom: 8px;
}

#editorial-review-note {
  display: block;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 24px;
  margin-bottom: 32px;
}
#editorial-review-note strong {
  color: var(--dark);
}

/* Formula Styling */
.formula-box {
  background: #0F172A;
  color: #F8FAFC;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  margin: 14px 0 18px;
  overflow-x: auto;
  border-left: 4px solid var(--primary);
}

/* Notice Box */
.notice {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--info);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  color: #1E3A8A;
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.notice strong {
  color: #1E40AF;
}

/* Related Tools List */
#related-tools-quality ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
  margin-left: 0;
  padding-left: 0;
}
#related-tools-quality li a {
  display: block;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
  transition: all 0.15s ease;
}
#related-tools-quality li a:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  text-decoration: none;
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER & BACK TO TOP
   ========================================================================== */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 64px 0 36px;
  border-top: 1px solid #1E293B;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer strong {
  display: block;
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.site-footer p {
  font-size: 0.9rem;
  line-height: 1.68;
}
.site-footer a {
  color: #94A3B8;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}
.site-footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748B;
}

.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: #FFFFFF;
  border: 1px solid #334155;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: none;
  place-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 90;
  transition: all 0.2s ease;
}
.back-top.is-visible {
  display: grid;
}
.back-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
