/* ============================================================
   Mierakigai — Landing Page ADS Konveksi
   Style sheet (design tokens + components)
   Font: Inter (Google) + Moderat (self-hosted)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

@font-face {
  font-family: "Moderat";
  src: url("../fonts/moderat-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --mkg-purple: #6B21E8;
  --mkg-purple-soft: #A78BFA;
  --mkg-orange-electric: #E84C0E;
  --mkg-orange-bright: #F97316;
  --mkg-yellow: #F5C518;
  --mkg-black: #0A0A0A;
  --mkg-ink-2: #1F1B2E;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Moderat", "Inter", system-ui, sans-serif;

  --text-secondary: rgba(255,255,255,0.72);
  --text-muted: rgba(255,255,255,0.52);
  --border-subtle: rgba(255,255,255,0.12);
  --border-strong: rgba(255,255,255,0.28);
  --action-outline: rgba(255,255,255,0.85);

  --grad-brand: linear-gradient(135deg, #6B21E8 0%, #E84C0E 100%);
  --grad-sunset: linear-gradient(135deg, #6B21E8 0%, #C2410C 55%, #F97316 100%);
  --glow-purple-bg: radial-gradient(circle at 25% 20%, rgba(107,33,232,0.55) 0%, rgba(107,33,232,0) 60%);
  --glow-orange-bg: radial-gradient(circle at 80% 85%, rgba(232,76,14,0.50) 0%, rgba(232,76,14,0) 60%);

  --shadow-md: 0 8px 24px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.55);
  --glow-purple: 0 12px 40px rgba(107,33,232,0.45);
  --glow-orange: 0 12px 40px rgba(232,76,14,0.45);
  --glass-fill: rgba(20,16,30,0.55);
  --glass-border: rgba(255,255,255,0.14);
  --blur-glass: blur(18px);

  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --tracking-label: 0.12em;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #050507;
  font-family: var(--font-sans);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mkg-orange-bright); text-decoration: none; }
a:hover { color: var(--mkg-yellow); }
img { max-width: 100%; }

@keyframes mkgFloat  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes mkgFloat2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes mkgSpin   { to { transform: rotate(360deg); } }
@keyframes mkgSpinR  { to { transform: rotate(-360deg); } }

/* ---------- Page shell ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 6%, rgba(107,33,232,0.30) 0%, rgba(107,33,232,0) 42%),
    radial-gradient(circle at 88% 94%, rgba(232,76,14,0.26) 0%, rgba(232,76,14,0) 45%),
    #050507;
}
.shell {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  background: #0A0A0A;
  box-shadow: 0 0 140px rgba(0,0,0,0.7);
  overflow: hidden;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .logo { height: 26px; width: auto; display: block; }

/* ---------- Buttons ---------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  box-shadow: var(--glow-purple);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), filter 240ms var(--ease-out);
}
.cta:hover { filter: brightness(1.08); transform: translateY(-2px); color: #fff; }
.cta:active { transform: scale(0.98); }
.cta--outline {
  background: transparent;
  border: 2px solid var(--action-outline);
  box-shadow: none;
  font-size: 12.5px;
  padding: 16px 24px;
}
.cta--dark { background: var(--mkg-black); box-shadow: var(--shadow-lg); font-size: 14px; padding: 19px 24px; }
.cta--sm {
  width: auto;
  padding: 9px 15px;
  font-size: 11px;
  gap: 7px;
}

/* ---------- Shared type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  color: #fff;
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mkg-orange-electric); box-shadow: 0 0 8px var(--mkg-orange-electric); }
.kicker--purple  { border: none; background: var(--mkg-purple); font-weight: 800; box-shadow: var(--glow-purple); font-size: 10px; }
.kicker--orange  { border: none; background: var(--mkg-orange-electric); font-weight: 800; box-shadow: var(--glow-orange); font-size: 10px; }

.section-title {
  margin: 15px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.em-orange { color: var(--mkg-orange-bright); }
.em-yellow { color: var(--mkg-yellow); }

/* ---------- Sections ---------- */
.section { position: relative; overflow: hidden; }
.section > * { position: relative; }
.glow-blob { position: absolute; pointer-events: none; z-index: 0; }
.glow-blob--purple { background: var(--glow-purple-bg); }
.glow-blob--orange { background: var(--glow-orange-bg); }

