/* ============================================
   Kehadiran Landing Page — Custom Styles
   ============================================ */

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* ---------- Colour Tokens ---------- */
:root {
  --primary: #0056b3;
  --primary-dark: #004494;
  --green: #28a745;
  --green-dark: #218838;
  --accent: #ffc107;
  --dark: #1a1a2e;
  --dark-lighter: #16213e;
  --gray-100: #f8f9fa;
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 12px;
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.navbar-brand-logo {
  height: 1.5rem;
  width: auto;
  display: block;
}

.nav-link {
  font-weight: 500;
  color: #555 !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.btn-cta-nav {
  background: var(--green);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1.25rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-cta-nav:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(160deg, var(--gray-100) 0%, #ffffff 60%, #eef5ff 100%);
  padding: 7rem 1rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.06) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 86, 179, 0.08);
  color: var(--primary);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-headline {
  font-size: 2.95rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-top: 1rem;
}

.hero-subheadline {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.75;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.hero-visual-composed {
  min-height: 460px;
}

.hero-illustration-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 86, 179, 0.1);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.hero-illustration-image {
  width: 100%;
  border-radius: 18px;
}

.hero-floating-preview {
  position: absolute;
  right: -8px;
  bottom: 12px;
  width: 210px;
  background: #fff;
  border-radius: 18px;
  padding: 0.55rem;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(0, 86, 179, 0.08);
}

.hero-floating-preview img {
  border-radius: 14px;
  width: 100%;
}

.hero-floating-badge {
  position: absolute;
  top: 22px;
  left: -12px;
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0, 86, 179, 0.22);
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.7; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.btn-hero {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(40, 167, 69, 0.35);
}

.btn-hero:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.45);
  color: #fff;
}

.btn-hero-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(0, 86, 179, 0.18);
  border-radius: 10px;
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(0, 86, 179, 0.05);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-secondary {
  font-size: 0.95rem;
  color: #777;
}

/* ---------- Trust Bar ---------- */
.trust-bar-section {
  padding: 0 1rem 2rem;
  background: linear-gradient(160deg, var(--gray-100) 0%, #ffffff 60%, #eef5ff 100%);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 86, 179, 0.08);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #4b5563;
  border: 1px solid #eef2f7;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Section Shared ---------- */
.section-padding {
  padding: 5rem 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: #888;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ---------- Product Preview ---------- */
.preview-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.preview-card {
  background: #fff;
  border: 1px solid #eaf0f6;
  border-radius: 20px;
  padding: 1rem;
  height: 100%;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.preview-frame {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 86, 179, 0.08);
}

.preview-frame-mobile {
  min-height: 420px;
  padding: 1rem;
}

.preview-frame-desktop {
  min-height: 420px;
  padding: 1rem;
}

.preview-image {
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.preview-card-mobile .preview-image {
  max-height: 390px;
  width: auto;
}

.preview-frame-desktop .preview-image {
  width: 100%;
  height: auto;
}

.preview-content {
  padding: 1rem 0.35rem 0.25rem;
}

.preview-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.preview-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---------- Features ---------- */
.features-section {
  background: #fff;
}

.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-icon-image-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
}

.feature-icon-image {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 86, 179, 0.12));
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- How It Works ---------- */
.how-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.step-card {
  text-align: center;
  position: relative;
  padding: 1rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
}

/* Arrows between steps — desktop only */
.step-connector {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.4;
}

@media (min-width: 768px) {
  .step-connector {
    display: flex;
  }
}

/* Vertical connector on mobile */
@media (max-width: 767px) {
  .step-card:not(:last-child)::after {
    content: "";
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin: 0 auto;
    opacity: 0.25;
  }
}

/* ---------- Trust Section ---------- */
.trust-section {
  background: #fff;
}

.trust-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.trust-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.trust-desc {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0;
}

/* ---------- Who It's For ---------- */
.who-section {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.persona-card {
  background: #fff;
  border: 1px solid #eaf0f6;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.persona-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.persona-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 86, 179, 0.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.persona-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.persona-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #ebeff5;
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.faq-item + .faq-item {
  margin-top: 1rem;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.55rem;
}

.faq-answer {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---------- Contact / Form ---------- */
.contact-section {
  background: linear-gradient(160deg, #eef5ff 0%, #f8f9fa 50%, #fff 100%);
  position: relative;
}

.contact-benefits {
  background: linear-gradient(180deg, #0f3f7b 0%, #0056b3 100%);
  color: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: 0 18px 40px rgba(0, 86, 179, 0.16);
}

.contact-benefit-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-benefits-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

.contact-benefits-text {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.contact-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-benefit-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-benefit-list li + li {
  margin-top: 0.9rem;
}

.contact-benefit-list i {
  color: #9af0b4;
  margin-top: 0.15rem;
}

.contact-benefit-list span {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
}

.contact-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.04) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #eee;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.3rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.12);
}

.btn-submit {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  width: 100%;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(40, 167, 69, 0.3);
}

.btn-submit:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* Honeypot — hidden from real users */
.hp-field {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

/* ---------- Footer ---------- */
.footer-section {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 1rem 1.5rem;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-logo-img {
  height: 1.4rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-contact {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-cta-link:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

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

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

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .hero-section {
    padding: 6rem 1rem 3.5rem;
    text-align: center;
  }

  .hero-headline {
    font-size: 2.15rem;
  }

  .hero-subheadline {
    font-size: 1.05rem;
    margin: 0 auto 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .hero-visual-composed {
    min-height: auto;
  }

  .hero-illustration-card {
    max-width: 100%;
    padding: 0.75rem;
  }

  .hero-floating-preview {
    position: static;
    width: 72%;
    margin: -1.5rem auto 0;
  }

  .hero-floating-badge {
    position: static;
    margin: 0 auto 1rem;
  }

  .trust-pill {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .preview-frame-mobile,
  .preview-frame-desktop {
    min-height: auto;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-padding {
    padding: 3.5rem 1rem;
  }

  .contact-form {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 575px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .btn-hero,
  .btn-hero-secondary {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
}
