/* restumedia.com CSS */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pri: #0F4C8A;
  --pri-dark: #0d3d72;
  --pri-light: #E6F1FB;
  --pri-mid: #185FA5;
  --acc: #E05C20;
  --acc-light: #FAECE7;
  --dark: #1A1A2E;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg: #F8FAFB;
  --white: #ffffff;
  --green: #0F6E56;
  --green-light: #E1F5EE;
  --pink: #993556;
  --pink-light: #FBEAF0;
  --amber: #854F0B;
  --amber-light: #FAEEDA;
  --purple: #3C3489;
  --purple-light: #EEEDFE;
  --lime: #3B6D11;
  --lime-light: #EAF3DE;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== NAVBAR ===== */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--pri);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--pri);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--acc);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  display: block;
}

.nav-links li {
  list-style: none;
  position: relative;
}

.nav-links li:hover>a {
  color: var(--pri);
}

/* Sub-menu (Dropdown) styling */
.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 1000;
  min-width: 200px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  padding: 8px;
}

.nav-links li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .sub-menu a {
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  border-radius: 6px;
}

.nav-links .sub-menu a:hover {
  background: var(--pri-light);
  color: var(--pri);
}

.nav-cta {
  background: var(--pri) !important;
  color: white !important;
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--pri-dark) !important;
}

/* ===== DROPDOWN PRODUK ===== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
  text-decoration: none;
}

.nav-dropdown-trigger:hover {
  color: var(--pri);
}

.nav-dropdown-trigger .arrow {
  font-size: 10px;
  margin-top: 2px;
  transition: transform .2s;
}

.nav-dropdown:hover .nav-dropdown-trigger .arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  /* padding-top menciptakan invisible bridge agar tidak ada gap */
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  pointer-events: none;
  z-index: 1000;
  min-width: 240px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-inner {
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  padding: 8px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  border-radius: 6px;
  transition: all .15s;
  font-weight: 500;
}

.nav-dropdown-menu a:hover {
  background: var(--pri-light);
  color: var(--pri);
}

.nav-dropdown-menu a.dd-header {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
}

.nav-dropdown-menu a.dd-header:hover {
  background: var(--pri-light);
  color: var(--pri);
}

.nav-dropdown-menu a.dd-vps {
  color: var(--acc);
  background: var(--acc-light);
  font-weight: 700;
  margin-top: 2px;
}

.nav-dropdown-menu a.dd-vps:hover {
  background: var(--acc);
  color: white;
}

.dd-divider {
  border-top: 1px solid var(--border);
  margin: 6px 0;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  background: #000;
}

.carousel-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 76, 138, 0.95) 0%, rgba(15, 76, 138, 0.6) 50%, rgba(15, 76, 138, 0.2) 100%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  color: white;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.hero-img {
  position: relative;
  background: rgba(255, 255, 255, .05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .92);
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: .3px;
}

.carousel-content h1 {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 650px;
}

.carousel-content h1 span {
  color: #7BC8F8;
}

.hero-sub {
  color: rgba(255, 255, 255, .85);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 550px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--pri);
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  transition: all .2s;
  display: inline-block;
}

.btn-white:hover {
  background: #E6F1FB;
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all .2s;
  display: inline-block;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicators .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-indicators .dot.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .hero-carousel {
    height: 500px;
  }

  .carousel-content h1 {
    font-size: 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-img {
    display: none;
  }

  .hero-btns {
    justify-content: center;
  }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 60px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.section-heading {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 15px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--acc);
  box-shadow: 0 8px 24px rgba(224, 92, 32, 0.15);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--pri-light) 0%, #D4E8F7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-image-placeholder {
  color: var(--muted);
  font-size: 64px;
  opacity: 0.5;
}

.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-badge {
  display: inline-block;
  background: #FEF3E8;
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .4px;
  width: fit-content;
}

.product-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.product-price {
  font-weight: 700;
  font-size: 18px;
  color: var(--acc);
  margin-bottom: 14px;
}

.product-price-small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.product-btns {
  display: flex;
  gap: 8px;
}

.btn-small {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all .2s;
  border: none;
  cursor: pointer;
}

.btn-primary-small {
  background: var(--pri);
  color: white;
}

