/* ============================================
   BN NUSANTARA COMPUTER SERVICE
   Modern Professional Theme v2.0
   ============================================ */

/* ---------- FONT IMPORT ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@600&display=swap');

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

:root {
  /* Color System */
  --navy-900: #0a1929;
  --navy-800: #0f2438;
  --navy-700: #15314a;
  --navy-600: #1c3d5c;
  --blue-500: #2b7fff;
  --blue-400: #4da3ff;
  --blue-300: #78b9ff;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --success: #10b981;

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10, 25, 41, .06);
  --shadow-md: 0 4px 12px rgba(10, 25, 41, .08);
  --shadow-lg: 0 12px 32px rgba(10, 25, 41, .12);
  --shadow-glow: 0 8px 32px rgba(43, 127, 255, .25);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blue-500);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--blue-400); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--navy-900);
}
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(10, 25, 41, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all .3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(180px, 42vw);
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-menu > li > a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.nav-menu > li > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.btn-nav {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400)) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 12px rgba(43, 127, 255, .3);
}
.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43, 127, 255, .4) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .08);
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  overflow: hidden;
}
.dropdown li a {
  display: block;
  padding: 12px 16px;
  color: var(--gray-300);
  font-size: .92rem;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.dropdown li a:hover {
  background: rgba(43, 127, 255, .12);
  color: var(--blue-300);
}
.has-dropdown:hover .dropdown { display: block; animation: fadeInDown .25s ease; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.3rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding: 100px 0 120px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(43, 127, 255, .25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, .15) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }

.hero h1 {
  color: #fff;
  max-width: 900px;
  margin: 0 auto 24px;
  letter-spacing: -.03em;
}
.hero h1::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  margin: 0 auto 24px;
  border-radius: 2px;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--gray-300);
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: #fff;
  box-shadow: 0 4px 16px rgba(43, 127, 255, .3);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 127, 255, .4);
}

.btn-outline {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}

/* ---------- SECTIONS ---------- */
section { padding: 96px 0; }
section > .container > h2 {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  padding-bottom: 20px;
}
section > .container > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  border-radius: 2px;
}

/* ---------- SERVICES ---------- */
.services { background: #fff; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover {
  background: #fff;
  border-color: var(--blue-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(43, 127, 255, .12), rgba(34, 211, 238, .12));
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.card h3 a { color: var(--navy-900); }
.card h3 a:hover { color: var(--blue-500); }
.card p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ---------- WHY US ---------- */
.why-us {
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}
.feature {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all .3s ease;
  position: relative;
}
.feature::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(43, 127, 255, .3);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--navy-900);
}
.feature p {
  font-size: .92rem;
  color: var(--gray-600);
}

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--radius-xl);
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(43, 127, 255, .2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-band p {
  color: var(--gray-300);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- PAGE CONTENT ---------- */
.page-content {
  padding: 48px 24px 80px;
  max-width: 900px;
}
.page-content h1 {
  margin-bottom: 16px;
  letter-spacing: -.03em;
}
.page-content h2 {
  font-size: 1.5rem;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
  position: relative;
}
.page-content h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
}
.lead {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.6;
  padding-left: 20px;
  border-left: 3px solid var(--blue-400);
}
.page-content p { margin-bottom: 16px; }

/* ---------- SERVICE ITEM ---------- */
.service-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all .2s ease;
}
.service-item:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}
.service-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.service-item p {
  font-size: .92rem;
  color: var(--gray-600);
}

/* ---------- STEPS ---------- */
.steps {
  counter-reset: step;
  padding: 0;
  margin-bottom: 24px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 16px 16px 64px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-size: .95rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(43, 127, 255, .3);
}

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .2s ease;
}
.faq details[open] {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}
.faq summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy-900);
  font-size: .95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue-500);
  font-weight: 300;
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  content: "−";
  transform: rotate(0);
}
.faq p {
  padding: 0 22px 18px;
  color: var(--gray-600);
  font-size: .92rem;
  margin: 0;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  padding: 20px 0;
  font-size: .88rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--blue-500); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue-400); }

/* ---------- LIST CHECK ---------- */
.list-check { margin-bottom: 20px; }
.list-check li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: var(--gray-700);
  font-size: .95rem;
  border-bottom: 1px solid var(--gray-200);
}
.list-check li:last-child { border-bottom: none; }
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: rgba(16, 185, 129, .12);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}

/* ---------- CONTACT ---------- */
.contact-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-box h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  text-align: left;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.contact-box p {
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: .95rem;
}
.contact-box p:last-of-type { border-bottom: none; }
.contact-box p strong {
  display: inline-block;
  min-width: 100px;
  color: var(--navy-900);
  font-weight: 600;
}
.contact-box form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--navy-900);
}
.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  margin-top: 6px;
  transition: all .2s ease;
  background: var(--gray-50);
}
.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 127, 255, .1);
}

/* ---------- BLOG ---------- */
.post-preview {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s ease;
}
.post-preview:hover {
  transform: translateY(-4px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}
.post-preview h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  text-align: left;
  padding-bottom: 0;
  border-bottom: none;
}
.post-preview h2::after { display: none; }
.post-preview h2 a { color: var(--navy-900); }
.post-preview h2 a:hover { color: var(--blue-500); }
.post-preview p {
  color: var(--gray-600);
  font-size: .92rem;
  margin-bottom: 16px;
}
.link-more {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-more::after {
  content: "→";
  transition: transform .2s ease;
}
.link-more:hover::after { transform: translateX(4px); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--gray-300);
  padding: 80px 0 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400), var(--blue-500));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-grid h3 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.footer-grid h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-grid p, .footer-grid a {
  color: var(--gray-300);
  font-size: .88rem;
  line-height: 1.7;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover {
  color: var(--blue-300);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 24px;
  text-align: center;
  font-size: .82rem;
  color: var(--gray-500);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
}

@media (max-width: 720px) {
  .nav-menu {
    display: none;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-800);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .nav-menu.open > li > a {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }
  .menu-toggle { display: block; }
  .hero {
    padding: 72px 0 88px;
  }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(43, 127, 255, .08);
    border: none;
    margin-top: 4px;
  }
  section { padding: 56px 0; }
  .cta-band {
    padding: 56px 24px;
    margin: 32px 0;
  }
  .page-content { padding: 32px 20px 56px; }
}