/* =============================
   RESET & BASE
============================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --color-bg-main: #070b0a;
  --color-bg-nav: rgba(7,11,10,0.88);

  --color-bg-a: #0e1412; /* carbon */
  --color-bg-b: #070b0a; /* base */
  --color-bg-c: #121a18; /* steel */
  --color-bg-d: #0b1210; /* deep */

  --color-text-main: #eafff6;
  --color-text-muted: rgba(234,255,246,0.65);

  --color-accent: #00ff99;
  --color-accent-soft: rgba(0,255,153,0.18);
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text-main);
  background: var(--color-bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

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

/* =============================
   LAYOUT
============================= */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,255,153,0.18),
    transparent
  );
}

.section-pad {
  padding-top: 0;
}

/* =============================
   DARK SKIN SYSTEM (CONTRAST)
============================= */
.skin-hero {
  background: radial-gradient(
    circle at top left,
    rgba(0,255,153,0.14),
    var(--color-bg-main) 55%
  );
}

.skin-a { background: var(--color-bg-a); }
.skin-b { background: var(--color-bg-b); }
.skin-c { background: var(--color-bg-c); }
.skin-d { background: linear-gradient(180deg, #0b1210, #070b0a); }

/* =============================
   LANGUAGE TOGGLE
============================= */
.lang-en,
.lang-id {
  display: none !important;
}

.lang-en.active,
.lang-id.active {
  display: inline !important;
}

/* =============================
   NAVBAR
============================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: var(--color-bg-nav);
  border-bottom: 1px solid rgba(0,255,153,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand .logo {
  height: 44px;
  max-width: 220px;
}

/* DESKTOP MENU */
.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.75;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.domain-pill {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--color-text-muted);
}

/* =============================
   HAMBURGER (MOBILE)
============================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-text-main);
  cursor: pointer;
}

/* =============================
   BUTTONS
============================= */
.btn-primary {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #04110c;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 36px rgba(0,255,153,0.45);
}

/* =============================
   HERO
============================= */
.hero {
  padding: 120px 0 140px;
}

.hero-content {
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin: 20px 0;
  color: var(--color-accent);
  text-shadow: 0 0 28px rgba(0,255,153,0.28);
}

.hero-highlight {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
  opacity: 0.75;
}

.hero-description {
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 36px;
  color: var(--color-text-muted);
}

/* =============================
   HERO SLIDER
============================= */
.hero-slider-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider-section .hero-content {
  position: relative;
  z-index: 2;
}

/* =============================
   SECTION TITLES
============================= */
.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-accent);
  text-shadow: 0 0 18px rgba(0,255,153,0.18);
}

.section-title-center {
  text-align: center;
}

.section-desc {
  font-size: 18px;
  max-width: 640px;
  color: var(--color-text-muted);
}

/* =============================
   GRIDS
============================= */
.cap-grid,
.project-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.cap-item,
.project-item,
.why-item {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

/* =============================
   CLIENTS
============================= */
.clients-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px;
  align-items: center;
}

.clients-grid img {
  margin: 0 auto;
  max-width: 140px;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.clients-grid img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* =============================
   CONTACT
============================= */
.contact-lines {
  margin: 32px 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* =============================
   FOOTER
============================= */
.footer {
  background: #050807;
  padding: 32px 0;
}

.footer-inner {
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
}

/* =============================
   MOBILE (FINAL FIX)
============================= */
@media (max-width: 768px) {

  .nav-inner {
    height: auto;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    margin-right: 12px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #070b0a;
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links a {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .domain-pill,
  .lang-switch {
    display: none;
  }

  .brand .logo {
    height: 36px;
  }

  .hero {
    padding: 80px 0 100px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}
