/* Import Geist Mono font */
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@300;400;500;600;700&display=swap");

/* Custom Properties */
:root {
  --primary-color: #00ff9d;
  --primary-dark: #00cc7d;
  --bg-dark: #1a1a2e;
  --text-light: #ffffff;
  --text-dim: #cccccc;
  --card-bg: rgba(0, 0, 0, 0.6);
  --card-border: rgba(255, 255, 255, 0.1);
  --hover-color: rgba(0, 255, 157, 0.1);
  --navbar-height: 60px;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

::-webkit-scrollbar-corner {
  background: var(--bg-dark);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-dark);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Geist Mono", monospace;
  background: var(--bg-dark);
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  background: rgba(0, 0, 0, 0.85);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand span.zone {
  color: var(--primary-color);
  filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.3));
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.navbar-brand img {
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.3));
}

.navbar-brand span {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--primary-color);
  opacity: 0;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: calc(100% - 1.6rem); /* Mengurangi dengan total padding horizontal */
  opacity: 1;
}

/* Active state untuk menu yang sedang aktif */
.nav-links a.active::after {
  width: calc(100% - 1.6rem);
  opacity: 1;
}

/* Main Content */
.content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--navbar-height);
  position: relative;
  overflow: hidden;
}

/* Main Section */
.main-section {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  background: url("../img/global.jpg") no-repeat center center;
  background-size: cover;
}

.main-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.85);
  z-index: 1;
}

/* Particles Container */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.6;
}

.main-section .info-box {
  position: relative;
  z-index: 3;
  margin: auto;
  max-width: 580px;
  width: 100%;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease;
}

/* Services Section */
.services-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  background: var(--bg-dark);
}

.services-section .info-box {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.services-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.service-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 255, 157, 0.05);
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.1);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(0, 255, 157, 0.5);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* Info Box Styles */
.info-box {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  max-width: 580px;
  width: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease;
  margin: auto;
}

.ip-number {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin: 1rem 0;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  animation: pulse 2s infinite;
}

.info-line {
  margin: 0.8rem 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  padding: 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.highlight {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 255, 157, 0.1);
}

.info-text {
  margin: 1.5rem 0;
  line-height: 1.6;
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.info-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.info-text a:hover {
  opacity: 0.8;
}

.info-text a:visited {
  color: var(--primary-color);
}

.links {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid var(--card-border);
}

.links a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  background: var(--hover-color);
}

.links a:hover {
  background: rgba(0, 255, 157, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.15);
}

.links a i {
  color: var(--text-dim);
  font-size: 1rem;
}

/* Visitor Info Section */
.visitor-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid var(--card-border);
}

.visitor-info .info-line {
  margin: 0.4rem 0;
  background: transparent;
  border: none;
  padding: 0.4rem;
  font-size: 0.8rem;
}

.visitor-info .highlight {
  font-size: 0.95rem;
  padding: 0.2rem 0.6rem;
  margin-left: 0.4rem;
}

hr {
  border: 1px solid var(--card-border);
  margin: 0px;
  padding: 0px;
}
/* Responsive Design */
@media (max-width: 768px) {
  html,
  body {
    overflow: auto;
  }

  .content {
    height: auto;
    min-height: 100vh;
    padding-top: 4rem;
  }

  .navbar {
    padding: 0.8rem;
  }

  .nav-links {
    display: none;
  }

  .info-box {
    padding: 1.5rem;
    margin: 1rem;
  }

  .ip-number {
    font-size: 2.2rem;
  }

  .info-line {
    font-size: 0.85rem;
    padding: 0.5rem;
  }

  .links a {
    display: block;
    margin: 0.8rem 0;
    font-size: 0.8rem;
  }

  .visitor-info {
    padding: 0.8rem;
  }

  .visitor-info .highlight {
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
  }
}

/* Loading Animation */
@keyframes loading {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.3;
  }
}

.loading {
  animation: loading 1.5s infinite;
}

/* Hover Effects */
.info-box > div {
  transition: transform 0.3s ease;
}

.info-box > div:hover {
  transform: translateY(-2px);
}

/* Update responsive styles */
@media (max-width: 768px) {
  .content {
    padding-top: calc(var(--navbar-height) - 10px);
  }

  .main-section,
  .services-section {
    padding: 1rem;
    min-height: calc(100vh - var(--navbar-height));
  }

  .main-section .info-box,
  .services-section .info-box {
    padding: 1.5rem;
    margin: 1rem;
  }

  .services-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-card i {
    font-size: 2rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }
}

/* Pricing Section Styles */
.pricing-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin: 2rem 0;
  border: 1px solid var(--card-border);
}

.pricing-section .info-box {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  border: none;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.pricing-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

.pricing-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  margin-top: 1rem;
  flex-wrap: nowrap;
  padding: 0 0.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.pricing-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover {
  transform: translateY(-7px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 255, 157, 0.12);
  background: rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  background: rgba(0, 255, 157, 0.05);
  border: 2px solid var(--primary-color);
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-7px);
  box-shadow: 0 10px 30px rgba(0, 255, 157, 0.18);
  background: rgba(0, 255, 157, 0.08);
}

.recommended-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--primary-color);
  color: var(--bg-dark);
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 255, 157, 0.2);
  animation: pulse 2s infinite;
}

.pricing-header {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.pricing-header i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 12px rgba(0, 255, 157, 0.2);
}

.pricing-card:hover .pricing-header i {
  transform: scale(1.08);
  text-shadow: 0 0 18px rgba(0, 255, 157, 0.4);
}

.pricing-header h3 {
  font-size: 1.2rem;
  margin: 0.7rem 0;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.7rem 0;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
}

.pricing-features {
  margin: 1.2rem 0;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  margin: 0.7rem 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.pricing-features i {
  color: var(--primary-color);
  font-size: 1rem;
  text-shadow: 0 0 6px rgba(0, 255, 157, 0.2);
}

.pricing-button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: var(--primary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 22px;
  transition: all 0.3s ease;
  margin-top: auto;
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 255, 157, 0.13);
}

.pricing-button:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 157, 0.18);
}

.pricing-card.featured .pricing-button {
  background: var(--primary-color);
  color: var(--bg-dark);
  box-shadow: 0 2px 10px rgba(0, 255, 157, 0.18);
}

.pricing-card.featured .pricing-button:hover {
  background: transparent;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.22);
}

@media (max-width: 1200px) {
  .pricing-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 200px;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 2rem 0.5rem;
  }

  .pricing-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .pricing-card {
    width: 100%;
    max-width: 320px;
    padding: 1.2rem 0.7rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-7px);
  }

  .pricing-header h3 {
    font-size: 1rem;
  }

  .price {
    font-size: 1.2rem;
  }

  .pricing-features li {
    font-size: 0.85rem;
  }
}
