/* =========================================================
           NPN ISP LANDING PAGE
           PT. NETINDO PERSADA NUSANTARA
           SINGLE HTML + CSS + JS
        ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #0b63ce;
  --primary-dark: #064da8;
  --secondary: #08a9df;
  --navy: #071b3a;
  --dark: #0b1730;
  --text: #1b2942;
  --muted: #69758a;
  --white: #ffffff;
  --bg: #f5f9ff;
  --border: #e5edf7;

  --gradient: linear-gradient(135deg, #075dcc 0%, #078fe0 55%, #0ab6dd 100%);

  --shadow-sm: 0 5px 20px rgba(16, 54, 99, 0.06);

  --shadow: 0 15px 50px rgba(15, 55, 105, 0.12);

  --radius: 18px;
}

/* =========================================================
           DARK MODE
        ========================================================= */

body.dark {
  --white: #08152c;
  --bg: #0b1931;
  --text: #eaf3ff;
  --muted: #9eacc0;
  --border: #1c3150;
  --navy: #f2f7ff;
  --dark: #ffffff;

  background: #071327;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

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

button {
  font-family: inherit;
}

/* =========================================================
           TOP BAR
        ========================================================= */

.topbar {
  height: 36px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);

  display: flex;
  align-items: center;
}

.topbar-inner {
  width: min(1400px, calc(100% - 48px));
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 12px;
}

.top-left,
.top-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #24c86a;
  box-shadow: 0 0 10px rgba(36, 200, 106, 0.8);
}

/* =========================================================
           NAVBAR
        ========================================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;

  height: 82px;

  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(15, 54, 99, 0.08);

  transition:
    height 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

body.dark .navbar {
  background: rgba(7, 19, 39, 0.94);
  border-color: rgba(255, 255, 255, 0.07);
}

.navbar.scrolled {
  height: 70px;
  box-shadow: 0 8px 35px rgba(11, 48, 91, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

body.dark .navbar.scrolled {
  background: rgba(7, 19, 39, 0.98);
}

.nav-container {
  width: min(1450px, calc(100% - 40px));
  height: 100%;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

/* =========================================================
           LOGO
        ========================================================= */

.brand {
  display: flex;
  align-items: center;
  gap: 11px;

  min-width: 225px;
}

.brand-logo {
  width: 47px;
  height: 47px;

  border-radius: 14px;

  background: linear-gradient(145deg, #09aee0, #0965cb 65%, #173b91);

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;

  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 21px;

  box-shadow: 0 8px 22px rgba(7, 101, 203, 0.22);

  position: relative;
  overflow: hidden;
}

.brand-logo::after {
  content: "";

  position: absolute;

  width: 35px;
  height: 35px;

  border: 2px solid rgba(255, 255, 255, 0.35);

  border-radius: 50%;

  transform: rotate(-25deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 800;

  color: var(--navy);

  letter-spacing: -0.5px;
}

.brand-sub {
  margin-top: 5px;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.7px;

  color: var(--primary);

  text-transform: uppercase;
}

/* =========================================================
           NAV MENU
        ========================================================= */

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 2px;

  height: 100%;

  flex: 1;
}

.nav-item {
  height: 100%;

  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;

  height: 44px;
  padding: 0 13px;

  border-radius: 11px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  font-weight: 600;

  color: #34435b;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

body.dark .nav-link {
  color: #c8d5e8;
}

.nav-link:hover {
  color: var(--primary);
  background: #f1f7ff;
}

body.dark .nav-link:hover {
  background: #102440;
}

.nav-link.active {
  color: var(--primary);
  background: #eef6ff;
}

body.dark .nav-link.active {
  background: #102b4e;
}

.nav-link.active::after {
  content: "";

  position: absolute;

  bottom: 3px;
  left: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--primary);

  transform: translateX(-50%);
}

/* =========================================================
           NAV ACTIONS
        ========================================================= */

.nav-actions {
  display: flex;
  align-items: center;

  gap: 9px;
}

.theme-btn,
.client-btn,
.contact-btn {
  height: 46px;

  border-radius: 13px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.2s ease;
}

.theme-btn {
  min-width: 116px;
  padding: 0 15px;

  border: 1px solid #dfe8f3;
  background: white;

  color: var(--navy);

  gap: 9px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
}

body.dark .theme-btn {
  background: #0d203a;
  border-color: #1f3655;
  color: white;
}

.theme-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.theme-icon {
  width: 26px;
  height: 26px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #eef6ff;

  color: var(--primary);

  font-size: 16px;
}

body.dark .theme-icon {
  background: #17375e;
}

.client-btn {
  padding: 0 15px;

  border: 1px solid #dfe8f3;

  background: white;

  color: var(--navy);

  gap: 8px;

  font-size: 13px;
  font-weight: 700;
}

body.dark .client-btn {
  background: #0d203a;
  border-color: #1f3655;
}

.client-btn:hover {
  border-color: #bcd5ef;
  background: #f6faff;
  transform: translateY(-1px);
}

body.dark .client-btn:hover {
  background: #142d4d;
}

.client-icon {
  width: 25px;
  height: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #eef6ff;

  color: var(--primary);
}

.contact-btn {
  min-width: 125px;

  padding: 0 18px;

  color: white;

  font-size: 13px;
  font-weight: 700;

  background: var(--gradient);

  box-shadow: 0 8px 20px rgba(5, 112, 207, 0.22);

  gap: 8px;
}

.contact-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 27px rgba(5, 112, 207, 0.3);
}

