/* ============================================================
   LUCID Instrument — Global Stylesheet v4
   Design: Clean editorial white — premium analytical instrument brand
   Palette: Pure white · Light grey · Charcoal ink · Blue accent
   ============================================================ */

:root {
  --ink: #111827;
  --ink-secondary: #1f2937;
  --slate: #4b5563;
  --muted: #6b7280;
  --light-muted: #9ca3af;
  --line: #e5e7eb;
  --line-subtle: #f3f4f6;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-softer: #f3f4f6;
  --bg-dark: #111827;
  --bg-dark-2: #1f2937;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --wa-green: #25d366;
  --wa-green-hover: #1ebe59;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.10);
  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-top: 72px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.022em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0 0 1rem; color: var(--slate); font-size: 0.97rem; }

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

.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section--soft { background: var(--bg-soft); }
.section--dark {
  background: var(--bg-dark);
  color: #f3f4f6;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: #9ca3af; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.section--dark .eyebrow { color: #93c5fd; }

.lead { font-size: 1.12rem; color: var(--slate); line-height: 1.68; max-width: 62ch; }

/* ── HEADER & NAV ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 500;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  will-change: transform;
}
.site-header.header--hidden {
  transform: translateY(-100%);
  box-shadow: none;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.42em;
  font-size: 1.08rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
  text-indent: 0.42em;
  transition: opacity 0.15s ease;
  margin-right: auto;
}
.logo:hover { opacity: 0.7; }
.logo--light { color: #fff; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav a, .nav .dropdown-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-family: inherit;
}
.nav a:hover,
.nav a.active,
.nav .dropdown-toggle:hover,
.nav .dropdown-toggle.active {
  color: var(--ink);
  background: var(--bg-softer);
}
.nav a.active,
.nav .dropdown-toggle.active {
  font-weight: 600;
  color: var(--ink);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Dropdown */
.dropdown { position: relative; display: inline-flex; }
.dropdown-toggle svg { width: 13px; height: 13px; opacity: 0.5; transition: transform 0.2s ease; }
.dropdown:hover .dropdown-toggle svg,
.dropdown.open .dropdown-toggle svg { transform: rotate(180deg); opacity: 0.8; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 600;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.12s ease;
}
.dropdown-item:hover { background: var(--bg-soft); }
.dropdown-item strong { font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.dropdown-item .item-sub { font-size: 0.76rem; color: var(--muted); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin-left: auto;
}

/* Language Switcher */
.lang-dropdown { position: relative; display: inline-flex; align-items: center; }

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lang-trigger:hover { background: var(--bg-soft); border-color: #cbd5e1; }
.lang-trigger .globe-icon { width: 14px; height: 14px; opacity: 0.6; flex: none; }
.lang-trigger .chevron { width: 13px; height: 13px; opacity: 0.5; transition: transform 0.18s ease; margin-left: 1px; }
.lang-dropdown.open .lang-trigger .chevron { transform: rotate(180deg); }
.lang-trigger .lang-current { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; }

.lang-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  min-width: 118px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 600;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
  letter-spacing: 0.04em;
}
.lang-option:hover, .lang-option.active { background: var(--bg-soft); color: var(--ink); }
.lang-option.active { color: var(--accent); }
.lang-option .lang-flag { font-size: 1rem; line-height: 1; flex: none; }
.lang-option .lang-name { font-size: 0.75rem; color: var(--muted); font-weight: 400; margin-left: auto; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease,
              color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: #000; box-shadow: 0 8px 20px rgba(0,0,0,0.18); }

.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); background: var(--bg-soft); }

.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(37,99,235,0.28); }

