/*
Theme Name: SiapAjar AI
Theme URI: https://siapajar.web.id/
Author: Web & UI Specialist
Author URI: https://siapajar.web.id/
Description: Tema Landing Page Penjualan & Media Edukasi SiapAjar AI 100% Database Hosting Internal. Dilengkapi Live Demo Simulator, Dasbor Metrik Omset, Ekspor CSV, REST API Checkout Anti-Spam, Fitur Order Bump, dan Payment Instructions Funnel.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siapajar-ai
Tags: landing-page, sales-funnel, education, responsive, tailwind, order-bump, database-hosting
*/

:root {
  --theme-primary: #2563eb;
  --theme-secondary: #06b6d4;
  --theme-bg-main: #ffffff;
  --theme-bg-subtle: #f8fafc;
  --theme-bg-card: #ffffff;
  --theme-text-heading: #0f172a;
  --theme-text-body: #334155;
  --theme-text-muted: #64748b;
  --theme-border: #e2e8f0;
  --theme-border-hover: #2563eb;
  --theme-glow: rgba(37, 99, 235, 0.15);
  --theme-card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100vh;
  background-color: var(--theme-bg-main, #ffffff) !important;
  color: var(--theme-text-body, #334155) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Dukungan bar admin bawaan WordPress */
body.admin-bar nav.sticky {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar nav.sticky {
    top: 46px !important;
  }
}

#siapajar-landing-root {
  width: 100%;
  min-height: 100vh;
  background-color: var(--theme-bg-main, #ffffff);
  color: var(--theme-text-body, #334155);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease;
}

#siapajar-landing-root * {
  box-sizing: border-box;
}

#siapajar-landing-root::-webkit-scrollbar { width: 8px; }
#siapajar-landing-root::-webkit-scrollbar-track { background: var(--theme-bg-main); }
#siapajar-landing-root::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
#siapajar-landing-root::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.theme-main-bg { background-color: var(--theme-bg-main) !important; }
.theme-subtle-bg { background-color: var(--theme-bg-subtle) !important; }
.theme-card-bg { background-color: var(--theme-bg-card) !important; }
.theme-heading-text { color: var(--theme-text-heading) !important; }
.theme-body-text { color: var(--theme-text-body) !important; }
.theme-muted-text { color: var(--theme-text-muted) !important; }
.theme-border-color { border-color: var(--theme-border) !important; }

.theme-gradient-btn {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%) !important;
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-gradient-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 25px -5px var(--theme-glow);
  transform: translateY(-2px);
}

.theme-text-gradient {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-glow {
  background: radial-gradient(circle at 50% 12%, var(--theme-glow) 0%, rgba(6, 182, 212, 0.05) 35%, transparent 70%);
}

.theme-card {
  background-color: var(--theme-bg-card) !important;
  border: 1px solid var(--theme-border) !important;
  box-shadow: var(--theme-card-shadow) !important;
  color: var(--theme-text-body) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-card:hover {
  border-color: var(--theme-border-hover) !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 35px -8px rgba(15, 23, 42, 0.08) !important;
}

/* Animasi Elemen Floating & Glowing */
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-float {
  animation: subtleFloat 3.5s ease-in-out infinite;
}

@keyframes pulseBorder {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
}
.pulse-glow-box {
  animation: pulseBorder 2.5s infinite;
}

/* Accordion FAQ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}
.faq-answer.open {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.45s ease-in, opacity 0.35s ease-in;
}

/* Notifikasi Social Proof Mengambang */
.social-proof-toast {
  animation: slideInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Order Bump Hover Effect */
.order-bump-box {
  transition: all 0.2s ease-in-out;
}
.order-bump-box:hover {
  background-color: #fef3c7 !important;
  border-color: #f59e0b !important;
}