/* 
================================================================
L10N — CLINICAL RESEARCH AESTHETIC (PREMIUM HIGH-END UI/UX)
================================================================
*/

/* Design System: Trust & Authority — EB Garamond (headings) + Lato (body) */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Lato:wght@300;400;700;900&display=swap');
/* Fallback modern sans for UI chrome */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors - Ultra Clean & Trustworthy */
  --bg-white: #FFFFFF;
  --bg-light: #f8fafc; /* Sleek slate white */
  --bg-accent: #f1f5f9; /* Soft grey */
  --text-main: #0f172a; /* Premium slate 900 */
  --text-muted: #475569; /* Slate 600 */
  --text-light: #64748b; /* Slate 500 */
  --accent-blue: #1d4ed8; /* Vibrant Royal Blue */
  --accent-blue-hover: #1e40af;
  --accent-blue-glow: rgba(29, 78, 216, 0.08);
  --border-color: #e2e8f0; /* Crisp slate 200 */
  --border-dark: #cbd5e1; /* Slate 300 */

  /* Tag Colors */
  --tag-green-bg: #dcfce7;
  --tag-green-text: #15803d;
  --tag-amber-bg: #fef3c7;
  --tag-amber-text: #b45309;
  --tag-red-bg: #fee2e2;
  --tag-red-text: #b91c1c;
  --tag-blue-bg: #dbeafe;
  --tag-blue-text: #1d4ed8;

  /* Typography — Trust & Authority Design System */
  --font-heading: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Inter', monospace;
  
  /* Shadow Systems (The secret to premium UI/UX) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  
  --transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography — EB Garamond headings, Lato body */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.01em; /* Serif needs less negative tracking than sans */
}

/* Navigation, buttons, labels, UI chrome use Inter for crisp legibility */
.pro-header, .nav-links, .btn, .btn-primary, .btn-outline,
.label-small, .form-label, .modal-label,
.badge-tag, .filter-chip, .stat-label,
.sidebar-header-title, .sidebar-section-title,
.table-top-bar, .provider-table th,
.footer-bottom { font-family: var(--font-ui); }

h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

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

a:hover {
  color: var(--accent-blue-hover);
}

a:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   SKIP LINK (ACCESSIBILITY)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

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

.section-padding {
  padding: 80px 0;
}

.label-small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  display: inline-block;
}

.label-blue {
  color: var(--accent-blue);
  font-weight: 700;
}

/* ==========================================================================
   NAVIGATION (PREMIUM MODERN BAR WITH SOFT SHADOW & EMBEDDED LOGO)
   ========================================================================== */
.pro-header {
  background: #0f172a; /* Dark premium slate matching the footer */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 64px;
  height: auto;
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-badge {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}

.nav-links li a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8; /* Muted slate */
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: block;
  transition: var(--transition);
}

.nav-links li a:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links li a.active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.nav-links li a.highlight {
  color: #3b82f6;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1);
}

.nav-links li a.highlight:hover {
  background: rgba(59, 130, 246, 0.2);
}

.nav-links li a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
  color: #f8fafc;
}

.header-right {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  font-family: var(--font-body);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 16px;
}


/* ==========================================================================
   BUTTONS (PREMIUM MICRO-INTERACTIONS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--bg-white);
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  border-color: var(--accent-blue-hover);
  color: var(--bg-white);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25);
}

.btn-outline {
  background: var(--bg-white);
  color: var(--text-main);
  border-color: var(--border-dark);
}

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

.btn-black {
  background: var(--text-main);
  color: var(--bg-white);
  border-color: var(--text-main);
}

.btn-black:hover {
  background: #1e293b;
  transform: translateY(-1.5px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.btn-primary:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 4px var(--accent-blue);
}

/* ==========================================================================
   TAGS / BADGES
   ========================================================================== */
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-family: var(--font-body);
}

.tag-green { background: var(--tag-green-bg); color: var(--tag-green-text); }
.tag-amber { background: var(--tag-amber-bg); color: var(--tag-amber-text); }
.tag-red { background: var(--tag-red-bg); color: var(--tag-red-text); }
.tag-blue { background: var(--tag-blue-bg); color: var(--tag-blue-text); }

/* ==========================================================================
   TABLES (STRIPE-STYLE CLEAN DESIGN)
   ========================================================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: var(--bg-white);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  font-size: 14px;
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

tr {
  transition: var(--transition);
}

tr:hover {
  background: rgba(248, 250, 252, 0.6);
}

tr.featured {
  background: rgba(29, 78, 216, 0.02);
}

tr.featured td {
  color: var(--text-main);
}

tr.featured:hover {
  background: rgba(29, 78, 216, 0.04);
}

/* ==========================================================================
   CARDS & PANELS (ELEGANT ELEVATION & DEPTH)
   ========================================================================== */
