/* style.css - Indibiz Responsive Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #00458e;        
  --primary-dark: #002855;   
  --primary-light: #e8f0fe;  
  --accent: #0070f3;         
  --accent-hover: #0051b3;   
  --bg-light: #F4F7FB;       
  --text-main: #1F2937;
  --text-muted: #4B5563;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Navbar Responsive */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  width: 100%;
}

.nav-logo {
  font-size: 1.25rem; 
  font-weight: 800; 
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.25);
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hamburger Toggle for Mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #001a33 0%, #003366 50%, #00458e 100%);
  color: #ffffff;
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 80vh;
}

.hero-content {
  max-width: 100%;
}

.badge-bumn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: #dbeafe;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.hero-image img {
  max-width: 100%;
  width: 480px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

/* Container & Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  padding: 0 1rem;
}

/* Calculator Widget */
.calc-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 69, 142, 0.08);
  max-width: 800px;
  margin: -3rem auto 0 auto;
  position: relative;
  z-index: 10;
  border: 1px solid #dbeafe;
  width: 90%;
}

.slider-group {
  margin: 1.5rem 0;
}

.slider-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  cursor: pointer;
}

.calc-result {
  background: var(--primary-light);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  border: 1px solid #bfdbfe;
}

/* Product Tabs */
.tabs-header {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 69, 142, 0.25);
}

.tab-content {
  display: none;
  animation: fadeInUp 0.5s ease-out forwards;
}

.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 69, 142, 0.08);
  border-color: #93c5fd;
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px rgba(0, 112, 243, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 112, 243, 0.3);
}

.pricing-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 1rem 0;
}

.price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.features-list {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.features-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 69, 142, 0.06);
  border-color: #93c5fd;
}

.value-card h3 {
  color: var(--primary);
  margin: 1rem 0 0.5rem 0;
  font-size: 1.2rem;
}

.icon-box {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.value-card:hover .icon-box {
  background: var(--primary);
  color: #ffffff;
}

/* Accordion FAQ */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  color: var(--primary);
  font-size: 0.95rem;
}

.accordion-header:hover {
  background: var(--primary-light);
}

.accordion-header span {
  transition: transform 0.3s ease;
}

.accordion-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  display: none;
  font-size: 0.9rem;
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 69, 142, 0.05);
}

.accordion-item.active .accordion-header span {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-body {
  display: block;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 4rem 5% 2rem 5%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  color: #94a3b8;
  font-size: 0.8rem;
}

/* MEDIA QUERIES UNTUK RESPONSIVITAS MOBILE & TABLET */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 5%;
    gap: 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .badge-bumn {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-image img {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border-top: 1px solid #e2e8f0;
    gap: 1rem;
    align-items: flex-start;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-buttons {
    display: none; /* Sembunyikan tombol navbar atas di mobile kecil agar tidak penuh, dipindah ke menu hamburger/opsional */
  }
  .calc-card {
    padding: 1.5rem;
    margin-top: -2rem;
    width: 95%;
  }
  .calc-result {
    flex-direction: column;
    align-items: flex-start;
  }
  .calc-result .btn-primary {
    width: 100%;
    text-align: center;
  }
}