/* =====================================================
   MTM Bali — Shared Stylesheet
   Extracted from inline <style> blocks common to all pages.
   Page-specific CSS (e.g. marquee for homepage) is injected
   conditionally via layouts/main.php.
   ===================================================== */

body { font-family: 'Inter', sans-serif; }
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ── Keyframe Animations ── */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(2deg); }
  66% { transform: translateY(10px) rotate(-2deg); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(13, 255, 203, 0.3); }
  50% { box-shadow: 0 0 50px rgba(13, 255, 203, 0.6); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* ── Gradient Backgrounds ── */
.gradient-hero {
  background: linear-gradient(135deg, #010799 0%, #0AB5FF 65%, #010799 100%);
  background-size: 300% 300%;
  /* animation: gradientShift 15s ease infinite; */
}
.gradient-mesh {
  background:
    radial-gradient(circle at 20% 50%, rgba(13, 255, 203, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(10, 181, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: gradientShift 20s ease infinite;
  background-size: 200% 200%;
}

/* ── Gradient Text Variants ── */
.gradient-text {
  background: linear-gradient(90deg, #010799, #0AB5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-hero {
  background: linear-gradient(135deg, #ffffff 0%, #0DFFCB 50%, #0AB5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Dropdown Transition ── */
.transition-dropdown {
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

/* ── FAQ Accordion ── */
[data-accordion-body] {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

/* ── Scroll Reveal ── */
.scroll-reveal { opacity: 0; transform: translateY(32px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }

/* ── Float Animation ── */
.float-anim { animation: floatY 6s ease-in-out infinite; }

/* ── Button Glow ── */
.btn-glow {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}
.btn-glow:hover::before { left: 100%; }
.btn-glow:hover {
  box-shadow: 0 0 40px rgba(13,255,203,0.5), 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* ── Navbar Glass (on scroll) ── */
.navbar-glass {
  background: rgba(1, 7, 153, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ── Glassmorphism Cards ── */
.glass-card {
  position: relative;
  overflow: hidden;

  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);

  box-shadow:
    0 4px 20px -2px rgba(15, 23, 42, 0.05),
    0 0 3px rgba(15, 23, 42, 0.02);

  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;

  isolation: isolate;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.02) 40%,
      rgba(255,255,255,0.02) 100%
    );

  pointer-events: none;
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: -1px;

  border-radius: inherit;
  padding: 1px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.35),
      rgba(13,255,203,0.15),
      rgba(10,181,255,0.08)
    );

  mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);

  border-color: rgba(13, 255, 203, 0.25);

  box-shadow:
    0 20px 60px rgba(10,181,255,0.18),
    0 10px 40px rgba(0,0,0,0.3),
    inset 0 1px 1px rgba(255,255,255,0.1);
}




/* ── Premium ISP Card ── */
.isp-card-premium {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #010799 0%,
      #0120b5 45%,
      #0044cc 100%
    );

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.35),
    0 0 30px rgba(13,255,203,0.08);

  transition: all 0.5s ease;
}

.isp-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.04),
      transparent 45%
    );

  pointer-events: none;
}

.isp-card-premium:hover {
  transform: translateY(-8px);

  box-shadow:
    0 20px 60px rgba(13,255,203,0.18),
    0 10px 40px rgba(0,0,0,0.45);
}

/* ── Home ISP Card (Starts white, transitions to premium on hover) ── */
.home-plan-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 4px 20px -2px rgba(15, 23, 42, 0.05),
    0 0 3px rgba(15, 23, 42, 0.02);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #010799 0%,
    #0120b5 45%,
    #0044cc 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.home-plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 60px rgba(13, 255, 203, 0.18),
    0 10px 40px rgba(0, 0, 0, 0.45);
}

.home-plan-card:hover::before {
  opacity: 1;
}

/* Ensure inner content is above the background gradient pseudo-element */
.home-plan-card > * {
  position: relative;
  z-index: 1;
}

/* Plan Badge styling */
.home-plan-card .plan-badge {
  color: #010799;
  background-color: rgba(1, 7, 153, 0.1);
  transition: all 0.5s ease;
}

.home-plan-card:hover .plan-badge {
  color: #0DFFCB;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Plan Title Speed styling */
.home-plan-card .plan-title {
  color: #111827; /* gray-900 */
  transition: all 0.5s ease;
}

.home-plan-card .plan-title span {
  color: #6b7280; /* gray-500 */
  transition: all 0.5s ease;
}

.home-plan-card:hover .plan-title {
  color: #ffffff;
}

.home-plan-card:hover .plan-title span {
  color: rgba(255, 255, 255, 0.7);
}

/* Plan Price styling */
.home-plan-card .plan-price {
  color: #010799;
  transition: all 0.5s ease;
}

.home-plan-card .plan-price-period {
  color: #6b7280; /* gray-500 */
  transition: all 0.5s ease;
}

.home-plan-card:hover .plan-price {
  color: #0DFFCB;
}

.home-plan-card:hover .plan-price-period {
  color: rgba(255, 255, 255, 0.7);
}

/* Plan Features styling */
.home-plan-card .plan-features {
  color: #4b5563; /* gray-600 */
  transition: all 0.5s ease;
}

.home-plan-card:hover .plan-features {
  color: rgba(255, 255, 255, 0.9);
}

/* Plan Button styling */
.home-plan-card .plan-button {
  background-color: #0DFFCB;
  color: #010799;
  font-weight: 600;
  transition: all 0.5s ease;
}

.home-plan-card:hover .plan-button {
  font-weight: 700;
}


.glass-card-dark {
  background: linear-gradient(145deg, #010799 0%, #0033aa 100%);
  border: 1px solid rgba(13, 255, 203, 0.15);
  box-shadow: 
    0 10px 30px -5px rgba(1, 7, 153, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ── Business Plan Card ── */
.business-card {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #07114f 0%,
      #0a1c7d 45%,
      #102a9e 100%
    );

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 12px 40px rgba(0,0,0,0.35);

  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;

  isolation: isolate;
}

.business-card::before {
  content: '';
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.05),
      transparent 40%
    );

  pointer-events: none;
}

.business-card::after {
  content: '';
  position: absolute;
  inset: 0;

  border-radius: inherit;

  border: 1px solid rgba(255,255,255,0.04);

  pointer-events: none;
}

.business-card:hover {
  transform:
    translateY(-10px)
    scale(1.015);

  border-color:
    rgba(13,255,203,0.25);

  box-shadow:
    0 25px 70px rgba(0,0,0,0.45),
    0 0 35px rgba(13,255,203,0.12);
}

/* ── Business Badge ── */
.business-badge {
  display: inline-flex;
  align-items: center;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;

  color: #0DFFCB;

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(13,255,203,0.15);

  padding: 0.4rem 0.85rem;

  border-radius: 9999px;

  backdrop-filter: blur(10px);
}

/* business button */
.business-btn {
  background: #0DFFCB;
  color: #010799;
  font-weight: 700;

  box-shadow:
    0 8px 24px rgba(13,255,203,0.18);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    background-color .3s ease;
}

.business-btn:hover {
  background: #14ffd1;

  transform: translateY(-2px);

  box-shadow:
    0 12px 32px rgba(13,255,203,0.30);
}

/* ── Shimmer Effect ── */
.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  background: #010799;
  color: #0DFFCB;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #010799, #0AB5FF); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #0DFFCB, #010799); }



/* coverage area */
    .hero-section {
      position: relative;
      width: 100%;
      height: 450px;
      overflow: hidden;

      background:
        radial-gradient(
          circle at 80% 60%,
          rgba(10, 202, 255, 0.35),
          transparent 50%
        ),
        linear-gradient(
          90deg,
          #010799 0%,
          #010698 40%,
          #0ACAFF 100%
        );

      display: flex;
      align-items: center;
    }

    .hero-globe {
      position: absolute;
      width: 1584.8px;
      height: 1829.7px;
      left: 93px;
      top: 298px;
      transform: rotate(11deg);
      opacity: 0.85;            /* soften */
      filter: saturate(0.9);    /* biar gak terlalu tajam */
      z-index: 2;      
    }

    .hero-illustration {
      position: absolute;
      width: 299px;
      height: 334px;
      left: 139px;
      top: 106px;
      z-index: 3;
    }

    .hero-content {
      position: relative;
      z-index: 10;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 5%;
      display: flex;
      justify-content: center;
      text-align: center;
    }

    .hero-text-block {
      width: 100%;
    }

    .hero-headline {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 700;
      font-size: 3.5rem;
      line-height: 1.1;
      color: #FFFFFF;
      margin-bottom: 1rem;
    }

    .hero-headline span {
      color: #0AB5FF;
    }

    .hero-subtext {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.6;
      max-width: 100%;
      margin: 0 auto;
    }

    /* Floating Decorative Elements */
    .hero-floating {
      position: absolute;
      inset: 0;
      z-index: 15; /* Top layer */
      pointer-events: none;
    }

    @media (max-width: 1024px) {
      .hero-section {
        height: auto;
        min-height: 450px;
        padding: 60px 0;
        flex-direction: column;
        justify-content: center;
      }
      .hero-section::after {
        background: linear-gradient(180deg, #010799 0%, rgba(1, 7, 153, 0.9) 100%);
      }
      .hero-illustration {
        display: none;
        /* position: relative;
        left: 0;
        width: 60%;
        margin-bottom: 30px; */
      }
      .hero-globe {
        display: none;
        /* width: 120%;
        right: -10%;
        bottom: -20%;
        opacity: 0.5; */
      }
      .hero-pin {
        display: none;
      }
      .hero-wifi {
        display: none;
      }
      .hero-content {
        justify-content: center;
        text-align: center;
      }
      .hero-text-block {
        max-width: 100%;
      }
      .hero-headline {
        font-size: 2.5rem;
      }
    }
  


/* coverage form card */
.coverage-form-card {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.06);

  box-shadow:
    0 8px 32px rgba(15,23,42,0.06);

  transition: none !important;
  transform: none !important;
}

.coverage-form-card:hover {
  transform: none !important;

  box-shadow:
    0 8px 32px rgba(15,23,42,0.06);

  border: 1px solid rgba(15,23,42,0.06);
}

/* 
coverage region card */
.coverage-region-card {
  background: rgba(255,255,255,0.72);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.45);

  box-shadow:
    0 8px 32px rgba(15,23,42,0.05);

  transition: none !important;

  transform: none !important;
}

.coverage-region-card:hover {
  transform: none !important;

  box-shadow:
    0 8px 32px rgba(15,23,42,0.05);
}

/* ── Quill Editor (WYSIWYG) Content Formatting ── */
.ql-content {
  line-height: 1.7;
  color: #374151; /* gray-700 */
}

.ql-content p {
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
}

.ql-content p:last-child {
  margin-bottom: 0 !important;
}

.ql-content h1, .ql-content h2, .ql-content h3, .ql-content h4 {
  color: #010799; /* navy */
  font-weight: 800;
  margin-top: 1.25rem !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.2;
}

.ql-content .ql-align-center { text-align: center; }
.ql-content .ql-align-right { text-align: right; }
.ql-content .ql-align-justify { text-align: justify; }

.ql-content blockquote {
  border-left: 4px solid #0DFFCB;
  background: rgba(13, 255, 203, 0.05);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 0 0.75rem 0.75rem 0;
}

.ql-content img {
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin: 2rem auto;
  display: block;
}

.ql-content iframe.ql-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  margin: 2rem 0;
  box-shadow: 0 20px 50px rgba(1, 7, 153, 0.1);
}

.ql-content ul, .ql-content ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
  list-style-position: outside;
}

