/* ===== AUFAA NET FINAL FIX STYLE ===== */

:root{
  --primary:#6d28d9;
  --accent:#fb923c;
  --dark:#020617;
  --card:#0f172a;
  --text:#e5e7eb;
}

*{margin:0;padding:0;box-sizing:border-box;font-family:Segoe UI,sans-serif}

body{
  background:
    radial-gradient(700px 400px at 20% -10%, rgba(109,40,217,.18), transparent 40%),
    radial-gradient(700px 400px at 80% 10%, rgba(251,146,60,.18), transparent 40%),
    var(--dark);
  color:var(--text);
}

/* NAVBAR */
.navbar{
  position:fixed;
  top:0;width:100%;
  background:rgba(2,6,23,.8);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:.3s;
  z-index:99;
}

.navbar.scrolled{
  background:rgba(2,6,23,.95);
  box-shadow:0 10px 30px rgba(0,0,0,.6);
}

.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

.nav-flex{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 0;
}

.logo{
  height:48px;
  width:auto;
}

.menu a{
  margin-left:22px;
  text-decoration:none;
  color:#c7d2fe;
  font-weight:500;
}

/* HERO */
.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  padding-top:120px;
  background:linear-gradient(135deg,#020617,#0f172a);
}

.hero-content{
  max-width:600px;
}

.hero h1{
  font-size:3rem;
  line-height:1.2;
}

.hero p{
  margin-top:15px;
  opacity:.85;
}

/* BUTTON */
.btn{
  display:inline-block;
  margin-top:30px;
  padding:15px 38px;
  border-radius:999px;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#000;
  font-weight:bold;
  text-decoration:none;
  box-shadow:0 15px 40px rgba(34,197,94,.5);
}

.btn.glow{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#fff;
}

/* SECTION */
.section{
  padding:120px 0;
}

.section.alt{
  background:rgba(15,23,42,.6);
}

.section h2{
  text-align:center;
  font-size:2.4rem;
  margin-bottom:60px;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:35px;
}

/* CARD */
.card{
  position:relative;
  background:linear-gradient(180deg,#0f172a,#020617);
  padding:35px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 60px rgba(0,0,0,.7);
}

.card.highlight{
  box-shadow:0 0 0 2px rgba(251,146,60,.9),0 40px 80px rgba(251,146,60,.4);
}

.price{
  font-size:2rem;
  margin:15px 0;
  color:var(--accent);
}

/* BADGE */
.badge{
  position:absolute;
  top:18px;
  right:18px;
  padding:6px 14px;
  border-radius:999px;
  background:var(--accent);
  color:#000;
  font-size:.75rem;
  font-weight:700;
}

/* CTA */
.cta{
  padding:120px 0;
  text-align:center;
  background:
    radial-gradient(600px 300px at center, rgba(251,146,60,.25), transparent 60%),
    var(--dark);
}

footer{
  text-align:center;
  padding:30px;
  opacity:.7;
}
/* =========================
   MOBILE RESPONSIVE FIX
   ========================= */
@media (max-width: 768px){

  /* NAVBAR */
  .nav-flex{
    flex-direction:column;
    gap:10px;
  }

  .menu{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
  }

  /* HERO */
  .hero{
    min-height:auto;
    padding:120px 0 80px;
  }

  .hero-content{
    max-width:100%;
    text-align:center;
  }

  .hero h1{
    font-size:2rem;
  }

  .hero p{
    font-size:0.95rem;
  }

  /* GRID */
  .grid{
    grid-template-columns:1fr;
  }

  /* CARD */
  .card{
    padding:25px;
  }

  /* SECTION */
  .section{
    padding:80px 0;
  }

  /* BUTTON */
  .btn{
    padding:14px 30px;
    font-size:0.95rem;
  }

}
/* RAPETIN CARD VOUCHER */
.card.voucher{
  padding:30px 32px;   /* sebelumnya 35px */
}

/* JUDUL */
.card.voucher h3{
  margin-bottom:12px;
}

/* TEKS VOUCHER */
.voucher-title{
  margin:10px 0 20px;  /* sebelumnya 20px 0 30px */
}

/* BUTTON */
.card.voucher .btn.buy{
  margin-top:5px;
  padding:14px 36px;
}
/* ===== HOVER MOVE EFFECT ===== */
.card{
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform;
}

/* Hover umum semua card */
.card:hover{
  transform: translateY(-10px);
  box-shadow:
    0 40px 80px rgba(0,0,0,.8),
    0 0 40px rgba(251,146,60,.25);
}

/* Hover khusus card voucher (lebih hidup) */
.card.voucher:hover{
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 50px 100px rgba(0,0,0,.9),
    0 0 60px rgba(251,146,60,.45);
}

/* Tombol ikut naik dikit */
.card:hover .btn.buy{
  transform: translateY(-2px);
}
/* ===== BUTTON BUY INTERACTION ===== */
.btn.buy{
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  will-change: transform;
}

/* Hover tombol */
.btn.buy:hover{
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 15px 35px rgba(34,197,94,.6),
    0 0 25px rgba(34,197,94,.45);
}

/* Hover card → tombol ikut naik dikit */
.card.voucher:hover .btn.buy{
  transform: translateY(-3px) scale(1.02);
}

/* Klik (active) */
.btn.buy:active{
  transform: translateY(0) scale(0.97);
  box-shadow:
    0 8px 20px rgba(0,0,0,.6);
}

/* ===== PREMIUM BUY BUTTON ===== */
.btn.buy{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

/* Arrow animasi */
.btn.buy .arrow{
  transition:transform .25s ease;
  font-style:normal;
}

/* Hover */
.btn.buy:hover{
  transform:translateY(-4px) scale(1.05);
  box-shadow:
    0 18px 40px rgba(34,197,94,.6),
    0 0 30px rgba(34,197,94,.5);
}

.btn.buy:hover .arrow{
  transform:translateX(6px);
}

/* Klik */
.btn.buy:active{
  transform:scale(.96);
}

/* RIPPLE EFFECT */
.btn.buy::after{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  background:rgba(255,255,255,.6);
  border-radius:50%;
  transform:scale(0);
  opacity:0;
  pointer-events:none;
}

.btn.buy.ripple::after{
  animation:ripple .6s ease-out;
}

@keyframes ripple{
  0%{
    transform:scale(0);
    opacity:.8;
  }
  100%{
    transform:scale(15);
    opacity:0;
  }
}

/* ===== GLOBAL BUTTON INTERACTION ===== */
.btn{
  position:relative;
  overflow:hidden;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
  will-change: transform;
}

/* Hover semua tombol */
.btn:hover{
  transform:translateY(-4px) scale(1.04);
  filter:brightness(1.05);
  box-shadow:
    0 18px 40px rgba(0,0,0,.45);
}

/* Klik */
.btn:active{
  transform:scale(.96);
}

/* Ripple GLOBAL */
.btn::after{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  background:rgba(255,255,255,.5);
  border-radius:50%;
  transform:scale(0);
  opacity:0;
  pointer-events:none;
}

.btn.ripple::after{
  animation:ripple .6s ease-out;
}
@media (max-width:768px){
  .btn{
    transition:transform .15s ease;
  }

  .btn:active{
    transform:scale(.94);
  }
}

