:root {
  --blue-900: #06304f;
  --blue-700: #0b5fa5;
  --blue-500: #1c8fd6;
  --blue-300: #6fc0ec;
  --blue-050: #eef6fc;
  --gray-900: #23272b;
  --gray-700: #4a4f54;
  --gray-500: #767b80;
  --gray-300: #d7dbdf;
  --gray-100: #f4f6f8;
  --white: #ffffff;

  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 18px rgba(6, 48, 79, 0.08);
  --shadow-lg: 0 16px 40px rgba(6, 48, 79, 0.14);
  --shadow-xl: 0 24px 60px rgba(6, 48, 79, 0.22);
  --container: 1160px;

  --grad-0: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  --grad-1: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  --grad-2: linear-gradient(135deg, var(--blue-500), var(--blue-300));
  --grad-3: linear-gradient(135deg, var(--blue-900), var(--blue-500));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#tentang, #produk, #kontak {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.2;
  color: var(--blue-900);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

p {
  margin: 0 0 16px;
  color: var(--gray-700);
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-500);
  margin: 0 0 10px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lead { max-width: 640px; }
.section-lead.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--blue-900); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: transparent;
}
.btn-outline:hover { background: var(--blue-050); }
.btn-small { padding: 9px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(6, 48, 79, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a:not(.btn) {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 0.96rem;
}
.main-nav a:hover:not(.btn) { color: var(--blue-700); }
.main-nav a.active:not(.btn) {
  color: var(--blue-700);
  position: relative;
}
.main-nav a.active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blue-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  overflow: hidden;
}
.mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}
.mesh-a {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, var(--blue-500), transparent 70%);
}
.mesh-b {
  width: 460px;
  height: 460px;
  bottom: -220px;
  left: -140px;
  background: radial-gradient(circle, var(--blue-300), transparent 70%);
  opacity: 0.3;
}
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 95, 165, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 95, 165, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 500px at 70% 0%, black, transparent 75%);
}
.grid-pattern.light {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  mask-image: radial-gradient(900px 500px at 20% 20%, black, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 64px;
}
.hero-inner { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 22px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-050);
}

.text-gradient {
  background: linear-gradient(100deg, var(--blue-700), var(--blue-500) 60%, var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead { font-size: 1.12rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 44px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--gray-300);
}
.stat { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--blue-700); }
.stat-label { font-size: 0.85rem; color: var(--gray-500); }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 460px;
}
.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.orb-1 {
  width: 90px; height: 90px;
  top: 6%; left: 4%;
  background: linear-gradient(135deg, var(--blue-300), transparent);
  opacity: 0.5;
  animation: float-y 7s ease-in-out infinite;
}
.orb-2 {
  width: 50px; height: 50px;
  bottom: 10%; right: 6%;
  background: linear-gradient(135deg, var(--blue-500), transparent);
  opacity: 0.4;
  animation: float-y 6s ease-in-out infinite 1s;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.float-card-main {
  width: 300px;
  top: 12%;
  left: 12%;
  padding: 22px;
  animation: float-y 6.5s ease-in-out infinite;
}
.float-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.float-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--grad-0);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card-icon svg { width: 20px; height: 20px; }
.float-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-500);
}
.float-card-title { font-weight: 700; color: var(--blue-900); margin: 0 0 14px; font-size: 0.98rem; }
.float-card-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--gray-100);
  overflow: hidden;
  margin-bottom: 10px;
}
.float-card-bar span {
  display: block;
  width: 78%;
  height: 100%;
  background: var(--grad-0);
  border-radius: 999px;
}
.float-card-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-family: var(--font-mono);
}

