/* Visual treatment for the existing price catalogue; checkout behavior stays in index.html. */
#harga{
  --price-violet:#6154ec;
  --price-pink:#db2777;
  --price-amber:#d98b00;
  max-width:none;
  width:100%;
  padding-inline:max(30px,calc((100% - 1120px)/2));
  background:linear-gradient(145deg,#f9f7fc 0%,#f6f4fa 55%,#faf5fb 100%);
  border-top:2px solid #d8cdec;
}
#harga .eyebrow{color:#5d4fc4}
#harga .eyebrow::before{background:#7568d8}
#harga .price-grid{align-items:stretch}
#harga .price-card{
  --card-accent:var(--price-violet);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:264px;
  background:linear-gradient(155deg,var(--paper) 70%,#f5f2ff);
  box-shadow:0 10px 28px #29204b0b,inset 0 2px var(--card-accent);
  transition:transform .26s ease,box-shadow .26s ease,border-color .26s ease;
}
#harga .price-card.entry{border-width:1px}
#harga .price-card:nth-child(2){--card-accent:var(--price-pink);background:linear-gradient(155deg,var(--paper) 70%,#fff2f8)}
#harga .price-card:nth-child(3){--card-accent:var(--price-amber);background:linear-gradient(155deg,var(--paper) 70%,#fff8e9)}
#harga .price-card::before{
  position:absolute;
  top:11px;
  right:20px;
  z-index:0;
  font-size:69px;
  font-weight:800;
  line-height:1;
  letter-spacing:-.09em;
  color:var(--card-accent);
  opacity:.16;
  transform:rotate(-8deg);
  pointer-events:none;
  animation:price-number-float 5s ease-in-out infinite;
}
#harga .price-card:nth-child(1)::before{content:"03"}
#harga .price-card:nth-child(2)::before{content:"06";animation-delay:-1.7s}
#harga .price-card:nth-child(3)::before{content:"12";animation-delay:-3.3s}
#harga .price-card::after{
  content:"";
  position:absolute;
  z-index:0;
  width:160px;
  height:160px;
  top:-92px;
  right:-78px;
  border:1px solid var(--card-accent);
  border-radius:50%;
  opacity:.18;
  pointer-events:none;
}
#harga .price-card>*{position:relative;z-index:1}
#harga .price-card .label{background:color-mix(in srgb,var(--card-accent) 12%,var(--paper));color:var(--card-accent)}
#harga .price-card .amount{color:var(--ink)}
#harga .price-card p{margin-bottom:4px}
#harga .price-card .btn{
  color:var(--ink);
  border-color:color-mix(in srgb,var(--card-accent) 32%,var(--line));
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
@media(hover:hover){
  #harga .price-card:hover{transform:translateY(-6px);border-color:var(--card-accent);box-shadow:0 22px 44px #29204b22,inset 0 2px var(--card-accent)}
  #harga .price-card:hover .btn{background:var(--violet);border-color:var(--violet);color:#fff}
}
#harga .price-card:focus-within{border-color:var(--card-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--card-accent) 25%,transparent),0 18px 38px #29204b20}
#harga .price-card .btn:focus-visible{background:var(--violet);border-color:var(--violet);color:#fff}
#harga .price-card .price-mascot{
  position:absolute;
  z-index:2;
  top:38px;
  right:8px;
  width:var(--sg-size,104px);
  opacity:0;
  pointer-events:none;
  transform:translateY(32px) scale(.46) rotate(13deg);
  transform-origin:50% 100%;
  transition:transform .48s cubic-bezier(.2,1.45,.3,1),opacity .2s ease;
}
#harga .price-card:nth-child(3) .price-mascot{--sg-size:124px;top:26px;right:0}
#harga .price-card .price-mascot::before,
#harga .price-card .price-mascot::after{
  content:"✦";
  position:absolute;
  z-index:3;
  color:var(--card-accent);
  font-size:18px;
  line-height:1;
  opacity:0;
  transform:scale(.2) rotate(-25deg);
}
#harga .price-card .price-mascot::before{top:6px;left:-10px}
#harga .price-card .price-mascot::after{top:24px;right:-5px;font-size:12px}
#harga .price-card:nth-child(3) .price-mascot::after{
  content:"🥹";
  top:2px;
  right:1px;
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  border-radius:50%;
  background:var(--paper);
  border:1px solid var(--line);
  box-shadow:0 5px 12px #211a5924;
  font-size:19px;
}
#harga .price-card .price-mascot .sg-body{animation:none}
#harga .price-card:focus-within .price-mascot{opacity:1;transform:translateY(0) scale(1) rotate(0)}
#harga .price-card:focus-within .price-mascot::before,
#harga .price-card:focus-within .price-mascot::after{animation:price-spark .5s .18s ease-out both}
@media(hover:hover){
  #harga .price-card:hover .price-mascot{opacity:1;transform:translateY(0) scale(1) rotate(0)}
  #harga .price-card:hover .price-mascot::before,
  #harga .price-card:hover .price-mascot::after{animation:price-spark .5s .18s ease-out both}
  #harga .price-card:hover::before{opacity:.06}
}
#harga[data-visible="true"] .price-card:is(:hover,:focus-within) .price-mascot .sg-body{animation:sg-float 2.8s ease-in-out infinite}