.btn-primary-small:hover {
  background: var(--pri-dark);
}

.btn-outline-small {
  background: transparent;
  color: var(--pri);
  border: 1px solid var(--pri);
}

.btn-outline-small:hover {
  background: var(--pri-light);
}

.view-all-btn {
  text-align: center;
  margin-bottom: 20px;
}

.view-all-btn a {
  background: var(--pri);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-block;
  transition: all .2s;
}

.view-all-btn a:hover {
  background: var(--pri-dark);
  transform: translateY(-1px);
}

/* ===== BOTTOM SECTION ===== */
.bottom-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .bottom-grid {
    grid-template-columns: 1fr;
  }
}

.card-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.card-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
}

.update-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.update-item:last-child {
  border-bottom: none;
}

.update-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--pri);
  line-height: 1.5;
  flex: 1;
}

.update-title:hover {
  text-decoration: underline;
}

.update-ver {
  font-size: 11px;
  color: var(--muted);
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 8px;
  flex-shrink: 0;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--dark);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.service-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row span:first-child {
  color: var(--muted);
}

.service-row span:last-child {
  font-weight: 700;
  color: var(--dark);
}

.holiday {
  color: var(--acc) !important;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, #0F4C8A 0%, #185FA5 100%);
  padding: 60px 24px;
  text-align: center;
  color: white;
}

.cta-band h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: all .3s;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  border: none;
  background: none;
  transition: color .2s;
}

.modal-close:hover {
  color: var(--acc);
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  text-align: center;
}

.buy-option {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  transition: all .2s;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  text-align: left;
}

.buy-option:hover {
  border-color: var(--pri);
  box-shadow: 0 4px 12px rgba(15, 76, 138, 0.1);
}

.buy-option-icon {
  font-size: 28px;
  line-height: 1;
}

.buy-option-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.buy-option-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.bank-box {
  background: var(--bg);
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
  font-family: monospace;
  font-size: 14px;
  text-align: center;
  border: 1px dashed var(--muted);
}

.qris-box {
  text-align: center;
  margin-top: 12px;
}

.qris-box img {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .8);
  padding: 60px 24px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .6);
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--acc);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.social-btn:hover {
  background: var(--acc);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 8px;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--acc);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, .4);
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--acc);
}

/* ===== INTERNAL PAGE STYLES (VPS, PRODUCTS, ETC) ===== */
.page-header {
  background: linear-gradient(135deg, #0F4C8A 0%, #185FA5 100%);
  padding: 60px 24px;
  color: white;
  text-align: center;
  margin-bottom: 0;
}

.page-header h1 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  max-width: 700px;
  margin: 0 auto;
}

.vps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 1000px) {
  .vps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vps-grid {
    grid-template-columns: 1fr;
  }
}

.vps-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.vps-card.featured {
  border-color: var(--acc);
  box-shadow: 0 10px 30px rgba(224, 92, 32, 0.15);
  transform: translateY(-8px);
  z-index: 2;
}

.vps-card:hover:not(.featured) {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(15, 76, 138, 0.1);
}

.vps-badge-featured {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--acc);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 10;
}

.vps-header {
  padding: 30px 24px;
  background: #f8fbff;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.vps-card.featured .vps-header {
  background: #fff5f0;
}

.vps-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 5px;
}

.vps-tagline {
  font-size: 14px;
  color: var(--muted);
}

.vps-body {
  padding: 30px 24px;
  flex: 1;
}

.vps-spec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--dark);
  border-bottom: 1px solid #f0f0f0;
}

.vps-spec:last-child {
  border-bottom: none;
}

.vps-spec::before {
  content: '✓';
  color: #10b981;
  font-weight: 900;
  font-size: 16px;
}

.vps-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--acc);
  margin: 30px 0 20px;
  text-align: left;
}

.vps-price-period {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  display: inline;
}

.vps-button {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  background: var(--pri);
  color: white;
}

.vps-button.featured {
  background: var(--acc);
}

.vps-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.features-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-box {
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--pri-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
}

.feature-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: all .3s;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  border: none;
  background: none;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  text-align: center;
}

