/* ==========================================================================
   INDOSAT HIFI FIBER - MODERN POLISHED STYLESHEET
   Official Design System: Indosat Magenta, Gold Accent, Midnight Slate
   ========================================================================== */

:root {
  --hifi-magenta: #E6007E;
  --hifi-magenta-dark: #B80063;
  --hifi-magenta-light: #FDF0F6;
  --hifi-yellow: #FFC900;
  --hifi-yellow-dark: #D9A300;
  --hifi-dark: #0B0F19;
  --hifi-slate: #0F172A;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0F172A;
  background-color: #FAFAFC;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Gradient Texts & Accents */
.text-gradient-magenta {
  background: linear-gradient(135deg, #E6007E 0%, #FF2E93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn-magenta {
  background: linear-gradient(135deg, #E6007E 0%, #C40068 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(230, 0, 126, 0.35);
  text-decoration: none;
  cursor: pointer;
}

.btn-magenta:hover {
  background: linear-gradient(135deg, #FF1A93 0%, #E6007E 100%);
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.5);
  transform: translateY(-2px);
}

.btn-yellow {
  background: linear-gradient(135deg, #FFC900 0%, #FFB700 100%);
  color: #0F172A !important;
  font-weight: 800;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 201, 0, 0.3);
  text-decoration: none;
  cursor: pointer;
}

.btn-yellow:hover {
  background: linear-gradient(135deg, #FFD533 0%, #FFC900 100%);
  box-shadow: 0 6px 20px rgba(255, 201, 0, 0.45);
  transform: translateY(-2px);
}

.btn-wa-green {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  cursor: pointer;
}

.btn-wa-green:hover {
  background: linear-gradient(135deg, #2EE874 0%, #159C8D 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

/* Card hover glow */
.package-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  border-radius: 20px;
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: #E6007E;
  box-shadow: 0 20px 40px rgba(230, 0, 126, 0.12);
}

.package-card.featured {
  border: 2px solid #E6007E;
  box-shadow: 0 16px 36px rgba(230, 0, 126, 0.18);
  background: #FFFFFF;
}

/* Speed comparison indicator */
.speed-bar {
  height: 8px;
  border-radius: 9999px;
  background: #334155;
  overflow: hidden;
  position: relative;
}

.speed-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #FFC900 0%, #E6007E 100%);
  transition: width 1s ease-out;
}

/* Accordion FAQ */
.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
  transition: all 0.2s ease;
  overflow: hidden;
}

.faq-item.active {
  border-color: #E6007E;
  box-shadow: 0 6px 16px rgba(230, 0, 126, 0.08);
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #0F172A;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
}

.faq-content {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #E6007E;
}

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

/* Modal styling */
.wa-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wa-modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  position: relative;
}

/* Sticky Bottom WhatsApp Floating Bar on Mobile */
.sticky-mobile-wa {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1rem;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
}

.hero-bg, .bg-dark-hero {
  background-color: #0B0F19;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(230, 0, 126, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(255, 201, 0, 0.12) 0%, transparent 45%);
}

.btn-gradient-magenta {
  background: linear-gradient(135deg, #E6007E 0%, #C40068 100%);
  transition: all 0.25s ease;
}
.btn-gradient-magenta:hover {
  background: linear-gradient(135deg, #FF1A93 0%, #E6007E 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 0, 126, 0.45);
}

.btn-gradient-green {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  transition: all 0.25s ease;
}
.btn-gradient-green:hover {
  background: linear-gradient(135deg, #2EE874 0%, #159C8D 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

#waModal {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }
}