/* HERO */
.hero { padding: 34px 22px 46px; scroll-margin-top: 70px; }
.hero__title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 39px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.hero__lead { margin: 15px 0 0; font-size: 16.5px; line-height: 1.45; color: var(--text-secondary); font-weight: 500; }
.hero__lead .mark { color: #fff; font-weight: 800; border-bottom: 2px solid var(--mkg-orange-electric); }
.hero__stage { position: relative; margin: 22px auto 0; width: 100%; max-width: 360px; height: 344px; }
.orbit { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; animation: mkgSpin 52s linear infinite; }
.halftone {
  position: absolute; bottom: 8px; right: 2px; width: 110px; height: 110px; border-radius: 50%;
  background-image: radial-gradient(rgba(167,139,250,0.4) 1.4px, transparent 1.6px);
  background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
  mask-image: radial-gradient(circle, #000 55%, transparent 72%);
  pointer-events: none;
}
.hero__photo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 196px; height: 262px; border-radius: 24px; overflow: hidden;
  box-shadow: var(--glow-purple); border: 1px solid var(--border-subtle); z-index: 2;
  background: #14101f;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(107,33,232,0.10), rgba(10,10,10,0.35)); pointer-events: none; }
.hero__photo .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px; font-size: 11px; font-weight: 600; color: var(--text-muted);
  border: 1.5px dashed var(--border-strong); border-radius: 24px;
}

/* Floating chips */
.chip {
  position: absolute; z-index: 3; padding: 11px 13px; border-radius: 14px;
  background: var(--glass-fill); border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-md);
}
.chip--roas   { top: 18px; left: -4px; animation: mkgFloat 6s ease-in-out infinite; }
.chip--donut  { top: 6px; right: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; animation: mkgFloat2 7s ease-in-out infinite; }
.chip--rev    { bottom: 26px; left: -6px; padding: 11px 14px; background: var(--grad-brand); border: none; box-shadow: var(--glow-orange); animation: mkgFloat2 6.5s ease-in-out infinite; }
.chip--rating { bottom: 2px; right: -2px; display: flex; align-items: center; gap: 6px; padding: 9px 12px; animation: mkgFloat 7.5s ease-in-out infinite; }
.chip .big { font-weight: 800; font-size: 14px; color: #fff; }
.chip .sub { font-size: 9px; color: var(--text-muted); font-weight: 700; }
.chip .rev-label { font-size: 8.5px; color: rgba(255,255,255,0.85); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.chip .rev-val { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; line-height: 1.1; }
.stars { color: var(--mkg-yellow); letter-spacing: 1px; }

/* PORTOFOLIO */
.portfolio { padding: 46px 22px; scroll-margin-top: 70px; background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(20,16,30,0.5) 100%); }
.browser {
  position: relative; transform: rotate(-1.4deg); border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid rgba(255,255,255,0.15); box-shadow: var(--shadow-lg), var(--glow-purple);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f1f1f4; border-bottom: 1px solid rgba(0,0,0,0.06); }
.browser__bar .d { width: 9px; height: 9px; border-radius: 50%; }
.browser__bar .d.r { background: #ff5f57; } .browser__bar .d.y { background: #febc2e; } .browser__bar .d.g { background: #28c840; }
.browser__bar .label { margin-left: 8px; font-size: 10.5px; color: #6b7280; font-weight: 600; }
.browser img { display: block; width: 100%; height: auto; background: #fff; }
.chip--roi {
  position: absolute; top: -14px; right: 6px; z-index: 4; display: flex; align-items: center; gap: 8px;
  padding: 11px 15px; border-radius: 14px; background: var(--grad-brand); box-shadow: var(--glow-orange);
  animation: mkgFloat 6s ease-in-out infinite;
}
.chip--roi .n { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; line-height: 1; }
.chip--roi .t { font-size: 8.5px; color: rgba(255,255,255,0.85); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 26px 0 0; }
.metric { text-align: center; padding: 14px 8px; background: var(--mkg-ink-2); border: 1px solid var(--border-subtle); border-radius: 14px; }
.metric .v { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
.metric .l { margin-top: 3px; font-size: 9.5px; color: var(--text-muted); font-weight: 600; }

/* REASON TO BELIEVE */
.reason { padding: 48px 22px; scroll-margin-top: 70px; }
.reason .glow-l { top: 20%; left: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(107,33,232,0.4), transparent 70%); filter: blur(10px); }
.reason .glow-r { bottom: 6%; right: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(232,76,14,0.32), transparent 70%); filter: blur(10px); }
.center { text-align: center; }
.diagram { position: relative; margin: 22px auto 0; max-width: 360px; }
.stats {
  position: relative; margin: 18px 0 0; border-radius: var(--radius-lg); padding: 1.5px;
  background: var(--grad-sunset); box-shadow: var(--glow-purple);
}
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: rgba(255,255,255,0.12); border-radius: calc(var(--radius-lg) - 2px); overflow: hidden; }
.stat { background: #100b1c; padding: 20px 14px; text-align: center; }
.stat .v { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: #fff; }
.stat .l { margin-top: 4px; font-size: 10.5px; color: var(--text-secondary); font-weight: 600; }

/* ALUR KERJA */
.flow { padding: 48px 22px; scroll-margin-top: 70px; background: linear-gradient(180deg, rgba(20,16,30,0.5) 0%, rgba(10,10,10,0) 100%); }
.timeline { position: relative; margin: 28px 0 0; padding-left: 8px; }
.timeline__line { position: absolute; left: 29px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, var(--mkg-purple), var(--mkg-orange-electric)); }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.step__no {
  position: relative; z-index: 2; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-brand); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff;
  box-shadow: var(--glow-purple); border: 3px solid #0A0A0A;
}
.step__body { flex: 1; background: var(--mkg-ink-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 16px; }
.step__title { font-weight: 800; font-size: 15.5px; color: #fff; }
.step__desc { margin-top: 5px; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }

/* TESTIMONI */
.testi { padding: 48px 20px; scroll-margin-top: 70px; }
.rating-pill { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--glass-fill); border: 1px solid var(--glass-border); backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass); }
.rating-pill .score { font-weight: 800; font-size: 13px; color: #fff; }
.rating-pill .note { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.testi__grid { position: relative; display: flex; flex-direction: column; gap: 16px; margin: 26px 0 0; }
.testi__quote { position: absolute; top: -14px; left: 2px; opacity: 0.55; z-index: 0; fill: var(--mkg-purple); }
.testi__card { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.testi__card img { display: block; width: 100%; height: auto; }
.testi__card:nth-child(2) { transform: rotate(-1.4deg); }
.testi__card:nth-child(3) { transform: rotate(1.2deg); }
.testi__card:nth-child(4) { transform: rotate(-1deg); }
.testi__card:nth-child(5) { transform: rotate(1.3deg); }

/* CTA / KONTAK */
.contact { padding: 44px 20px; scroll-margin-top: 70px; }
.contact__panel { position: relative; border-radius: 26px; overflow: hidden; padding: 40px 26px; background: var(--grad-sunset); box-shadow: var(--glow-orange); }
.contact__panel .sheen { position: absolute; inset: 0; background: radial-gradient(circle at 82% 8%, rgba(255,255,255,0.22), transparent 55%); pointer-events: none; }
.contact__panel .waves { position: absolute; right: -40px; bottom: -50px; pointer-events: none; opacity: 0.5; animation: mkgSpinR 60s linear infinite; }
.contact__kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(10,10,10,0.28); color: #fff; font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.contact__kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mkg-yellow); }
.contact__title { margin: 16px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 29px; line-height: 1.08; letter-spacing: -0.02em; color: #fff; }
.contact__lead { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.92); font-weight: 500; }
.contact__note { margin: 12px 0 0; text-align: center; font-size: 11px; color: rgba(255,255,255,0.75); font-weight: 600; }

/* FAQ */
.faq { padding: 24px 22px 48px; scroll-margin-top: 70px; }
.faq__list { display: flex; flex-direction: column; gap: 11px; margin: 24px 0 0; }
.faq__item { background: var(--mkg-ink-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; transition: border-color 200ms var(--ease-out); }
.faq__item.open { border-color: rgba(232,76,14,0.5); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px; background: transparent; border: none; cursor: pointer; text-align: left; }
.faq__q span.q { font-weight: 700; font-size: 14px; color: #fff; line-height: 1.35; }
.faq__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; line-height: 1; transition: background 200ms var(--ease-out), transform 200ms var(--ease-out); }
.faq__item.open .faq__icon { background: var(--mkg-orange-electric); transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 260ms var(--ease-out); }
.faq__a-inner { padding: 0 17px 17px; font-size: 13px; line-height: 1.6; color: var(--text-secondary); }

/* FOOTER */
.site-footer { position: relative; padding: 34px 22px 42px; border-top: 1px solid var(--border-subtle); text-align: center; background: linear-gradient(180deg, rgba(10,10,10,0), rgba(31,27,46,0.4)); }
.site-footer .logo { height: 26px; width: auto; display: inline-block; }
.site-footer .tagline { margin: 14px 0 0; font-size: 10.5px; font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); }
.site-footer .desc { margin: 16px 0 0; font-size: 12px; color: var(--text-muted); }
.site-footer .copyright { margin: 16px 0 0; font-size: 11px; color: rgba(255,255,255,0.32); }

/* ---------- Desktop widen ---------- */
@media (min-width: 700px) {
  .shell { max-width: 480px; }
}
