:root {
 --bg: #f6f8fc;
 --surface: #ffffff;
 --surface-soft: #f1f5f9;
 --border: #cbd5e1;
 --border-light: #e2e8f0;
 --text: #0f172a;
 --muted: #475569;
 --primary: #059669;
 --primary-dark: #047857;
 --primary-bg: #ecfdf5;
 --primary-border: #6ee7b7;
 --accent: #ff6600;
 --accent-dark: #e05200;
 --shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
 --shadow-hover: 0 14px 32px rgba(15, 23, 42, 0.11);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
 -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Top Privacy Guarantee Strip */
.safe-banner {
  background: linear-gradient(90deg, #064e3b, #065f46, #064e3b);
  color: #ecfdf5;
  padding: 9px 16px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  text-align: center;
}
.safe-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #34d399;
  display: inline-block;
  margin-right: 4px;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
}
.status-chip {
  background: rgba(255,255,255,0.16);
  padding: 3px 11px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

/* Header & Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 13px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none !important;
  letter-spacing: -0.02em;
}
.brand-badge {
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
}
.nav-toggle {
  display: none;
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}
.nav-menu a { color: var(--muted); padding: 4px 2px; transition: color 0.15s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-dark); text-decoration: none; }

/* Quick Tool Pill Strip (Horizontal scroll on mobile/tablet!) */
.tool-subnav {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  font-size: 13px;
}
.tool-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.tool-pill-link {
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 6px 13px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.16s ease;
}
.tool-pill-link:hover, .tool-pill-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 0 24px;
}
.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--text);
}
.hero h1 span {
  background: linear-gradient(90deg, #059669, #2563eb);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}
.hero p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 16px;
}
.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.t-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 15px;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}
.t-icon {
  font-size: 20px;
  background: var(--primary-bg);
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.t-card strong { display: block; font-size: 14.5px; color: var(--text); }
.t-card span { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: block; margin-top: 2px; }

/* TinyWow-Style Category Filter Bar */
.cat-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 22px;
}
.cat-chip {
  background: #fff;
  border: 1.5px solid var(--border-light);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.cat-chip:hover { border-color: var(--primary); color: var(--text); }
.cat-chip.active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* TinyWow-Inspired Colorful Tool Cards Grid */
.tools-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 16px 0 38px;
}
.dir-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.dir-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--card-accent, var(--primary));
}
.dir-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dir-ico-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}
.dir-cat-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.dir-card h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-top: 10px;
}
.dir-card p {
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 6px;
}
.dir-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 15px;
  border-radius: 11px;
  transition: background 0.16s ease, color 0.16s ease;
}
.dir-card:hover .dir-cta {
  background: var(--primary);
  color: #fff;
}

/* Tool Workspace Box */
.tool-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.pane-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.pane-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pane-top h2 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.pane-top p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.safe-pill {
  background: var(--primary-bg);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
}

.upload-area {
  display: block;
  border: 2.5px dashed var(--primary);
  background: #f0fdf4;
  border-radius: 16px;
  padding: 34px 18px;
  text-align: center;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}
.upload-area:hover, .upload-area.dragover { background: #dcfce7; }
.upload-area input[type="file"] { display: none; }
.upload-area .big-ico { font-size: 40px; margin-bottom: 6px; }
.upload-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 11px;
  margin: 8px 0 6px;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
}
.upload-area small { display: block; color: var(--muted); font-size: 13px; }

.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  margin-top: 18px;
}
.field { display: flex; flex-direction: column; gap: 5px; min-width: 165px; flex: 1; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--text); }
select, input[type="text"], input[type="number"], textarea {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  width: 100%;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--primary); }
input[type="range"] { accent-color: var(--primary); cursor: pointer; width: 100%; }

.btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 11px 20px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
}
.btn:hover { background: var(--primary-dark); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-orange { background: linear-gradient(135deg, #ff771c, #ea580c); color: #fff; box-shadow: 0 4px 12px rgba(234, 88, 12, 0.22); }
.btn-orange:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--border); box-shadow: none; }
.btn-outline:hover { background: var(--surface-soft); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.out-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.out-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: repeating-conic-gradient(#e2e8f0 0% 25%, #f8fafc 0% 50%) 50% / 14px 14px;
  border-radius: 8px;
}
.out-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.save-tag { color: var(--primary-dark); font-weight: 800; }

.pdf-queue { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.pdf-row {
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  word-break: break-word;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.qr-box {
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  place-items: center;
  min-height: 240px;
}
.code-display {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  background: var(--surface-soft);
  border: 1.5px solid var(--border);
  padding: 14px;
  border-radius: 10px;
  color: var(--primary-dark);
  word-break: break-all;
  margin: 14px 0;
}

/* Editorial Content Box */
.guide-article {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 32px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.guide-article h2 { font-size: 22px; font-weight: 800; margin: 24px 0 10px; color: var(--text); }
.guide-article h2:first-child { margin-top: 0; }
.guide-article h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; color: var(--text); }
.guide-article p { font-size: 15.5px; color: #334155; margin-bottom: 14px; }
.guide-article ul, .guide-article ol { margin: 8px 0 18px 22px; color: #334155; font-size: 15px; }
.guide-article li { margin-bottom: 8px; }
.table-scroll { width: 100%; overflow-x: auto; margin: 16px 0 20px; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.guide-table th, .guide-table td { border: 1px solid var(--border-light); padding: 10px 14px; text-align: left; }
.guide-table th { background: var(--surface-soft); font-weight: 700; }

details {
  background: var(--surface-soft);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
summary { font-weight: 700; cursor: pointer; font-size: 15px; }
details p { margin-top: 8px; color: #334155; font-size: 14.5px; }

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  margin-top: 48px;
  padding: 30px 0 38px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; font-size: 14px; font-weight: 600; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--primary-dark); }
.footer-copy { font-size: 13px; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border-light); }

/* ================= TABLET RESPONSIVE (768px - 1024px) ================= */
@media (max-width: 1024px) {
  .tools-directory { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .trust-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tool-subnav-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
 -webkit-overflow-scrolling: touch;
  }
  .tool-subnav-inner::-webkit-scrollbar { height: 4px; }
  .tool-subnav-inner::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
}

/* ================= MOBILE PHONE RESPONSIVE (<= 767px) ================= */
@media (max-width: 767px) {
  .container { padding: 0 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; padding: 6px 4px; font-size: 15px; }

  .hero { padding: 26px 0 18px; }
  .hero p { font-size: 14.5px; margin-bottom: 18px; }
  .trust-cards { grid-template-columns: 1fr; gap: 10px; }
  .tools-directory { grid-template-columns: 1fr; gap: 14px; }
  .dir-card { padding: 18px; }

  .tool-box { padding: 18px 15px; border-radius: 16px; }
  .pane-top { flex-direction: column; align-items: flex-start; }
  .upload-area { padding: 26px 14px; }
  .upload-cta-btn { width: 100%; font-size: 14.5px; padding: 12px 16px; }

  .action-bar { flex-direction: column; align-items: stretch; padding: 14px; }
  .field { min-width: 100%; }
  .action-bar .btn { width: 100%; }
  .two-col { grid-template-columns: 1fr; }

  .guide-article { padding: 20px 16px; border-radius: 14px; }
  .guide-article h2 { font-size: 19.5px; }
}

/* ================= TINY-WOW STYLE SAAS MEGA MENU ================= */
.mega-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-item {
  position: relative;
}
.mega-trigger {
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  padding: 9px 13px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.mega-trigger:hover, .mega-item.open .mega-trigger {
  background: var(--surface-soft);
  color: var(--primary-dark);
}
.mega-trigger svg {
  transition: transform 0.18s ease;
}
.mega-item.open .mega-trigger svg {
  transform: rotate(180deg);
}
.nav-plain-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-plain-link:hover {
  background: var(--surface-soft);
  color: var(--text);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta-btn {
  padding: 8px 15px;
  font-size: 13.5px;
  border-radius: 9px;
}

/* Mega Dropdown Panel */
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 340px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
  z-index: 100;
}
.mega-panel-wide {
  min-width: 540px;
  left: -120px;
}
.mega-item.open .mega-panel {
  display: block;
  animation: dropFade 0.16s ease;
}
@media (min-width: 960px) {
  .mega-item:hover .mega-panel {
    display: block;
  }
}
@keyframes dropFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.mega-panel-head {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 2px 8px 10px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 8px;
}
.mega-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mega-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 11px;
  text-decoration: none !important;
  color: var(--text);
  transition: background 0.14s ease;
}
.mega-link:hover {
  background: var(--surface-soft);
}
.m-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.mega-link strong {
  display: block;
  font-size: 13.8px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.mega-link small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* Instant Search Box on Homepage */
.hero-search-wrap {
  max-width: 540px;
  margin: 0 auto 24px;
  position: relative;
}
.hero-search-input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  font-size: 15px;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.hero-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.14);
}
.hero-search-ico {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* ================= TESTIMONIALS & STATS SECTION ================= */
.testimonials-section {
  margin: 42px 0 32px;
}
.section-head-center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 24px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.section-head-center h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.section-head-center p {
  font-size: 15px;
  color: var(--muted);
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-box strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
}
.stat-box span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.review-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}
.review-quote {
  font-size: 14.2px;
  color: #334155;
  line-height: 1.6;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}
.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}
.review-author small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

/* Responsive Mega Menu & Testimonials on Tablet & Phone */
@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-row {
    flex-wrap: wrap;
  }
  .brand {
    order: 1;
  }
  .nav-actions {
    order: 2;
    margin-left: auto;
  }
  .mega-nav {
    order: 3;
    flex-basis: 100%;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border-light);
  }
  .mega-nav.open {
    display: flex;
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    padding-bottom: 10px;
  }
  .mega-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 15px;
    background: var(--surface-soft);
  }
  .nav-plain-link {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
  }
  .mega-panel, .mega-panel-wide {
    position: static;
    min-width: 100%;
    box-shadow: none;
    background: var(--surface-soft);
    border-radius: 12px;
    margin-top: 6px;
    padding: 10px;
  }
  .mega-link {
    padding: 10px 8px;
  }
  .mega-two-col { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nav-cta-btn { display: none; }
}


/* ================= EXTRA-SMALL MOBILE POLISH (<= 420px) ================= */
@media (max-width: 420px) {
  .safe-banner {
    font-size: 12px;
    padding: 7px 10px;
    gap: 6px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-badge {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .hero-search-input {
    font-size: 14px;
    padding: 11px 14px 11px 40px;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-box {
    padding: 12px 8px;
  }
  .stat-box strong {
    font-size: 18px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
