@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-card: #1a2340;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --emerald: #059669;
  --emerald-bg: rgba(5,150,105,.08);
  --red: #dc2626;
  --red-bg: rgba(220,38,38,.08);
  --amber: #d97706;
  --amber-bg: rgba(217,119,6,.08);
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,.05), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.04);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-light); }

/* ─── NAVBAR ─── */
.nv-nav {
  background: var(--navy);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nv-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.nv-brand { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.nv-brand svg { width: 28px; height: 28px; }
.nv-brand:hover { color: var(--teal-light); }
.nv-links { display: flex; gap: 1.5rem; list-style: none; }
.nv-links a { color: #cbd5e1; font-size: .9rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.nv-links a:hover, .nv-links a.active { color: #fff; }

.nv-hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ─── HERO ─── */
.nv-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162036 50%, #0c2a3e 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nv-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(13,148,136,.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(5,150,105,.06) 0%, transparent 40%);
  animation: heroGlow 15s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { transform: translate(0,0); }
  100% { transform: translate(-3%,2%); }
}
.nv-hero * { position: relative; z-index: 1; }
.nv-hero h1 { color: #fff; font-size: 2.75rem; font-weight: 700; margin-bottom: .75rem; line-height: 1.15; }
.nv-hero h1 span { color: var(--teal-light); }
.nv-hero p { color: #94a3b8; font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; }
.nv-search-box {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color .3s, box-shadow .3s;
}
.nv-search-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.2); }
.nv-search-box input {
  flex: 1;
  background: none;
  border: none;
  padding: .875rem 1.25rem;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}
.nv-search-box input::placeholder { color: #64748b; }
.nv-search-box button {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: .875rem 1.75rem;
  font-weight: 600;
  font-family: inherit;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s;
}
.nv-search-box button:hover { background: var(--teal-light); }

.nv-hero-stats { display: flex; justify-content: center; gap: 3rem; margin-top: 2.5rem; flex-wrap: wrap; }
.nv-hero-stat { text-align: center; }
.nv-hero-stat .num { color: #fff; font-size: 1.5rem; font-weight: 700; display: block; }
.nv-hero-stat .label { color: #64748b; font-size: .8rem; }

/* ─── SEARCH SCANNING OVERLAY ─── */
.scan-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.scan-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.scan-inner {
  text-align: center;
  max-width: 480px;
  padding: 2rem;
}
.scan-domain {
  color: var(--teal-light);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.scan-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  position: relative;
}
.scan-ring svg {
  width: 100%;
  height: 100%;
  animation: scanRotate 1.8s linear infinite;
}
@keyframes scanRotate {
  to { transform: rotate(360deg); }
}
.scan-ring .ring-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 4; }
.scan-ring .ring-arc { fill: none; stroke: var(--teal-light); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 280; stroke-dashoffset: 200; }
.scan-shield {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  color: rgba(255,255,255,.3);
  font-size: 2.5rem;
  transition: color .5s;
}
.scan-overlay.scan-done .scan-shield { color: var(--teal-light); }
.scan-steps {
  list-style: none;
  text-align: left;
  max-width: 320px;
  margin: 0 auto 2rem;
}
.scan-steps li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 0;
  color: rgba(255,255,255,.25);
  font-size: .92rem;
  font-weight: 500;
  transition: color .4s;
}
.scan-steps li.active { color: #fff; }
.scan-steps li.done { color: var(--teal-light); }
.scan-steps li .step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
  transition: background .3s, border-color .3s;
}
.scan-steps li.done .step-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.scan-steps li.active .step-icon {
  border-color: var(--teal-light);
  animation: stepPulse 1s ease infinite;
}
@keyframes stepPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(20,184,166,.4); }
  50% { box-shadow: 0 0 0 6px rgba(20,184,166,0); }
}
.scan-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.scan-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 2px;
  transition: width .6s ease;
}
.scan-pct {
  color: #94a3b8;
  font-size: .8rem;
  font-weight: 500;
}

/* ─── SECTION ─── */
.nv-section { padding: 4rem 0; }
.nv-section-title { font-size: 1.75rem; font-weight: 700; margin-bottom: .5rem; }
.nv-section-sub { color: var(--text-muted); margin-bottom: 2rem; }