.buy-option {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.buy-option:hover {
  border-color: var(--pri);
  box-shadow: 0 4px 12px rgba(15, 76, 138, 0.1);
}

.bank-box {
  background: var(--bg);
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
  font-family: monospace;
  font-size: 14px;
  text-align: center;
  border: 1px dashed var(--muted);
}

.qris-box {
  text-align: center;
  margin-top: 12px;
}

.qris-box img {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 8px;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 40px !important;
  margin-bottom: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--pri-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.contact-text a {
  font-size: 14px;
  color: var(--pri);
  font-weight: 600;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
}

.btn-submit {
  background: var(--pri);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
}


/* PRODUCT DETAIL GRID */
.product-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.product-detail-img {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--pri-light) 0%, #D4E8F7 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-detail-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-detail-badge {
  display: inline-block;
  background: var(--acc-light);
  color: var(--acc);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.product-detail-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.features-list {
  margin-bottom: 24px;
}

.features-list li {
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.features-list li::before {
  content: '\2713';
  color: var(--acc);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

.product-price-big {
  font-size: 24px;
  font-weight: 700;
  color: var(--acc);
  margin-bottom: 20px;
}

.action-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-main {
  background: var(--pri);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}

.btn-sec {
  background: transparent;
  color: var(--pri);
  border: 1.5px solid var(--pri);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}

/* IMAGE GALLERY / CAROUSEL */
.product-gallery {
  position: relative;
  width: 100%;
}

.gallery-main {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--pri-light) 0%, #D4E8F7 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  opacity: 0;
  position: absolute;
  transition: opacity .4s ease;
}

.gallery-main img.active {
  opacity: 1;
  position: relative;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  background: var(--pri-light);
}

.gallery-thumb.active {
  border-color: var(--pri);
}

.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .55);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 5;
}

/* ===== DOWNLOAD PAGE STYLES ===== */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.download-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.download-item:hover {
  border-color: #E05C20;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.download-thumbnail {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  background: #f8fbff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.download-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.download-info {
  flex: 1;
}

.download-info h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #1A1A2E;
}

.download-info p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
}

.download-meta {
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 5px;
}

.download-tag {
  display: inline-block;
  background: #FAECE7;
  color: #E05C20;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.download-actions-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

@media (max-width: 768px) {
  .download-actions-wrapper {
    width: 100%;
    align-items: stretch;
  }
}

.download-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-download-main {
  flex: 1;
  text-align: center;
  background: #E05C20;
  color: #fff !important;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-download-main:hover {
  background: #c54b16;
  transform: translateY(-2px);
}

.btn-info-main {
  flex: 1;
  text-align: center;
  background: #fff;
  color: #0F4C8A !important;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #0F4C8A;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-info-main:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
}

.file-size-text {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
}


/* ===== KNOWLEDGE BASE / HELP STYLES ===== */
.search-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px 0;
}

.search-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.search-box .search-icon {
  font-size: 20px;
  color: var(--muted);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: transparent;
}

.search-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  padding: 0 4px;
}

.search-hint span {
  color: var(--pri);
  font-weight: 600;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .kb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .kb-grid {
    grid-template-columns: 1fr;
  }
}

.kb-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.kb-card:hover {
  border-color: var(--pri);
  box-shadow: 0 10px 30px rgba(15, 76, 138, 0.1);
  transform: translateY(-5px);
}

.kb-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--pri-light) 0%, #D4E8F7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kb-card-img img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.kb-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kb-card-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 8px;
}

.kb-card-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kb-card-count .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pri);
}

.btn-artikel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--pri);
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  margin-top: auto;
}

.btn-artikel:hover {
  background: var(--pri-dark);
  transform: translateY(-2px);
}

/* KNOWLEDGE BASE DETAIL */
.kb-detail-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.kb-detail-header img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.kb-category-section {
  margin-bottom: 30px;
}

.kb-category-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pri);
  display: inline-block;
}

.kb-article-list {
  list-style: none;
  padding: 0;
}

.kb-article-list li {
  border-bottom: 1px solid #f0f0f0;
}

.kb-article-list li:last-child {
  border-bottom: none;
}

.kb-article-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  font-size: 14px;
  color: var(--dark);
  transition: all 0.2s;
  border-radius: 8px;
}

.kb-article-list a:hover {
  background: var(--pri-light);
  color: var(--pri);
  padding-left: 15px;
}