/* ============================================================
   Contact Form Blaster — Shared theme
   Light mode is the default (class set by JS on <html>).
   Dark mode applies when browser explicitly prefers dark.
   Outfit font adds to h1/h2 headings for the Concept-C look.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700;800;900&display=swap');

/* ── Heading font ── */
h1, h2 {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  letter-spacing: -0.025em;
}

/* ── Light mode overrides (applied via html.light class set by JS) ── */

html.light {
  color-scheme: light;
}

/* Page ground */
html.light body,
html.light body.bg-dark {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* ---- Background classes ---- */
html.light .bg-dark          { background-color: #f8fafc !important; }
html.light .bg-slate-950     { background-color: #f0f4f8 !important; }
html.light .bg-slate-900     { background-color: #ffffff !important; }
html.light .bg-slate-800     { background-color: #f1f5f9 !important; }
html.light .bg-slate-700     { background-color: #e2e8f0 !important; }

/* ---- Text classes ---- */
html.light .text-white       { color: #0f172a !important; }
html.light .text-slate-50    { color: #1e293b !important; }
html.light .text-slate-100   { color: #1e293b !important; }
html.light .text-slate-200   { color: #334155 !important; }
html.light .text-slate-300   { color: #475569 !important; }
/* slate-400 stays as-is — it's a muted tone that reads fine on light */

/* ---- Border classes ---- */
html.light .border-slate-900  { border-color: #e2e8f0 !important; }
html.light .border-slate-800  { border-color: #e2e8f0 !important; }
html.light .border-slate-700  { border-color: #cbd5e1 !important; }
html.light .border-slate-600  { border-color: #94a3b8 !important; }
html.light .border-white\/10  { border-color: rgba(0,0,0,.08) !important; }
html.light .border-white\/5   { border-color: rgba(0,0,0,.05) !important; }

/* ---- Glass card ---- */
html.light .glass {
  background: rgba(255,255,255,.75) !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---- Nav ---- */
html.light nav#mainNav,
html.light #mainNav {
  background: transparent !important;
}
html.light nav.scrolled,
html.light #mainNav.scrolled {
  background: rgba(255,255,255,.95) !important;
  border-color: rgba(0,0,0,.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.08) !important;
}

/* Mobile menu panel */
html.light #mobileMenu,
html.light .mobile-menu {
  background: rgba(255,255,255,.97) !important;
  border-left: 1px solid #e2e8f0 !important;
}
html.light .mobile-overlay {
  background: rgba(0,0,0,.3) !important;
}

/* ---- Hero grid lines (darken for light bg) ---- */
html.light .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px) !important;
}
html.light .hero-orb-1 { opacity: 0.5; }
html.light .hero-orb-2 { opacity: 0.5; }
html.light .hero-orb-3 { opacity: 0.5; }

/* ---- Trusted-worldwide logo strip ---- */
html.light .trusted-section {
  background: rgba(248,250,252,.85) !important;
  border-color: rgba(0,0,0,.06) !important;
}
html.light .logo-strip-outer::before {
  background: linear-gradient(to right, #f8fafc 0%, transparent 100%) !important;
}
html.light .logo-strip-outer::after {
  background: linear-gradient(to left, #f8fafc 0%, transparent 100%) !important;
}
html.light .logo-item img {
  filter: grayscale(100%) !important;
  opacity: .45 !important;
}

/* ---- Scrollbar ---- */
html.light ::-webkit-scrollbar-track { background: #f1f5f9 !important; }
html.light ::-webkit-scrollbar-thumb { background: linear-gradient(#10b981, #6366f1) !important; }

/* ---- Gradient-border pricing card ---- */
html.light .gradient-border {
  background: linear-gradient(135deg, #10b981, #3b82f6, #8b5cf6);
  padding: 2px;
  border-radius: 1.5rem;
}

/* ---- Card hover shadow lightened ---- */
html.light .card-hover:hover {
  box-shadow: 0 20px 48px -12px rgba(0,0,0,.15) !important;
}

/* ---- FAQ items ---- */
html.light .faq-item { background: rgba(0,0,0,.02) !important; border-color: rgba(0,0,0,.07) !important; }

/* ---- Specific section bg overrides ---- */
/* Sections that use bg-slate-900/30 or similar inline Tailwind opacity variants
   will appear as a very slight tint over the light ground, which is fine. */

/* Some sections use custom inline background colours — target by class pattern */
html.light [class*="bg-slate-900"] { background-color: #ffffff !important; }
html.light [class*="bg-slate-800"] { background-color: #f1f5f9 !important; }

/* Pricing cards' "N website submissions" pill: its dark-mode pale green is unreadable on white. */
html.light .sub-badge { color: #047857 !important; background-color: #ecfdf5 !important; border-color: #a7f3d0 !important; font-weight: 500; }

/* Keep primary/accent colours unchanged in light mode */
/* html.light .bg-primary stays green, .text-primary stays green */
