/* =====================================================================
   OJASA.ID — Coming Soon / Under Upgrade
   Brand Kit v2 · Navy #0B2A5B · Blue #1F5FAE · Gold #D9A21B
   ===================================================================== */

:root {
  --navy: #0B2A5B;
  --navy-deep: #071B3D;
  --blue: #1F5FAE;
  --blue-mid: #153F82;
  --gold: #D9A21B;
  --gold-light: #F2C14E;
  --white: #FFFFFF;
  --light: #EAF2FF;
  --cream: #F4F7FC;
  --shadow: #9FB6DA;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Great Vibes', 'Brush Script MT', cursive;

  --radius: 20px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 800; color: var(--white); }
.gold { color: var(--gold); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------
   PRELOADER
   --------------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--navy-deep);
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__inner { display: grid; justify-items: center; gap: 18px; }

.preloader__logo { overflow: visible; }
.pl-stroke { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 1.4s var(--ease-out) forwards; }
.pl-handle { animation-delay: .5s; }
.pl-line { opacity: 0; transform-origin: 50% 50%; transform: scaleX(0); animation: lineIn .5s var(--ease-bounce) forwards; }
.pl-line:nth-of-type(3) { animation-delay: .9s; }
.pl-line:nth-of-type(4) { animation-delay: 1.05s; }
.pl-line:nth-of-type(5) { animation-delay: 1.2s; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lineIn { to { opacity: 1; transform: scaleX(1); } }

.preloader__count {
  font-weight: 800; font-size: 28px; letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.preloader__bar {
  width: 180px; height: 4px; border-radius: 99px;
  background: rgba(255,255,255,.12); overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .15s linear;
}

/* ---------------------------------------------------------------------
   CUSTOM CURSOR
   --------------------------------------------------------------------- */
.cursor, .cursor-glow {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 900;
  border-radius: 50%; transform: translate(-50%, -50%);
  opacity: 0;
}
.cursor {
  width: 12px; height: 12px; background: var(--gold);
  mix-blend-mode: difference;
  transition: width .2s, height .2s, opacity .3s;
}
.cursor-glow {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(217,162,27,.16), rgba(217,162,27,0) 60%);
  transition: opacity .3s;
}
body.has-cursor .cursor, body.has-cursor .cursor-glow { opacity: 1; }
body.is-hovering .cursor { width: 44px; height: 44px; background: var(--white); }

/* ---------------------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------------------- */
.bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(31,95,174,.55), transparent 60%),
    radial-gradient(900px 600px at 100% 110%, rgba(217,162,27,.16), transparent 55%),
    linear-gradient(135deg, var(--blue-mid) 0%, var(--navy) 55%, var(--navy-deep) 100%);
}
.bg__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.3px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift { to { background-position: 34px 34px; } }

.bg__blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: blobFloat 14s ease-in-out infinite alternate;
}
.bg__blob--1 { width: 520px; height: 520px; left: -10%; top: -15%; background: var(--blue); }
.bg__blob--2 { width: 420px; height: 420px; right: -8%; top: 20%; background: var(--gold); opacity: .28; animation-delay: -4s; }
.bg__blob--3 { width: 380px; height: 380px; left: 30%; bottom: -20%; background: #2F7BD6; opacity: .35; animation-delay: -9s; }
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(.96); }
}

.bg__ghost {
  position: absolute; right: -8vw; top: 50%;
  width: clamp(420px, 60vw, 900px); height: auto;
  opacity: .06; transform: translateY(-50%) rotate(-8deg);
  animation: ghostSpin 60s linear infinite;
}
@keyframes ghostSpin { to { transform: translateY(-50%) rotate(352deg); } }

.bg__ribbon {
  position: absolute; left: -10%; right: -10%; bottom: 14%; height: 12px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: .35; border-radius: 99px;
  transform: rotate(-4deg);
  animation: ribbonWave 8s ease-in-out infinite alternate;
}
@keyframes ribbonWave { to { transform: rotate(-2deg) translateY(-30px); } }

.sparkles { position: absolute; inset: 0; }
.sparkles .sp {
  position: absolute; width: 10px; height: 10px; opacity: 0;
  animation: twinkle var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ---------------------------------------------------------------------
   LAYOUT
   --------------------------------------------------------------------- */
.page {
  position: relative; z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 40px) 32px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; overflow: visible; color: var(--white); transition: transform .5s var(--ease-bounce); }
.brand:hover .brand__mark { transform: rotate(-15deg) scale(1.1); }
.brand__word { font-weight: 800; font-size: 24px; letter-spacing: -.03em; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 99px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.status-pill__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(217,162,27,.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217,162,27,.6); }
  70% { box-shadow: 0 0 0 10px rgba(217,162,27,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,162,27,0); }
}
.status-pill__emoji { animation: wiggle 2.4s ease-in-out infinite; display: inline-block; }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

/* Hero */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 6vh, 72px) 0;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: var(--light);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow__star { color: var(--gold); animation: spinStar 6s linear infinite; display: inline-block; }
@keyframes spinStar { to { transform: rotate(360deg); } }

