/* ==========================================================================
   AI-AJANVARAUS.FI • AMMATTIMAISET ULKOASUTEEMAT
   Ei muuta sivun rakennetta tai toiminnallisuuksia — vain visuaalinen ilme.
   Teemat:
     1. nordic-light      (Vaalea Pohjoismainen – raikas B2B-luottamus)
     2. executive-emerald (Smaragdi & Kermanvalkoinen – arvokas salonki/boutique)
     3. executive-navy    (Moderni Yösininen – hillitty tumma SaaS)
     4. classic           (Alkuperäinen – 100 % alkuperäinen ulkoasu)
   ========================================================================== */

#landing-root[data-landing-theme="nordic-light"],
#landing-root[data-landing-theme="executive-emerald"],
#landing-root[data-landing-theme="executive-navy"] {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ==========================================================================
   1. VAALEA POHJOISMAINEN (nordic-light)
   ========================================================================== */
#landing-root[data-landing-theme="nordic-light"] {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* Header */
#landing-root[data-landing-theme="nordic-light"] header {
  background-color: rgba(255, 255, 255, 0.92) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Sections & Surfaces */
#landing-root[data-landing-theme="nordic-light"] .bg-slate-950,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-950\/90,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-950\/80 {
  background-color: #f8fafc !important;
}

#landing-root[data-landing-theme="nordic-light"] .bg-slate-900,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-900\/90,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-900\/80,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-900\/70,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-900\/60,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-900\/50 {
  background-color: #ffffff !important;
  box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

#landing-root[data-landing-theme="nordic-light"] .bg-slate-800,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-800\/80,
#landing-root[data-landing-theme="nordic-light"] .bg-slate-800\/50 {
  background-color: #f1f5f9 !important;
}

#landing-root[data-landing-theme="nordic-light"] .hover\:bg-slate-700:hover,
#landing-root[data-landing-theme="nordic-light"] .hover\:bg-slate-800:hover {
  background-color: #e2e8f0 !important;
}

#landing-root[data-landing-theme="nordic-light"] .bg-indigo-950\/40,
#landing-root[data-landing-theme="nordic-light"] .bg-indigo-950\/50,
#landing-root[data-landing-theme="nordic-light"] .bg-indigo-950\/30,
#landing-root[data-landing-theme="nordic-light"] .bg-indigo-900\/40,
#landing-root[data-landing-theme="nordic-light"] .bg-indigo-900\/30 {
  background-color: #eff6ff !important;
}

#landing-root[data-landing-theme="nordic-light"] .bg-emerald-950\/40,
#landing-root[data-landing-theme="nordic-light"] .bg-emerald-950\/30,
#landing-root[data-landing-theme="nordic-light"] .bg-emerald-900\/30 {
  background-color: #ecfdf5 !important;
}

#landing-root[data-landing-theme="nordic-light"] .bg-amber-950\/40,
#landing-root[data-landing-theme="nordic-light"] .bg-amber-950\/30,
#landing-root[data-landing-theme="nordic-light"] .bg-rose-950\/40 {
  background-color: #fffbeb !important;
}

/* Borders */
#landing-root[data-landing-theme="nordic-light"] .border-slate-800,
#landing-root[data-landing-theme="nordic-light"] .border-slate-800\/80,
#landing-root[data-landing-theme="nordic-light"] .border-slate-700,
#landing-root[data-landing-theme="nordic-light"] .border-slate-900 {
  border-color: #e2e8f0 !important;
}

#landing-root[data-landing-theme="nordic-light"] .border-indigo-500\/30,
#landing-root[data-landing-theme="nordic-light"] .border-indigo-500\/40,
#landing-root[data-landing-theme="nordic-light"] .border-indigo-400\/30 {
  border-color: #bfdbfe !important;
}

#landing-root[data-landing-theme="nordic-light"] .border-emerald-500\/30,
#landing-root[data-landing-theme="nordic-light"] .border-emerald-500\/40 {
  border-color: #a7f3d0 !important;
}

