/* ============================================================
   PT. MAKMUR ABADI CEMERLANG — nozzle.co.id
   Tema: Modern Biru
   style.css — TERPISAH DARI HTML
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --biru-tua:    #0A1628;
  --biru-gelap:  #0D2146;
  --biru:        #1D4ED8;
  --biru-muda:   #3B82F6;
  --biru-terang: #60A5FA;
  --biru-bg:     #EFF6FF;
  --cyan:        #06B6D4;
  --putih:       #FFFFFF;
  --abu-bg:      #F8FAFC;
  --abu-border:  #E2E8F0;
  --abu-teks:    #64748B;
  --teks:        #0F172A;
  --gradient:    linear-gradient(135deg, #1D4ED8, #06B6D4);
  --gradient-dark: linear-gradient(135deg, #0A1628, #0D2146);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--putih);
  color: var(--teks);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== UTILITY ===== */
.text-blue { color: var(--biru); }
.bg-dark { background: var(--biru-tua); }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--gradient);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-item .dot {
  width: 5px; height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* ===== HEADER ===== */
#site-header {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; }

.logo-icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(29, 78, 216, 0.4);
}

.logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--putih);
  line-height: 1.1;
}

.logo-sub {
  font-size: 10px;
  color: var(--biru-terang);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Nav */
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

#main-nav ul li { position: relative; }

#main-nav ul li > a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

#main-nav ul li > a:hover,
#main-nav ul li.current > a {
  color: var(--putih);
  background: rgba(59, 130, 246, 0.15);
}

/* Dropdown */
#main-nav ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--biru-gelap);
  min-width: 220px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  z-index: 200;
  padding: 6px;
  flex-direction: column;
  overflow: hidden;
}

#main-nav ul li:hover > ul { display: flex; }

#main-nav ul li ul li > a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0;
}

#main-nav ul li ul li > a:hover {
  background: rgba(59, 130, 246, 0.2);
  color: var(--biru-terang);
}

/* CTA Button */
.btn-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--putih);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.4);
  white-space: nowrap;
}

.btn-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.5);
}

.nav-toggle {
  display: none;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--biru-terang);
  padding: 8px 13px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--biru-tua);
  overflow: hidden;
}

/* Animated grid background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Glow orbs */
.hero-orb-1 {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.25) 0%, transparent 70%);
  top: -100px; left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  bottom: -80px; right: 100px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 78, 216, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: var(--biru-terang);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--putih);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--putih);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29, 78, 216, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--putih);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* Hero Right — Feature Cards */
.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-feat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.hero-feat:hover {
  background: rgba(29, 78, 216, 0.15);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
}

.hero-feat-icon { font-size: 32px; margin-bottom: 10px; }
.hero-feat-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--putih);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.hero-feat-sub { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ===== STATS ===== */
.stats-section {
  background: var(--gradient);
  padding: 1px 0;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--biru-gelap);
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(59, 130, 246, 0.15);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
}
.stat-item:hover::after { width: 60%; }

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }

/* ===== SECTION HEADING ===== */
.sec-head { text-align: center; margin-bottom: 48px; }

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--biru-bg);
  color: var(--biru);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--teks);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.sec-head p {
  color: var(--abu-teks);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== PRODUK ===== */
#produk {
  padding: 80px 0;
  background: var(--abu-bg);
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.produk-card {
  background: var(--putih);
  border: 1px solid var(--abu-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.produk-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.produk-card:hover {
  border-color: rgba(29, 78, 216, 0.3);
  box-shadow: 0 16px 48px rgba(29, 78, 216, 0.1);
  transform: translateY(-6px);
}

.produk-card:hover::before { transform: scaleX(1); }

.produk-img {
  height: 140px;
  background: linear-gradient(135deg, var(--biru-bg), #DBEAFE);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  border-bottom: 1px solid var(--abu-border);
}

.produk-body { padding: 18px; }

.produk-tag {
  display: inline-block;
  background: var(--biru-bg);
  color: var(--biru);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.produk-nama {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--teks);
  margin-bottom: 8px;
  line-height: 1.3;
}

.produk-desc { font-size: 12px; color: var(--abu-teks); line-height: 1.7; margin-bottom: 14px; }

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: var(--putih);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn-wa:hover { background: #128C7E; transform: translateY(-1px); }

/* ===== JASA PERBAIKAN ===== */
#jasa {
  padding: 80px 0;
  background: var(--biru-tua);
  position: relative;
  overflow: hidden;
}

#jasa::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

#jasa .sec-head h2 { color: var(--putih); }
#jasa .sec-tag { background: rgba(59,130,246,0.2); color: var(--biru-terang); }
#jasa .sec-head p { color: rgba(255,255,255,0.5); }

.jasa-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.jasa-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.jasa-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(29,78,216,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.jasa-card:hover {
  background: rgba(29, 78, 216, 0.12);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-6px);
}

.jasa-card:hover::after { opacity: 1; }

.jasa-icon-wrap {
  width: 56px; height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.jasa-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--putih);
  margin-bottom: 10px;
}

.jasa-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 18px; }

.jasa-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jasa-tag {
  background: rgba(59, 130, 246, 0.15);
  color: var(--biru-terang);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ===== MARKETING ===== */
#marketing {
  padding: 80px 0;
  background: var(--abu-bg);
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

.mkt-card {
  background: var(--putih);
  border: 1px solid var(--abu-border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.mkt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}

.mkt-card:hover {
  box-shadow: 0 20px 60px rgba(29, 78, 216, 0.12);
  transform: translateY(-6px);
  border-color: rgba(29, 78, 216, 0.2);
}

.mkt-avatar {
  width: 90px; height: 90px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
}

.mkt-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--teks);
  margin-bottom: 4px;
}

.mkt-role {
  font-size: 11px;
  font-weight: 700;
  color: var(--biru);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mkt-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--teks);
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 20px;
}

.mkt-phone .icon { font-size: 16px; }

.btn-wa-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: var(--putih);
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-wa-blue:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* ===== MEREK ===== */
#merek {
  padding: 60px 0;
  background: var(--putih);
  border-top: 1px solid var(--abu-border);
}

.merek-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.merek-badge {
  background: var(--abu-bg);
  border: 1px solid var(--abu-border);
  color: var(--abu-teks);
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.merek-badge:hover {
  background: var(--biru-bg);
  border-color: rgba(29, 78, 216, 0.3);
  color: var(--biru);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
  background: var(--biru-tua);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  padding: 60px 0 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-brand .fname {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--putih);
  margin-bottom: 14px;
}

.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.9; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--biru-terang);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li {
  padding: 5px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  cursor: default;
}

.footer-col ul li:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom span { color: var(--biru-terang); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { grid-template-columns: repeat(4, 1fr); max-width: 600px; }
  .hero-title { font-size: 42px; }
  .produk-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .btn-header { display: none; }
  #main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--biru-tua);
    padding: 12px;
    border-top: 1px solid rgba(59,130,246,0.2);
  }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 4px; }
  #main-nav ul li ul { position: static; box-shadow: none; background: rgba(255,255,255,0.03); }
  #main-nav ul li:hover > ul { display: flex; }

  .topbar { display: none; }
  .hero-content { padding: 50px 24px; }
  .hero-title { font-size: 34px; }
  .hero-right { grid-template-columns: repeat(2, 1fr); max-width: 320px; margin: 0 auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .produk-grid { grid-template-columns: repeat(2, 1fr); }
  .jasa-grid { grid-template-columns: 1fr; }
  .marketing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .produk-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
  .sec-head h2 { font-size: 26px; }
}