.headline {
  margin: 0 0 22px;
  font-weight: 800;
  font-size: clamp(42px, 6.6vw, 86px);
  line-height: .98; letter-spacing: -.035em;
}
.headline__line { display: block; position: relative; width: fit-content; max-width: 100%; }
.headline__line + .headline__line { margin-top: .06em; }

.split .ch {
  display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg);
  animation: chIn .7s var(--ease-out) forwards;
}
.split .word { display: inline-block; white-space: nowrap; }

@keyframes chIn { to { opacity: 1; transform: translateY(0) rotate(0); } }

.script-word {
  font-family: var(--font-script); font-weight: 400;
  color: var(--gold);
  font-size: 1.3em; line-height: .8; letter-spacing: 0;
  display: inline-block; margin-left: .04em; padding-right: .1em;
  text-shadow: 0 0 40px rgba(217,162,27,.4);
  position: relative; top: .08em;
}

.sticker {
  position: absolute; right: -28px; top: -18px;
  padding: 6px 12px; border-radius: 99px;
  background: var(--gold); color: var(--navy);
  font-size: clamp(11px, 1.2vw, 14px); font-weight: 800; letter-spacing: .02em;
  box-shadow: 4px 4px 0 var(--navy-deep);
  white-space: nowrap;
}
.sticker--rotate { transform: rotate(8deg); right: -40px; top: -6px; animation: stickerPop .6s var(--ease-bounce) 1.3s both; }
@keyframes stickerPop { from { transform: rotate(8deg) scale(0); } to { transform: rotate(8deg) scale(1); } }

.lead {
  margin: 0 0 30px; max-width: 52ch;
  font-size: clamp(15px, 1.35vw, 18px); line-height: 1.65; color: var(--light);
}

/* Countdown */
.countdown {
  display: inline-flex; align-items: center; gap: clamp(6px, 1vw, 14px);
  margin-bottom: 28px;
}
.countdown__item {
  display: grid; justify-items: center; gap: 4px;
  min-width: clamp(58px, 7vw, 82px); padding: 12px 8px 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 4px 4px 0 rgba(7,27,61,.7);
  transition: transform .3s var(--ease-bounce);
}
.countdown__item:hover { transform: translateY(-4px); }
.countdown__num {
  font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.countdown__num.flip { animation: flip .35s var(--ease-out); }
@keyframes flip { 0% { transform: translateY(-8px); opacity: .3; } 100% { transform: translateY(0); opacity: 1; } }
.countdown__label { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--light); opacity: .8; }
.countdown__sep { font-weight: 800; font-size: 28px; color: var(--gold); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* Progress */
.progress { max-width: 460px; margin-bottom: 28px; }
.progress__head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.progress__value { color: var(--gold); font-variant-numeric: tabular-nums; }
.progress__track { height: 12px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.progress__fill {
  width: 0%; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
  transition: width 1.6s var(--ease-out);
  position: relative;
}
.progress__fill::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 8px, transparent 8px 16px);
  animation: stripes 1s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes stripes { to { background-position: 16px 0; } }
.progress__note { margin: 10px 0 0; font-size: 12px; color: var(--light); opacity: .8; }

/* Notify form */
.notify { max-width: 520px; margin-bottom: 22px; }
.notify__field {
  display: flex; gap: 8px; padding: 6px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px;
  transition: border-color .3s, box-shadow .3s;
}
.notify__field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217,162,27,.18); }
.notify__field input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  padding: 10px 16px; color: var(--white); font: inherit; font-size: 15px;
}
.notify__field input::placeholder { color: rgba(234,242,255,.55); }
.notify__msg { margin: 10px 0 0 16px; font-size: 13px; min-height: 18px; color: var(--gold-light); }
.notify.is-success .notify__field { border-color: #7BE495; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 99px; border: 0;
  font: inherit; font-weight: 800; font-size: 15px; letter-spacing: -.01em;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-bounce), box-shadow .3s, background .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 4px 4px 0 var(--navy-deep); }
.btn--gold:hover { background: var(--gold-light); box-shadow: 6px 6px 0 var(--navy-deep); }
.btn--gold .btn__icon { transition: transform .3s var(--ease-bounce); }
.btn--gold:hover .btn__icon { transform: translateX(4px); }

.btn--wa { background: var(--white); color: var(--navy); box-shadow: 4px 4px 0 var(--gold); }
.btn--wa:hover { box-shadow: 6px 6px 0 var(--gold); }

.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------------
   SHOWCASE — banner card
   --------------------------------------------------------------------- */
.showcase { position: relative; perspective: 1400px; }
.showcase__stage { position: relative; transform-style: preserve-3d; }

