/* ============================================================
   PLU MEDIA LLC — Global Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #DBEAFE;

  --accent: #F97316;
  --accent-dark: #EA580C;
  --accent-light: #FED7AA;

  --whatsapp: #25D366;

  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --navy: #0F172A;

  --text: #0F172A;
  --text-muted: #475569;
  --border: #E2E8F0;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.10);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --container: 1160px;
  --header-h: 84px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 16px; color: var(--text-muted); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all .2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.45);
}
.btn-blue {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.30);
}
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { width: 100%; }
.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-danger:hover { background: #fecaca; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.02em; color: var(--navy);
}
.brand img { height: 56px; width: auto; max-width: 200px; }
.brand .logo-svg { height: 40px; width: 40px; }
@media (max-width: 480px) {
  .brand img { height: 48px; }
}
.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop a {
  font-weight: 500; color: var(--text-muted);
  transition: color .15s ease;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; }
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px;
  background: var(--navy); transition: transform .2s ease;
}
.hamburger span::before { top: -7px; }
.hamburger span::after  { top: 7px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: translateY(7px) rotate(45deg); }
.hamburger.open span::after  { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 12px 24px 20px;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 14px 4px;
  font-weight: 500; color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }

@media (max-width: 820px) {
  .nav-desktop { display: none; }
  .hamburger   { display: inline-flex; }
}

/* ============================================================
   Sections
   ============================================================ */
section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header p { font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(219, 234, 254, 0.55), transparent 60%),
    #FFFFFF;
  overflow: hidden;
}
.hero::before {
  /* tiny floating decorative shapes */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, var(--primary-light) 6px, transparent 6px),
    radial-gradient(circle, var(--accent-light) 4px, transparent 4px);
  background-position: 8% 18%, 88% 72%;
  background-size: 80px 80px, 60px 60px;
  background-repeat: no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 14px;
  opacity: 0.45;
  pointer-events: none;
}
.hero-shape.s1 { width: 60px; height: 60px; background: var(--primary-light); top: 22%; left: 14%; transform: rotate(15deg); }
.hero-shape.s2 { width: 36px; height: 36px; background: var(--accent-light); top: 68%; left: 8%; transform: rotate(-12deg); }
.hero-shape.s3 { width: 48px; height: 48px; background: var(--primary-light); top: 18%; right: 10%; border-radius: 50%; opacity: 0.35; }

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-pill svg { width: 16px; height: 16px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  margin: 0 auto 36px;
  max-width: 720px;
}
.hero-cta { display: flex; justify-content: center; margin-bottom: 36px; }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-line .dot { color: var(--primary); font-weight: 700; }

/* ============================================================
   Why Us
   ============================================================ */
