/* --- Reset & Variabel Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  padding-top: 80px; /* Jarak agar tidak tertutup fixed navbar */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Fixed Navbar Minimalis --- */
.navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.4rem;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.logo strong {
  color: #2563eb; /* Aksen Biru */
}

.nav-links a {
  color: #475569;
  text-decoration: none;
  margin: 0 15px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2563eb;
}

.nav-links .nav-lokal {
  color: #059669; /* Warna hijau lembut penanda link lokal SEO */
  font-weight: 600;
}

.btn-nav-cta,
.nav-links a.btn-nav-cta {
  background-color: #0f172a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-nav-cta:hover,
.nav-links a.btn-nav-cta:hover {
  background-color: #1e293b;
  color: #ffffff;
}

/* --- Hero Section Style --- */
.hero-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.hero-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  background-color: #eff6ff;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-text p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #f1f5f9;
  color: #334155;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.mockup-box {
  width: 100%;
  height: 350px;
  background-color: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 500;
}

/* --- Solusi Section Style --- */
.solusi-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 15px;
}

.section-title p {
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.solusi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.solusi-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.solusi-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.solusi-icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: inline-block;
}

.solusi-card h3 {
  margin-bottom: 16px;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 700;
}

.solusi-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Portfolio Section --- */
.portfolio-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.portfolio-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 30px;
}

.portfolio-content h3 {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 700;
}

.portfolio-content p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.portfolio-link {
  display: inline-block;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.portfolio-link:hover {
  color: #1d4ed8;
}

/* --- WhatsApp CTA --- */
.section-cta-wrap {
  text-align: center;
  margin-top: 50px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background-color: #22c55e;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.4);
}

.btn-whatsapp:hover {
  background-color: #16a34a;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(34, 197, 94, 0.5);
}

.final-cta {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.final-cta p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.pricing-header p {
  color: #64748b;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Area Navigasi Tab Filter --- */
.tab-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.tab-btn {
  background-color: #f1f5f9;
  border: 1px solid transparent;
  color: #475569;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.tab-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* Kondisi Gaya saat Tombol Aktif */
.tab-btn.active {
  background-color: #0f172a;
  color: #ffffff;
}

/* --- Grid & Arsitektur Kartu --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.price-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* Pembeda Visual Kartu Populer */
.price-card.popular {
  border: 2px solid #2563eb; /* Aksen tepi biru tipis */
}

/* Elemen Penanda Badge */
.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

/* Elemen Tipografi Internal Kartu */
.package-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.package-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 32px;
  min-height: 48px; /* Menyelaraskan batas bawah paragraf teks */
}

.package-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 32px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 24px;
  letter-spacing: -0.02em;
}

/* Elemen Daftar Fitur Layanan */
.feature-list {
  list-style: none;
}

.feature-list li {
  color: #334155;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.check-icon {
  color: #10b981; /* Representasi ikon centang hijau */
  font-weight: 700;
  margin-right: 12px;
}

/* --- Footer --- */
.main-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
}

/* --- Responsive Mobile Layout --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* --- Tombol Aksi Pricing --- */
.btn-pricing {
  display: block;
  text-align: center;
  padding: 14px 20px;
  margin-top: 20px;
  border-radius: 8px;
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.3s,
    transform 0.2s;
}

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

.btn-pricing-primary {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-pricing-primary:hover {
  background-color: #1d4ed8;
}

/* --- FAB WHATSAPP & BACK TO TOP --- */
.fab-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.3s ease;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
}

.fab-badge {
  position: absolute;
  top: -45px;
  right: 0;
  background-color: #ef4444;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  animation: bounce 2s infinite;
}

.fab-badge::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 20px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ef4444 transparent transparent transparent;
}

@keyframes bounce {
}

/* Elemen Daftar Fitur Layanan */
.feature-list {
  list-style: none;
}

.feature-list li {
  color: #334155;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.check-icon {
  color: #10b981; /* Representasi ikon centang hijau */
  font-weight: 700;
  margin-right: 12px;
}

/* --- Footer --- */
.main-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
}

/* --- Responsive Mobile Layout --- */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* --- Tombol Aksi Pricing --- */
.btn-pricing {
  display: block;
  text-align: center;
  padding: 14px 20px;
  margin-top: 20px;
  border-radius: 8px;
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.3s,
    transform 0.2s;
}

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

.btn-pricing-primary {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-pricing-primary:hover {
  background-color: #1d4ed8;
}

/* --- FAB WHATSAPP & BACK TO TOP --- */
.fab-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.3s ease;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
}

.fab-badge {
  position: absolute;
  top: -45px;
  right: 0;
  background-color: #ef4444;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  animation: bounce 2s infinite;
}

.fab-badge::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 20px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ef4444 transparent transparent transparent;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #0f172a;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition:
    background-color 0.3s,
    transform 0.3s,
    opacity 0.3s,
    visibility 0.3s;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #1e293b;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .fab-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .fab-whatsapp svg {
    width: 26px;
    height: 26px;
  }
  .fab-badge {
    top: -40px;
    font-size: 0.75rem;
  }
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }
}

/* --- Mobile Menu Styling --- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  cursor: pointer;
  padding: 5px;
}

.mobile-only-btn {
  display: none !important;
}

@media (max-width: 992px) {
  .nav-container {
    flex-wrap: wrap;
  }
  .mobile-menu-btn {
    display: block;
    order: 1;
  }
  .desktop-only-btn {
    display: none !important;
  }
  .mobile-only-btn {
    display: inline-block !important;
  }
  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 80px;
    left: 0;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    margin: 10px 0;
    font-size: 1.1rem;
  }
}