/* =========================================================
           MOBILE BUTTON
        ========================================================= */

.mobile-toggle {
  width: 44px;
  height: 44px;

  display: none;

  border: 0;

  background: #f1f6fc;

  border-radius: 12px;

  cursor: pointer;

  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;

  background: var(--navy);

  border-radius: 4px;

  transition: all 0.2s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
           FOOTER
        ========================================================= */

footer {
  background: #06152d;

  color: white;

  padding: 65px 0 25px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 1.4fr repeat(3, 1fr);

  gap: 40px;
}

.footer-brand {
  display: flex;

  flex-direction: column;
}

.footer-logo {
  width: 48px;
  height: 48px;

  border-radius: 14px;

  background: linear-gradient(145deg, #09aee0, #0965cb);

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Inter", sans-serif;

  font-weight: 800;
}

.footer-brand h3 {
  margin-top: 15px;

  font-family: "Inter", sans-serif;

  font-size: 17px;
}

.footer-brand p {
  margin-top: 10px;

  max-width: 330px;

  color: rgba(255, 255, 255, 0.58);

  font-size: 12px;

  line-height: 1.8;
}

.footer-col h4 {
  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.footer-col a {
  display: block;

  margin-top: 11px;

  color: rgba(255, 255, 255, 0.58);

  font-size: 11px;

  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 55px;

  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;

  align-items: center;

  justify-content: space-between;

  color: rgba(255, 255, 255, 0.4);

  font-size: 10px;
}

/* =========================================================
           REVEAL ANIMATION
        ========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}

.container {
  width: min(1400px, calc(100% - 48px));
  margin: auto;
}

/* =========================================
   FOOTER LEGALITAS
========================================= */

.footer-legal {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.legal-heading-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;

  background: linear-gradient(
    135deg,
    rgba(23, 105, 255, 0.18),
    rgba(8, 175, 213, 0.14)
  );

  border: 1px solid rgba(8, 175, 213, 0.18);
  color: #08afd5;
  font-size: 15px;
}

.legal-heading div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.legal-heading strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal-heading span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

/* Legal Cards */

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

.legal-card {
  display: flex;
  align-items: center;
  gap: 13px;

  min-height: 72px;
  padding: 13px 15px;

  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.legal-card:hover {
  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(8, 175, 213, 0.25);
}

.legal-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: rgba(23, 105, 255, 0.1);
  color: #08afd5;

  font-size: 14px;
}

.legal-content {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

.legal-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.legal-content strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  word-break: break-word;
}

/* =========================================
   RESPONSIVE
========================================= */

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

  .legal-card {
    min-height: 66px;
  }
}

@media (max-width: 600px) {
  .footer-legal {
    margin-top: 32px;
    padding-top: 25px;
  }

  .legal-heading {
    margin-bottom: 14px;
  }

  .legal-card {
    padding: 12px 13px;
  }

  .legal-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .legal-content strong {
    font-size: 11px;
  }
}

/* =========================================================
   FOOTER CONTACT INFORMATION
========================================================= */

.footer-description {
  margin-bottom: 22px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: rgba(23, 105, 255, 0.08);
  color: #1769ff;

  font-size: 13px;
}

.footer-contact-content {
  display: flex;
  flex-direction: column;
  gap: 3px;

  min-width: 0;
}

.footer-contact-content span {
  color: #8a96a8;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer-contact-content strong,
.footer-contact-content a {
  color: #536174;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;

  text-decoration: none;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footer-contact-content a:hover {
  color: #1769ff;
}

/* =========================================================
   DARK MODE
========================================================= */

body.dark .footer-contact-icon {
  background: rgba(23, 105, 255, 0.12);
  color: #4d91ff;
}

body.dark .footer-contact-content span {
  color: #7f8da1;
}

body.dark .footer-contact-content strong,
body.dark .footer-contact-content a {
  color: #aeb9c9;
}

body.dark .footer-contact-content a:hover {
  color: #55bfff;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {
  .footer-contact-info {
    gap: 16px;
  }

  .footer-contact-item {
    gap: 10px;
  }

  .footer-contact-content strong,
  .footer-contact-content a {
    font-size: 12px;
  }
}

/* =========================
           WHATSAPP
        ========================= */

.whatsapp {
  position: fixed;

  right: 28px;
  bottom: 25px;

  z-index: 2000;

  display: flex;

  align-items: center;

  gap: 9px;

  padding: 13px 19px;

  background: #22c55e;

  color: white;

  border-radius: 100px;

  font-size: 12px;

  font-weight: 800;

  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.3);

  transition: 0.25s ease;
}

.whatsapp:hover {
  transform: translateY(-3px);

  box-shadow: 0 17px 35px rgba(34, 197, 94, 0.4);
}

.whatsapp i {
  font-size: 18px;
}
