/* ==========================================================================
   LPK DIGITAL - Soft Orange & Pure Light Design System
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-primary: #f97316;
  --color-primary-hover: #ea580c;
  --color-primary-light: #ffedd5;
  --color-primary-soft: #fff7ed;
  --color-primary-border: #fed7aa;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-bg-base: #fdfbf9;
  --color-card-bg: #ffffff;
}

* {
  font-family: var(--font-main);
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar - Soft Orange */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #fdba74;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f97316;
}

/* Glassmorphism & Soft Card */
.soft-card {
  background: #ffffff;
  border: 1px solid rgba(254, 215, 170, 0.5);
  box-shadow: 0 4px 20px -2px rgba(249, 115, 22, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.soft-card:hover {
  border-color: rgba(251, 146, 60, 0.6);
  box-shadow: 0 12px 30px -4px rgba(249, 115, 22, 0.12);
  transform: translateY(-3px);
}

.soft-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(254, 215, 170, 0.4);
}

.orange-gradient {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.orange-gradient-soft {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badge Styles */
.badge-soft-orange {
  background-color: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

/* Animation utilities */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.03); }
}

.animate-pulse-soft {
  animation: pulse-soft 3s infinite ease-in-out;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.lightbox-modal.active {
  display: flex;
}

/* WYSIWYG Content Styling */
.prose-content {
  color: #334155;
  line-height: 1.85;
  font-size: 1.05rem;
  text-align: justify;
  text-justify: inter-word;
}
.prose-content p {
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
}
.prose-content div {
  text-align: justify;
  text-justify: inter-word;
}
.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.prose-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-content ul, .prose-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose-content ul {
  list-style-type: disc;
}
.prose-content ol {
  list-style-type: decimal;
}
.prose-content li {
  margin-bottom: 0.5rem;
}
.prose-content img {
  border-radius: 0.75rem;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}
.prose-content blockquote {
  border-left: 4px solid #f97316;
  background-color: #fff7ed;
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  margin: 1.5rem 0;
  color: #7c2d12;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border-radius: 9999px;
  box-shadow: 0 8px 24px -4px rgba(22, 163, 74, 0.45);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px -4px rgba(22, 163, 74, 0.6);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 99;
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border: 1px solid #fed7aa;
  color: #ea580c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: #f97316;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive Table Container Styling */
.table-responsive,
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}
.table-responsive::-webkit-scrollbar,
.overflow-x-auto::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
.table-responsive::-webkit-scrollbar-track,
.overflow-x-auto::-webkit-scrollbar-track {
  background: #fff7ed;
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb,
.overflow-x-auto::-webkit-scrollbar-thumb {
  background: #fed7aa;
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover,
.overflow-x-auto::-webkit-scrollbar-thumb:hover {
  background: #f97316;
}

/* Mobile Friendly Touch Targets & Input Fixes */
@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .back-to-top {
    bottom: 74px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
  }
}

