/* ==============================================================
   SitemapMaker.net — Modern SaaS Design System
   Primary: #0B757A (deep teal)
   Style: Linear/Vercel-inspired — gradients, glass, smooth motion
   ============================================================== */

:root {
  /* Brand */
  --brand: #0B757A;
  --brand-2: #14a8af;
  --brand-3: #0a5e62;
  --brand-soft: #e6f4f5;
  --brand-soft-2: #d0eaec;
  --gradient-brand: linear-gradient(135deg, #0B757A 0%, #14a8af 100%);
  --gradient-brand-soft: linear-gradient(135deg, #e6f4f5 0%, #d0eaec 100%);
  --gradient-hero: radial-gradient(1200px 600px at 50% 0%, #d0eaec 0%, #f8fafc 60%);

  /* Neutrals */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-soft-2: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;

  /* States */
  --success: #059669;
  --success-soft: #d1fae5;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --warning: #d97706;
  --warning-soft: #fef3c7;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 2px 6px rgba(15,23,42,.05);
  --shadow-md: 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 50px rgba(11,117,122,.10);
  --shadow-glow: 0 10px 40px rgba(11,117,122,.18);

  /* Layout */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1200px;
}

/* Reset & base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--ink-2); }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-3); }

/* Bootstrap overrides */
.btn { font-weight: 600; border-radius: var(--radius-sm); transition: all .2s ease; }
.btn-primary {
  background: var(--gradient-brand);
  border: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(11,117,122,.30);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gradient-brand);
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(11,117,122,.40);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }
.btn-outline-primary { color: var(--brand); border-color: var(--brand); }
.btn-outline-primary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.text-primary { color: var(--brand) !important; }
.bg-primary { background: var(--brand) !important; }
.bg-primary-soft { background: var(--brand-soft) !important; }

.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all .15s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11,117,122,.12);
}
.form-control-lg { padding: 14px 18px; font-size: 1rem; }
.form-label { font-weight: 600; color: var(--ink-2); margin-bottom: 6px; font-size: .9rem; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid var(--line);
}
.site-header .navbar { padding: 14px 0; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.navbar-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}
.navbar-brand:hover { color: var(--brand); text-decoration: none; }
.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}
/* Legacy fallback */
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 9px;
  font-weight: 800;
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.btn-cta {
  font-weight: 600 !important;
  padding: 9px 18px !important;
  border-radius: 9px !important;
  white-space: nowrap;
}
.navbar-nav .nav-link { color: var(--ink-2) !important; font-weight: 500; padding: 8px 14px !important; border-radius: var(--radius-sm); transition: all .15s ease; }
.navbar-nav .nav-link:hover { color: var(--brand) !important; background: var(--brand-soft); }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px; }
.dropdown-item { border-radius: var(--radius-sm); padding: 8px 12px; font-weight: 500; color: var(--ink-2); }
.dropdown-item:hover { background: var(--brand-soft); color: var(--brand); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(11,117,122,.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(20,168,175,.08), transparent 40%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11,117,122,.1);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(11,117,122,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { margin-bottom: 18px; }
.hero h1 .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }

/* Page hero (smaller variant for inner pages) */
.page-hero {
  background: var(--gradient-hero);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb { background: transparent; padding: 0; margin-bottom: 12px; font-size: .85rem; }
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb-item.active { color: var(--ink-2); }

/* ============ TOOL BOX (form panel) ============ */
.tool-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.tool-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(180deg, rgba(11,117,122,.20), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ============ SECTIONS ============ */
.section { padding: 80px 0 0; }
main > section:last-child,
main > .section:last-of-type { padding-bottom: 0; }
.section-soft { background: var(--bg-soft); }

/* ============ TRUST STRIP ============ */
.trust-strip {
  padding: 30px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item i {
  font-size: 1.6rem;
  color: var(--brand);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border-radius: 10px;
  flex-shrink: 0;
}
.trust-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.trust-item strong {
  font-size: .95rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.01em;
}
.trust-item span {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 2px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto; }

/* ============ FEATURE CARDS (glass) ============ */
.feature-card {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-soft-2);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--gradient-brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: transform .25s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--gradient-brand);
  color: #fff;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ============ STEPS ============ */
.steps-row { counter-reset: stepnum; }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  height: 100%;
  position: relative;
  transition: all .25s ease;
}
.step-card:hover { border-color: var(--brand-soft-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-num {
  counter-increment: stepnum;
  width: 44px; height: 44px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(11,117,122,.25);
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ============ PROSE (in-content body) ============ */
.prose { font-size: 1.02rem; line-height: 1.75; color: var(--ink-2); }
.prose h2 { margin: 2.2rem 0 1rem; font-size: 1.6rem; }
.prose h3 { margin: 1.8rem 0 .8rem; font-size: 1.2rem; color: var(--ink); }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin-bottom: 1.1rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose code {
  background: var(--brand-soft);
  color: var(--brand-3);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .9em;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
.prose blockquote {
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.4rem 0;
  font-style: italic;
  color: var(--ink-2);
}
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-soft-2); }
.prose a:hover { text-decoration-color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .95rem; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.prose tr:hover { background: var(--bg-soft); }

/* ============ FAQ ============ */
.faq-acc { max-width: 860px; margin: 0 auto; }
.faq-acc .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-acc .accordion-button {
  font-weight: 600;
  color: var(--ink);
  padding: 18px 20px;
  background: #fff;
  border: 0;
  font-size: 1rem;
}
.faq-acc .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-3); box-shadow: none; }
.faq-acc .accordion-button:focus { box-shadow: none; border-color: var(--brand); }
.faq-acc .accordion-body { padding: 4px 20px 20px; color: var(--ink-2); font-size: .96rem; line-height: 1.7; }

/* ============ TESTIMONIALS ============ */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  height: 100%;
  position: relative;
  transition: all .25s ease;
}
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial .stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { color: var(--ink-2); font-size: 1rem; margin-bottom: 16px; }
.testimonial .who { font-size: .88rem; color: var(--muted); }
.testimonial .who strong { color: var(--ink); }

/* ============ CTA STRIP ============ */
.cta-strip {
  display: none !important; /* Hidden — duplicate of footer-cta. Footer.php already shows global CTA on every page. */
}
.cta-strip-original {
  background: var(--gradient-brand);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.10), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 40%);
}
.cta-strip > .container { position: relative; }
.cta-strip h2 { color: #fff; margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.cta-strip .btn-light { background: #fff; color: var(--brand); border: 0; font-weight: 700; }
.cta-strip .btn-light:hover { background: rgba(255,255,255,.94); transform: translateY(-1px); }

/* ============ RESULT PANEL (after sitemap gen) ============ */
.result-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 18px;
}
.result-panel pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: .85rem;
  line-height: 1.6;
  max-height: 420px;
  overflow: auto;
  margin: 0;
}
.badge-ok { background: var(--success-soft); color: var(--success); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: .8rem; }
.badge-err { background: var(--danger-soft); color: var(--danger); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: .8rem; }