/* Typography */
#landing-root[data-landing-theme="nordic-light"] .text-white {
  color: #0f172a !important;
}
#landing-root[data-landing-theme="nordic-light"] .text-slate-100,
#landing-root[data-landing-theme="nordic-light"] .text-slate-200 {
  color: #1e293b !important;
}
#landing-root[data-landing-theme="nordic-light"] .text-slate-300 {
  color: #334155 !important;
}
#landing-root[data-landing-theme="nordic-light"] .text-slate-400,
#landing-root[data-landing-theme="nordic-light"] .text-slate-500 {
  color: #64748b !important;
}
#landing-root[data-landing-theme="nordic-light"] .text-indigo-300,
#landing-root[data-landing-theme="nordic-light"] .text-indigo-400 {
  color: #2563eb !important;
}
#landing-root[data-landing-theme="nordic-light"] .text-emerald-300,
#landing-root[data-landing-theme="nordic-light"] .text-emerald-400 {
  color: #059669 !important;
}
#landing-root[data-landing-theme="nordic-light"] .text-amber-300,
#landing-root[data-landing-theme="nordic-light"] .text-amber-400 {
  color: #b45309 !important;
}
#landing-root[data-landing-theme="nordic-light"] .text-purple-300,
#landing-root[data-landing-theme="nordic-light"] .text-purple-400 {
  color: #4f46e5 !important;
}

/* Keep white text on colored primary buttons & chat bubbles */
#landing-root[data-landing-theme="nordic-light"] button.bg-indigo-600,
#landing-root[data-landing-theme="nordic-light"] a.bg-indigo-600,
#landing-root[data-landing-theme="nordic-light"] .bg-indigo-600,
#landing-root[data-landing-theme="nordic-light"] .bg-emerald-600,
#landing-root[data-landing-theme="nordic-light"] .bg-gradient-to-r.from-indigo-600,
#landing-root[data-landing-theme="nordic-light"] .bg-gradient-to-r.from-emerald-600,
#landing-root[data-landing-theme="nordic-light"] .bg-gradient-to-r.from-emerald-500,
#landing-root[data-landing-theme="nordic-light"] .bg-gradient-to-tr.from-indigo-600 {
  color: #ffffff !important;
}
#landing-root[data-landing-theme="nordic-light"] .bg-indigo-600 *,
#landing-root[data-landing-theme="nordic-light"] .bg-emerald-600 *,
#landing-root[data-landing-theme="nordic-light"] .bg-gradient-to-r.from-indigo-600 *,
#landing-root[data-landing-theme="nordic-light"] .bg-gradient-to-r.from-emerald-600 *,
#landing-root[data-landing-theme="nordic-light"] .bg-gradient-to-r.from-emerald-500 * {
  color: #ffffff !important;
}

/* Primary button refinement */
#landing-root[data-landing-theme="nordic-light"] .bg-indigo-600 {
  background-color: #2563eb !important;
}
#landing-root[data-landing-theme="nordic-light"] .bg-indigo-600:hover {
  background-color: #1d4ed8 !important;
}
#landing-root[data-landing-theme="nordic-light"] .bg-amber-500 {
  background-color: #0f172a !important;
  color: #ffffff !important;
}
#landing-root[data-landing-theme="nordic-light"] .bg-amber-500 * {
  color: #ffffff !important;
}

/* Hero gradient text */
#landing-root[data-landing-theme="nordic-light"] .bg-clip-text {
  background-image: linear-gradient(135deg, #1d4ed8 0%, #0284c7 60%, #059669 100%) !important;
  -webkit-text-fill-color: transparent !important;
}

/* Subtle hero radial wash */
#landing-root[data-landing-theme="nordic-light"] section:first-of-type {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.08), transparent 70%);
}

/* Inputs & modals in light theme */
#landing-root[data-landing-theme="nordic-light"] input,
#landing-root[data-landing-theme="nordic-light"] select,
#landing-root[data-landing-theme="nordic-light"] textarea {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
#landing-root[data-landing-theme="nordic-light"] .fixed.inset-0 {
  background-color: rgba(15, 23, 42, 0.55) !important;
}
#landing-root[data-landing-theme="nordic-light"] footer {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
}

/* ==========================================================================
   2. ARVOKAS SMARAGDI & KERMANVALKOINEN (executive-emerald)
   ========================================================================== */
#landing-root[data-landing-theme="executive-emerald"] {
  background-color: #faf9f6 !important;
  color: #1c1917 !important;
}