.banner-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.9);
  box-shadow: 14px 14px 0 var(--gold), 0 30px 80px rgba(0,0,0,.45);
  transform: rotate(-3deg);
  transition: transform .15s ease-out, box-shadow .4s;
  animation: cardIn 1.1s var(--ease-bounce) .6s both, cardFloat 7s ease-in-out 1.7s infinite;
  will-change: transform;
}
.banner-card img { width: 100%; height: auto; }
.banner-card__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: shine 6s ease-in-out 2.5s infinite;
}
@keyframes shine { 0%, 20% { transform: translateX(-120%); } 50%, 100% { transform: translateX(120%); } }
@keyframes cardIn { from { opacity: 0; transform: rotate(-12deg) translateY(60px) scale(.9); } to { opacity: 1; transform: rotate(-3deg) translateY(0) scale(1); } }
@keyframes cardFloat { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }

.showcase__stage.is-tilting .banner-card { animation: none; }

.tape {
  position: absolute; z-index: 3; width: 110px; height: 30px;
  background: rgba(217,162,27,.85);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  opacity: .95;
}
.tape::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 3px, transparent 3px 8px); }
.tape--tl { left: -30px; top: 14px; transform: rotate(-35deg); }
.tape--br { right: -30px; bottom: 14px; transform: rotate(-35deg); }

.float-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 99px;
  background: var(--white); color: var(--navy);
  font-size: 13px; font-weight: 800;
  box-shadow: 4px 4px 0 var(--navy-deep);
  animation: chipIn .7s var(--ease-bounce) both;
  white-space: nowrap;
}
.float-chip__icon { font-size: 16px; }
.float-chip--1 { left: -6%; top: -8%; animation-delay: 1.1s; }
.float-chip--2 { right: -4%; top: 18%; animation-delay: 1.3s; }
.float-chip--3 { left: 12%; bottom: -14%; animation-delay: 1.5s; background: var(--gold); }
@keyframes chipIn { from { opacity: 0; transform: scale(.4) rotate(-10deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

.asterisk { position: absolute; width: 52px; height: 52px; z-index: 2; animation: spinStar 12s linear infinite; }
.asterisk--1 { right: 6%; top: -16%; }
.sparkle { position: absolute; z-index: 2; animation: twinkle 3s ease-in-out infinite; }
.sparkle--1 { width: 34px; height: 34px; left: 72%; bottom: -8%; animation-delay: .6s; }
.sparkle--2 { width: 22px; height: 22px; left: -3%; top: 50%; animation-delay: 1.4s; }

/* ---------------------------------------------------------------------
   MARQUEE
   --------------------------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden;
  margin: 8px 0 24px calc(50% - 50vw); width: 100vw;
  padding: 14px 0;
  background: var(--gold); color: var(--navy);
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.marquee__track {
  display: flex; gap: 32px; width: max-content;
  font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--navy); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--light);
}
.footer__copy { margin: 0; opacity: .8; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  transition: all .3s var(--ease-bounce);
}
.socials a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-3px) rotate(-8deg); }

/* ---------------------------------------------------------------------
   TOAST
   --------------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 950;
  transform: translate(-50%, calc(100% + 60px));
  padding: 12px 20px; border-radius: 99px;
  background: var(--white); color: var(--navy); font-weight: 700; font-size: 14px;
  box-shadow: 4px 4px 0 var(--gold);
  transition: transform .5s var(--ease-bounce);
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ---------------------------------------------------------------------
   SCROLL / LOAD REVEAL
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 28px; }
  .showcase { order: -1; margin: 12px 8% 0; }
  .float-chip--1 { left: -4%; top: -12%; }
  .float-chip--3 { bottom: -16%; }
  .lead { max-width: none; }
}

@media (max-width: 600px) {
  .brand__word { font-size: 20px; }
  .status-pill__text { display: none; }
  .status-pill { padding: 8px 10px; }
  .headline { font-size: clamp(40px, 12vw, 56px); }
  .sticker, .sticker--rotate { position: static; display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 11px; transform: rotate(-6deg); }
  .headline__line { width: auto; }
  .showcase { margin: 24px 4% 0; }
  .float-chip { font-size: 11px; padding: 8px 11px; }
  .float-chip--1 { left: -2%; top: -14%; }
  .float-chip--2 { right: -2%; top: auto; bottom: -12%; }
  .float-chip--3 { display: none; }
  .banner-card { box-shadow: 8px 8px 0 var(--gold), 0 20px 50px rgba(0,0,0,.45); }
  .tape { width: 80px; height: 22px; }
  .countdown { width: 100%; justify-content: space-between; gap: 4px; }
  .countdown__item { min-width: 0; flex: 1; padding: 10px 4px 8px; }
  .countdown__sep { font-size: 20px; }
  .notify__field { flex-direction: column; border-radius: 24px; }
  .notify__field input { padding: 12px 14px; text-align: center; }
  .btn { width: 100%; }
  .cta { flex-direction: column; }
  .footer { justify-content: center; text-align: center; }
  .cursor, .cursor-glow { display: none; }
}

/* ---------------------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .split .ch { opacity: 1; transform: none; }
  .banner-card { transform: rotate(-3deg); }
  .cursor, .cursor-glow { display: none; }
}
