*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --green:#0f766e;
  --green-dark:#052e2c;
  --green-soft:#ecfdf5;
  --gold:#d4af37;
  --gold-dark:#b8860b;
  --text:#263238;
  --muted:#334155;
  --white:#ffffff;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  line-height:1.8;
  background:
    radial-gradient(circle at 12% 8%,rgba(45,212,191,.16),transparent 34%),
    radial-gradient(circle at 88% 18%,rgba(212,175,55,.12),transparent 30%),
    radial-gradient(circle at 85% 85%,rgba(15,118,110,.10),transparent 34%),
    linear-gradient(180deg,#f4fbfa 0%,#ffffff 58%,#f8fafc 100%);
  background-size:140% 140%;
  animation:bgMove 16s ease-in-out infinite alternate;
}

/* Noise halus premium */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.025;
  z-index:-1;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* Aurora background */
body::before{
  content:"";
  position:fixed;
  width:700px;
  height:700px;
  border-radius:50%;
  background:var(--green);
  opacity:.07;
  filter:blur(120px);
  top:-220px;
  left:-220px;
  animation:auroraMove 22s ease-in-out infinite alternate;
  z-index:-2;
}

.container{
  width:min(940px,92%);
  margin:auto;
}

/* Progress bar */
#progress{
  position:fixed;
  top:0;
  left:0;
  height:4px;
  width:0;
  background:linear-gradient(90deg,var(--green),#13b5a6,var(--gold));
  z-index:99999;
}

/* Header */
.site-header{
  position:relative;
  overflow:hidden;
  padding:54px 0 46px;
  color:#fff;
  background:
    linear-gradient(135deg,rgba(5,46,44,.96),rgba(15,118,110,.96)),
    url("../img/banner.webp") center/cover;
  box-shadow:0 26px 70px rgba(5,46,44,.28);
  animation:fadeUp .8s ease both;
}

.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.18)),
    repeating-linear-gradient(45deg,rgba(255,255,255,.035) 0 1px,transparent 1px 14px);
}

.site-header::after{
  content:"QRIS SAFETY";
  position:absolute;
  right:-18px;
  bottom:-20px;
  font-size:72px;
  font-weight:900;
  letter-spacing:.08em;
  color:rgba(255,255,255,.06);
}

.header-wrap{
  position:relative;
  z-index:2;
  display:flex;
  gap:24px;
  align-items:center;
}

.logo{
  width:110px;
  height:110px;
  border-radius:28px;
  object-fit:cover;
  background:rgba(255,255,255,.94);
  padding:10px;
  border:1px solid rgba(255,255,255,.6);
  box-shadow:0 16px 38px rgba(0,0,0,.28);
  animation:logoGlow 5s ease-in-out infinite;
}

.site-label{
  position:relative;
  overflow:hidden;
  display:inline-block;
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
}

.site-label::after{
  content:"";
  position:absolute;
  top:0;
  left:-80%;
  width:50%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);
  animation:shimmer 3.6s ease-in-out infinite;
}

h1{
  font-size:clamp(30px,5vw,48px);
  line-height:1.14;
  max-width:850px;
  text-wrap:balance;
}

.lead{
  margin-top:16px;
  font-size:18px;
  max-width:760px;
  opacity:.94;
}

/* Article */
.article-card{
  position:relative;
  overflow:hidden;
  margin-top:-34px;
  padding:30px;
  border-radius:28px;
  box-shadow:0 20px 60px rgba(15,23,42,.14);
  border:2px solid transparent;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(45deg,var(--green),#13b5a6,var(--gold),var(--green)) border-box;
  background-size:100% 100%,400% 400%;
  animation:fadeUp .8s ease both, borderMove 14s linear infinite;
  transition:transform .45s ease, box-shadow .45s ease;
}

.article-card:hover{
  transform:translateY(-6px);
  box-shadow:0 36px 70px rgba(15,118,110,.18);
}

.article-card::before{
  content:"Panduan Keamanan QRIS";
  display:inline-block;
  margin-bottom:22px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--green-soft);
  color:var(--green);
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
}

.article-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.32),rgba(255,255,255,0) 38%);
  pointer-events:none;
}

