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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #e5e7eb;
  color: #222;
}

html {
  scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  color: #171717;
}

/* Menu kanan */
.nav-right {
  display: flex;
  align-items: center;
}

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

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Garis animasi di bawah link */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ffa800, #ff7a00);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #171717;
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Tombol hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(243, 244, 246, 0.98));
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background-color: #111827;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animasi hamburger jadi X */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Section placeholder agar terlihat */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ---------------- HERO / HOME SECTION ---------------- */
.hero-section {
  position: relative;
  background-color: #fff7eb;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 168, 0, 0.22), transparent 60%),
    radial-gradient(circle at bottom right, rgba(255, 122, 0, 0.18), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 168, 0, 0.08);
  color: #b46900;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  position: relative;
}

.badge-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(34, 197, 94, 0.35);
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: clamp(2.3rem, 3.5vw, 3rem);
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.hero-title span {
  background: linear-gradient(120deg, #ffa800, #ff7a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 520px;
  color: #6b7280;
  font-size: 0.98rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.hero-tag {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.04);
  font-size: 0.78rem;
  color: #4b5563;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}

.hero-stats .stat-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

.hero-stats .stat-item span {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ---------------- ABOUT SECTION ---------------- */
.about-section {
  position: relative;
  background-color: #ffffff;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 168, 0, 0.16), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.about-tag {
  display: inline-flex;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.04);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.about-title {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #111827;
}

.about-title span {
  background: linear-gradient(120deg, #ffa800, #ff7a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-text {
  font-size: 0.95rem;
  color: #4b5563;
  max-width: 580px;
}

.about-card {
  border-radius: 16px;
  background-color: #ffffff;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.about-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #111827;
}

.about-card p {
  font-size: 0.86rem;
  color: #6b7280;
  margin: 0;
}

.about-list-wrapper {
  border-radius: 20px;
  background: #ffffff;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.about-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffa800, #ff7a00);
  margin-top: 0.32rem;
}

/* ---------------- PRODUCT SECTION ---------------- */
.product-section {
  background-color: #f3f4f6;
}

.section-divider {
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

.section-divider--light svg {
  fill: #ffffff;
}

.section-divider--dark svg {
  fill: #0f172a;
}

.product-card {
  border-radius: 18px;
  background-color: #ffffff;
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 14px 40px rgba(148, 163, 184, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.22);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.1rem;
}

.product-card p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.3rem;
}

.product-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: #4b5563;
  display: grid;
  gap: 0.1rem;
}

.product-card ul li::before {
  content: "•";
  margin-right: 0.4rem;
  color: #ffa800;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(148, 163, 184, 0.35);
  border-color: rgba(79, 70, 229, 0.6);
  background-color: #ffffff;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  background: rgba(15, 23, 42, 0.04);
  color: #111827;
  font-size: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover .icon-circle {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.icon-circle.primary {
  background: rgba(255, 168, 0, 0.16);
}

.icon-circle.success {
  background: rgba(34, 197, 94, 0.15);
}

.icon-circle.warning {
  background: rgba(245, 158, 11, 0.12);
}

.icon-circle.info {
  background: rgba(255, 168, 0, 0.18);
}

.icon-circle.violet {
  background: rgba(248, 113, 113, 0.18);
}

.icon-circle.dark {
  background: rgba(15, 23, 42, 0.06);
}

/* Kartu ilustrasi */
.hero-card-wrapper {
  perspective: 1200px;
}

.hero-card {
  border-radius: 24px;
  background: linear-gradient(145deg, #111827, #020617);
  color: #e5e7eb;
  padding: 1.25rem 1.25rem 1.5rem;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

.hero-card-header {
  margin-bottom: 1rem;
}

.hero-card-header .dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 4px;
  background-color: #ef4444;
}

.hero-card-header .dots span:nth-child(2) {
  background-color: #f59e0b;
}

.hero-card-header .dots span:nth-child(3) {
  background-color: #22c55e;
}

.hero-card-title {
  font-size: 0.9rem;
  color: #9ca3af;
}

.hero-card-body {
  display: grid;
  gap: 1rem;
}

.hero-card-graph {
  height: 160px;
  border-radius: 16px;
  background: radial-gradient(circle at 10% 20%, rgba(255, 168, 0, 0.3), transparent 65%),
    radial-gradient(circle at 80% 80%, rgba(248, 113, 113, 0.3), transparent 55%);
  position: relative;
  overflow: hidden;
}

.hero-card-graph::before,
.hero-card-graph::after {
  content: "";
  position: absolute;
  inset: 30% 10%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-card-graph::before {
  transform: rotate(-6deg);
}

.hero-card-graph::after {
  transform: rotate(4deg);
}

.hero-card-bars .bar {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 3fr) auto;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.hero-card-bars .label {
  color: #9ca3af;
}

.hero-card-bars .progress {
  background-color: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  overflow: hidden;
  height: 6px;
}

.hero-card-bars .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ffa800, #ff7a00);
  border-radius: inherit;
}

.hero-card-bars .value {
  color: #e5e7eb;
}

/* Tombol custom (override sedikit dari Bootstrap) */
.btn-primary {
  background: linear-gradient(120deg, #ffa800, #ff7a00);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(120deg, #e59a00, #ff6b00);
}

.btn-outline-primary {
  border-width: 1.5px;
}

.btn-lg {
  font-size: 0.9rem;
  padding-inline: 1.7rem;
}

/* Footer */
.footer {
  padding: 1.8rem 0 1.4rem;
  background-color: #020617;
  color: #9ca3af;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-address {
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  font-weight: 500;
  color: #e5e7eb;
  font-size: 0.98rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-nav a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.75rem;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a:hover {
  background-color: #ffa800;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 168, 0, 0.55);
}

/* ---------------- CONTACT SECTION ---------------- */
.contact-section {
  position: relative;
  background-color: #0f172a;
  color: #e5e7eb;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 168, 0, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.contact-section .about-title {
  color: #e5e7eb;
}

.contact-section .about-text {
  color: #9ca3af;
}

.contact-info {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.45);
}

.contact-info .info-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info .info-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-info .info-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-info .info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.contact-info .info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #e5e7eb;
}

.contact-card {
  border-radius: 20px;
  background-color: #020617;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.contact-cta h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #e5e7eb;
}

.contact-cta p {
  font-size: 0.88rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.contact-cta-note {
  font-size: 0.8rem;
}

.contact-cta-note code {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background-color: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.78rem;
  word-break: break-all;
}

/* ---------------- ANIMASI GLOBAL ---------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) rotate3d(1, 0, 0, 0deg);
  }
  50% {
    transform: translate3d(0, -10px, 10px) rotate3d(1, 0, 0, -4deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate3d(1, 0, 0, 0deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

/* Responsif */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.75rem 1.5rem 1rem;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 25px 40px rgba(15, 23, 42, 0.1);
    transform-origin: top;
    transition: max-height 0.25s ease;
    z-index: 999;
  }

  .nav-menu.open {
    max-height: 260px;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: flex;
  }
}