#harga .registration{
  position:relative;
  overflow:hidden;
  background:linear-gradient(130deg,#e9e3ff 0%,#f1e7ff 58%,#fae3f0 100%);
  border:1px solid #d8c9f6;
  box-shadow:0 14px 34px #29204b0c;
}
#harga .registration h3{position:relative;z-index:1}
#harga .registration ol{counter-reset:register-step;gap:14px;padding:0;list-style:none}
#harga .registration li{
  counter-increment:register-step;
  position:relative;
  min-width:0;
  padding:18px 18px 18px 58px;
  border:1px solid #e7dff5;
  border-radius:14px;
  background:rgba(255,255,255,.78);
  box-shadow:0 8px 20px #302b570a;
  transition:transform .24s ease,box-shadow .24s ease;
}
#harga .registration li::before{
  content:counter(register-step,decimal-leading-zero);
  position:absolute;
  top:17px;
  left:16px;
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  border-radius:10px;
  background:#e7e3ff;
  color:#4338ca;
  font-size:11px;
  font-weight:800;
}
#harga .registration li:nth-child(2)::before{background:#fce0ef;color:#9d1458}
#harga .registration li:nth-child(3)::before{background:#fff0c7;color:#845300}
#harga .registration li strong{display:block;line-height:1.45;color:var(--ink)}
#harga .registration li span{line-height:1.55}
@media(hover:hover){#harga .registration li:hover{transform:translateY(-3px);box-shadow:0 13px 28px #302b571b}}
#harga .registration>p{position:relative;z-index:1}

html[data-theme="dark"] #harga .price-card{background:linear-gradient(155deg,#343149 62%,#3b3353);border-color:#655d82}
html[data-theme="dark"] #harga{background:linear-gradient(145deg,#24243a 0%,#25243b 55%,#29243d 100%);border-top-color:#5b527c}
html[data-theme="dark"] #harga .eyebrow{color:#c9beff}
html[data-theme="dark"] #harga .eyebrow::before{background:#a99bff}
html[data-theme="dark"] #harga .price-card:nth-child(2){background:linear-gradient(155deg,#362f46 62%,#403149)}
html[data-theme="dark"] #harga .price-card:nth-child(3){background:linear-gradient(155deg,#39343f 62%,#443b3f)}
html[data-theme="dark"] #harga .price-card .label{background:color-mix(in srgb,var(--card-accent) 24%,var(--paper));color:#e6deff}
html[data-theme="dark"] #harga .registration{background:linear-gradient(130deg,#39315c,#3b294c 65%,#4b2b42);border-color:#67557e}
html[data-theme="dark"] #harga .registration li{background:rgba(30,30,46,.82);border-color:#48405d}
html[data-theme="dark"] #harga .registration li::before{background:#3b3572;color:#e7e3ff}
html[data-theme="dark"] #harga .registration li:nth-child(2)::before{background:#593049;color:#ffd5e9}
html[data-theme="dark"] #harga .registration li:nth-child(3)::before{background:#594423;color:#ffe2a0}

@media(max-width:700px){
  #harga .price-card{min-height:250px}
  #harga .registration li{padding:17px 16px 17px 57px}
}
@media(max-width:580px){#harga{padding-inline:20px}}
@keyframes price-number-float{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-5px) rotate(-4deg)}}
@keyframes price-spark{0%{opacity:0;transform:scale(.2) rotate(-25deg)}65%{opacity:1;transform:scale(1.3) rotate(15deg)}100%{opacity:.9;transform:scale(1) rotate(0)}}
#harga:not([data-visible="true"]) .price-card::before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){
  #harga .price-card,#harga .price-card .btn,#harga .registration li{transition:none!important}
  #harga .price-card::before{animation:none!important}
  #harga .price-card .price-mascot{transition:none!important}
  #harga .price-card .price-mascot::before,#harga .price-card .price-mascot::after,#harga .price-card .price-mascot .sg-body{animation:none!important}
  #harga .price-card:is(:hover,:focus-within) .price-mascot::before,#harga .price-card:is(:hover,:focus-within) .price-mascot::after{opacity:1;transform:none}
}
