/* ===================================================
   CSS VARIABLES — palet, radius, shadow, spacing
   =================================================== */
:root {
  --primary: #0B5394;      /* Biru utama */
  --primary-dark: #083c6b; /* Biru tua untuk footer & gradient */
  --secondary: #F5B041;    /* Aksen amber */
  --cream: #F8F4ED;        /* Latar krem */
  --text: #1F2937;         /* Warna teks utama */
  --muted: #5b6472;        /* Teks sekunder */
  --white: #ffffff;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  /* Soft shadow berlapis */
  --shadow-sm: 0 1px 2px rgba(11,83,148,.06), 0 4px 12px rgba(11,83,148,.05);
  --shadow-md: 0 8px 24px rgba(11,83,148,.10), 0 2px 6px rgba(11,83,148,.06);
  --shadow-lg: 0 24px 60px rgba(11,83,148,.16), 0 8px 20px rgba(11,83,148,.08);
  --maxw: 1160px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ===================================================
   RESET DASAR
   =================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }            /* Smooth scroll */
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.08; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Utility container */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: 13px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--secondary); border-radius: 2px; }

/* ===================================================
   HEADER / STICKY NAVBAR + GLASSMORPHISM
   =================================================== */
header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(248,244,237,.72);
  border-bottom: 1px solid rgba(11,83,148,.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
header.scrolled { box-shadow: var(--shadow-sm); background: rgba(248,244,237,.9); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand .dot { width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #1a76c9);
  display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.brand-logo { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; letter-spacing: .02em; color: var(--text); }
.brand-name b { color: var(--primary); }

/* Menu kanan */
.menu { display: flex; align-items: center; gap: 6px; }
.menu > li > a, .menu .drop-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--text);
  cursor: pointer; background: transparent; border: none;
  font-family: inherit; transition: background .25s var(--ease), color .25s var(--ease);
}
.menu > li > a:hover, .menu .drop-toggle:hover { background: rgba(11,83,148,.08); color: var(--primary); }

/* Dropdown Aplikasi */
.dropdown { position: relative; }
.dropdown .caret { transition: transform .3s var(--ease); font-size: 11px; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 250px; padding: 10px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(11,83,148,.10);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s; /* animasi fade */
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; transition: background .2s var(--ease);
}
.dropdown-menu a:hover { background: rgba(11,83,148,.07); }
.dropdown-menu .ic { font-size: 20px; }
.dropdown-menu .ic img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; display: block; }
.dropdown-menu small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* Hamburger (mobile) */
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.burger span + span { margin-top: 6px; }

/* ===================================================
   BUTTONS + RIPPLE + HOVER GLOW
   =================================================== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #1a76c9); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11,83,148,.32); } /* hover glow */
.btn-ghost { background: rgba(11,83,148,.06); color: var(--primary); border: 1px solid rgba(11,83,148,.14); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(11,83,148,.10); box-shadow: var(--shadow-sm); }
.btn-amber { background: linear-gradient(135deg, var(--secondary), #f2a51f); color: #4a2c00; box-shadow: 0 8px 20px rgba(245,176,65,.35); }
.btn-amber:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(245,176,65,.5); }
/* Efek ripple */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.55); pointer-events: none; animation: ripple .6s linear; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ===================================================
   HERO SECTION — 2 kolom
   =================================================== */
