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

html {
  font-family: 'Outfit', sans-serif;
}

html.light {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-color: #e2e8f0;
}

html.dark {
  --bg-primary: #030712;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border-color: #1e293b;
}

body.light {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body.dark {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body.light header {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: var(--border-color);
}

body.light #mobileMenu {
  background-color: rgba(255, 255, 255, 0.95);
}

body.light #mobileMenuOpen,
body.light #mobileMenuClose,
body.light #themeToggle,
body.light #popupClose {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-secondary);
}

body.light #mobileMenuOpen:hover,
body.light #mobileMenuClose:hover,
body.light #themeToggle:hover,
body.light #popupClose:hover {
  color: #10b981;
}

body.light nav a,
body.light #mobileMenu nav a {
  color: var(--text-secondary);
}

body.light nav a:hover,
body.light #mobileMenu nav a:hover {
  color: #10b981;
}

body.light footer {
  background-color: #ffffff;
  border-color: var(--border-color);
}

body.light footer a {
  color: var(--text-secondary);
}

body.light footer a:hover {
  color: #10b981;
}

body.light #stickyCta {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: var(--border-color);
}

body.light #stickyCta p:first-child {
  color: var(--text-primary);
}

body.light #stickyCta p:last-child {
  color: var(--text-secondary);
}

body.light section.bg-slate-900\/50,
body.light section.bg-slate-900\/30,
body.light div.bg-slate-900\/60,
body.light div.bg-slate-900\/80,
body.light div.bg-slate-900\/40,
body.light div.bg-slate-950\/40,
body.light div.bg-slate-900,
body.light form.bg-slate-900\/60 {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
}

body.light div.bg-slate-950 {
  background-color: var(--bg-tertiary);
  border-color: var(--border-color);
}

body.light input,
body.light textarea {
  background-color: var(--bg-tertiary) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

body.light input:focus,
body.light textarea:focus {
  border-color: #10b981 !important;
}

body.light p,
body.light li,
body.light div.prose {
  color: var(--text-secondary);
}

body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light span.text-white,
body.light strong,
body.light a.text-white {
  color: var(--text-primary);
}

@keyframes toastSlideIn {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.toast-in {
  animation: toastSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-out {
  animation: toastSlideOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
