/* =========================
PREMIUM DESIGN SYSTEM (UPGRADED)
========================= */

:root{
  --primary:#4f46e5;
  --primary-dark:#3730a3;
  --accent:#22c55e;
  --dark:#0b1220;
  --text:#0f172a;
  --muted:#64748b;
  --bg:#f6f8ff;
  --card:#ffffff;

  --radius:22px;

  --shadow:0 12px 35px rgba(15,23,42,.08);
  --shadow-hover:0 25px 60px rgba(15,23,42,.15);
}

/* =========================
GLOBAL
========================= */

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

a{text-decoration:none;}

/* =========================
SECTION
========================= */

.section{
  padding:90px 0;
}

/* =========================
NAVBAR (CLEAN PREMIUM)
========================= */

.navbar{
  background:rgba(255,255,255,.7);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(0,0,0,.06);
  padding:14px 0;
  transition:.3s;
}

.navbar-brand{
  font-weight:800;
  font-size:22px;
  color:var(--primary)!important;
}

.nav-link{
  font-weight:500;
  color:var(--text)!important;
  margin-left:14px;
  position:relative;
  opacity:.85;
}

.nav-link:hover{
  opacity:1;
}

/* underline anim */
.nav-link::after{
  content:"";
  position:absolute;
  bottom:-4px;
  left:0;
  width:0%;
  height:2px;
  background:var(--primary);
  transition:.3s;
}

.nav-link:hover::after{
  width:100%;
}

/* =========================
HERO (SOFT PREMIUM)
========================= */

.hero{
  padding:150px 0 110px;
  background:radial-gradient(circle at top,#4f46e5,#0b1220);
  color:#fff;
  text-align:center;
}

.hero h1{
  font-size:44px;
  font-weight:800;
  line-height:1.15;
}

.hero p{
  max-width:720px;
  margin:15px auto 0;
  font-size:15px;
  opacity:.9;
}

/* =========================
BUTTON MAIN
========================= */

.btn-main{
  background:linear-gradient(135deg,var(--accent),#16a34a);
  color:#fff;
  padding:14px 28px;
  border-radius:14px;
  font-weight:700;
  border:none;
  transition:.3s;
  box-shadow:0 12px 30px rgba(34,197,94,.25);
}

.btn-main:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 45px rgba(34,197,94,.35);
  color:#fff;
}

/* =========================
PRODUCT CARD
========================= */

.product-card,
.premium-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid rgba(0,0,0,.05);
  transition:.35s;
  overflow:hidden;
  height:100%;
}

.product-card:hover,
.premium-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-hover);
}

/* =========================
🔥 CAROUSEL FIX (NO CROP + CLEAN LOOK)
========================= */

/* container carousel */
.carousel-inner{
  background:#f1f5f9;
  border-radius:18px;
  padding:10px;
}

/* ⭐ INI FIX UTAMA (ANTI POTONG TOTAL) */
.product-img,
.img-box img{
  width:100%;
  height:320px;

  object-fit:contain;   /* penting: tidak terpotong */
  object-position:center;

  background:#fff;
  border-radius:14px;
  padding:10px;

  display:block;
}

/* hover smooth zoom */
.carousel-item img{
  transition:transform .35s ease;
}

.carousel-item:hover img{
  transform:scale(1.03);
}

/* =========================
CAROUSEL NAV BUTTON
========================= */

.carousel-control-prev-icon,
.carousel-control-next-icon{
  background-color:rgba(0,0,0,.35);
  border-radius:50%;
  padding:12px;
}

/* =========================
FEATURE LIST
========================= */

.feature-list{
  list-style:none;
  padding:0;
  margin:15px 0;
  text-align:left;
}

.feature-list li{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
  font-size:14px;
  color:var(--text);
}

.feature-list i{
  color:var(--accent);
}

/* =========================
PRICE (CLEAN PREMIUM)
========================= */

.product-price{
  font-size:26px;
  font-weight:800;
  color:var(--primary);
}

/* =========================
BUTTONS
========================= */

.btn-outline-primary{
  border-radius:12px;
  font-weight:600;
}

.btn-success{
  background:linear-gradient(135deg,var(--accent),#16a34a);
  border:none;
  border-radius:12px;
  font-weight:700;
  transition:.3s;
}

.btn-success:hover{
  transform:translateY(-3px);
}

/* =========================
TESTIMONI
========================= */

#testi .card{
  border:none;
  border-radius:18px;
  box-shadow:var(--shadow);
  transition:.3s;
}