.hero { position: relative; padding: 80px 0 90px; overflow: hidden; }
/* Ornamen background lembut */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; }
.hero::before { width: 420px; height: 420px; background: rgba(11,83,148,.10); top: -120px; right: -80px; }
.hero::after { width: 360px; height: 360px; background: rgba(245,176,65,.16); bottom: -120px; left: -100px; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-title { font-size: clamp(46px, 8vw, 104px); letter-spacing: -.5px; color: var(--text); }
.hero-title span { display: block; color: var(--primary); }
.hero-title .amber { color: var(--secondary); -webkit-text-fill-color: var(--secondary); }
.hero p.lead { margin: 22px 0 34px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Kolom kanan — kartu logo dengan floating + zoom hover */
.hero-visual { position: relative; display: grid; place-items: center; }
.logo-card {
  position: relative; border-radius: var(--radius-lg); padding: 22px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-lg);
  animation: floating 6s ease-in-out infinite;   /* floating */
  transition: transform .5s var(--ease);
}
.logo-card:hover { transform: scale(1.04) rotate(-.5deg); }   /* zoom hover */
.logo-card img { border-radius: var(--radius); }
.badge-float {
  position: absolute; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 12px 16px; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.badge-float .ic { font-size: 20px; }
.badge-1 { top: -18px; left: -18px; animation: floating 5s ease-in-out infinite; }
.badge-2 { bottom: -18px; right: -14px; animation: floating 7s ease-in-out infinite .5s; }
.badge-float small { color: var(--muted); font-weight: 500; font-size: 12px; display: block; }
@keyframes floating { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ===================================================
   SECTION umum
   =================================================== */
section { position: relative; }
.section-pad { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5vw, 54px); margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===================================================
   SECTION TENTANG — card glassmorphism
   =================================================== */
.about { background: linear-gradient(180deg, transparent, rgba(11,83,148,.03)); }
.about-card {
  position: relative; padding: 48px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center;
}
.about-emoji {
  width: 96px; height: 96px; border-radius: 24px; overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, rgba(245,176,65,.22), rgba(11,83,148,.12));
}
.about-emoji img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-card h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.about-card p { color: var(--muted); font-size: 16.5px; margin-bottom: 12px; }
.about-card p:last-child { margin-bottom: 0; }

/* ===================================================
   FEATURE — 4 card gradient + hover
   =================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  position: relative; overflow: hidden;
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--white); border: 1px solid rgba(11,83,148,.07);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(160deg, rgba(11,83,148,.06), rgba(245,176,65,.10));
  transition: opacity .4s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card:hover::after { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-ic {
  width: 60px; height: 60px; border-radius: 16px; font-size: 28px; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(11,83,148,.12), rgba(245,176,65,.16));
  transition: transform .4s var(--ease);
}
.feature-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card:hover .feature-ic { transform: scale(1.12) rotate(-4deg); }
.feature-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }
.feature-card .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.feature-card .tags span { font-size: 12px; font-weight: 600; color: var(--primary); background: rgba(11,83,148,.08); padding: 4px 10px; border-radius: 999px; }

/* ===================================================
   SECTION APLIKASI — 3 card besar
   =================================================== */
.apps { background: linear-gradient(180deg, rgba(11,83,148,.03), transparent); }
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card {
  display: flex; flex-direction: column;
  padding: 34px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.app-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.app-ic {
  width: 88px; height: 88px; border-radius: 20px; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 20px;
  box-shadow: var(--shadow-md); background: var(--cream);
}
.app-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-ic.a1 { background: linear-gradient(135deg, var(--primary), #1a76c9); }
.app-ic.a2 { background: linear-gradient(135deg, var(--secondary), #ef9d17); }
.app-ic.a3 { background: linear-gradient(135deg, #2b9d6f, #23b37c); }
.app-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 24px; margin-bottom: 8px; }
.app-card p { color: var(--muted); font-size: 15px; flex-grow: 1; margin-bottom: 22px; }
.app-card .btn { align-self: flex-start; }

/* ===================================================
   STATISTIK — counter
   =================================================== */
.stats { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: clamp(44px, 6vw, 68px); color: var(--secondary); line-height: 1; }
.stat-label { margin-top: 8px; font-weight: 600; font-size: 15px; opacity: .9; letter-spacing: .03em; }
.stats .container { position: relative; z-index: 1; }

/* ===================================================
   FOOTER
   =================================================== */
footer { background: var(--primary-dark); color: rgba(255,255,255,.82); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
footer h3 { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: #fff; margin-bottom: 10px; }
footer .tagline { max-width: 360px; font-size: 15px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; }
.footer-menu a { font-weight: 600; font-size: 15px; color: rgba(255,255,255,.82); transition: color .25s var(--ease); }
.footer-menu a:hover { color: var(--secondary); }
.footer-bottom { padding-top: 24px; text-align: center; font-size: 14px; opacity: .7; }

/* ===================================================
   ANIMASI FADE-UP / ZOOM (Intersection Observer)
   =================================================== */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.zoom { transform: scale(.9); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ===================================================
   RESPONSIVE — Tablet & Mobile
   =================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr; text-align: center; }
  .about-emoji { margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-menu { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .burger { display: block; }
  .menu {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(248,244,237,.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    padding: 16px 20px 24px; border-bottom: 1px solid rgba(11,83,148,.1);
    transform: translateY(-140%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-md); max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .menu.open { transform: translateY(0); }
  .menu > li > a, .menu .drop-toggle { width: 100%; justify-content: space-between; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(11,83,148,.04); margin-top: 4px;
    max-height: 0; overflow: hidden; padding: 0 10px;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
  }
  .dropdown.open .dropdown-menu { max-height: 320px; padding: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 60px 0; }
  .about-card { padding: 32px 24px; }
  .hero-title { font-size: clamp(34px, 9.5vw, 52px); }
  .badge-1 { top: -14px; left: 0; }
  .badge-2 { bottom: -14px; right: 0; }
  .badge-float { padding: 10px 12px; font-size: 13px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Bright CTA button variants */
.btn-orange { background: linear-gradient(135deg, #ff8a3d, #ff5e1a); color: #fff; box-shadow: 0 8px 20px rgba(255,94,26,.35); }
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255,94,26,.5); }
.btn-teal { background: linear-gradient(135deg, #22c1a4, #0ea886); color: #fff; box-shadow: 0 8px 20px rgba(14,168,134,.35); }
.btn-teal:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14,168,134,.5); }
.card-cta { margin-top: 14px; padding: 10px 18px; font-size: 14px; display: inline-flex; }

/* Mini app/product buttons stacked in feature-card */
.feature-card .mini-apps { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.feature-card .mini-app-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(11,83,148,.06); border: 1px solid rgba(11,83,148,.12);
  text-decoration: none; color: var(--primary);
  transition: transform .2s ease, box-shadow .3s ease, background .2s;
}
.feature-card .mini-app-btn:hover {
  transform: translateY(-2px);
  background: rgba(11,83,148,.10);
  box-shadow: 0 6px 18px rgba(11,83,148,.15);
}
.feature-card .mini-app-btn .mini-ic {
  width: 40px; height: 40px; border-radius: 8px; overflow: hidden;
  flex: 0 0 40px; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.feature-card .mini-app-btn .mini-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card .mini-app-btn .mini-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.feature-card .mini-app-btn .mini-txt strong { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--primary); }
.feature-card .mini-app-btn .mini-txt small { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
