/* ==================================================
   RESET & BASE
   ================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0b1e4a;
  --navy-light: #1a2f5a;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ==================================================
   BUTTONS
   ================================================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: inherit;
  font-size: 2rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.btn-small {
  padding: 10px 24px;
  font-size: 1rem;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1rem;
}

.btn-hero {
  padding: 18px 48px;
  font-size: 1rem;
}

/* ==================================================
   HEADER
   ================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrap {
  flex-shrink: 0;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-cta-header {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--gray-100);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav.open {
  display: block;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 24px 32px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.nav.open .nav-list {
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.nav.open .nav-link {
  font-size: 1.1rem;
}

/* ==================================================
   HERO
   ================================================== */
.hero {
  padding: 60px 0 72px;
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--white) 100%);
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-actions {
  margin-bottom: 16px;
}

.hero-secondary {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.trust-badges li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badges li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

/* ===== HERO CARD IMAGE ===== */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  min-height: 280px;
}

/* Background dekoratif */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at 30% 40%, rgba(6, 182, 212, 0.08), transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.hero-card-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.hero-card-image:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ==================================================
   SECTIONS
   ================================================== */
.section {
  padding: 72px 0;
}

.section-light {
  background: var(--gray-50);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

/* ==================================================
   STEPS
   ================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-200);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

.step-desc {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.step-img-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

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

.step-img-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 40px;
  text-align: center;
  border: 2px dashed var(--gray-300);
}

.step-icon {
  font-size: 3rem;
}

/* ==================================================
   VISUAL GUIDE
   ================================================== */
.visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.visual-fig {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.visual-fig:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.visual-img-wrap {
  padding: 8px;
  background: var(--gray-50);
  display: flex;              /* ← PAKAI FLEXBOX */
  justify-content: center;    /* ← TENGAH HORIZONTAL */
  align-items: center;        /* ← TENGAH VERTIKAL */
}

.visual-img {
  width: 60%;
  max-width: 400px;           /* ← BATASI UKURAN MAKSIMAL */
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  display: block;

}

.visual-fig figcaption {
  padding: 16px 20px;
  font-size: 2rem;
  font-weight: 1000;
  color: var(--gray-700);
  background: var(--white);
  text-align: center;
}

/* ==================================================
   CHECKLIST
   ================================================== */
.checklist-wrap {
  text-align: center;
}

.checklist {
  display: inline-block;
  text-align: left;
  margin: 0 auto 32px;
  padding: 0;
}

.checklist li {
  font-size: 1.5rem;
  padding: 8px 0;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.7rem;
}

.checklist-cta {
  margin-top: 8px;
}


/* ==================================================
   FOOTER
   ================================================== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
}

.footer-links a {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--cyan-light);
}

.footer-disclaimer {
  font-size: 0.75rem;
  opacity: 0.5;
  max-width: 800px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

/* Tablet */
@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid .step-card:last-child {
    grid-column: span 2;
  }

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

/* Desktop */
@media (min-width: 768px) {
  .nav {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .btn-cta-header {
    display: inline-block;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .hero-visual {
    justify-content: flex-end;
    padding: 0;
    min-height: 320px;
  }

  .hero-card-image {
    max-width: 480px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid .step-card:last-child {
    grid-column: span 1;
  }


  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .hero {
    padding: 80px 0 100px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .section {
    padding: 96px 0;
  }

  .hero-card-image {
    max-width: 520px;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .hero-visual {
    padding: 20px 0;
    min-height: auto;
  }

  .hero-card-image {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .btn-hero {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
  }

  .btn-large {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
  }

  .trust-badges {
    gap: 8px 16px;
  }

  .trust-badges li {
    font-size: 0.8rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .step-card {
    padding: 24px 20px;
  }

  .step-number {
    font-size: 2.2rem;
    top: 8px;
    right: 16px;
  }

  .benefit-card {
    padding: 20px 16px;
  }

  .cta-final {
    padding: 56px 0;
  }

  .cta-final-title {
    font-size: 1.5rem;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .footer {
    padding: 32px 0 24px;
  }

  .footer-links {
    gap: 12px 20px;
  }
}

/* ==================================================
   ACCESSIBILITY
   ================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-card-image {
    transition: none !important;
  }

  .hero-card-image:hover {
    transform: none !important;
  }

  .hero-visual::before {
    animation: none !important;
  }
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ==================================================
   ANIMATION UTILITY
   ================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==================================================
   SCROLLBAR STYLING (opsional)
   ================================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}