/* ============================================================
   LKPDI 2026 — Landing Page Styles
   Tema: Gold / Warm Cream
   Font: Fraunces (display) + Plus Jakarta Sans (body)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;0,9..144,900;1,9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --purple: #ab8e5c;
  --purple-dark: #8b6e3a;
  --purple-mid: #c4a97a;
  --purple-soft: #d4ba8e;
  --purple-pale: #f2d39f;
  --lavender: #fff9f0;
  --lavender-md: #fcefd9;
  --pink: #f8e3bf;
  --teal: #eddbbc;
  --slate: #5c4a20;
  --slate-mid: #8b6e3a;
  --slate-light: #c4a97a;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-purple: 0 8px 32px rgba(171, 142, 92, 0.2);
  --shadow-card: 0 4px 24px rgba(92, 74, 32, 0.08);
  --shadow-float: 0 20px 60px rgba(171, 142, 92, 0.18);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--lavender);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ───────────────────────────────────────────── */
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  line-height: 1.1;
}

/* ── Mesh gradient hero bg ────────────────────────────────── */
.mesh-hero {
  /* background: radial-gradient(
      ellipse 70% 60% at 5% 15%,
      rgba(171, 142, 92, 0.14) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 55% 50% at 95% 5%,
      rgba(242, 211, 159, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 45% 55% at 50% 95%,
      rgba(248, 227, 191, 0.09) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 60%,
      rgba(237, 219, 188, 0.07) 0%,
      transparent 50%
    ), */
  background: #fbefd9;
}

/* ── Noise overlay ────────────────────────────────────────── */
.noise-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Floating orbs ────────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}
.orb-a {
  width: 520px;
  height: 520px;
  background: var(--purple);
  top: -180px;
  right: -160px;
  animation: driftA 20s ease-in-out infinite;
}
.orb-b {
  width: 380px;
  height: 380px;
  background: var(--purple-pale);
  bottom: -100px;
  left: -120px;
  animation: driftB 25s ease-in-out infinite;
}
.orb-c {
  width: 300px;
  height: 300px;
  background: var(--pink);
  top: 45%;
  left: 55%;
  animation: driftC 18s ease-in-out infinite;
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-45px, 35px) scale(1.06);
  }
}
@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(35px, -45px) scale(1.09);
  }
}
@keyframes driftC {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(22px, -22px);
  }
  66% {
    transform: translate(-18px, 14px);
  }
}

/* ── Orbiting rings ───────────────────────────────────────── */
@keyframes spin-cw {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spin-ccw {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(171, 142, 92, 0.18);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ring-1 {
  width: 300px;
  height: 300px;
  animation: spin-cw 18s linear infinite;
}
.ring-2 {
  width: 420px;
  height: 420px;
  animation: spin-ccw 28s linear infinite;
  border-color: rgba(242, 211, 159, 0.12);
}
.ring-3 {
  width: 540px;
  height: 540px;
  animation: spin-cw 40s linear infinite;
  border-color: rgba(248, 227, 191, 0.08);
}

.ring-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
}
.ring-dot-2 {
  background: var(--purple-pale);
  box-shadow: 0 0 8px var(--purple-pale);
  top: auto;
  bottom: -5px;
}

/* ── Navbar ───────────────────────────────────────────────── */
#navbar {
  backdrop-filter: blur(20px) saturate(180%);
  /* background: rgba(255, 249, 240, 0.88); */
  background-color: #f7e3be;
  transition: box-shadow 0.3s, background 0.3s;
  border-bottom: 1px solid rgba(171, 142, 92, 0.07);
  height: 70px;
}
#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(171, 142, 92, 0.1);
  background: rgba(247, 227, 190, 0.9);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-mid);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--purple);
  background: rgba(171, 142, 92, 0.07);
}

/* ── CTA Buttons ──────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  transition: all 0.25s;
  box-shadow: 0 8px 28px rgba(171, 142, 92, 0.35);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 60%
  );
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(171, 142, 92, 0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--purple);
  color: var(--purple);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  transition: all 0.25s;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(171, 142, 92, 0.06);
  transform: translateY(-2px);
}

/* ── Hero badge ───────────────────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(171, 142, 92, 0.09);
  border: 1px solid rgba(171, 142, 92, 0.22);
  color: var(--purple-dark);
  font-size: 0.73rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

/* ── Hero gradient text ───────────────────────────────────── */
.grad-text {
  background: linear-gradient(
    135deg,
    var(--purple) 100%,
    var(--pink) 60%,
    var(--teal) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Float animations ─────────────────────────────────────── */
@keyframes floatUp {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(-2deg);
  }
}
@keyframes floatMid {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}
@keyframes floatDown {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-18px) rotate(-1deg);
  }
}
.float-a {
  animation: floatUp 5.5s ease-in-out infinite;
}
.float-b {
  animation: floatMid 7s ease-in-out infinite;
}
.float-c {
  animation: floatDown 4.8s ease-in-out infinite;
}