.why-us {
  position: relative;
  background: var(--bg-alt);
}
.why-us::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(226, 232, 240, 0.55) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}
.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
}
.icon-square {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.icon-square svg { width: 30px; height: 30px; stroke-width: 2; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 0.97rem; }

/* ============================================================
   How It Works
   ============================================================ */
.how-it-works {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.steps::before {
  /* dashed connector on desktop */
  content: "";
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  border-top: 2px dashed #CBD5E1;
  z-index: 0;
}
.step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
  border: 4px solid #fff;
}
.step-icon {
  width: 40px; height: 40px;
  margin: 0 auto 14px;
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 100%; height: 100%; stroke-width: 1.75; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p  { font-size: 0.93rem; margin: 0; }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .step { display: flex; gap: 20px; text-align: left; align-items: flex-start; }
  .step-num { margin: 0; flex-shrink: 0; }
  .step-icon { margin: 0; }
  .step-body { flex: 1; }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.trust-badge svg {
  width: 28px; height: 28px;
  color: var(--primary);
  stroke-width: 2;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .trust-strip-inner { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
}
@media (max-width: 460px) {
  .trust-strip-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Form
   ============================================================ */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475569' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 18px;
}
.form-status { display: none; padding: 14px; border-radius: var(--radius-md); margin-top: 16px; text-align: center; font-weight: 500; font-size: 0.95rem; }
.form-status.show { display: block; }
.form-status.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.form-status.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  position: relative;
  overflow: hidden;
}
.faq::before {
  content: "?";
  position: absolute;
  top: 8%; right: -40px;
  font-size: 360px;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  opacity: 0.05;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}
.faq-list { max-width: 820px; margin: 0 auto; position: relative; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.25); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.faq-q svg {
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform .25s ease, color .25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 22px; transition: max-height .3s ease, padding .3s ease; }
.faq-a p { margin: 0 0 18px; color: var(--text-muted); }
.faq-item.open .faq-a { max-height: 600px; padding: 0 22px 6px; }

/* ============================================================
   Contact card
   ============================================================ */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.contact-card h3 { margin-bottom: 22px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list a:hover { color: var(--primary); }
.contact-list svg {
  width: 20px; height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-hours {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================================
   Floating WhatsApp widget
   ============================================================ */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.40);
  z-index: 90;
  animation: wa-pulse 2s ease-in-out infinite;
  transition: background .2s ease;
}
.wa-float:hover { background: #1ebe57; }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-weight: 800; font-size: 1.1rem; color: #fff;
}
.footer-brand img { height: 56px; width: auto; max-width: 220px; }
.footer-brand .logo-svg { height: 40px; width: 40px; }
.footer-col p { color: #94a3b8; font-size: 0.95rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: color .15s ease;
}
.footer-col ul a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 56px;
  padding: 24px 0;
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page { padding: 72px 0 88px; }
.legal-container { max-width: 820px; margin: 0 auto; }
.legal-container h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}
.legal-container .effective {
  color: var(--text-muted); font-size: 0.95rem; margin-bottom: 32px;
}
.legal-container h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.legal-container p, .legal-container li { color: var(--text-muted); font-size: 1rem; }
.legal-container ul { padding-left: 22px; margin: 0 0 16px; }
.legal-container li { margin-bottom: 8px; }
.legal-container address { font-style: normal; color: var(--text-muted); }

/* ============================================================
   Fade-in animation
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Inline SVG logo fallback
   ============================================================ */
.logo-svg {
  display: inline-block;
  background: var(--primary);
  border-radius: 10px;
  position: relative;
}
.logo-svg::after {
  content: "PM";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body {
  background: var(--bg-alt);
  min-height: 100vh;
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar .brand { font-size: 0.95rem; }
.admin-topbar .brand img { height: 28px; width: auto; max-width: 110px; }
.admin-topbar .brand .label { font-weight: 600; color: var(--text-muted); font-size: 0.85rem; margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--border); }
.admin-logout {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background .15s ease;
}
.admin-logout:hover { background: var(--border); }
.admin-logout svg { width: 16px; height: 16px; }

.login-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.login-card .logo-svg { width: 56px; height: 56px; margin: 0 auto 16px; }
.login-card img { width: auto; height: 56px; max-width: 200px; margin: 0 auto 16px; display: block; }
.login-card h1 { font-size: 1.5rem; margin-bottom: 8px; }
.login-card p { font-size: 0.95rem; margin-bottom: 28px; }
.login-card .form-group { text-align: left; margin-bottom: 18px; }
.login-error {
  color: #b91c1c;
  font-size: 0.9rem;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 16px;
  display: none;
}
.login-error.show { display: block; }

.admin-main { padding: 28px 24px 60px; max-width: 1200px; margin: 0 auto; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.stat-card .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.stat-card .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-card .stat-icon {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stat-card .stat-icon svg { width: 20px; height: 20px; stroke-width: 2; }
@media (max-width: 760px) { .stats-row { grid-template-columns: 1fr; } }

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-search {
  position: relative;
  flex: 1;
  max-width: 420px;
}
.admin-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.admin-search input {
  padding-left: 42px;
}
.btn-export {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
}
.btn-export:hover { background: var(--primary-dark); }
.btn-export svg { width: 16px; height: 16px; }

.leads-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.leads-table th, .leads-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.leads-table th {
  background: var(--bg-alt);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.leads-table tr:last-child td { border-bottom: none; }
.leads-table td a { color: var(--primary); }
.leads-table td a:hover { text-decoration: underline; }
.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.empty-state svg { width: 40px; height: 40px; color: var(--border); margin-bottom: 12px; }

/* Mobile card view */
@media (max-width: 720px) {
  .leads-table thead { display: none; }
  .leads-table, .leads-table tbody, .leads-table tr, .leads-table td { display: block; width: 100%; }
  .leads-table tr {
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
  }
  .leads-table tr:last-child { border-bottom: none; }
  .leads-table td {
    border: none;
    padding: 4px 0;
  }
  .leads-table td::before {
    content: attr(data-label);
    display: inline-block;
    width: 90px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
  }
}

/* ===== Admin: Settings (Facebook Pixel) ===== */
.settings-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.settings-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.settings-head svg {
  flex: none;
  width: 40px; height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
}
.settings-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}
.settings-head p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}
.pixel-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pixel-form input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 11px 14px;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
}
.pixel-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.pixel-form .btn { flex: none; }
.pixel-status {
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  display: none;
}
.pixel-status.show { display: block; }
.pixel-status.success { color: #15803D; }
.pixel-status.error { color: #DC2626; }
