/* Custom Styles for madenja.id - PT Maden Jaya Abadi */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --brand: #0d9488;
  --brand-hover: #0f766e;
  --brand-light: #f0fdfa;
  --accent: #2563eb;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
}

html {
  scroll-behavior: smooth;
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

/* Hero Gradient & Mesh */
.hero-gradient {
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(13, 148, 136, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(37, 99, 235, 0.06) 0%,
      transparent 40%
    ),
    #ffffff;
}

.mesh-pattern {
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Modern Card Hover Effects */
.feature-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Pill Badges */
.badge-clean {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #ccfbf1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Floating WhatsApp Pulse */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wa-pulse {
  animation: pulse-ring 2.5s infinite;
}

/* FAQ Accordion Transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease-out,
    opacity 0.3s ease-out;
  opacity: 0;
}

.accordion-content.active {
  max-height: 500px;
  opacity: 1;
}

.rotate-icon {
  transition: transform 0.3s ease;
}

.rotate-icon.active {
  transform: rotate(180deg);
}

/* Calculator Range Slider Styling */
input[type="range"] {
  accent-color: #0d9488;
}

/* Stat Counter Accent */
.stat-accent {
  background: linear-gradient(135deg, #0f172a 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