.ql-content ul {
  list-style-type: disc !important;
}

.ql-content ol {
  list-style-type: decimal !important;
}

.ql-content li {
  margin-bottom: 0.5rem;
  margin-left: 1.5rem; /* Space for the marker */
  display: list-item !important;
}

.ql-content li::marker {
  color: #010799; /* Navy brand color for high visibility */
  font-weight: bold;
}

.ql-content .ql-indent-1 { margin-left: 3rem; }
.ql-content .ql-indent-2 { margin-left: 4.5rem; }
.ql-content .ql-indent-3 { margin-left: 6rem; }
.ql-content .ql-indent-4 { margin-left: 7.5rem; }
.ql-content .ql-indent-5 { margin-left: 9rem; }
.ql-content .ql-indent-6 { margin-left: 10.5rem; }
.ql-content .ql-indent-7 { margin-left: 12rem; }
.ql-content .ql-indent-8 { margin-left: 13.5rem; }

.ql-content .ql-size-small { font-size: 0.875rem; }
.ql-content .ql-size-large { font-size: 1.5rem; line-height: 1.3; }
.ql-content .ql-size-huge { font-size: 2.25rem; line-height: 1.1; font-weight: 800; }

/* ── reCAPTCHA Styling & Responsiveness ── */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

@media screen and (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: center center;
    -webkit-transform-origin: center center;
  }
}

/* Ensure reCAPTCHA badge is above other elements */
.grecaptcha-badge {
  z-index: 9999 !important;
}