.btn--wa { background: var(--wa-green); color: #fff; border-color: var(--wa-green); }
.btn--wa:hover { background: var(--wa-green-hover); box-shadow: 0 8px 20px rgba(37,211,102,0.28); }

.btn--lg { padding: 13px 26px; font-size: 0.95rem; }
.btn--sm { padding: 7px 14px; font-size: 0.82rem; }
.btn--block {
  width: 100%;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.14s; }
.d3 { transition-delay: 0.22s; }
.d4 { transition-delay: 0.30s; }

/* Float animation */
.float-subtle { animation: subtleFloat 5.5s ease-in-out infinite; }
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-subtle { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── HOMEPAGE HERO ── */
.hero-home {
  padding: 88px 0 100px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* Subtle grid/lines background texture */
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-subtle) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-home .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-title {
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--slate);
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

/* Hero visual */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 20px 28px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.hero-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
}
.hero-tab:hover { color: var(--ink); }
.hero-tab.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.hero-panel {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  animation: panelFade 0.25s ease;
}
.hero-panel.active { display: flex; }

@keyframes panelFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-stage-frame {
  width: 100%;
  min-height: 270px;
  background: linear-gradient(155deg, #f8fafc 0%, #eef2f6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-product-img {
  width: 100%;
  max-height: 230px;
  max-width: 380px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.1));
  transition: transform 0.35s ease;
}
.hero-visual-card:hover .hero-product-img { transform: scale(1.03); }

.hero-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  box-shadow: var(--shadow-xs);
}

.hero-panel-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
}
.hero-panel-meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-panel-meta strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
  width: 100%;
}

.spec-pill {
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-secondary);
  box-shadow: var(--shadow-xs);
}

/* Motto bar */
.motto-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.motto-items {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.motto-items span.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--light-muted);
  flex: none;
}