/* ── Hero floating cards ──────────────────────────────────── */
.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(171, 142, 92, 0.1);
  padding: 16px;
}

/* ── Slider ───────────────────────────────────────────────── */
.slide {
  display: none;
}
.slide.active {
  display: flex;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.slide.active {
  animation: slideIn 0.6s cubic-bezier(0.22, 0.68, 0, 1.2) forwards;
}

/* ── Section heading ──────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--slate);
  line-height: 1.1;
  margin-top: 0.5rem;
}

/* ── Cards ────────────────────────────────────────────────── */
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1.5px solid rgba(171, 142, 92, 0.08);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-purple);
  border-color: rgba(171, 142, 92, 0.22);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--lavender-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: transform 0.25s;
}
.feature-card:hover .card-icon {
  transform: scale(1.1) rotate(-4deg);
}

/* ── Timeline ─────────────────────────────────────────────── */
.timeline-wrap {
  position: relative;
  padding-left: 52px;
}
.timeline-wrap::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 32px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--purple),
    rgba(171, 142, 92, 0.08)
  );
}
.timeline-wrap:last-child::before {
  display: none;
}

.timeline-node {
  position: absolute;
  left: 0;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(171, 142, 92, 0.35);
}
.timeline-node.done {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
}
.timeline-node.soon {
  background: var(--lavender-md);
  color: var(--slate-light);
  box-shadow: none;
}
.timeline-node.live {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 4px 16px rgba(171, 142, 92, 0.4);
  animation: nodeGlow 2.5s ease-in-out infinite;
}
@keyframes nodeGlow {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(171, 142, 92, 0.4);
  }
  50% {
    box-shadow: 0 6px 28px rgba(171, 142, 92, 0.7);
  }
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-card details > summary {
  cursor: pointer;
  list-style: none;
}
.faq-card details > summary::-webkit-details-marker {
  display: none;
}
.faq-card details[open] .faq-chevron {
  transform: rotate(180deg);
}
.faq-chevron {
  transition: transform 0.25s;
}

/* ── Download card ────────────────────────────────────────── */
.dl-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1.5px solid rgba(171, 142, 92, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all 0.22s;
}
.dl-row:hover {
  border-color: rgba(171, 142, 92, 0.28);
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
}

/* ── Stats banner ─────────────────────────────────────────── */
.stats-banner {
  background: linear-gradient(
    135deg,
    var(--purple-dark) 0%,
    var(--purple) 50%,
    var(--purple-mid) 100%
  );
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-mid) 40%,
    var(--pink) 100%
  );
  position: relative;
  overflow: hidden;
}

/* ── Contact card ─────────────────────────────────────────── */
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1.5px solid rgba(171, 142, 92, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: all 0.22s;
}
.contact-card:hover {
  border-color: rgba(171, 142, 92, 0.25);
  box-shadow: var(--shadow-card);
}

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--lavender-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ── Form inputs ──────────────────────────────────────────── */
.form-field {
  width: 100%;
  border: 1.5px solid rgba(171, 142, 92, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--slate);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-field:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(171, 142, 92, 0.12);
}

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Wavy divider ─────────────────────────────────────────── */
.wavy {
  overflow: hidden;
  line-height: 0;
}
.wavy svg {
  display: block;
  width: 100%;
}

/* ── Mobile menu ──────────────────────────────────────────── */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
#mobile-menu.open {
  max-height: 540px;
}

/* ── Footer gradient ──────────────────────────────────────── */
footer.site-footer {
  background: linear-gradient(
    145deg,
    #8b6e3a 0%,
    #ab8e5c 35%,
    #c4a97a 70%,
    #f2d39f 100%
  );
  position: relative;
  overflow: hidden;
}
footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 50% 80% at 10% 0%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 90% 100%,
      rgba(171, 142, 92, 0.2) 0%,
      transparent 55%
    );
  pointer-events: none;
}
footer.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

.footer-link {
  color: rgba(92, 74, 32, 0.8);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #5c4a20;
}
.footer-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(92, 74, 32, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .hide-sm {
    display: none;
  }
  .btn-cta,
  .btn-outline {
    padding: 11px 20px;
    font-size: 0.85rem;
  }
  .hero-card {
    display: none !important;
  }
}