/* ─── CARDS ─── */
.nv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.nv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.nv-grid { display: grid; gap: 1.25rem; }
.nv-grid-2 { grid-template-columns: repeat(2, 1fr); }
.nv-grid-3 { grid-template-columns: repeat(3, 1fr); }
.nv-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── SITE CARD (Homepage) ─── */
.site-card { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit; }
.site-card:hover { color: inherit; }
.site-card .site-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
.site-card .site-info { flex: 1; min-width: 0; }
.site-card .site-name { font-weight: 600; font-size: .95rem; }
.site-card .site-domain { color: var(--text-muted); font-size: .8rem; }
.site-card .site-score { font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.score-high { color: var(--emerald); }
.score-mid { color: var(--amber); }
.score-low { color: var(--red); }

/* ─── TRUST BADGE (mini) ─── */
.trust-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .7rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.trust-badge.safe { background: var(--emerald-bg); color: var(--emerald); }
.trust-badge.caution { background: var(--amber-bg); color: var(--amber); }
.trust-badge.danger { background: var(--red-bg); color: var(--red); }

/* ─── CHECK PAGE ─── */
.check-header {
  background: linear-gradient(135deg, var(--navy) 0%, #162036 100%);
  padding: 3rem 0 2rem;
  color: #fff;
}
.check-header .breadcrumb { margin-bottom: 1.5rem; }
.check-header .breadcrumb a { color: #64748b; font-size: .85rem; }
.check-header .breadcrumb span { color: #94a3b8; font-size: .85rem; }

.check-top { display: flex; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.check-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.check-meta { flex: 1; }
.check-meta h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: .25rem; }
.check-meta .domain { color: #64748b; font-size: .95rem; }

/* ─── TRUST GAUGE ─── */
.gauge-wrap { text-align: center; flex-shrink: 0; }
.gauge-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.gauge-circle svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-circle .gauge-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 8; }
.gauge-circle .gauge-fill { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.5s ease; }
.gauge-score { font-size: 2rem; font-weight: 700; z-index: 1; }
.gauge-label { font-size: .8rem; color: #94a3b8; margin-top: .25rem; }
.gauge-light .gauge-circle .gauge-bg { stroke: #e2e8f0; }
.gauge-light .gauge-score { color: var(--text); }

/* ─── INFO TABLE ─── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border: none; }
.info-table td { padding: .75rem 0; font-size: .9rem; }
.info-table td:first-child { color: var(--text-muted); width: 40%; font-weight: 500; }
.info-table td:last-child { font-weight: 600; }

/* ─── CHECKLIST ─── */
.check-list { list-style: none; }
.check-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.check-list li:last-child { border: none; }
.check-icon-sm {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon-sm.pass { background: var(--emerald-bg); color: var(--emerald); }
.check-icon-sm.fail { background: var(--red-bg); color: var(--red); }
.check-icon-sm.warn { background: var(--amber-bg); color: var(--amber); }

/* ─── RATING STARS ─── */
.star-rating { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.star-rating .star { color: #fbbf24; font-size: 1rem; }
.star-rating .star.empty { color: #e2e8f0; }
.star-rating .avg { font-weight: 700; margin-left: .35rem; font-size: .95rem; }
.star-rating .count { color: var(--text-muted); font-size: .8rem; margin-left: .25rem; }

/* ─── VERIFICATION BADGES ─── */
.verify-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.verify-badge {
  display: flex; align-items: center; gap: .5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.verify-badge svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── PROGRESS BAR ─── */
.progress-bar-wrap { margin-bottom: .75rem; }
.progress-bar-wrap .label { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: .3rem; }
.progress-bar-wrap .label span:first-child { color: var(--text-muted); font-weight: 500; }
.progress-bar-wrap .label span:last-child { font-weight: 700; }
.progress-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s ease;
}

/* ─── REVIEW CARDS ─── */
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.review-card .review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.review-card .reviewer { font-weight: 600; font-size: .9rem; }
.review-card .review-date { color: var(--text-light); font-size: .75rem; }
.review-card .review-text { color: var(--text-muted); font-size: .85rem; line-height: 1.5; }

/* ─── RELATED SITES ─── */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.related-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); color: inherit; }
.related-card .r-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: #fff; flex-shrink: 0;
}
.related-card .r-info { flex: 1; }
.related-card .r-name { font-weight: 600; font-size: .9rem; }
.related-card .r-domain { color: var(--text-muted); font-size: .75rem; }
.related-card .r-score { font-weight: 700; font-size: 1rem; flex-shrink: 0; }

/* ─── DIRECTORY TABLE ─── */
.dir-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.dir-table thead th {
  background: var(--navy);
  color: #fff;
  padding: .75rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.dir-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.dir-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.dir-table tbody td {
  padding: .875rem 1rem;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.dir-table tbody tr:hover td { background: #f1f5f9; }
.dir-table tbody tr:last-child td:first-child { border-radius: 0 0 0 var(--radius); }
.dir-table tbody tr:last-child td:last-child { border-radius: 0 0 var(--radius) 0; }

/* ─── ENHANCED FOOTER ─── */
.nv-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 0;
  margin-top: 4rem;
}
.footer-top {
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 3rem 0;
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-cta-text h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
.footer-cta-text p { font-size: .9rem; color: #94a3b8; }
.footer-newsletter {
  display: flex;
  gap: 0;
  max-width: 380px;
  width: 100%;
}
.footer-newsletter input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: .7rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
  outline: none;
}
.footer-newsletter input::placeholder { color: #64748b; }
.footer-newsletter button {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: .7rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: .85rem;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.footer-newsletter button:hover { background: var(--teal-light); }

.footer-main { padding: 3rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand-col .footer-brand-name {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .75rem;
}
.footer-brand-col .footer-brand-name svg { width: 24px; height: 24px; }
.footer-brand-col .footer-desc { font-size: .85rem; line-height: 1.7; color: #94a3b8; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  transition: all .2s;
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-social a svg { width: 16px; height: 16px; }

.nv-footer h6 { color: #fff; font-size: .85rem; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.nv-footer ul { list-style: none; }
.nv-footer ul li { margin-bottom: .4rem; }
.nv-footer a { color: #64748b; font-size: .85rem; }
.nv-footer a:hover { color: #fff; }

.footer-trust {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
}
.footer-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-trust-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #64748b;
  font-size: .78rem;
  font-weight: 500;
}
.footer-trust-badge svg { width: 18px; height: 18px; opacity: .6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
  text-align: center;
  font-size: .78rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .78rem; }

/* ─── PAGE HEADER (for static pages) ─── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #162036 100%);
  padding: 3.5rem 0 2.5rem;
  color: #fff;
}
.page-header .breadcrumb { margin-bottom: 1rem; }
.page-header .breadcrumb a { color: #64748b; font-size: .85rem; }
.page-header .breadcrumb span { color: #94a3b8; font-size: .85rem; }
.page-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: .35rem; }
.page-header .page-desc { color: #94a3b8; font-size: 1rem; max-width: 600px; }

/* ─── CONTENT PAGE ─── */
.content-page { padding: 3rem 0; }
.content-page h2 { font-size: 1.35rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--text); }
.content-page h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .5rem; color: var(--text); }
.content-page p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; font-size: .92rem; }
.content-page ul, .content-page ol { color: var(--text-muted); margin: .75rem 0 1.25rem 1.5rem; font-size: .92rem; line-height: 1.8; }
.content-page li { margin-bottom: .35rem; }
.content-page strong { color: var(--text); }
.content-narrow { max-width: 800px; }

/* ─── FAQ ACCORDION ─── */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: color .2s;
}
.faq-q:hover { color: var(--teal); }
.faq-q .faq-arrow {
  width: 20px; height: 20px;
  transition: transform .3s;
  flex-shrink: 0;
  color: var(--text-muted);
}
.faq-item.open .faq-q .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 1.25rem;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 1.25rem 1.25rem;
}
.faq-a p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ─── BLOG STYLES ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.blog-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.blog-thumb .blog-cat {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(255,255,255,.9);
  padding: .2rem .65rem;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text);
}
.blog-body { padding: 1.25rem; }
.blog-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; line-height: 1.4; }
.blog-body .blog-excerpt { font-size: .85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: .75rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-body .blog-meta { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--text-light); }
.blog-body .blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.blog-article { max-width: 760px; margin: 0 auto; padding: 3rem 1.25rem; }
.blog-article h1 { font-size: 2rem; font-weight: 700; line-height: 1.3; margin-bottom: .5rem; color: var(--text); }
.blog-article .article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; font-size: .85rem; color: var(--text-light); }
.blog-article .article-body p { font-size: .95rem; line-height: 1.85; color: var(--text-muted); margin-bottom: 1.25rem; }
.blog-article .article-body h2 { font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 .75rem; color: var(--text); }
.blog-article .article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 1.75rem 0 .5rem; color: var(--text); }
.blog-article .article-body ul, .blog-article .article-body ol { margin: .75rem 0 1.25rem 1.5rem; color: var(--text-muted); font-size: .95rem; line-height: 1.8; }
.blog-article .article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: .75rem 1.25rem;
  margin: 1.25rem 0;
  background: rgba(13,148,136,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: .92rem;
}

/* ─── CONTACT FORM ─── */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  background: var(--card);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ─── API CODE BLOCK ─── */
.code-block {
  background: var(--navy);
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: .85rem;
  line-height: 1.6;
  overflow-x: auto;
  margin: 1rem 0;
}
.code-block .code-comment { color: #64748b; }
.code-block .code-key { color: var(--teal-light); }
.code-block .code-string { color: #fbbf24; }
.code-block .code-num { color: #818cf8; }

/* ─── METHODOLOGY STEPS ─── */
.method-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.method-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.method-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.method-content p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ─── UTILITY ─── */
.text-muted { color: var(--text-muted) !important; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-light); color: #fff; }
.btn-outline { background: none; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeUp .6s ease forwards; }
.fade-in-d1 { animation-delay: .1s; }
.fade-in-d2 { animation-delay: .2s; }
.fade-in-d3 { animation-delay: .3s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nv-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nv-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nv-hero h1 { font-size: 1.75rem; }
  .nv-hero p { font-size: 1rem; }
  .nv-hero-stats { gap: 1.5rem; }
  .nv-grid-2, .nv-grid-3, .nv-grid-4 { grid-template-columns: 1fr; }
  .check-top { flex-direction: column; align-items: center; text-align: center; }
  .check-top > div:first-child { flex-direction: column; justify-content: center; align-items: center; gap: .75rem; }
  .check-meta h1 { font-size: 1.35rem; }
  .check-meta .domain { font-size: .82rem; }
  .gauge-wrap { order: -1; margin-bottom: .5rem; }
  .nv-hamburger { display: block; }
  .nv-links { display: none; flex-direction: column; width: 100%; gap: .5rem; padding-top: .75rem; }
  .nv-links.open { display: flex; }
  .nv-links a { padding: .5rem 0; }
  .dir-table { font-size: .8rem; }
  .dir-table thead th, .dir-table tbody td { padding: .5rem .5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .verify-badges { justify-content: center; }
  .nv-section { padding: 2.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { text-align: center; justify-content: center; }
  .footer-newsletter { max-width: 100%; }
  .footer-bottom-inner { justify-content: center; flex-direction: column; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.5rem; }
  .method-step { flex-direction: column; gap: .75rem; }
  .rv-form-grid { grid-template-columns: 1fr !important; }
  .rv-write-btn-top { margin-left: 0 !important; margin-top: .5rem; display: inline-flex !important; flex-basis: 100%; justify-content: center; }
  .rv-write-btn-header { width: 100%; justify-content: center; }
  .star-rating { justify-content: center; }
  .blog-article { padding: 2rem 1rem; }
  .blog-article .related-articles .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nv-hero { padding: 3rem 0 2.5rem; }
  .nv-hero h1 { font-size: 1.5rem; }
  .nv-search-box { flex-direction: column; border-radius: var(--radius); }
  .nv-search-box button { border-radius: 0 0 var(--radius) var(--radius); }

  .rv-write-btn-top { font-size: .72rem !important; padding: .4rem .7rem !important; }
  .check-icon { width: 56px; height: 56px; font-size: 1.1rem; }
  .gauge-circle { width: 110px !important; height: 110px !important; }
  .gauge-score { font-size: 1.5rem !important; }
}
