:root {
  /* LIGHT MODE VARIABLES */
  --bg-0: #f8fafc; 
  --bg-1: #e2e8f0;

  --glass-hi: rgba(255, 255, 255, 0.65);
  --glass-lo: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-hover-bg: rgba(255, 255, 255, 0.85);
  --glass-hover-border: rgba(255, 255, 255, 0.9);

  --ink: #0f172a; 
  --ink-soft: #475569; 
  --ink-faint: #94a3b8;

  --blue: #2563eb; 
  --violet: #7c3aed; 
  --cyan: #06b6d4;

  --blob-a-core: #e0e7ff; 
  --blob-b-core: #ede9fe; 
  --blob-c-core: #cffafe; 

  --icon-glass-hi: rgba(255, 255, 255, 0.9);
  --icon-glass-lo: rgba(255, 255, 255, 0.4);

  --glass-blur: blur(40px) saturate(200%);
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --r-lg: 32px; --r-md: 24px; --r-sm: 16px;
  --display: 'Space Grotesk', sans-serif; 
  --body: 'Plus Jakarta Sans', sans-serif; 
  --mono: 'JetBrains Mono', monospace;
}

/* RESET & BODY */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body { 
  font-family: var(--body); color: var(--ink); background: var(--bg-0); 
  overflow-x:hidden; position:relative; -webkit-font-smoothing:antialiased;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, select { user-select: auto; -webkit-user-select: auto; }
::selection { background: rgba(37, 99, 235, 0.2); }

/* AMBIENT BACKGROUND */
.ambient { position:fixed; inset:0; z-index:0; pointer-events:none; background: #f1f5f9; }
.blob { position:absolute; border-radius:50%; filter: blur(90px); opacity:0.8; }
.blob-a { width:600px; height:600px; top:-100px; left:-150px; background: radial-gradient(circle, var(--blob-a-core), var(--cyan) 80%); animation: floatAround1 25s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.blob-b { width:550px; height:550px; top:20%; right:-150px; background: radial-gradient(circle, var(--blob-b-core), var(--blue) 80%); animation: floatAround2 30s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.blob-c { width:500px; height:500px; bottom:-100px; left:20%; background: radial-gradient(circle, var(--blob-c-core), var(--violet) 80%); opacity:0.6; animation: floatAround3 28s infinite cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes floatAround1 { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(150px, 100px) scale(1.1); } 66% { transform: translate(-50px, 200px) scale(0.9); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes floatAround2 { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-150px, -100px) scale(1.1); } 66% { transform: translate(50px, -200px) scale(0.9); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes floatAround3 { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(100px, -150px) scale(1.1); } 66% { transform: translate(-100px, 50px) scale(0.9); } 100% { transform: translate(0, 0) scale(1); } }

/* STRUKTUR UTAMA */
main, header, footer { position:relative; z-index:1; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 3%; }

/* GLASSMORPHISM BASE */
.glass {
  background: linear-gradient(135deg, var(--glass-hi), var(--glass-lo));
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 0.5px solid var(--glass-border); box-shadow: var(--shadow-glass);
  border-radius: var(--r-lg);
  transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.glass-hover { background: var(--glass-lo); border: 0.5px solid var(--glass-border); }
.glass-hover:hover { transform: translateY(-5px); background: var(--glass-hover-bg); border-color: var(--glass-hover-border); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* TYPOGRAPHY */
.eyebrow { font-family: var(--mono); font-size: clamp(11px, 2vw, 13px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); display:flex; align-items:center; gap:8px; font-weight: 600; margin-bottom: 8px;}
.section-title { font-family:var(--display); font-size: clamp(28px, 5vw, 42px); font-weight:700; letter-spacing:-0.03em; margin-bottom: 30px; line-height: 1.2;}

/* BUTTONS */
.btn { font-family:var(--body); font-weight:700; font-size:15px; padding:16px 32px; border-radius: 999px; border:none; cursor:pointer; display:inline-flex; align-items:center; justify-content: center; gap:8px; text-decoration:none; transition: all .3s ease; text-align: center; }
.btn-primary { color:#fff; background: var(--ink); box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(15, 23, 42, 0.25); background: var(--blue); color: #fff;}
.btn-glass { color: var(--ink); background: var(--glass-hi); border: 0.5px solid var(--glass-border); backdrop-filter: blur(10px); }
.btn-glass:hover { background: var(--glass-hover-bg); border-color: var(--glass-hover-border); transform: translateY(-3px); }

/* TOP NAVBAR */
.nav { position: sticky; top: 16px; z-index: 998; margin-bottom: -16px; transition: transform 0.4s cubic-bezier(0.3, 1, 0.2, 1); }
.nav.nav-hidden { transform: translateY(-150%); } 
.nav-inner { padding:14px 24px; display:flex; align-items:center; justify-content:space-between; border-radius: 999px; position: relative;}
.brand { display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:700; font-size:20px; color: var(--ink); z-index: 1000;}
.brand-logo { width: 36px; height: 36px; object-fit: contain; display: block; }
.brand i { font-size: 26px; color: var(--blue); }
.nav-links { display:flex; gap:32px; list-style:none; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration:none; font-size:14px; font-weight:600; transition:color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.top-cta { padding: 10px 24px; font-size: 13px; }

/* AUTO LAYOUT (GRID UMUM) */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin-top: 30px; }
.about-grid, .contact-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); gap: 40px; align-items: stretch; padding: clamp(20px, 5vw, 40px); }

/* =======================================
   PRICING TABLE (HARGA & PAKET) - LIQUID GLASS
   ======================================= */
.pricing-section { padding: 80px 0 40px; }

/* Memaksa grid menjadi 3 kolom sejajar di Desktop */
.pricing-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px; 
  align-items: stretch; 
  margin-top: 50px; 
}

.pricing-card { 
  padding: 40px 30px; 
  border-radius: var(--r-md); 
  display: flex; 
  flex-direction: column; 
  position: relative; 
  /* Efek Liquid Glass Murni */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 { font-family: var(--display); font-size: 24px; color: var(--ink); margin-bottom: 8px;}
.pricing-card p.desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 30px; line-height: 1.5; }

.pricing-card .price { font-family: var(--display); font-size: 42px; font-weight: 700; color: var(--ink); margin-bottom: 30px; display: flex; align-items:baseline; gap: 4px; }
.pricing-card .price span { font-size: 16px; font-weight: 600; color: var(--ink-faint); margin-bottom: 4px; }

/* FIX: Menghapus List Style & Bullet Points Bawaan */
.pricing-card .features { 
  list-style-type: none !important; 
  padding-left: 0 !important; 
  margin: 0 0 40px 0; 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
  flex-grow: 1; /* Mendorong tombol selalu ke paling bawah */
}

.pricing-card .features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink); line-height: 1.5; font-weight: 500;}
.pricing-card .features i { font-size: 22px; flex-shrink: 0; margin-top: 1px; }

.pricing-card .btn { margin-top: auto; }

/* KARTU PALING DIMINATI (BIRU GLASS) */
.pricing-card.popular { 
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(99, 102, 241, 0.8)); 
  border: 1px solid rgba(255,255,255,0.4); 
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
  color: white;
}

.badge-popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f43f5e, #fb7185); 
  color: white;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 20px rgba(244, 63, 94, 0.4);
  white-space: nowrap;
}

.pricing-card.popular p.desc { color: rgba(255,255,255,0.85); }
.pricing-card.popular .price { color: white; }
.pricing-card.popular .price span { color: rgba(255,255,255,0.8); }
.pricing-card.popular .features li { color: white; }

/* SKALA KARTU POPULAR (Desktop Saja) */
@media (min-width: 1024px) {
  .pricing-card.popular { transform: scale(1.05); z-index: 10; }
  .pricing-card.popular:hover { transform: scale(1.05) translateY(-10px); }
}

/* KARTU LAYANAN EKSTRA */
.services { padding: 40px 0; }
.service-card { padding: 30px 24px; border-radius: var(--r-md); transition: transform 0.4s; display: flex; flex-direction: column; gap: 16px; width: 100%; height: 100%;}
.service-card:hover { transform: translateY(-10px); background: var(--glass-hover-bg); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.s-icon { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--icon-glass-hi), var(--icon-glass-lo)); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--blue); border: 0.5px solid var(--glass-border); }
.service-card h3 { font-size: 18px; margin-bottom: 4px; color: var(--ink); }
.service-card p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* OTHER SECTIONS (HERO, ABOUT, dll) */
.hero { padding: 100px 0 40px; text-align: center; }
.hero-content { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-family: var(--display); font-size: clamp(42px, 8vw, 76px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero p { font-size: clamp(15px, 3vw, 18px); color: var(--ink-soft); line-height: 1.6; margin-bottom: 30px; max-width: 700px; }
.hero-img { width: 100%; height: clamp(250px, 40vw, 480px); margin-top: 40px; border-radius: var(--r-lg); object-fit: cover; pointer-events: none; }

.about { padding: 40px 0; }
.about-img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; border-radius: var(--r-md); border: 0.5px solid var(--glass-border); }

/* PORTFOLIO SWIPER AREA */
.portfolio { padding: 40px 0; }
.swiper { width: 100%; padding-top: 20px !important; padding-bottom: 20px !important; margin-top: -10px;}
.swiper-slide { display: flex; height: auto; }

/* Layanan: seluruh 6 kartu tampil sebagai grid di desktop */
.service-swiper .swiper-pagination { display: none; }
.service-swiper .swiper-wrapper { align-items: stretch; }

@media (min-width: 769px) {
  .service-swiper { overflow: visible; }
  .service-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    transform: none !important;
  }
  .service-swiper .swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
  }
}

