:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --accent-glow: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
  --dark: #0b1e36;
  --muted: #475569;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --border-hover: #bae6fd;
  --badge-bg: #f1f5f9;
  --badge-text: #0b1e36;
  --shadow-sm: 0 2px 4px rgba(11, 30, 54, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(11, 30, 54, 0.06), 0 8px 10px -6px rgba(11, 30, 54, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(2, 132, 199, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f1f5f9;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  border-radius: 999px;
  border: 2px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
}

body {
  background-color: var(--light-bg);
  background-image: var(--accent-glow);
  background-repeat: no-repeat;
  background-size: 100% 900px;
  color: var(--dark);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary-gradient);
  z-index: 1000;
  transition: width 0.1s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

/* Header & Nav */
header.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  z-index: 999;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #cbd5e1;
  box-shadow: 0 4px 20px -2px rgba(11, 30, 54, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1001;
}

.logo-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 6px rgba(2, 132, 199, 0.15));
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-typography {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.brand-subtitle {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: var(--dark);
  margin-top: 4px;
  white-space: nowrap;
}

/* Navigasi Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Tombol Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px 0;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 54, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
}

/* Hero */
.hero {
  padding: 60px 0 45px;
  text-align: center;
  position: relative;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.hero h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto 30px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  min-height: 48px;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--dark);
  border: 1px solid var(--border);
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  min-height: 48px;
}

.btn-secondary:hover {
  background: #f1f5f9;
}

/* Mode Banner */
.service-modes-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.mode-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.mode-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.mode-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mode-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 4px;
}

.mode-text span {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}

/* Sections */
section {
  padding: 55px 0 70px;
  scroll-margin-top: 76px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
  color: var(--dark);
}

.section-title p {
  color: var(--muted);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  max-width: 640px;
  margin: 0 auto;
}

/* Trust Pillar */
.trust-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.trust-item {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--light-bg);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
}

.trust-badge-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 6px;
}

.trust-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Grid Products */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.card-highlight {
  border: 1.5px solid #93c5fd;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--badge-bg);
  color: var(--badge-text);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.card-tag-highlight {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #bfdbfe;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.35;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.card-points {
  list-style: none;
  font-size: 0.83rem;
  color: #334155;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: auto;
}

.card-points li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.card-points li::before {
  content: "✔";
  color: var(--primary);
  font-weight: bold;
  font-size: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Profil & Kontak */
.company-profile-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.company-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.company-info h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--dark);
  line-height: 1.3;
}

.company-info p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.contact-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact-detail span {
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.5;
}

.btn-wa-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #16a34a;
  color: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  transition: background 0.2s ease, transform 0.2s ease;
  min-height: 48px;
}

.btn-wa-direct:hover {
  background: #15803d;
  transform: translateY(-2px);
}

/* Scroll To Top */
.btn-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  border: 1.5px solid #bfdbfe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.2);
}

.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-scroll-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.05);
}

/* Footer */
footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 40px 0;
  text-align: center;
  font-size: 0.88rem;
}

footer .footer-brand {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

footer .footer-link-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  margin: 10px 0 6px;
}

footer .footer-link-wa:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

footer p.copyright {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #64748b;
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */

/* Tablet & Mobile Landscape (max-width: 992px) */
@media (max-width: 992px) {
  .company-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 16px 20px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    z-index: 1000;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 10px;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* Layar Ponsel Sedang (max-width: 768px) */
@media (max-width: 768px) {
  .header-container {
    min-height: 68px;
  }

  .main-nav {
    top: 68px;
  }

  .logo-box {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .brand-subtitle {
    font-size: 0.52rem;
  }

  .hero {
    padding: 45px 0 35px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-main,
  .btn-secondary {
    width: 100%;
  }

  .grid-products {
    grid-template-columns: 1fr;
  }

  .service-modes-banner {
    grid-template-columns: 1fr;
  }
}

/* Layar Ponsel Kecil (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-badge-wrap {
    padding: 5px 12px;
  }

  .hero-badge-text {
    font-size: 0.74rem;
  }

  .card {
    padding: 20px 16px;
  }

  .contact-card {
    padding: 20px 16px;
  }

  .btn-scroll-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}