#landing-root[data-landing-theme="executive-emerald"] h1,
#landing-root[data-landing-theme="executive-emerald"] h2 {
  font-family: 'Fraunces', Georgia, serif !important;
  letter-spacing: -0.02em;
}

#landing-root[data-landing-theme="executive-emerald"] header {
  background-color: rgba(250, 249, 246, 0.94) !important;
  border-color: #e7e5e4 !important;
}

#landing-root[data-landing-theme="executive-emerald"] .bg-slate-950,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-950\/90,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-950\/80 {
  background-color: #faf9f6 !important;
}

#landing-root[data-landing-theme="executive-emerald"] .bg-slate-900,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-900\/90,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-900\/80,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-900\/70,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-900\/60,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-900\/50 {
  background-color: #ffffff !important;
  box-shadow: 0 6px 28px -6px rgba(6, 78, 59, 0.08), 0 1px 2px rgba(28, 25, 23, 0.04);
}

#landing-root[data-landing-theme="executive-emerald"] .bg-slate-800,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-800\/80,
#landing-root[data-landing-theme="executive-emerald"] .bg-slate-800\/50 {
  background-color: #f5f5f4 !important;
}

#landing-root[data-landing-theme="executive-emerald"] .bg-indigo-950\/40,
#landing-root[data-landing-theme="executive-emerald"] .bg-indigo-950\/50,
#landing-root[data-landing-theme="executive-emerald"] .bg-indigo-950\/30,
#landing-root[data-landing-theme="executive-emerald"] .bg-emerald-950\/40,
#landing-root[data-landing-theme="executive-emerald"] .bg-emerald-950\/30 {
  background-color: #ecfdf5 !important;
}

#landing-root[data-landing-theme="executive-emerald"] .border-slate-800,
#landing-root[data-landing-theme="executive-emerald"] .border-slate-800\/80,
#landing-root[data-landing-theme="executive-emerald"] .border-slate-700,
#landing-root[data-landing-theme="executive-emerald"] .border-slate-900 {
  border-color: #e7e5e4 !important;
}

#landing-root[data-landing-theme="executive-emerald"] .border-indigo-500\/30,
#landing-root[data-landing-theme="executive-emerald"] .border-indigo-400\/30,
#landing-root[data-landing-theme="executive-emerald"] .border-emerald-500\/30 {
  border-color: #a7f3d0 !important;
}

#landing-root[data-landing-theme="executive-emerald"] .text-white {
  color: #1c1917 !important;
}
#landing-root[data-landing-theme="executive-emerald"] .text-slate-100,
#landing-root[data-landing-theme="executive-emerald"] .text-slate-200 {
  color: #292524 !important;
}
#landing-root[data-landing-theme="executive-emerald"] .text-slate-300 {
  color: #44403c !important;
}
#landing-root[data-landing-theme="executive-emerald"] .text-slate-400,
#landing-root[data-landing-theme="executive-emerald"] .text-slate-500 {
  color: #78716c !important;
}
#landing-root[data-landing-theme="executive-emerald"] .text-indigo-300,
#landing-root[data-landing-theme="executive-emerald"] .text-indigo-400,
#landing-root[data-landing-theme="executive-emerald"] .text-purple-300,
#landing-root[data-landing-theme="executive-emerald"] .text-purple-400,
#landing-root[data-landing-theme="executive-emerald"] .text-emerald-300,
#landing-root[data-landing-theme="executive-emerald"] .text-emerald-400 {
  color: #065f46 !important;
}
#landing-root[data-landing-theme="executive-emerald"] .text-amber-300,
#landing-root[data-landing-theme="executive-emerald"] .text-amber-400 {
  color: #b45309 !important;
}