.origin-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.origin-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
}
.flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  border: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
  display: inline-block;
  overflow: hidden;
  flex: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.flag--de {
  background-image: linear-gradient(180deg, #000000 0%, #000000 33.33%, #dd0000 33.33%, #dd0000 66.66%, #ffce00 66.66%, #ffce00 100%);
}
.flag--id {
  background-image: linear-gradient(180deg, #dc2626 0%, #dc2626 50%, #ffffff 50%, #ffffff 100%);
}

/* ── STATS STRIP ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-box {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.stat-box:last-child { border-right: none; }
.stat-box .val {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-box .lbl {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ── SECTION HEADINGS ── */
.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { font-size: 1.05rem; }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.product-card-media {
  background: linear-gradient(155deg, #f8fafc 0%, #edf2f7 100%);
  padding: 44px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.product-card-img {
  max-height: 210px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.09));
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card-body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.product-card-body p { font-size: 0.93rem; color: var(--slate); flex: 1; margin-bottom: 20px; }

.mini-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.mini-spec-item .k {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}
.mini-spec-item .v { font-size: 0.93rem; font-weight: 700; color: var(--ink); }

.product-card-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── FEATURES GRID (Why LUCID) ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.features-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 18px;
}
.feature-top .feature-icon { margin-bottom: 0; }
.feature-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--light-muted);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-box h4 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-box p { font-size: 0.88rem; margin: 0; line-height: 1.55; color: var(--slate); }

/* ── APPLICATIONS GRID ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.app-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
  background: #fff;
}
.app-card .app-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.app-card h4 { font-size: 1.0rem; margin-bottom: 7px; }
.app-card p { font-size: 0.87rem; margin: 0; }

/* ── BROCHURE SECTION ── */
.brochures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.brochure-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.brochure-card:hover { box-shadow: var(--shadow-md); border-color: #cbd5e1; }

.brochure-thumb {
  width: 130px;
  flex: none;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.brochure-info h4 { font-size: 1.08rem; margin-bottom: 6px; }
.brochure-info p { font-size: 0.87rem; margin-bottom: 16px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #9ca3af; max-width: 54ch; margin: 0 auto 32px; font-size: 1.02rem; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 72px 0 60px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p.lead { margin-bottom: 0; }

/* ── PRODUCT DETAIL PAGES ── */
.product-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}

.product-hero-visual {
  background: linear-gradient(150deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.product-hero-visual img {
  max-height: 340px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.09));
}

.quick-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.qs-item .lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}
.qs-item .val { font-size: 1.3rem; font-weight: 700; color: var(--ink); }

/* Spec tables */
.spec-category-block { margin-bottom: 32px; }
.spec-category-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--ink);
  padding: 10px 18px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-top: none;
}
.spec-table tr:nth-child(even) { background: var(--bg-soft); }
.spec-table td {
  padding: 12px 18px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table td:first-child { width: 38%; color: var(--slate); font-weight: 500; }
.spec-table td:last-child { color: var(--ink); font-weight: 600; }

/* Advantages strip */
.kp-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.kp-item { border-top: 2px solid var(--line); padding-top: 16px; }
.section--dark .kp-item { border-top-color: rgba(255,255,255,0.18); }
.kp-item .kp-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.section--dark .kp-item .kp-num { color: #60a5fa; }
.kp-item .kp-text { font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.section--dark .kp-item .kp-text { color: #ffffff; }

/* ── ABOUT PAGE ── */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.mission-vision-grid { display: grid; gap: 18px; }
.mv-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.mv-box h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.mv-box h4 svg { color: var(--accent); width: 20px; height: 20px; }

.facility-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

/* ── INVESTORS PAGE ── */
.investor-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.inv-highlight-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
}
.inv-highlight-box .big {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.inv-highlight-box .small { color: #9ca3af; font-size: 0.87rem; line-height: 1.5; }

.why-invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-invest-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.22s ease;
}
.why-invest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-invest-card .card-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.why-invest-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.why-invest-card p { font-size: 0.9rem; color: var(--slate); line-height: 1.6; }

/* Timeline */
.timeline { border-left: 2px solid var(--line); padding-left: 32px; margin-left: 12px; }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.timeline-item.done::before { background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.14); }
.timeline-item.active::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.18); }
.timeline-phase {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.timeline-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.9rem; }

/* ── CONTACT & FORMS ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--light-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field--consent {
  margin-top: 20px;
  margin-bottom: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate);
  font-weight: normal;
  margin: 0;
}
.consent-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--ink);
  cursor: pointer;
}

.contact-info-col > * + * { margin-top: 16px; }

.contact-card-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.2s ease;
}
.contact-card-item > div { min-width: 0; overflow-wrap: anywhere; }
.form-card p,
.facility-card a { overflow-wrap: anywhere; }
.about-split > *,
.contact-layout > *,
.facility-card > *,
.products-grid > *,
.features-grid > *,
.why-invest-grid > *,
.investor-highlights > * { min-width: 0; }
.contact-card-item:hover { box-shadow: var(--shadow-sm); }

.contact-card-item .ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex: none;
}
.contact-card-item .ico svg { width: 20px; height: 20px; }
.contact-card-item h4 { font-size: 1.0rem; margin-bottom: 4px; }
.contact-card-item p { font-size: 0.88rem; margin-bottom: 6px; }

.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.map-card iframe { width: 100%; height: 360px; border: 0; display: block; }
.map-card-footer {
  padding: 16px 22px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.map-card-footer p { margin: 0; font-size: 0.87rem; color: var(--slate); }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-dark);
  color: #9ca3af;
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 56px;
}
.site-footer h5 {
  color: #fff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: #9ca3af; font-size: 0.9rem; transition: color 0.15s ease; }
.site-footer a:hover { color: #fff; }
.footer-about p { color: #9ca3af; font-size: 0.9rem; line-height: 1.65; max-width: 36ch; }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
}

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.09);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}
.wa-float svg { width: 29px; height: 29px; }

/* ── LANGUAGE VISIBILITY ── */
[data-lang-id] { display: none; }
html[data-lang="id"] [data-lang-en] { display: none; }
html[data-lang="id"] [data-lang-id] { display: revert; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-home .container,
  .product-hero-wrap,
  .about-split { grid-template-columns: 1fr; }
  .hero-home .container { gap: 40px; }
  .hero-stage { max-width: 540px; margin: 0 auto; }
  .features-grid,
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid,
  .brochures-grid { grid-template-columns: 1fr; }
  .kp-strip { grid-template-columns: repeat(3, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 1px; }
  .quick-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-header .container { height: 64px; }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    display: none;
    z-index: 499;
  }
  .nav.open { display: flex; }
  .nav a, .nav .dropdown { width: 100%; }
  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line-subtle);
    border-radius: 0;
    background: none;
  }
  .nav a:hover { background: none; color: var(--ink); }
  .nav a.active::after { display: none; }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 14px;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: auto;
    border-radius: 0;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-toggle { display: inline-flex; }

  .contact-layout { grid-template-columns: 1fr; }
  .why-invest-grid,
  .investor-highlights { grid-template-columns: 1fr; }
  .facility-card { grid-template-columns: 1fr; }
  .lang-menu { right: auto; left: 0; }
  .stat-box { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-box:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .field-row { grid-template-columns: 1fr; }
  .features-grid,
  .apps-grid,
  .stats-strip,
  .quick-specs-grid { grid-template-columns: 1fr; }
  .kp-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brochure-card { flex-direction: column; align-items: flex-start; }
  .brochure-thumb { width: 100%; max-width: 240px; }
  .cta-band { padding: 36px 22px; }
  .form-card { padding: 24px; }
  .facility-card { padding: 24px 20px; }
  .motto-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .origin-group { margin-left: 0; }
  .hero-home { padding: 60px 0 72px; }
  .btn--lg { padding: 11px 20px; font-size: 0.9rem; }
  .hero-visual-card { padding: 32px 20px 24px; }
  .product-hero-wrap { padding: 48px 0; gap: 32px; }
  .spec-table td { padding: 10px 12px; font-size: 0.84rem; word-break: break-word; }
  .spec-table td:first-child { width: 45%; }
}

