/* =====================
   ZHX LABS — GLOBAL CSS
   ===================== */

/* ---- CSS Reset ringan ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: #0f172a;
  line-height: 1.7;
}

/* ---- Variables ---- */
:root {
  --primary: #0066cc;
  --primary-dark: #0055aa;
  --dark: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
  --bg: #f8fafc;
  --white: #ffffff;
}

/* ---- Links ---- */
a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* ---- Layout Helpers ---- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}

.hero {
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #475569;
  font-size: 1.15rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

ul {
  padding-left: 20px;
  margin: 0 0 1.25rem;
}

li {
  margin-bottom: .5rem;
}

.mt-0 { margin-top: 0 }
.mt-1 { margin-top: .5rem }
.mt-2 { margin-top: 1rem }
.mt-3 { margin-top: 2rem }

.text-center { text-align: center }

/* =====================
   HEADER / NAVIGATION
   ===================== */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--dark);
}

.brand span {
  color: var(--primary);
}

.nav-links a {
  margin-left: 20px;
  color: #334155;
  font-weight: 600;
}

.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}

/* =====================
   TYPOGRAPHY
   ===================== */

h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

h3 {
  margin: 0 0 .75rem;
}

p {
  margin: 0 0 1.25rem;
  color: #334155;
}

/* =====================
   BUTTONS
   ===================== */

.btn,
.cta {
  display: inline-block;
  margin-top: 20px;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 700;
}

.btn:hover,
.cta:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

/* =====================
   CARDS / SECTIONS
   ===================== */

.section {
  padding: 70px 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.muted {
  color: var(--muted);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px;
}

/* =====================
   FOOTER
   ===================== */

footer {
  margin-top: 80px;
  text-align: center;
  font-size: .9rem;
  background: #020617;
  color: #cbd5f5;
}

footer a {
  color: #93c5fd;
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  font-size: .95rem;
}

/* =====================
   PRODUCT DETAIL
   ===================== */

.lang-switch {
  text-align: right;
  margin-bottom: 20px;
}

.lang-switch button {
  background: none;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin-left: 8px;
  color: var(--primary);
}

.lang-switch button.active {
  text-decoration: underline;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 16px 0;
  color: var(--primary);
}

.note {
  font-size: .95rem;
  color: #666;
}