.port-card { border-radius: var(--r-md); overflow: hidden; position: relative; height: clamp(260px, 30vw, 380px); display: flex; align-items: flex-end; padding: 20px; text-decoration: none; border: 0.5px solid var(--glass-border); transition: transform 0.4s; width: 100%; }
.port-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.port-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.port-card:hover .port-img { transform: scale(1.1); }
.port-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 80%); z-index: -1; }
.port-info { background: var(--glass-hi); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 16px; border-radius: 16px; border: 0.5px solid var(--glass-border); width: 100%; color: var(--ink); transform: translateY(10px); transition: transform 0.4s; }
.port-card:hover .port-info { transform: translateY(0); }
.port-info h3 { font-size: 18px; margin-bottom: 4px; }
.port-info p { font-size: 13px; opacity: 0.9; }

/* CONTACT & FORM */
.contact { padding: 40px 0 80px; }
.map-container { width: 100%; height: 100%; min-height: 300px; border-radius: var(--r-md); overflow: hidden; border: 0.5px solid var(--glass-border); }
.map-container iframe { width: 100%; height: 100%; border: none; }
.form-control { width: 100%; padding: 14px 18px; border-radius: 14px; border: 0.5px solid var(--glass-border); background: var(--glass-lo); font-family: var(--body); font-size: 14px; outline: none; transition: all 0.3s; backdrop-filter: blur(10px); color: var(--ink); }
.form-control:focus { border-color: var(--blue); background: var(--glass-hi); box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.form-control::placeholder { color: var(--ink-faint); }

footer { padding: 20px 0; text-align: center; border-top: 0.5px solid rgba(0,0,0,0.05); }

/* SCROLL ANIMASI */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal.stagger-1 { transition-delay: 0.1s; }
.reveal.stagger-2 { transition-delay: 0.2s; }
.reveal.stagger-3 { transition-delay: 0.3s; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.float-anim.active { animation: float 6s ease-in-out infinite; }

/* NAVBAR BAWAH MOBILE */
.mobile-bottom-nav { display: none; }

/* ==========================================
   MOBILE & TABLET RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 900px) {
  /* Di Tablet/Mobile, Grid Harga Menjadi 1 Kolom Bersusun Ke Bawah */
  .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-card.popular { transform: none; z-index: 1; }
  .pricing-card.popular:hover { transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .nav-actions { display: none !important; }

  body { padding-bottom: 80px; }
  .wrap { padding: 0 5%; }

  .hero { padding: 80px 0 20px; }
  .hero h1 { font-size: 38px; margin-bottom: 16px; }
  .hero-img { margin-top: 30px; height: 220px; } 

  .about { padding: 20px 0; }
  .about-grid { padding: 20px; gap: 24px; }
  .about-img { min-height: 250px; }

  .pricing-section, .services, .portfolio { padding: 20px 0; }
  .section-title { margin-bottom: 20px; font-size: 26px; } 

  .contact { padding: 20px 0 100px; } 
  .swiper { padding-top: 10px !important; padding-bottom: 10px !important; margin-top: 0; }
  .service-swiper { padding-bottom: 34px !important; }
  .service-swiper .swiper-pagination { display: block; bottom: 4px; }

  /* GRID LAYOUT NAVBAR BAWAH */
  .mobile-bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; bottom: 16px; left: 4%; right: 4%; width: 92%;
    align-items: end; padding: 10px 0 12px 0; z-index: 999; border-radius: 28px;
  }
  .nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    text-decoration: none; color: var(--ink-soft); transition: color 0.3s; height: 100%; position: relative;
  }
  .nav-item i { font-size: 22px; margin-bottom: 4px; }
  .nav-item span { font-size: 10px; font-weight: 600; font-family: var(--body); }
  .nav-item:hover, .nav-item:active { color: var(--blue); }

  /* TOMBOL TENGAH (BERANDA) */
  .center-item span { padding-top: 24px; }
  .center-icon {
    background: linear-gradient(135deg, var(--blue), var(--violet));
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.35); border: 2px solid var(--bg-0);
    position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
  }
  .center-icon i { color: #fff; margin-bottom: 0; }
}