.float-card-sm {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  width: 220px;
}
.float-card-a { top: 62%; left: 0; animation: float-y 5.5s ease-in-out infinite 0.4s; }
.float-card-b { top: 4%; right: -2%; animation: float-y 6s ease-in-out infinite 0.8s; }
.float-card-icon.sm {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--blue-050);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card-icon.sm.alt { background: rgba(28, 143, 214, 0.12); color: var(--blue-500); }
.float-card-icon.sm svg { width: 17px; height: 17px; }
.float-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; color: var(--blue-900); margin: 0; }
.float-label { font-size: 0.76rem; color: var(--gray-500); margin: 0; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.wave-divider {
  line-height: 0;
  color: var(--blue-900);
}
.wave-divider svg { width: 100%; height: 56px; display: block; }
.wave-divider path { fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  .float-card, .float-orb { animation: none; }
}

/* About */
.about { position: relative; padding: 90px 0; background: var(--blue-900); overflow: hidden; }
.about-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.about h2, .about .eyebrow { color: var(--white); }
.about-text .eyebrow { color: var(--blue-300); }
.about-text p { color: #cfe0ee; }
.about-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-points li {
  color: var(--white);
  font-weight: 600;
  padding-left: 30px;
  position: relative;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-500);
}
.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-shape {
  position: absolute;
  inset: 8%;
  border-radius: 32% 68% 60% 40% / 45% 35% 65% 55%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
  opacity: 0.18;
}
.about-logo-mark {
  width: 55%;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.about-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  animation: spin 40s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.about-chip {
  position: absolute;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  animation: float-y 6s ease-in-out infinite;
}
.chip-1 { top: 8%; left: 4%; }
.chip-2 { bottom: 12%; right: 2%; animation-delay: 0.6s; }
.chip-3 { bottom: 4%; left: 14%; animation-delay: 1.2s; }

/* Products teaser (home) */
.products { padding: 90px 0; }
.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-050);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon svg { width: 22px; height: 22px; }
.product-icon.sm { width: 38px; height: 38px; border-radius: 10px; }
.product-icon.sm svg { width: 19px; height: 19px; }

.teaser-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.teaser-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.teaser-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.teaser-card:hover::before { transform: scaleX(1); }
.teaser-card.grad-0 .product-icon, .teaser-card.grad-0::before { background: var(--grad-0); }
.teaser-card.grad-1 .product-icon, .teaser-card.grad-1::before { background: var(--grad-1); }
.teaser-card.grad-2 .product-icon, .teaser-card.grad-2::before { background: var(--grad-2); }
.teaser-card.grad-3 .product-icon, .teaser-card.grad-3::before { background: var(--grad-3); }
.teaser-card .product-icon { color: var(--white); }
.teaser-title { font-weight: 700; color: var(--blue-900); font-size: 0.96rem; line-height: 1.35; flex: 1; }
.teaser-count { display: none; }
.teaser-arrow {
  color: var(--gray-300);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.teaser-arrow svg { width: 18px; height: 18px; }
.teaser-card:hover .teaser-arrow { color: var(--blue-500); transform: translateX(3px); }

.products-cta { text-align: center; margin-top: 44px; }

/* Page banner (produk.html) */
.page-banner {
  position: relative;
  overflow: hidden;
  padding: 60px 0 76px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--gray-500); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue-700); }
.breadcrumb span { margin: 0 6px; }
.page-banner h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 720px; }
.page-banner .hero-lead { max-width: 680px; }

/* Catalog (produk.html) */
.catalog { padding: 0 0 90px; }
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 12px 18px;
  max-width: 420px;
  background: var(--white);
}
.search-box svg { width: 18px; height: 18px; color: var(--gray-500); flex-shrink: 0; }
.search-box input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.chip span { color: var(--gray-500); font-family: var(--font-mono); font-size: 0.8em; margin-left: 4px; }
.chip:hover { border-color: var(--blue-500); color: var(--blue-700); }
.chip.active { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }
.chip.active span { color: var(--blue-300); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.catalog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.catalog-card-body { flex: 1; }
.catalog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-500);
  margin-bottom: 6px;
}
.catalog-name { font-size: 0.98rem; margin: 0; color: var(--blue-900); line-height: 1.4; }
.catalog-link { align-self: flex-start; }
.catalog-link svg { width: 16px; height: 16px; }
.catalog-empty { display: none; text-align: center; color: var(--gray-500); padding: 40px 0; }

/* Contact */
.contact { padding: 90px 0; background: var(--gray-100); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-value { font-weight: 700; color: var(--blue-900); font-size: 1.05rem; }
a.contact-value:hover { color: var(--blue-700); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--gray-900); }
.form-row input, .form-row textarea {
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.96rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-050);
}
.form-note { margin: 12px 0 0; font-size: 0.88rem; color: var(--blue-700); min-height: 1.2em; }

/* Footer */
.site-footer { background: var(--blue-900); padding: 32px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { height: 30px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-inner p { margin: 0; color: #9fb7cb; font-size: 0.88rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; margin-top: 8px; }
  .float-card-main { width: 260px; left: 4%; }
  .float-card-b { right: -4%; }
}

@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 280px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { width: 100%; padding: 10px 0; }
  .main-nav a.btn { margin-top: 8px; }
  .hero { padding: 56px 0 0; }
  .hero-visual { height: 280px; }
  .float-card-main { padding: 16px; }
  .float-card-sm { width: auto; padding: 12px 14px; }
  .about, .products, .contact, .catalog { padding: 60px 0; }
  .page-banner { padding: 40px 0 56px; }
}
