:root {
  --bg: #090a13;
  --bg-soft: #111321;
  --card: rgba(22, 24, 40, 0.82);
  --card-2: rgba(14, 16, 29, 0.88);
  --text: #f5f6ff;
  --muted: #a8acc2;
  --line: rgba(255, 255, 255, 0.10);
  --blue: #5268ff;
  --blue-2: #2b9cff;
  --gold: #ffd21a;
  --gold-2: #ff9d00;
  --green: #2ddf91;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 10%, rgba(73, 92, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 55%, rgba(255, 193, 7, 0.07), transparent 25%),
    linear-gradient(180deg, #111322 0%, #080911 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}


.space-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.stars {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    radial-gradient(circle, #fff 1px, transparent 1.5px),
    radial-gradient(circle, #ffd83d 1px, transparent 1.5px);
  background-size: 110px 110px, 170px 170px;
  background-position: 20px 30px, 70px 90px;
}

.meteors::before,
.meteors::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 90px;
  background: linear-gradient(transparent, rgba(255, 218, 88, 0.9), transparent);
  transform: rotate(35deg);
  animation: meteor 6s linear infinite;
}

.meteors::before {
  top: -120px;
  right: 16%;
  animation-delay: 1s;
}

.meteors::after {
  top: -180px;
  right: 40%;
  animation-delay: 3.2s;
}

@keyframes meteor {
  0% {
    transform: translate(0, 0) rotate(35deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(-600px, 800px) rotate(35deg);
    opacity: 0;
  }
}


.site-header {
  position: relative;
  z-index: 20;
  background: rgba(9, 10, 19, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.shipping-bar {
  height: 28px;
  background: #354bd1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.header-main {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  font-size: 25px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.brand-mark {
  color: #e9e9ee;
}

.brand-4d {
  color: var(--gold);
}

.main-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  font-size: 13px;
  color: #b9bdd1;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 9px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary {
  background: linear-gradient(135deg, #566cff, #278ef5);
  box-shadow: 0 8px 25px rgba(62, 102, 255, 0.25);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-gold {
  color: #15110a;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 8px 25px rgba(255, 181, 0, 0.22);
}

.btn-large {
  min-height: 50px;
  padding-inline: 25px;
}

.mobile-menu {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 25px;
}

.keyword-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(4, 5, 11, 0.72);
}

.keyword-scroll {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  overflow: auto;
}

.keyword-scroll a,
.keyword-label {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 8px;
  font-weight: 800;
  color: #c9cce0;
}

.keyword-label {
  color: #fff;
  border-color: #6070ff;
  background: #1b2250;
}


.hero {
  min-height: 575px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 35px;
  align-items: center;
  padding-block: 55px;
}

.eyebrow,
.section-kicker,
.section-heading > span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(38px, 5vw, 67px);
  line-height: 1.03;
  letter-spacing: -3px;
  margin: 15px 0 22px;
}

.hero h1 span {
  background: linear-gradient(90deg, #fff, var(--gold));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: 15px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 27px;
}

.trust-row {
  display: flex;
  gap: 28px;
  margin-top: 34px;
}

.trust-row div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust-row strong {
  color: var(--gold);
  font-size: 13px;
}

.trust-row span {
  font-size: 9px;
  color: #8f94ad;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 1080px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.visual-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 189, 24, 0.17);
  filter: blur(70px);
}


.quick-section,
.feature-section {
  padding-block: 80px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: 7px 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.quick-card,
.feature-card,
.content-card,
.side-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(28, 31, 50, 0.8), rgba(13, 15, 27, 0.85));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-card {
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  transition: border-color 0.2s, transform 0.2s;
}

.quick-card:hover {
  border-color: rgba(255, 210, 26, 0.35);
  transform: translateY(-3px);
}

.quick-icon {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 210, 26, 0.1);
  color: var(--gold);
  font-weight: 900;
}

.quick-card strong {
  display: block;
  font-size: 11px;
}

.quick-card small {
  display: block;
  color: #777d95;
  font-size: 9px;
  margin-top: 2px;
}

.quick-card > b {
  color: #727890;
}

.content-section {
  padding-block: 30px 80px;
}

.two-column {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr;
  gap: 20px;
}

.content-card,
.side-card {
  padding: 32px;
}

.content-card h2 {
  font-size: 32px;
  margin: 7px 0 18px;
}

.content-card p {
  color: #b1b5c9;
  font-size: 14px;
  margin-bottom: 14px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 25px;
  list-style: none;
}

.check-list li {
  font-size: 11px;
  color: #c5c8d8;
}

.check-list span {
  color: var(--green);
  margin-right: 7px;
}

.side-card h3 {
  font-size: 24px;
  margin: 8px 0;
}

.side-card > p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 18px;
}

.side-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
}

.side-link b {
  color: var(--gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  padding: 25px;
  min-height: 180px;
}

.feature-number {
  font-size: 11px;
  color: var(--gold);
  font-weight: 900;
}

.feature-card h3 {
  margin: 17px 0 8px;
  font-size: 16px;
}

.feature-card p {
  color: var(--muted);
  font-size: 11px;
}


.faq-section {
  padding: 85px 0;
  background: linear-gradient(180deg, rgba(20, 22, 37, 0.5), rgba(5, 6, 12, 0.5));
  border-block: 1px solid var(--line);
}

.faq-wrap {
  max-width: 850px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 35px;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 19, 33, 0.78);
  overflow: hidden;
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
  transition: transform 0.2s;
}

details[open] summary span {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 21px;
  color: #aeb2c6;
  font-size: 12px;
  line-height: 1.8;
}


.cta-section {
  padding-block: 80px;
}

.cta-inner {
  border: 1px solid rgba(255, 210, 26, 0.18);
  border-radius: 22px;
  padding: 35px 40px;
  background:
    radial-gradient(circle at 90% 50%, rgba(255, 193, 7, 0.12), transparent 30%),
    rgba(20, 22, 36, 0.85);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.cta-inner h2 {
  font-size: 28px;
  margin: 6px 0;
}

.cta-inner p {
  font-size: 12px;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.site-footer {
  border-top: 1px solid var(--line);
  background: #070810;
}

.footer-grid {
  padding-block: 55px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 35px;
}

.footer-brand p {
  max-width: 320px;
  color: #777c93;
  font-size: 11px;
  margin-top: 15px;
}

.footer-grid h3 {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 15px;
}

.footer-grid > div:not(.footer-brand) a {
  display: block;
  color: #898ea6;
  font-size: 11px;
  margin: 9px 0;
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-note {
  color: #777c93;
  font-size: 10px;
  margin-bottom: 9px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: #666b80;
  font-size: 9px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
}


.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #161827;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 30;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.clicked {
  transform: scale(0.97) !important;
}

/* ==========================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================== */
@media (max-width: 900px) {
  .header-main {
    gap: 15px;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu {
    display: block;
    margin-left: auto;
  }
  
  .header-actions {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 45px;
  }
  
  .hero-copy {
    text-align: center;
  }
  
  .hero-text {
    margin-inline: auto;
  }
  
  .hero-buttons,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }
  
  .hero-visual img {
    width: min(430px, 90vw);
  }

  .quick-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .shipping-bar {
    font-size: 8px;
  }
  
  .header-main {
    height: 68px;
  }

  .keyword-scroll {
    justify-content: flex-start;
  }

  .hero {
    padding-block: 30px;
  }
  
  .hero h1 {
    font-size: 39px;
    letter-spacing: -2px;
  }
  
  .hero-text {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-large {
    width: 100%;
  }
  
  .trust-row {
    gap: 16px;
  }

  .quick-section,
  .feature-section,
  .cta-section {
    padding-block: 55px;
  }

  .section-heading h2 {
    font-size: 27px;
  }
  
  .quick-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .content-card,
  .side-card {
    padding: 24px;
  }
  
  .check-list {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 26px 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cta-actions {
    width: 100%;
  }
  
  .cta-actions .btn {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 7px;
  }
}

/* MOBILE NAV OPEN STATE */
.main-nav.mobile-open {
  display: flex;
  position: absolute;
  left: 12px;
  right: 12px;
  top: 68px;
  flex-direction: column;
  gap: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 11, 20, 0.98);
  box-shadow: var(--shadow);
}

.main-nav.mobile-open a {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.main-nav.mobile-open a:last-child {
  border-bottom: 0;
}



.w4d-popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
  padding: 15px;
}

.w4d-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Kontainer Utama Pop-Up */
.w4d-popup-content {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #080911;
  border: 1.5px solid var(--gold, #ffcc00);
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.3), 0 20px 50px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.85) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.w4d-popup-overlay.active .w4d-popup-content {
  transform: scale(1) translateY(0);
}

/* 1. Container Gambar Banner */
.w4d-image-container {
  position: relative;
  width: 100%;
  background: #000;
  line-height: 0;
  overflow: hidden;
}

.w4d-popup-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tombol Close Melayang di Kanan Atas Gambar */
.w4d-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--gold, #ffcc00);
  color: var(--gold, #ffcc00);
  font-size: 18px;
  font-weight: bold;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  transition: all 0.2s ease;
  line-height: 1;
}

.w4d-popup-close:hover {
  background: var(--gold, #ffcc00);
  color: #000000;
  transform: scale(1.1) rotate(90deg);
}

/* Efek Radar Line & Gold Glow pada Gambar */
.w4d-radar-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold, #ffcc00), transparent);
  box-shadow: 0 0 10px var(--gold, #ffcc00);
  z-index: 5;
  animation: w4d-scan 3s linear infinite;
  pointer-events: none;
}

.w4d-gold-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 204, 0, 0.12) 0%, transparent 80%);
  z-index: 4;
  pointer-events: none;
}

/* Area Konten Bawah Gambar */
.w4d-popup-body {
  padding: 18px 16px;
  background: #080911;
  text-align: center;
}

/* 2. Teks Welcome to WIFI4D */
.w4d-popup-welcome {
  font-size: 14px;
  font-weight: 900;
  color: var(--gold, #ffcc00);
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

/* Layout Tombol Aksi Bertumpuk Kebawah */
.w4d-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Base Style Tombol Luxury dengan Efek Keren */
.w4d-btn-luxury {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 44px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-sizing: border-box;
}

/* 3. Style Tombol Login (Gradien Emas Terang) */
.w4d-btn-login {
  background: linear-gradient(135deg, #ffe033 0%, #ffb700 100%);
  border: 1px solid #ffe033;
  color: #0d0a00;
  box-shadow: 0 4px 15px rgba(255, 183, 0, 0.3);
}

.w4d-btn-login:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 8px 22px rgba(255, 183, 0, 0.5);
}

/* 4. Style Tombol Daftar (Efek Emas Gelap Berkilau) */
.w4d-btn-daftar {
  background: linear-gradient(135deg, #ffd700 0%, #d49400 100%);
  border: 1px solid #ffe033;
  color: #000000;
  box-shadow: 0 4px 15px rgba(212, 148, 0, 0.3);
}

.w4d-btn-daftar:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 8px 22px rgba(255, 215, 0, 0.5);
}

.w4d-btn-shine {
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: rotate(25deg);
  animation: w4d-shimmer 2.5s infinite;
  pointer-events: none;
}

.w4d-btn-text {
  position: relative;
  z-index: 2;
}

.w4d-popup-footer {
  margin-top: 14px;
  font-size: 10px;
  color: #777788;
  line-height: 1.4;
}

.w4d-popup-footer p {
  margin: 2px 0;
}

@keyframes w4d-scan {
  0% { top: -5%; }
  100% { top: 105%; }
}

@keyframes w4d-shimmer {
  0% { left: -75%; }
  30% { left: 125%; }
  100% { left: 125%; }
}

@media (max-width: 420px) {
  .w4d-popup-content {
    max-width: 320px;
  }
  .w4d-popup-welcome {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .w4d-btn-luxury {
    height: 38px;
    font-size: 12px;
  }
  .w4d-popup-footer {
    font-size: 9px;
  }
}