/* === RESET & GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

a {
  text-decoration: none;
}

.text-center {
  text-align: center;
}

/* === SPACING & LAYOUT === */
section {
  padding: 100px 0;
}

.section-header {
  max-width: 750px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.3rem;
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-header p {
  font-size: 1.15rem;
  color: #64748b;
}

.bg-blue-soft .section-header p {
  color: #475569;
}

/* === BACKGROUNDS === */
.bg-light {
  background-color: #f8fafc;
}

.bg-blue-soft {
  background-color: #eff6ff;
}

.bg-white {
  background-color: #fff;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background-color: #135dfb;
  color: #fff;
  padding: 16px 35px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s;
  box-shadow: 0 4px 6px rgba(19, 93, 251, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.btn:hover {
  background-color: #0d4ed8;
  transform: translateY(-2px);
}

/* === TOP BAR === */
.top-bar {
  background-color: #135dfb;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 88% 76%,
      rgba(255, 255, 255, 0.45),
      transparent 36%
    ),
    linear-gradient(135deg, #bfd3ff 0%, #eaf1ff 55%, #f6f9ff 100%);
  text-align: center;
  padding: 110px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(19, 93, 251, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -165px;
  right: 8%;
  box-shadow:
    0 0 0 24px rgba(19, 93, 251, 0.03),
    0 0 0 48px rgba(19, 93, 251, 0.02);
}

.hero::after {
  bottom: -205px;
  left: 7%;
  width: 340px;
  border-color: rgba(19, 93, 251, 0.1);
  box-shadow:
    0 0 0 24px rgba(19, 93, 251, 0.025),
    0 0 0 48px rgba(19, 93, 251, 0.018);
}

.hero .container {
  position: relative;
}

.hero-logo {
  display: block;
  width: min(220px, 55vw);
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  margin: 0 auto 30px;
}

.hero h1 {
  font-size: 3rem;
  color: #0f172a;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.hero p {
  font-size: 1.25rem;
  color: #475569;
  max-width: 850px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.carousel-dots {
  display: none;
}

/* === TRUST BADGES (PILLS STYLE) === */
.trust-badges {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  background-color: #f8fafc;
  color: #334155;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.badge-pill svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
  margin-right: 8px;
  flex-shrink: 0;
}

/* === SVGs === */
.icon-svg {
  width: 65px;
  height: 65px;
  stroke: #2563eb;
  margin-bottom: 20px;
}

.f-icon-svg {
  display: block;
  width: 70px;
  height: 70px;
  stroke: #2563eb;
  background: #dbeafe;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* === DESKTOP GRIDS (3 PILLARS & STEPS) === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-3-card {
  background: #fff;
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  border: 1px solid #e2e8f0;
}

.grid-3-card h3 {
  font-size: 1.4rem;
  margin: 15px 0;
  color: #0f172a;
}

.grid-3-card p {
  color: #475569;
  font-size: 1.05rem;
  margin: 0;
}

/* === FEATURES GRID (6 KOTAK ALL-IN-ONE) === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #1e293b;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* === PORTFOLIO === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.portfolio-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #f1f5f9;
}

.portfolio-content {
  padding: 25px;
}

.badge-cat {
  display: inline-block;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.result-text {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
  margin-top: 5px;
}

.result-text strong {
  color: #15803d;
}

/* === PRICING === */
.pricing-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  padding: 45px 30px 40px;
  border: 1px solid #e2e8f0;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid #2563eb;
}

.popular-badge {
  background: #2563eb;
  color: #fff;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-header {
  min-height: 180px;
}

.target-user {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 15px;
  display: block;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 15px;
}

.price {
  font-size: 2.2rem;
  font-weight: bold;
  color: #0f172a;
  margin: 10px 0 5px;
}

.billing-note {
  font-size: 0.9rem;
  background: #eff6ff;
  color: #135dfb;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 25px;
  width: 100%;
}

.pricing-features {
  list-style: none;
  margin-bottom: 35px;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li strong {
  color: #0f172a;
}

.pricing-card .btn-package {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0.2px;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* === HOW IT WORKS & CHECKLIST === */
.step-item {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.step-num {
  background: #2563eb;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4rem;
  margin: 0 auto 25px;
}

.step-item strong {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 12px;
  color: #0f172a;
}

.step-item p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
}

.checklist {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  margin: 50px auto 0;
  border: 1px dashed #cbd5e1;
  text-align: left;
}

.checklist-title {
  color: #1e3a8a;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.check-item {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* === FAQ === */
.faq {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

summary {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 22px 25px;
  cursor: pointer;
  color: #0f172a;
  outline: none;
  list-style-type: none;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #2563eb;
  font-weight: 300;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 25px 25px;
  color: #475569;
  margin: 0;
  line-height: 1.7;
}

/* === FOOTER CTA === */
.footer-cta {
  background-color: #0f172a;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
  border-top: 5px solid #135dfb;
}

.footer-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.footer-cta p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 45px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .hero .btn {
    display: block;
    width: 100%;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero::before {
    right: -180px;
  }

  .hero::after {
    left: -220px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  section {
    padding: 75px 0;
  }

  .section-header {
    margin-bottom: 45px;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  /* Penyesuaian Badge di HP agar menyusun rapi ke tengah (bukan menurun kaku) */
  .trust-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .badge-pill {
    font-size: 0.85rem;
    padding: 6px 14px;
  }

  /* SWIPEABLE CAROUSEL UNTUK MOBILE */
  .swipe-mobile {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    gap: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .swipe-mobile::-webkit-scrollbar {
    display: none;
  }

  .swipe-mobile > div {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 18px;
  }

  .carousel-dot {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .carousel-dot::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #bfdbfe;
    transition:
      background-color 0.2s,
      transform 0.2s;
  }

  .carousel-dot.is-active::before {
    background: #135dfb;
    transform: scale(1.3);
  }

  .carousel-dot:focus-visible {
    outline: 2px solid #135dfb;
    outline-offset: 3px;
  }
}

.floating-wa {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s,
    background-color 0.2s;
}

.floating-wa:hover {
  transform: translateY(-3px);
  background: #1ebe5d;
}

.floating-wa:focus-visible {
  outline: 3px solid #135dfb;
  outline-offset: 4px;
}

.floating-wa svg {
  display: block;
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .floating-wa {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-wa {
    transition: none;
  }
}