/* Hero image */
.hero{
  position:relative;
  overflow:hidden;
  margin-bottom:32px;
  border-radius:24px;
  animation:floating 10s ease-in-out infinite;
}

.hero::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:60%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);
  transform:skewX(-25deg);
  animation:shine 9s ease-in-out infinite;
  z-index:2;
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto 22px -12px 22px;
  height:28px;
  background:rgba(15,118,110,.18);
  filter:blur(18px);
  border-radius:50%;
  z-index:-1;
}

.hero img{
  width:100%;
  display:block;
  border-radius:24px;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid rgba(15,118,110,.18);
  transition:transform .45s ease, box-shadow .45s ease;
}

.hero img:hover{
  transform:scale(1.018);
  box-shadow:0 22px 50px rgba(15,118,110,.22);
}

/* Content */
article h2{
  position:relative;
  display:inline-block;
  font-size:27px;
  line-height:1.35;
  margin:38px 0 14px;
  color:var(--green);
  padding-left:18px;
  transition:color .3s ease, transform .3s ease;
}

article h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.28em;
  width:5px;
  height:1.25em;
  border-radius:999px;
  background:linear-gradient(180deg,var(--green),var(--gold));
}

article h2::after{
  content:"";
  position:absolute;
  left:18px;
  bottom:-8px;
  width:0;
  height:3px;
  background:var(--gold);
  transition:.45s;
}

article h2:hover{
  color:var(--gold-dark);
  transform:translateX(4px);
}

article h2:hover::after{
  width:calc(100% - 18px);
}

article p{
  position:relative;
  z-index:1;
  font-size:17px;
  margin-bottom:18px;
  color:var(--muted);
}

article p:first-of-type{
  font-size:18px;
  color:#1f2937;
}

article p:nth-of-type(2){
  padding:20px;
  border-left:4px solid var(--gold);
  background:linear-gradient(90deg,#fffbeb,#ffffff);
  border-radius:0 16px 16px 0;
}

article p:last-of-type{
  margin-top:28px;
  padding:22px;
  border-radius:20px;
  background:linear-gradient(135deg,var(--green),#115e59);
  color:#fff;
}

/* Reveal animation */
.reveal{
  opacity:0;
  transform:translateY(60px);
  transition:.8s ease;
}

.reveal.active{
  opacity:1;
  transform:none;
}

/* Footer */
.site-footer{
  text-align:center;
  padding:38px 20px;
  color:#64748b;
  font-size:14px;
}

/* Animations */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(24px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes logoGlow{
  0%,100%{
    box-shadow:0 16px 38px rgba(0,0,0,.28);
  }
  50%{
    box-shadow:0 18px 46px rgba(212,175,55,.32);
  }
}

@keyframes bgMove{
  from{
    background-position:left top;
  }
  to{
    background-position:right bottom;
  }
}

@keyframes shimmer{
  0%{
    left:-80%;
  }
  100%{
    left:130%;
  }
}

@keyframes auroraMove{
  0%{
    transform:translate(0,0);
  }
  100%{
    transform:translate(140px,90px);
  }
}

@keyframes borderMove{
  0%{
    background-position:0 0,0 50%;
  }
  100%{
    background-position:0 0,400% 50%;
  }
}

@keyframes floating{
  0%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-7px);
  }
  100%{
    transform:translateY(0);
  }
}

@keyframes shine{
  0%{
    left:-120%;
  }
  55%{
    left:180%;
  }
  100%{
    left:180%;
  }
}

/* Mobile */
@media(max-width:640px){
  .site-header{
    padding:34px 0 40px;
  }

  .site-header::after{
    font-size:42px;
  }

  .header-wrap{
    display:block;
  }

  .logo{
    width:86px;
    height:86px;
    margin-bottom:18px;
    border-radius:22px;
  }

  .article-card{
    padding:20px;
    border-radius:20px;
  }

  .hero{
    border-radius:18px;
  }

  .hero img{
    border-radius:18px;
  }

  article h2{
    font-size:23px;
  }

  article p{
    font-size:16px;
  }

  article p:nth-of-type(2),
  article p:last-of-type{
    padding:16px;
  }
}

/* Kurangi animasi pada device/user yang sensitif */
@media (prefers-reduced-motion: reduce){
  *{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}