/* --- Base Reset & Typography --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Instrument Sans', sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

/* --- Color Variables (60-30-10 Rule) --- */
:root {
  --nx-bg-main: #171717;       /* 60% Dominan */
  --nx-bg-surface: #202020;    /* Card Surface */
  --nx-border: #282828;        /* Divider */
  --nx-text-primary: #f5f5f5;  /* 30% Neutral Text */
  --nx-text-secondary: #999999;
  --nx-text-muted: #666666;
  --nx-accent: #9de404;        /* 10% Pop Accent */
  --nx-accent-rgb: 157, 228, 4;
}

/* --- Footer Container & Wrapper --- */
.nx-footer {
  width: 100%;
  background-color: var(--nx-bg-main);
  padding: 80px 24px 32px;
  display: flex;
  justify-content: center;
}

.nx-footer-wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* --- Grid Section --- */
.nx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

/* --- Branding Column --- */
.nx-brand-link {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.nx-brand-logo {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #ffffff;
  text-transform: uppercase;
}

.nx-brand-tagline {
  font-size: 0.95rem;
  color: var(--nx-text-secondary);
  line-height: 1.5;
  max-width: 280px;
  margin-bottom: 24px;
}

.nx-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(var(--nx-accent-rgb), 0.08);
  border: 1px solid rgba(var(--nx-accent-rgb), 0.2);
  padding: 6px 12px;
  border-radius: 9999px;
}

.nx-status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--nx-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--nx-accent);
}

.nx-status-text {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--nx-accent);
  letter-spacing: 0.02em;
}

/* --- Headings & Accent Bars --- */
.nx-heading-group {
  margin-bottom: 20px;
}

.nx-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--nx-text-primary);
  margin-bottom: 8px;
}

.nx-accent-bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--nx-accent);
  border-radius: 2px;
}

/* --- Nav Links --- */
.nx-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nx-nav-link {
  color: var(--nx-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease-in-out;
}

.nx-nav-link:hover {
  color: var(--nx-accent);
  transform: translateX(4px);
  display: inline-block;
}

/* --- Contact Cards --- */
.nx-contact-card {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background-color: var(--nx-bg-surface);
  border: 1px solid var(--nx-border);
  border-radius: 10px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nx-contact-clickable:hover {
  border-color: var(--nx-accent);
  transform: translateY(-2px);
}

/* 1. Kunci dimensi pembungkus ikon */
.nx-contact-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #242424 !important;
  border: 1px solid #333333 !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important; /* Mencegah ikon gepeng saat teks di kanan panjang */
}

/* 2. Kunci dimensi elemen SVG di dalamnya agar tidak melar */
.nx-contact-icon svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block !important;
  stroke: #9de404 !important;
  fill: none !important;
  stroke-width: 2px !important;
  flex-shrink: 0 !important;
}

/* 3. Pastikan container kartu tetap sejajar */
.nx-contact-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.nx-contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nx-text-muted);
  font-weight: 600;
}

.nx-contact-text {
  font-size: 0.85rem;
  color: var(--nx-text-secondary);
  line-height: 1.4;
}

.nx-contact-phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.nx-contact-clickable:hover .nx-contact-phone {
  color: var(--nx-accent);
}

/* --- Divider & Bottom Bar --- */
.nx-footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--nx-border);
  margin: 56px 0 28px;
}

.nx-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.nx-bottom-legal {
  max-width: 780px;
}

.nx-legal-copy {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nx-text-secondary);
  margin-bottom: 6px;
}

.nx-legal-disclaimer {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--nx-text-muted);
}

.nx-legal-disclaimer strong {
  color: #888888;
}

.nx-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nx-bottom-link {
  font-size: 0.78rem;
  color: var(--nx-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nx-bottom-link:hover {
  color: var(--nx-accent);
}

.nx-dot-separator {
  color: var(--nx-border);
  font-size: 0.75rem;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .nx-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .nx-footer {
    padding: 56px 16px 24px;
  }

  .nx-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nx-footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
  }
}
/* --- Powered By Nexweb Styling --- */
.nx-powered-by {
  color: var(--nx-text-muted, #737373);
  font-size: 0.82rem;
  font-weight: 500;
}

.nx-powered-link {
  color: #9de404 !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity 0.2s ease, text-shadow 0.2s ease;
}

.nx-powered-link:hover {
  opacity: 0.85;
  text-shadow: 0 0 8px rgba(157, 228, 4, 0.4);
  text-decoration: none !important;
}