#landing-root[data-landing-theme="executive-emerald"] .bg-indigo-600,
#landing-root[data-landing-theme="executive-emerald"] .bg-emerald-600,
#landing-root[data-landing-theme="executive-emerald"] .bg-gradient-to-r.from-indigo-600,
#landing-root[data-landing-theme="executive-emerald"] .bg-gradient-to-r.from-emerald-600,
#landing-root[data-landing-theme="executive-emerald"] .bg-gradient-to-r.from-emerald-500,
#landing-root[data-landing-theme="executive-emerald"] .bg-gradient-to-tr.from-indigo-600 {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%) !important;
  color: #ffffff !important;
}
#landing-root[data-landing-theme="executive-emerald"] .bg-indigo-600 *,
#landing-root[data-landing-theme="executive-emerald"] .bg-emerald-600 *,
#landing-root[data-landing-theme="executive-emerald"] .bg-gradient-to-r.from-indigo-600 *,
#landing-root[data-landing-theme="executive-emerald"] .bg-gradient-to-r.from-emerald-600 *,
#landing-root[data-landing-theme="executive-emerald"] .bg-gradient-to-r.from-emerald-500 * {
  color: #ffffff !important;
}
#landing-root[data-landing-theme="executive-emerald"] .bg-amber-500 {
  background-color: #065f46 !important;
  color: #ffffff !important;
}
#landing-root[data-landing-theme="executive-emerald"] .bg-amber-500 * {
  color: #ffffff !important;
}
#landing-root[data-landing-theme="executive-emerald"] .bg-clip-text {
  background-image: linear-gradient(135deg, #064e3b 0%, #047857 55%, #b45309 100%) !important;
  -webkit-text-fill-color: transparent !important;
}
#landing-root[data-landing-theme="executive-emerald"] section:first-of-type {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(6, 95, 70, 0.08), transparent 70%);
}
#landing-root[data-landing-theme="executive-emerald"] input,
#landing-root[data-landing-theme="executive-emerald"] select,
#landing-root[data-landing-theme="executive-emerald"] textarea {
  background-color: #ffffff !important;
  color: #1c1917 !important;
  border-color: #d6d3d1 !important;
}
#landing-root[data-landing-theme="executive-emerald"] .fixed.inset-0 {
  background-color: rgba(28, 25, 23, 0.6) !important;
}
#landing-root[data-landing-theme="executive-emerald"] footer {
  background-color: #ffffff !important;
  border-color: #e7e5e4 !important;
}

/* ==========================================================================
   3. MODERNI YÖSININEN (executive-navy)
   ========================================================================== */
#landing-root[data-landing-theme="executive-navy"] {
  background-color: #060b16 !important;
  color: #f1f5f9 !important;
}
#landing-root[data-landing-theme="executive-navy"] header {
  background-color: rgba(6, 11, 22, 0.88) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}
#landing-root[data-landing-theme="executive-navy"] .bg-slate-950,
#landing-root[data-landing-theme="executive-navy"] .bg-slate-950\/90 {
  background-color: #060b16 !important;
}
#landing-root[data-landing-theme="executive-navy"] .bg-slate-900,
#landing-root[data-landing-theme="executive-navy"] .bg-slate-900\/90,
#landing-root[data-landing-theme="executive-navy"] .bg-slate-900\/80,
#landing-root[data-landing-theme="executive-navy"] .bg-slate-900\/70,
#landing-root[data-landing-theme="executive-navy"] .bg-slate-900\/60,
#landing-root[data-landing-theme="executive-navy"] .bg-slate-900\/50 {
  background-color: #0d1526 !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  box-shadow: 0 12px 32px -12px rgba(2, 6, 23, 0.8);
}
#landing-root[data-landing-theme="executive-navy"] .bg-indigo-600 {
  background-color: #2563eb !important;
}
#landing-root[data-landing-theme="executive-navy"] .bg-indigo-600:hover {
  background-color: #3b82f6 !important;
}
#landing-root[data-landing-theme="executive-navy"] .bg-clip-text {
  background-image: linear-gradient(135deg, #60a5fa 0%, #38bdf8 55%, #34d399 100%) !important;
  -webkit-text-fill-color: transparent !important;
}
#landing-root[data-landing-theme="executive-navy"] section:first-of-type {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.18), transparent 70%);
}

/* ==========================================================================
   ULKOASUN VALITSIN (Floating pill)
   ========================================================================== */
#theme-switcher-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}
#theme-switcher-widget .ts-panel {
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc !important;
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.35);
}
#theme-switcher-widget .ts-panel * {
  color: inherit;
}
#theme-switcher-widget .ts-btn {
  transition: all 0.15s ease;
}
#theme-switcher-widget .ts-btn.ts-active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #60a5fa !important;
}