#testi .card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-hover);
}

/* =========================
FAQ
========================= */

.accordion-item{
  border:none;
  border-radius:14px!important;
  margin-bottom:12px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.accordion-button{
  font-weight:600;
}

/* =========================
WHATSAPP FLOAT
========================= */

.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  width:60px;
  height:60px;
  background:var(--accent);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:24px;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
  transition:.3s;
  z-index:9999;
}

.whatsapp:hover{
  transform:scale(1.1);
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:768px){

.hero h1{
  font-size:28px;
}

.section{
  padding:70px 0;
}

/* 🔥 FIX MOBILE CAROUSEL */
.product-img,
.img-box img{
  height:220px;
  padding:8px;
}
}


/* =========================
IMAGE ZOOM LIGHTBOX (PREMIUM)
========================= */

.lightbox{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
  backdrop-filter:blur(6px);
}

.lightbox img{
  max-width:90%;
  max-height:90%;
  border-radius:16px;
  box-shadow:0 20px 80px rgba(0,0,0,.6);
  transform:scale(.9);
  animation:zoomIn .25s ease forwards;
}

@keyframes zoomIn{
  to{
    transform:scale(1);
  }
}

.lightbox.show{
  display:flex;
}

/* cursor zoom effect */
.product-img{
  cursor:zoom-in;
}



.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
}

.lightbox.show{
  display:flex;
}

.lightbox img{
  max-width:90%;
  max-height:90%;
  border-radius:14px;
}

/* nav button */
.lightbox .nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:40px;
  color:#fff;
  cursor:pointer;
  user-select:none;
  padding:10px;
}

.lightbox .prev{
  left:20px;
}

.lightbox .next{
  right:20px;
}




/* =========================
   REKOMENDASI HOSTING SECTION
   FINAL CLEAN VERSION
========================= */

#hosting {
  background: linear-gradient(180deg, #f8f9ff, #ffffff);
  padding: 80px 0;
}

/* Card artikel */
#hosting .card {
  border-radius: 16px;
  background: #fff;
  transition: 0.3s ease;
}

#hosting .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Hosting product card */
#hosting .product-card {
  border: none;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

#hosting .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

/* Judul hosting */
#hosting h5 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Text kecil */
#hosting p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* List fitur */
#hosting ul {
  padding-left: 18px;
  margin-top: 10px;
}

#hosting ul li {
  font-size: 13px;
  margin-bottom: 6px;
  color: #555;
}

/* Button */
#hosting .btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: none;
  border-radius: 10px;
  font-weight: 500;
  transition: 0.3s;
}

#hosting .btn-primary:hover {
  transform: scale(1.05);
}

/* =========================
   RIBBON BADGE (REKOMENDASI)
========================= */

.ribbon-badge {
  position: absolute;
  top: 15px;
  left: -10px;
  background: linear-gradient(135deg, #ff4d4d, #ff1a75);
  color: #fff;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  transform: rotate(-15deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 6px;
  z-index: 10;
}

.ribbon-badge::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 10px;
  border-width: 6px;
  border-style: solid;
  border-color: #c4004d transparent transparent transparent;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #hosting {
    padding: 50px 0;
  }
}

/* =========================
   PREMIUM INFO BOX HOSTING
========================= */

.premium-info-box {
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f7f9ff);
  transition: 0.3s ease;
}

.premium-info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Step box */
.info-step {
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.info-step:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-step h5 {
  margin-bottom: 5px;
  font-size: 16px;
}

.info-step p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* =========================
   PREMIUM FOOTER (SYNC HEADER)
========================= */

footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  padding: 60px 0 30px;
  position: relative;
  text-align: center;
}

/* Garis pemisah glow */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4f46e5, transparent);
}

/* Judul footer */
footer h4 {
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* Text */
footer p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 5px;
}

/* Link jika nanti kamu tambah menu footer */
footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: #ffffff;
}

/* Footer bottom text */
footer .copyright {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Optional: efek hover halus */
footer:hover {
  background: linear-gradient(135deg, #0b1220, #1e293b);
}




.ribbon-left{
    position:absolute;
    top:10px;
    left:10px;
    background:#0d6efd;
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:6px 12px;
    border-radius:20px;
    z-index:2;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

.ribbon-right{
    position:absolute;
    top:10px;
    right:10px;
    background:#ff9800;
    color:#fff;
    font-size:11px;
    font-weight:700;
    padding:6px 12px;
    border-radius:20px;
    z-index:2;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}