/* ── FAQ (SEO) ── */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); padding: 18px 28px 18px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--muted); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 18px; color: var(--slate); font-size: 0.93rem; line-height: 1.65; }

/* ── MOBILE HEADER FIT (prevents horizontal overflow on narrow phones) ── */
@media (max-width: 480px) {
  .logo { letter-spacing: 0.3em; font-size: 0.98rem; text-indent: 0.3em; }
  .nav-actions { gap: 6px; min-width: 0; }
  .nav-actions > .btn { padding: 7px 10px; font-size: 0.78rem; }
  .lang-trigger { padding: 5px 7px; }
  .site-header .container { min-width: 0; }
}
@media (max-width: 380px) {
  .nav-actions > .btn { display: none; }
}

/* ── MOBILE: Products dropdown inside hamburger menu ── */
@media (max-width: 860px) {
  .nav { max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav .dropdown { display: block; width: 100%; }
  .nav .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line-subtle);
    border-radius: 0;
    font-size: 0.875rem;
  }
  .nav .dropdown:hover .dropdown-menu { display: none; }
  .nav .dropdown.open:hover .dropdown-menu,
  .nav .dropdown.open .dropdown-menu { display: block; }
  .nav .dropdown-menu {
    width: 100%;
    left: auto;
    right: auto;
    margin: 0;
    padding: 4px 0 8px 12px;
    background: transparent;
  }
  .nav .dropdown .dropdown-menu,
  .nav .dropdown:hover .dropdown-menu,
  .nav .dropdown.open .dropdown-menu { position: static; transform: none !important; left: auto; top: auto; }
  .nav { background: #fff; }
  .nav .dropdown-item { align-items: flex-start; text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line-subtle); }
  .nav .dropdown-item:last-child { border-bottom: none; }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 700;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover { background: #000; }
/* header is fixed: keep body offset in sync on mobile */
@media (max-width: 860px) { body { padding-top: 64px; } }

/* ── INTERACTIVE BROCHURE THUMBNAIL & LIGHTBOX MODAL ── */
.brochure-thumb {
  cursor: zoom-in;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.brochure-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.16);
}
.lucid-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.82);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.lucid-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.lucid-modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.lucid-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.lucid-modal-head h4 { margin: 0; font-size: 1rem; color: var(--ink); }
.lucid-modal-close {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
}
.lucid-modal-close:hover { background: var(--line); }
.lucid-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  text-align: center;
  background: var(--bg-soft);
}
.lucid-modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.lucid-modal-body.policy-text {
  text-align: left;
  background: #fff;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate);
}
.lucid-modal-body.policy-text h5 {
  color: var(--ink);
  font-size: 0.96rem;
  margin: 16px 0 6px;
}
.lucid-modal-body.policy-text h5:first-child { margin-top: 0; }
.consent-policy-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
