/* ==========================================================================
   Fertipro Sawit - Official Landing Page Styling
   High Converting Direct-Response Style for Indonesian Agriculture
   ========================================================================== */

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

:root {
  --primary-green: #15803d;
  --primary-dark: #0f5132;
  --primary-light: #22c55e;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-red: #dc2626;
  --dark-slate: #0f172a;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', sans-serif;
}

/* Circular Logo Styling */
.logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  border: 2px solid #22c55e;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.2);
  flex-shrink: 0;
}

.logo-circle-lg {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
  border: 3px solid #22c55e;
  box-shadow: 0 6px 14px rgba(21, 128, 61, 0.25);
  flex-shrink: 0;
}

.logo-circle img, .logo-circle-lg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9999px;
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 2s infinite ease-in-out;
}

.animate-pulse-gold {
  animation: pulseGold 2s infinite ease-in-out;
}

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

/* Gradients & Backgrounds */
.bg-sawit-hero {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95) 0%, rgba(15, 23, 42, 0.94) 100%),
              url('../images/sampul.jpg') center/cover no-repeat;
}

.bg-pattern-grid {
  background-image: radial-gradient(rgba(34, 197, 94, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.badge-cod {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
}

.badge-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #78350f;
}

/* Card Glow & Border */
.card-featured {
  border: 3px solid #22c55e;
  box-shadow: 0 20px 35px -10px rgba(34, 197, 94, 0.3);
  position: relative;
}

.card-featured::before {
  content: 'REKOMENDASI PALING HEMAT';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #15803d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0f5132;
}

/* FAQ Accordion Styling */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] summary .faq-icon {
  transform: rotate(180deg);
}

/* Range Slider Styling */
input[type=range] {
  accent-color: #15803d;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

/* Bottom Mobile Sticky CTA Bar & Mobile Enhancements */
@media (max-width: 768px) {
  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
  }
  
  body {
    padding-bottom: 74px;
  }
  
  .floating-wa-btn {
    bottom: 84px;
    right: 14px;
  }

  .logo-circle {
    width: 44px;
    height: 44px;
    padding: 3px;
  }
}