/* ============ POST CARD ============ */
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-soft-2); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card .p-4 { flex: 1; }

/* ============ FOOTER ============ */
.site-footer { background: #0c1117; color: #cbd5e1; padding: 60px 0 30px; margin-top: 0; }
.site-footer h6 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 700; }
.site-footer a { color: #94a3b8; font-size: .92rem; transition: color .15s ease; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--brand-2); }
.site-footer .copyright { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 24px; color: #64748b; font-size: .85rem; }
.site-footer .brand-mark { width: 32px; height: 32px; }

/* CTA above footer */
.footer-cta {
  background: var(--gradient-brand);
  color: #fff;
  padding: 70px 0;
  text-align: center;
  margin-top: 80px;
}
.footer-cta h3 { color: #fff; margin-bottom: 8px; }
.footer-cta p { color: rgba(255,255,255,.85); margin: 0 0 18px; }

/* ============ ADMIN DASHBOARD ============ */
.admin-body {
  background: #f4f6fa;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
}
.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  background: linear-gradient(180deg, #0c1117 0%, #0a1014 100%);
  color: #cbd5e1;
  padding: 22px 16px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,.04);
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 18px;
  text-decoration: none;
}
.admin-brand:hover { text-decoration: none; }
.admin-brand img { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.admin-brand .admin-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.admin-brand .admin-brand-text strong {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
}
.admin-brand .admin-brand-text small {
  color: #64748b;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 2px;
}

.admin-nav-section {
  margin: 18px 0 6px;
  padding: 0 12px;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #475569;
  font-weight: 600;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #94a3b8;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 2px;
  transition: all .15s ease;
}
.admin-nav a:hover {
  background: rgba(255,255,255,.05);
  color: #fff;
  text-decoration: none;
}
.admin-nav a.active {
  background: linear-gradient(135deg, #0B757A, #14a8af);
  color: #fff;
  box-shadow: 0 2px 8px rgba(11, 117, 122, .35);
}
.admin-nav a i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.admin-nav a .badge {
  margin-left: auto;
  font-size: .65rem;
  padding: 3px 7px;
  border-radius: 999px;
}

/* Main */
.admin-main {
  display: flex;
  flex-direction: column;
  background: #f4f6fa;
  min-width: 0;
}

/* Topbar */
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e6e9ef;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.01em;
}
.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e6e9ef;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .85rem;
}
.admin-user:hover { background: #f1f5f9; color: var(--ink); text-decoration: none; }
.admin-user .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B757A, #14a8af);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

/* Content */
.admin-content {
  padding: 28px;
  flex: 1;
}
.admin-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.admin-content-header h1 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
}
.admin-content-header .lead-sub {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Cards */
.admin-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  margin-bottom: 20px;
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef0f4;
}
.admin-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.admin-card-body { color: var(--ink-2); }

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.stat-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0B757A, #14a8af);
}
.stat-card .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(11,117,122,.1), rgba(20,168,175,.1));
  color: #0B757A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.stat-card .stat-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-card .stat-label {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.stat-card .stat-trend {
  font-size: .75rem;
  margin-top: 10px;
  font-weight: 500;
}
.stat-card .stat-trend.up { color: #16a34a; }
.stat-card .stat-trend.down { color: #dc2626; }

/* Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e6e9ef;
  white-space: nowrap;
}
.admin-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef0f4;
  font-size: .9rem;
  color: var(--ink-2);
  vertical-align: middle;
}
.admin-table tbody tr:hover { background: #fafbfc; }
.admin-table tbody tr:last-child td { border-bottom: 0; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.status-badge.published, .status-badge.success { background: #dcfce7; color: #166534; }
.status-badge.draft { background: #fef3c7; color: #92400e; }
.status-badge.error { background: #fee2e2; color: #991b1b; }
.status-badge.unread { background: #dbeafe; color: #1e40af; }

/* Action buttons in tables */
.btn-action {
  padding: 5px 10px !important;
  font-size: .8rem !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
}

/* Login screen */
.admin-login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0c1117 0%, #0B757A 100%);
  padding: 20px;
}
.admin-login-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}
.admin-login-card .admin-brand {
  border-bottom: 0;
  margin-bottom: 8px;
  padding: 0 0 16px;
  justify-content: center;
}
.admin-login-card .admin-brand .admin-brand-text strong { color: var(--ink); }
.admin-login-card .admin-brand .admin-brand-text small { color: var(--muted); }
.admin-login-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: -.01em;
}
.admin-login-card .lead {
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}
.admin-login-card label {
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 6px;
}
.admin-login-card .form-control {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 11px 14px;
  font-size: .95rem;
}
.admin-login-card .form-control:focus {
  border-color: #0B757A;
  box-shadow: 0 0 0 3px rgba(11,117,122,.12);
}
.admin-login-card .btn-login {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  background: linear-gradient(135deg, #0B757A, #14a8af);
  border: 0;
  color: #fff;
  margin-top: 10px;
}
.admin-login-card .btn-login:hover {
  box-shadow: 0 8px 20px rgba(11,117,122,.35);
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 991px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    min-height: auto;
    position: relative;
    padding: 14px;
  }
  .admin-content { padding: 18px; }
  .admin-topbar { padding: 12px 18px; }
}

/* Legal prose */
.legal-prose h2 { margin-top: 1.6rem; }
.legal-prose p, .legal-prose li { color: #334155; line-height: 1.75; }
.legal-prose ul { padding-left: 1.2rem; }

/* Ad slots */
.ad-slot { min-height: 60px; }

/* Utility */
.shadow-soft { box-shadow: var(--shadow-md); }
.text-muted-2 { color: var(--muted) !important; }

/* Mobile */
@media (max-width: 991px) {
  .hero { padding: 60px 0 40px; }
  .section { padding: 60px 0; }
  .feature-card, .step-card { padding: 22px 20px; }
  .tool-box { padding: 22px; }
  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 575px) {
  .trust-strip-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trust-strip {
    padding: 20px 0;
  }
}

.founder-avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(11,117,122,.2);
}