.card-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.card-sidebar:hover {
  box-shadow: var(--shadow-premium);
}

.card-header, .card-footer {
  background: var(--bg-light);
  padding: 16px 20px;
}

.card-header {
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-footer {
  border-top: 1px solid var(--border-color);
}

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.card-row:last-child {
  border-bottom: none;
}

.card-row:hover {
  background: var(--bg-light);
}

.audit-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.audit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

/* ==========================================================================
   FORMS & INPUTS (HIGH END INTERACTIVE CONTROLS)
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1px solid var(--border-dark);
  background: var(--bg-white);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #0f172a; /* Dark premium slate */
  padding: 72px 0 40px;
  color: #94a3b8; /* Muted slate */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f1f5f9;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li a {
  font-size: 14px;
  color: #94a3b8;
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #f1f5f9;
  transform: translateX(2px);
}

.footer-divider {
  border-top: 1px solid #1e293b;
  margin: 48px 0 32px;
}

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

/* ── Mobile Hamburger Navigation ── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.08); }
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }

  .hamburger-btn { display: flex; }

  .header-right { display: none !important; }

  .header-inner {
    flex-wrap: nowrap;
    height: auto;
    padding: 0 16px;
    align-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    padding: 12px 0 20px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    margin-left: 0;
    overflow-x: visible;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 13px 24px;
    font-size: 15px;
    border-bottom: none;
    border-radius: 0;
  }
  .nav-links li a:hover { background: rgba(255,255,255,0.06); }
  .nav-links li a.highlight {
    margin: 8px 16px 0;
    width: calc(100% - 32px);
    text-align: center;
    border-radius: 8px;
    padding: 12px;
  }

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

/* ==========================================================================
   SIGNUP MODAL OVERLAY & CARD SYSTEM (PREMIUM STRIPE-STYLE INTERFACE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  transform: scale(0.92) translateY(10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-main);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

.modal-form-group {
  margin-bottom: 18px;
}

.modal-label {
  display: block;
  font-size: 12px; /* min 12px — below is inaccessible */
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-ui);
}

.modal-input {
  width: 100%;
  background: #fafafb;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: var(--font-body);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.modal-input:focus {
  background: var(--bg-white);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.audit-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .audit-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
}


/* ==========================================================================
   GLOBAL RESPONSIVE OVERRIDES
   ========================================================================== */
.responsive-grid-hero,
.responsive-grid-2col,
.responsive-grid-3col {
  display: grid;
  align-items: center;
}

@media (max-width: 992px) {
  .responsive-grid-hero {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .responsive-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .responsive-grid-3col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .responsive-flex-row {
    flex-direction: column !important;
    gap: 24px !important;
  }
  
  /* Fix borders on stacked grids */
  .responsive-grid-3col > div {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0 !important;
    padding-bottom: 24px !important;
  }
  .responsive-grid-3col > div:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
}

/* Mobile nav scrollbar reset (hamburger handles display) */
@media (max-width: 768px) {
  .nav-links.nav-open {
    scrollbar-width: none;
  }
  .nav-links.nav-open::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================================================
   CURSOR: POINTER — All Interactive Elements
   ========================================================================== */
.btn, button, [role="button"],
.nav-links li a,
.footer-links li a,
.modal-close,
.tag,
tr[data-href],
.card-row,
.audit-card,
.blog-card {
  cursor: pointer;
}

/* ==========================================================================
   BLOG CARDS — CSS Hover (replaces inline JS)
   ========================================================================== */
.blog-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: inherit;
  text-decoration: none;
}

.blog-card:hover,
.blog-card:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  outline: none;
}

.blog-card:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* ==========================================================================
   MODAL — Focus & Accessibility
   ========================================================================== */
.modal-close:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   MOBILE TABLE — Card View (below 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .table-wrapper {
    border: none;
    box-shadow: none;
    background: transparent;
    overflow-x: visible;
  }

  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none; /* Hide column headers; labels shown as data-label */
  }

  tr {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    padding: 4px 0;
    position: relative;
  }

  tr.featured {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue), var(--shadow-md);
  }

  td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    text-align: left;
  }

  td:last-child {
    border-bottom: none;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    min-width: 80px;
    flex-shrink: 0;
    padding-top: 2px;
  }

  /* Rank column — show prominently */
  td:first-child {
    padding: 12px 16px 8px;
    font-size: 18px;
    font-weight: 800;
    border-bottom: none;
  }
  td:first-child::before { display: none; }
}

/* ==========================================================================
   375px BREAKPOINT — Small Phones
   ========================================================================== */
@media (max-width: 375px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }

  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero-stats {
    gap: 16px;
  }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
  pointer-events: none;
  z-index: 200;
}
.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top-btn:hover { background: #1d4ed8; }
.back-to-top-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION — Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
