/* Kizo Group — Zoo Soft craft patterns (Inter, scale, nav underline) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root, [data-theme="light"] {
  --bg: #f5f9ff;
  --bg-2: #eef5ff;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --border: #dbe7ff;
  --border-strong: rgba(25, 103, 255, 0.35);
  --text: #0d1528;
  --ink: #0d1528;
  --ink-2: #111827;
  --muted: #667085;
  --primary: #1967ff;
  --primary-strong: #0f58ff;
  --primary-soft: #eaf2ff;
  --accent: #2ec5ff;
  --accent-zame: #00a890;
  --accent-auto: #1967ff;
  --accent-browser: #7c5ce0;
  --accent-reup: #dc2626;
  --glow: rgba(25, 103, 255, 0.18);
  --shadow: 0 16px 50px rgba(25, 103, 255, 0.08);
  --shadow-strong: 0 22px 60px rgba(7, 28, 77, 0.14);
  /* KizoSoft-ref screenshot nav */
  --header-bg: #ffffff;
  --header-border: rgba(15, 23, 42, 0.06);
  --nav-muted: #4b5563;
  --nav-deep: #1967ff;
  --nav-tint: transparent;
  --nav-soft: transparent;
  --nav-shadow: 0 8px 24px rgba(25, 103, 255, 0.28);
  --nav-hover: transparent;
  --nav-link: #4b5563;
  --radius: 24px;
  --radius-sm: 16px;
  --radius-pill: 9999px;
  --container: 1180px;
  --header-h: 80px;
  /* Zoo Soft type system (Inter only) */
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 12.5px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 15px;
  --fs-lg: 17px;
  --fs-h3: 18px;
  --fs-h2: clamp(28px, 4vw, 40px);
  --fs-h1: clamp(36px, 6vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --preview-accent: #1967ff;
}

[data-theme="dark"] {
  --bg: #070b14;
  --bg-2: #0f1629;
  --surface: #141c2f;
  --surface-2: #1a2438;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(79, 140, 255, 0.4);
  --text: #f1f5f9;
  --ink: #f1f5f9;
  --ink-2: #e2e8f0;
  --muted: #94a3b8;
  --nav-link: #cbd5e1;
  --nav-muted: #94a3b8;
  --nav-deep: #60a5fa;
  --nav-tint: transparent;
  --nav-soft: transparent;
  --nav-shadow: 0 8px 24px rgba(79, 140, 255, 0.35);
  --primary: #4f8cff;
  --primary-strong: #3b7aef;
  --primary-soft: rgba(79, 140, 255, 0.12);
  --accent-zame: #00c2a8;
  --accent-browser: #a78bfa;
  --glow: rgba(79, 140, 255, 0.28);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.55);
  --header-bg: rgba(7, 11, 20, 0.92);
  --header-border: rgba(148, 163, 184, 0.12);
  --nav-hover: transparent;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { font-size: inherit; }

/* Screen-reader only (a11y labels without visual text) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(25, 103, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 35% 30% at 90% 20%, rgba(0, 168, 144, 0.08), transparent 50%),
    radial-gradient(ellipse 35% 30% at 10% 70%, rgba(124, 92, 224, 0.07), transparent 50%),
    linear-gradient(180deg, #fff 0%, #f5f9ff 40%, #eef5ff 100%);
}
[data-theme="dark"] .bg-mesh {
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(79, 140, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #070b14, #0a1020);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}

/* ===== Header — KizoSoft-ref screenshot style (underline active) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  height: auto;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.nav-wrap {
  min-height: var(--header-h);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
}
/* Brand: large logo mark — fixed so menu width stays independent */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
  width: max-content;
  max-width: 260px;
  color: var(--text);
  line-height: 1;
  z-index: 1;
}
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #4f8cff, #1967ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(25, 103, 255, 0.28);
  flex-shrink: 0;
}
/* Default brand logo */
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-radius: 0;
  padding: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  mix-blend-mode: normal;
}
/* Header logo larger — does not affect menu flex */
.site-header .brand-logo {
  width: 56px;
  height: 56px;
}
.brand.has-logo {
  background: transparent;
}
.brand.has-logo .brand-mark { display: none; }
/* Wordmark */
.brand.has-logo > span,
.brand > span.brand-text {
  display: inline-block !important;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.brand-text .brand-accent {
  color: var(--primary);
}
.brand.has-logo > span.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}
.site-header .brand {
  background: transparent !important;
}
.product-logo, .eco-flagship-logo {
  width: 100%; height: 100%; object-fit: contain; display: block;
  padding: 6% 8%;
  /* product box art already has white canvas — blend into frame */
  background: #fff;
}
.eco-flagship-media.has-logo {
  display: grid; place-items: center;
  /* unified white frame — matches product package art background */
  background: #fff !important;
  border-radius: inherit;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8);
}
.eco-flagship-item.is-zame .eco-flagship-media.has-logo,
.eco-flagship-item.is-auto .eco-flagship-media.has-logo,
.eco-flagship-item.is-browser .eco-flagship-media.has-logo,
.eco-flagship-item.is-reup .eco-flagship-media.has-logo,
.eco-flagship-item.is-all .eco-flagship-media.has-logo {
  background: #fff !important;
}
.eco-flagship-item.is-all .eco-flagship-logo { filter: none; }
[data-theme="dark"] .eco-flagship-media.has-logo {
  background: #fff !important; /* keep product art contrast consistent */
}
.pd-logo-wrap {
  width: 72px; height: 72px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  box-shadow: var(--shadow); flex-shrink: 0;
  display: grid; place-items: center; padding: 6px;
}
.pd-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.product-card-logo {
  width: 56px; height: 56px; border-radius: 14px; object-fit: cover;
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow);
}
/* Layout: brand (fixed) | menu (centered, compact gaps) | CTA (fixed) */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 16px;
  margin-right: 16px;
  padding-inline: 0;
  flex-wrap: nowrap;
}
.nav-menu a {
  position: relative;
  padding: 8px 12px;
  border-radius: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--nav-muted);
  background: transparent !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-menu a:hover {
  color: var(--primary);
  background: transparent !important;
}
/* Active: blue text + blue underline (screenshot) */
.nav-menu a.active,
.nav-menu a.is-active {
  color: var(--primary);
  background: transparent !important;
  font-weight: 700;
}
.nav-menu a::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  opacity: 1;
  pointer-events: none;
}
.nav-menu a:hover::after {
  transform: scaleX(0.55);
  opacity: 0.45;
}
.nav-menu a.active::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Right cluster: theme (subtle) + CTA pill — fixed, không nén menu */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  flex: 0 0 auto;
  z-index: 1;
}
.theme-toggle {
  margin-left: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--nav-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-wrap > .theme-toggle { margin-left: auto; }
/* Hide secondary ghost CTA — screenshot only has one filled CTA */
.nav-actions > .btn-ghost { display: none; }
a.nav-cta.btn,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: auto;
  margin-left: 0;
  font-size: 14px;
  font-weight: 600;
  min-height: 0;
  height: auto;
  padding: 11px 22px !important;
  flex-shrink: 0;
  border-radius: 999px !important;
  background: var(--primary) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: var(--nav-shadow) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--primary-strong) !important;
  box-shadow: 0 10px 28px rgba(25, 103, 255, 0.34);
}
.nav-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-wrap > .nav-cta { margin-left: 8px; }
/* Burger */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.2s ease;
  cursor: pointer;
  padding: 0;
}
.nav-toggle:hover { background: rgba(25, 103, 255, 0.08); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.theme-toggle:hover { background: rgba(25, 103, 255, 0.08); color: var(--primary); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.btn, .nav-menu a, .theme-toggle { cursor: pointer; }
.btn:focus-visible, .nav-menu a:focus-visible, .theme-toggle:focus-visible, .preview-tab:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 0; padding: 10px 18px; border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--nav-shadow);
}
.btn-primary:hover {
  background: var(--primary-strong);
  box-shadow: 0 10px 28px rgba(25, 103, 255, 0.34);
}
.btn-secondary {
  background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: var(--shadow);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--primary-soft); }
.btn-zame { background: linear-gradient(135deg, #00c2a8, #00a890); color: #042; box-shadow: 0 12px 28px rgba(0,168,144,.28); }
.btn-browser { background: linear-gradient(135deg, #a78bfa, #7c5ce0); color: #fff; box-shadow: 0 12px 28px rgba(124,92,224,.28); }
.btn-reup { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; box-shadow: 0 12px 28px rgba(220,38,38,.28); }
.btn-sm { min-height: 0; padding: 7px 14px; font-size: 13px; font-weight: 600; }
/* Zoo Soft btn--ghost */
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--nav-tint);
  color: var(--nav-deep);
  transform: none;
}
.nav-cta { white-space: nowrap; }

/* ===== Type (Zoo Soft scale) ===== */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.eyebrow.zame { color: var(--accent-zame); }
.eyebrow.auto { color: var(--primary); }
.eyebrow.browser { color: var(--accent-browser); }
.eyebrow.reup { color: var(--accent-reup); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.85rem; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
.lead {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  margin: 0;
  max-width: 38rem;
  line-height: 1.65;
}
.lead strong { color: var(--text); }
.section { padding: 5.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

/* ===== Hero visual ===== */
.hero { padding: 3.25rem 0 4rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--primary), var(--accent-zame));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.35rem; }
.hero-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem;
}
.mini-feature {
  padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.mini-feature strong { display: block; font-size: .95rem; }
.mini-feature span { font-size: .8rem; color: var(--muted); }

/* Hero visual — orbit ring spins; icons stay upright via reverse spin on face */
.hero-art {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.hero-card {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 103, 255, 0.22), transparent 70%);
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
}
/* Ring path (optional visual) */
.hero-orbit-ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(25, 103, 255, 0.18);
  z-index: 0;
  pointer-events: none;
}
/* Parent: rotates the whole constellation */
.hero-orbit {
  --orbit-duration: 28s;
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  animation: kizo-orbit-spin var(--orbit-duration) linear infinite;
  will-change: transform;
}
/* Child: park at angle on the circle (static — parent does the spin) */
.orbit-item {
  --orbit-r: 195px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  transform: rotate(var(--angle, 0deg)) translateY(calc(var(--orbit-r) * -1));
  transform-origin: center center;
}
/* Undo placement angle so icon baseline is world-up before reverse-spin */
.orbit-fix {
  width: 100%;
  height: 100%;
  transform: rotate(calc(var(--angle, 0deg) * -1));
}
/* Reverse-spin only (no CSS vars in keyframes — works everywhere) */
.orbit-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(7, 28, 77, 0.12);
  display: grid;
  place-items: center;
  animation: kizo-orbit-spin-rev var(--orbit-duration, 28s) linear infinite;
  will-change: transform;
}
.orbit-item.is-radar .orbit-face::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 18px;
  border: 2px solid rgba(25, 103, 255, 0.28);
  animation: radar-pulse 2.4s ease-out infinite;
  animation-delay: var(--radar-delay, 0s);
  pointer-events: none;
}
.orbit-face svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  display: block;
}
.orbit-item.teal .orbit-face svg { color: var(--accent-zame); }
.orbit-item.violet .orbit-face svg { color: var(--accent-browser); }

/* Hero core: keep original disc size; logo large + blends with page bg */
.hero-core {
  position: relative;
  z-index: 2;
  width: min(56%, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  /* same soft disc feel as before, tinted to page --bg so logo white canvas disappears */
  background: radial-gradient(
    circle at 35% 30%,
    var(--bg) 0%,
    var(--bg-2) 48%,
    #dbe7ff 100%
  );
  border: 1px solid var(--border);
  box-shadow:
    0 20px 50px rgba(7, 28, 77, 0.14),
    inset 0 0 0 8px rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  animation: float-y 4.5s ease-in-out infinite;
  overflow: hidden;
}
.hero-core-inner {
  /* logo fills most of the (original-size) disc */
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 4%;
  box-shadow: none;
  overflow: hidden;
}
.hero-core-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* transparent PNG logo — no white canvas */
  background: transparent;
  mix-blend-mode: normal;
  filter: contrast(1.03) saturate(1.04);
}
[data-theme="dark"] .hero-core {
  background: radial-gradient(
    circle at 35% 30%,
    var(--surface) 0%,
    var(--bg-2) 50%,
    var(--bg) 100%
  );
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 0 0 8px rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .hero-core-inner img {
  background: transparent;
  filter: brightness(1.06) contrast(1.05) saturate(1.05);
}
.hero-core-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1.5px dashed rgba(25, 103, 255, 0.22);
  pointer-events: none;
}

@keyframes kizo-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes kizo-orbit-spin-rev {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes radar-pulse {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== All products page (Zoo Soft /all) ===== */
.all-page {
  padding-top: 24px;
  padding-bottom: 72px;
  background: var(--surface);
}
.all-page-hero {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.all-page-crumb {
  justify-content: center;
  margin-bottom: 1rem;
}
.all-page-hero h1 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.all-page-hero h1 span { color: var(--primary); }
.all-page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.eco-hub-banner {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.eco-hub-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.eco-hub-banner img {
  width: 120px;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.eco-hub-banner h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
}
.eco-hub-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.eco-hub-banner .eco-flagship-detail { margin-top: 0; padding-top: 0; }
[data-theme="dark"] .eco-hub-banner {
  background: var(--surface);
  border-color: var(--border);
}
@media (max-width: 720px) {
  .eco-hub-banner {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .eco-hub-banner .eco-flagship-detail { grid-column: 1 / -1; }
}
.eco-page-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}
.eco-page-bottom .eco-benefits,
.eco-benefits-page {
  margin-top: 0;
  margin-bottom: 0;
}
.eco-page-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 26px;
  border-radius: 14px;
  border: 1px solid #e8eefc;
  background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 100%);
  box-shadow: 0 8px 24px rgba(25, 103, 255, 0.06);
}
[data-theme="dark"] .eco-page-cta {
  border-color: var(--border);
  background: linear-gradient(135deg, #1a2438, #0f1629);
}
.eco-page-cta h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.eco-page-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.eco-page-cta .btn {
  margin-top: 2px;
  width: 100%;
}

/* ===== Products eco-flagship (Zoo Soft layout pattern) ===== */
.products-eco {
  padding: 88px 0 96px;
  background: var(--surface);
}
.products-eco-inner {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
}
.eco-heading {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.eco-heading h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.eco-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.eco-flagship {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.eco-flagship-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 260px;
  padding: 20px 18px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
[data-theme="dark"] .eco-flagship-item {
  background: var(--surface);
  border-color: var(--border);
}
.eco-flagship-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.eco-flagship-item.is-zame { border-color: #d1e7dd; }
.eco-flagship-item.is-auto { border-color: #e8eefc; }
.eco-flagship-item.is-browser { border-color: #ede9fe; }
.eco-flagship-item.is-reup { border-color: #fecaca; }
.eco-flagship-item.is-all { border-color: #e0e7ff; }

.eco-flagship-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

/* Product box visual (standing package — Zoo Soft craft) */
.eco-product-box {
  --box: #1967ff;
  position: relative;
  width: 168px;
  height: 210px;
  border-radius: 18px 18px 14px 14px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--box) 92%, #fff) 0%, var(--box) 42%, color-mix(in srgb, var(--box) 70%, #0d1528) 100%);
  box-shadow:
    0 18px 28px rgba(15, 23, 42, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
  transform: perspective(800px) rotateY(-10deg) rotateX(4deg);
  transition: transform 0.3s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 12px 12px;
}
.eco-flagship-item:hover .eco-product-box {
  transform: perspective(800px) rotateY(-6deg) rotateX(2deg) translateY(-4px);
}
.eco-product-box.is-zame { --box: #00a890; }
.eco-product-box.is-auto { --box: #1967ff; }
.eco-product-box.is-browser { --box: #7c5ce0; }
.eco-product-box.is-all {
  --box: #0f172a;
  background: linear-gradient(145deg, #1e293b, #0f172a 55%, #020617);
}
.eco-box-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.28) 0%, transparent 42%, transparent 100%);
  pointer-events: none;
}
.eco-box-label {
  position: relative;
  z-index: 1;
  color: #fff;
  margin-bottom: 10px;
}
.eco-box-brand {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.eco-box-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}
.eco-box-screen {
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}
.eco-box-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.eco-box-ui {
  height: 100%;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr auto;
  gap: 6px;
}
.eco-box-ui i {
  display: block;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}
.eco-box-ui b {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
}
.eco-box-screen-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
}
.eco-box-screen-stack .dot {
  width: 36px;
  height: 8px;
  border-radius: 999px;
}
.eco-box-screen-stack .dot.zame { background: #5eead4; }
.eco-box-screen-stack .dot.auto { background: #93c5fd; }
.eco-box-screen-stack .dot.browser { background: #c4b5fd; }
.eco-box-screen-stack .stack-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.eco-flagship-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.eco-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
}
.eco-badge-blue { color: #2563eb; background: #eff6ff; }
.eco-badge-teal { color: #0f766e; background: #ccfbf1; }
.eco-badge-violet { color: #7c3aed; background: #f5f3ff; }
.eco-badge-indigo { color: #4f46e5; background: #eef2ff; }
.eco-badge-pink { color: #db2777; background: #fdf2f8; }
.eco-badge-red { color: #dc2626; background: #fef2f2; }
.eco-badge-green { color: #198754; background: #d1e7dd; }

.eco-flagship-body h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.eco-flagship-body > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eco-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.eco-downloads {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
}
.eco-flagship-detail {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.eco-flagship-item.is-zame .eco-flagship-detail { color: #0f766e; }
.eco-flagship-item.is-browser .eco-flagship-detail { color: #7c3aed; }
.eco-flagship-item.is-reup .eco-flagship-detail { color: #dc2626; }
.eco-flagship-item:hover .eco-flagship-detail { color: #1d4ed8; }
.eco-flagship-item.is-zame:hover .eco-flagship-detail { color: #0d9488; }
.eco-flagship-item.is-browser:hover .eco-flagship-detail { color: #6d28d9; }
.eco-flagship-item.is-reup:hover .eco-flagship-detail { color: #b91c1c; }

/* Benefits row under products — Zoo Soft style */
.eco-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.eco-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}
[data-theme="dark"] .eco-benefit {
  background: var(--surface);
  border-color: var(--border);
}
.eco-benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #2563eb;
  flex-shrink: 0;
}
.eco-benefit-icon svg { width: 22px; height: 22px; }
.eco-benefit strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.eco-benefit span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* UI mock kept for product detail pages */
.ui-mock {
  width: 100%; height: 100%; padding: 0.85rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  background: linear-gradient(160deg, #0f172a, #1e293b); color: #e2e8f0;
}
.ui-mock-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.ui-mock-brand { font-weight: 800; font-size: 0.85rem; letter-spacing: -0.02em; }
.ui-mock-pill { font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.45rem; border-radius: 999px; background: rgba(255,255,255,0.1); }
.ui-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; flex: 1; }
.ui-mock-metric { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 0.55rem 0.6rem; }
.ui-mock-metric small { display: block; font-size: 0.62rem; color: #94a3b8; margin-bottom: 0.15rem; }
.ui-mock-metric b { font-size: 1rem; font-weight: 800; }
.ui-mock.is-zame .ui-mock-metric b { color: #5eead4; }
.ui-mock.is-browser .ui-mock-metric b { color: #c4b5fd; }
.ui-mock.is-auto .ui-mock-metric b { color: #93c5fd; }
.ui-mock-bars { display: flex; align-items: flex-end; gap: 4px; height: 42px; margin-top: auto; }
.ui-mock-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--product-accent, #1967ff), transparent); opacity: 0.85; min-height: 20%; }
.flagship-shot { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #0f172a; aspect-ratio: 16/11; }
.flagship-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.eco-badge.teal { color: #0f766e; background: #ccfbf1; }
.eco-badge.violet { color: #7c3aed; background: #f5f3ff; }

/* ===== Interactive Preview ===== */
.preview-section { padding-top: 1rem; }
.preview-shell {
  border-radius: 28px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-strong); overflow: hidden;
}
.preview-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.preview-tab {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: .55rem 1rem; font-weight: 600; font-size: .9rem;
  min-height: 42px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.preview-tab.active, .preview-tab:hover {
  color: #fff; background: var(--preview-accent); border-color: transparent;
}
.preview-stage {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 420px;
}
.preview-meta {
  padding: 1.6rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.preview-meta h3 {
  margin: 0.85rem 0 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.preview-meta p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 28rem;
}
.preview-meta .btn { margin-top: auto; }
.preview-shot {
  margin: 0;
  background: #0b1220;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 360px;
}
.preview-shot img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  display: block;
  background: #0b1220;
}
.preview-shell[data-preview="browser"] .preview-shot {
  background: #fff;
}
.preview-shell[data-preview="browser"] .preview-shot img {
  object-fit: contain;
  background: #fff;
  padding: 1.25rem 1.5rem;
}
.software-frame { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.software-sidebar {
  background: #0b1220; color: #cbd5e1; padding: 1.25rem 1rem;
}
.software-brand { font-weight: 800; color: #fff; margin-bottom: 1.25rem; letter-spacing: -.02em; }
.software-sidebar li {
  padding: .55rem .7rem; border-radius: 10px; font-size: .88rem; margin-bottom: .25rem; opacity: .75;
}
.software-sidebar li.active { background: rgba(25,103,255,.25); color: #fff; opacity: 1; }
.software-main { padding: 1.35rem 1.5rem 1.5rem; background: var(--surface); }
.software-top {
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.15rem;
}
.software-top h3 { margin: .2rem 0 .35rem; font-size: 1.25rem; }
.software-top p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 36rem; }
.soft-pill {
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  padding: .4rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--preview-accent) 15%, #fff);
  color: var(--preview-accent); border: 1px solid color-mix(in srgb, var(--preview-accent) 30%, transparent);
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1rem;
}
.metric-card {
  padding: .9rem; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border);
}
.metric-card span { display: block; font-size: .75rem; color: var(--muted); margin-bottom: .25rem; }
.metric-card strong { font-size: 1.2rem; font-weight: 800; }
.metric-card small { display: block; font-size: .72rem; color: var(--muted); margin-top: .2rem; }
.software-panels { display: grid; grid-template-columns: 1.2fr .8fr; gap: .85rem; }
.panel {
  border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); padding: 1rem;
}
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.panel-head h4 { margin: 0; font-size: .95rem; }
.panel-head span { font-size: .75rem; color: var(--muted); font-weight: 600; }
.bars {
  display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: .5rem;
}
.bars span {
  flex: 1; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--preview-accent), color-mix(in srgb, var(--preview-accent) 30%, transparent));
  transition: height .45s var(--ease); min-height: 8px;
}
.chart-labels {
  display: flex; justify-content: space-between; margin-top: .45rem; font-size: .72rem; color: var(--muted);
}
#activityList li {
  display: flex; flex-direction: column; gap: .1rem; padding: .55rem 0;
  border-bottom: 1px solid var(--border); font-size: .88rem;
}
#activityList li:last-child { border-bottom: 0; }
#activityList strong { font-size: .9rem; }
#activityList span { color: var(--muted); font-size: .8rem; }

/* ===== Ecosystem pipeline ===== */
.eco-section {
  position: relative;
  background:
    radial-gradient(ellipse 70% 48% at 50% 0%, rgba(25, 103, 255, 0.07), transparent 62%),
    transparent;
}
.eco-section .eco-section-inner {
  max-width: 1240px;
}
.eco-flow {
  --tone: var(--primary);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 36px;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.eco-flow > li {
  position: relative;
  display: flex;
  min-width: 0;
}
.eco-flow > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46%;
  right: -22px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #94a3b8;
  border-right: 2px solid #94a3b8;
  transform: rotate(45deg);
  opacity: 0.75;
  z-index: 2;
  pointer-events: none;
}
.eco-flow-card {
  --tone: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 1.05rem 1.05rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--tone) 20%, var(--border));
  border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone) 8%, #fff) 0%, var(--surface) 42%),
    var(--surface);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--tone) 8%, rgba(15, 23, 42, 0.04));
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
}
.eco-flow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--tone);
}
.eco-flow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px color-mix(in srgb, var(--tone) 14%, rgba(15, 23, 42, 0.07));
  border-color: color-mix(in srgb, var(--tone) 38%, var(--border));
}
.eco-flow-card:focus-visible {
  outline: 2px solid var(--tone);
  outline-offset: 3px;
}
.eco-flow-card.is-browser { --tone: var(--accent-browser); }
.eco-flow-card.is-auto { --tone: var(--primary); }
.eco-flow-card.is-zame { --tone: var(--accent-zame); }
.eco-flow-card.is-reup { --tone: var(--accent-reup); }
.eco-flow-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.85rem;
}
.eco-flow-num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--tone);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--tone) 32%, transparent);
}
.eco-flow-layer {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 12%, #fff);
}
.eco-flow-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 236px;
  margin: 0 0 0.95rem;
  padding: 4px 6px 0;
  border-radius: 16px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--tone) 14%, #e2e8f0);
  overflow: hidden;
}
.eco-flow-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.28s var(--ease);
}
.eco-flow-card:hover .eco-flow-media {
  border-color: color-mix(in srgb, var(--tone) 28%, #e2e8f0);
}
.eco-flow-card:hover .eco-flow-media img {
  transform: scale(1.04);
}
.eco-flow-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.eco-flow-card > p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}
.eco-flow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 28px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--tone);
}
.eco-flow-link::after {
  content: "→";
  font-weight: 700;
  transition: transform 0.18s var(--ease);
}
.eco-flow-card:hover .eco-flow-link::after {
  transform: translateX(3px);
}
.eco-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.15rem 1.35rem 1.25rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(25, 103, 255, 0.05), rgba(0, 168, 144, 0.05) 55%, rgba(220, 38, 38, 0.04)),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}
.eco-path-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eco-path-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.3rem;
}
.eco-path-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border);
}
.eco-path-chip.is-browser { color: var(--accent-browser); border-color: color-mix(in srgb, var(--accent-browser) 28%, var(--border)); background: color-mix(in srgb, var(--accent-browser) 8%, #fff); }
.eco-path-chip.is-auto { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 28%, var(--border)); background: color-mix(in srgb, var(--primary) 8%, #fff); }
.eco-path-chip.is-zame { color: var(--accent-zame); border-color: color-mix(in srgb, var(--accent-zame) 28%, var(--border)); background: color-mix(in srgb, var(--accent-zame) 8%, #fff); }
.eco-path-chip.is-reup { color: var(--accent-reup); border-color: color-mix(in srgb, var(--accent-reup) 28%, var(--border)); background: color-mix(in srgb, var(--accent-reup) 8%, #fff); }
.eco-path-sep {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #cbd5e1, #94a3b8);
}
.eco-path-plus {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg-2);
}
.eco-path > p:last-child {
  margin: 0.1rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
[data-theme="dark"] .eco-flow-card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone) 16%, var(--surface)) 0%, var(--surface) 48%),
    var(--surface);
}
[data-theme="dark"] .eco-flow-media {
  background: #fff;
  border-color: color-mix(in srgb, var(--tone) 22%, var(--border));
}
[data-theme="dark"] .eco-flow-layer,
[data-theme="dark"] .eco-path-chip.is-browser,
[data-theme="dark"] .eco-path-chip.is-auto,
[data-theme="dark"] .eco-path-chip.is-zame,
[data-theme="dark"] .eco-path-chip.is-reup {
  background: color-mix(in srgb, var(--tone, var(--primary)) 16%, var(--surface));
}
.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.75rem 0.5rem;
  align-items: stretch;
  margin-bottom: 1.75rem;
}
.pipeline-track {
  display: none; /* desktop uses connectors between cards */
}
.pipeline-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.pipeline-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.pipeline-step.is-browser { border-top: 3px solid var(--accent-browser); }
.pipeline-step.is-auto { border-top: 3px solid var(--primary); }
.pipeline-step.is-zame { border-top: 3px solid var(--accent-zame); }
.pipeline-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
  opacity: 0.7;
}
.pipeline-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.pipeline-step.is-browser .pipeline-icon {
  background: rgba(124, 92, 224, 0.12);
  color: var(--accent-browser);
}
.pipeline-step.is-auto .pipeline-icon {
  background: var(--primary-soft);
  color: var(--primary);
}
.pipeline-step.is-zame .pipeline-icon {
  background: rgba(0, 168, 144, 0.12);
  color: var(--accent-zame);
}
.pipeline-icon svg { width: 26px; height: 26px; }
.pipeline-layer {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pipeline-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.pipeline-step > p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
  line-height: 1.55;
}
.pipeline-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.pipeline-step.is-browser .pipeline-link { color: var(--accent-browser); }
.pipeline-step.is-zame .pipeline-link { color: var(--accent-zame); }
.pipeline-link:hover { text-decoration: underline; }
.pipeline-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--primary);
  min-width: 36px;
  padding-top: 2.5rem;
}
.pipeline-connector span {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.55;
}
.pipeline-connector svg { opacity: 0.75; }

.flow-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(135deg, rgba(25, 103, 255, 0.06), rgba(0, 168, 144, 0.05)),
    var(--surface);
  box-shadow: var(--shadow);
}
.flow-callout-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.flow-callout-icon svg { width: 22px; height: 22px; }
.flow-callout strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.flow-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.flow-callout em {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}

/* ===== About Kizo ===== */
.about-section {
  background:
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(124, 92, 224, 0.05), transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 80%, rgba(0, 168, 144, 0.05), transparent 50%),
    var(--bg-2);
}
[data-theme="dark"] .about-section {
  background:
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(124, 92, 224, 0.08), transparent 55%),
    var(--bg-2);
}
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}
.about-copy .lead {
  margin: 0 0 1.35rem;
  max-width: 36rem;
}
.about-points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.about-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.about-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(0, 168, 144, 0.12);
  color: var(--accent-zame);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.about-pillars {
  display: grid;
  gap: 0.9rem;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem 1rem;
  align-items: start;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}
.pillar-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  grid-column: 2;
  grid-row: 1;
}
.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  grid-column: 2;
  grid-row: 2;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar-card.is-safe .pillar-icon {
  background: rgba(0, 168, 144, 0.12);
  color: var(--accent-zame);
}
.pillar-card.is-auto .pillar-icon {
  background: var(--primary-soft);
  color: var(--primary);
}
.pillar-card.is-eco .pillar-icon {
  background: rgba(124, 92, 224, 0.12);
  color: var(--accent-browser);
}
.pillar-card.is-safe:hover { border-color: rgba(0, 168, 144, 0.35); }
.pillar-card.is-auto:hover { border-color: var(--border-strong); }
.pillar-card.is-eco:hover { border-color: rgba(124, 92, 224, 0.35); }

/* legacy eco (product detail pages) */
.eco-diagram {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .75rem; align-items: stretch; margin-bottom: 1.25rem;
}
.eco-node {
  padding: 1.35rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center;
}
.eco-node.zame { border-top: 4px solid var(--accent-zame); }
.eco-node.auto { border-top: 4px solid var(--primary); }
.eco-node.browser { border-top: 4px solid var(--accent-browser); }
.eco-node p { margin: 0; color: var(--muted); font-size: .9rem; }
.eco-arrow { display: grid; place-items: center; color: var(--primary); font-size: 1.5rem; font-weight: 700; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.icon-box {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 1rem; background: var(--primary-soft); color: var(--primary);
}
.icon-box svg { width: 24px; height: 24px; }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery-item {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); background: var(--surface); aspect-ratio: 16/10;
  transition: transform .25s var(--ease);
}
.gallery-item:hover { transform: translateY(-4px) scale(1.01); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* Product catalog rows */
.product-row {
  display: grid; grid-template-columns: 260px 1fr auto; gap: 1.75rem; align-items: center;
  padding: 1.5rem; border-radius: 28px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s;
  margin-bottom: 1.25rem;
}
.product-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); }
.product-row-media {
  border-radius: 22px; overflow: hidden; min-height: 200px;
  display: grid; place-items: stretch; position: relative; padding: 1rem;
}
.product-row-media .flagship-shot {
  border-radius: 16px !important;
  aspect-ratio: 16 / 11;
  width: 100%;
}
.product-body p { color: var(--muted); margin: 0 0 .85rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  font-size: .75rem; font-weight: 600; padding: .3rem .6rem; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
}
.product-actions { display: flex; flex-direction: column; gap: .55rem; min-width: 180px; }

/* Page hero */
.page-hero {
  padding: 2.75rem 0 2rem; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), transparent);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--primary); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.25rem; align-items: center; }
.hero-shot {
  border-radius: 28px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-strong); aspect-ratio: 4/3; background: var(--bg-2);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }

.steps { display: grid; gap: .75rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1.05rem 1.15rem;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; background: var(--primary-soft); color: var(--primary);
}
.step h3 { margin: 0 0 .2rem; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-item {
  padding: 1.25rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .25s var(--ease);
}
.feature-item:hover { transform: translateY(-3px); }
.feature-item p { margin: 0; color: var(--muted); font-size: .9rem; }

/* FAQ / CTA / Footer */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .6rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; color: var(--text);
  padding: 1rem 1.15rem; font-size: 1rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; min-height: 52px;
}
.faq-q::after { content: "+"; color: var(--muted); font-size: 1.2rem; }
.faq-item.is-open .faq-q::after { content: "−"; color: var(--primary); }
.faq-a { display: none; padding: 0 1.15rem 1.1rem; color: var(--muted); font-size: .95rem; }
.faq-item.is-open .faq-a { display: block; }

/* ===== CTA “Sẵn sàng tăng trưởng” — full content, no clip ===== */
.cta-band,
.footer-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(140px, 200px);
  align-items: center;
  gap: 20px 24px;
  margin: 0;
  padding: 28px 32px;
  border-radius: 32px;
  /* visible so text/buttons never get cropped */
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(46, 197, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(25, 103, 255, 0.96), rgba(28, 117, 255, 0.78) 48%, rgba(46, 197, 255, 0.42));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  color: #fff;
}
.cta-band::before,
.cta-band::after,
.footer-cta-card::before,
.footer-cta-card::after { display: none; content: none; }
.cta-band > *,
.footer-cta-card > * { position: relative; z-index: 1; min-width: 0; }

.footer-cta-copy,
.cta-band-copy {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: visible;
}
.cta-band .eyebrow,
.footer-cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  white-space: normal;
}
.cta-band .eyebrow::before,
.footer-cta-card .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.16);
  vertical-align: 1px;
}
.cta-band h2,
.footer-cta-card h2 {
  max-width: 100%;
  margin: 0 0 8px;
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cta-band p,
.footer-cta-card p {
  max-width: 100%;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  white-space: normal;
  overflow-wrap: anywhere;
}
.cta-actions,
.footer-cta-card .footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  width: 100%;
  max-width: 100%;
}
/* KizoSoft-ref-style CTA buttons on blue card */
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.footer-cta-btn:hover { transform: translateY(-1px); }
.footer-cta-btn--primary {
  background: #fff;
  color: #1967ff !important;
  border: 1px solid #fff;
  box-shadow: 0 10px 22px rgba(5, 24, 51, 0.16);
}
.footer-cta-btn--primary:hover {
  background: #f0f7ff;
  color: #0b4fd6 !important;
}
.footer-cta-btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.footer-cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff !important;
}

.footer-cta-visual,
.cta-band .cta-visual {
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  animation: none;
}
.footer-cta-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(103, 232, 249, 0.2) 42%, transparent 70%);
  animation: footer-cta-pulse 3.2s ease-in-out infinite;
}
.footer-cta-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
}
.footer-cta-orbit--outer {
  inset: 4%;
  animation: footer-cta-spin 18s linear infinite;
}
.footer-cta-orbit--inner {
  inset: 18%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.22);
  animation: footer-cta-spin 12s linear infinite reverse;
}
.footer-cta-rocket-img {
  position: relative;
  z-index: 1;
  width: min(78%, 160px);
  height: auto;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(5, 24, 51, 0.35));
  animation: footer-cta-float 3.6s ease-in-out infinite;
}
.footer-cta-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  z-index: 2;
  animation: footer-cta-spark 2.8s ease-in-out infinite;
}
.footer-cta-spark--1 { top: 16%; right: 22%; animation-delay: 0s; }
.footer-cta-spark--2 { bottom: 24%; left: 14%; width: 6px; height: 6px; animation-delay: 0.7s; }
.footer-cta-spark--3 { top: 42%; left: 10%; width: 5px; height: 5px; animation-delay: 1.4s; }

@keyframes footer-cta-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes footer-cta-spin { to { transform: rotate(360deg); } }
@keyframes footer-cta-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes footer-cta-spark {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-cta-rocket-img,
  .footer-cta-orbit,
  .footer-cta-glow,
  .footer-cta-spark { animation: none !important; }
}
@media (max-width: 760px) {
  .cta-band,
  .footer-cta-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    text-align: left;
    gap: 16px;
  }
  .footer-cta-visual,
  .cta-band .cta-visual {
    justify-self: center;
    width: min(100%, 160px);
    order: -1;
  }
  .cta-band h2,
  .footer-cta-card h2,
  .cta-band p,
  .footer-cta-card p {
    white-space: normal;
  }
  .footer-cta-btn {
    width: 100%;
    max-width: 100%;
  }
  .cta-actions,
  .footer-cta-card .footer-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===== Footer — dark professional (KizoSoft-ref craft) ===== */
.site-footer {
  position: relative;
  margin-top: 72px;
  padding: 56px 0 0;
  /* critical: do NOT clip the CTA card or copy */
  overflow: visible;
  color: #dce7fb;
  border-top: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(25, 103, 255, 0.25), transparent 28%),
    radial-gradient(circle at 84% 4%, rgba(46, 197, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #041126 0%, #061a39 55%, #031126 100%);
}
/* Home: keep CTA fully inside footer (no negative margin clip) */
.site-footer:has(.footer-cta-card) {
  padding-top: 40px;
  margin-top: 48px;
}
.site-footer .container {
  position: relative;
  z-index: 1;
  overflow: visible;
}
/* CTA card — full height, no pull-up crop */
.site-footer > .container > .footer-cta-card,
.site-footer .footer-top-box.footer-cta-card {
  margin-top: 0;
  margin-bottom: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 34px 28px;
  padding: 8px 0 40px;
}
.footer-brand,
.footer-brand-col {
  padding-right: 12px;
}
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
  color: #fff;
}
.footer-brand-link .brand-logo,
.footer-logo {
  width: auto;
  height: 48px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.footer-brand-name .brand-accent {
  color: #4f8cff;
}
.footer-brand p,
.footer-brand-col p {
  color: rgba(220, 231, 251, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 340px;
  margin: 0;
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  opacity: 1;
  padding: 0;
}
.social-row a:hover {
  background: rgba(25, 103, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #fff !important;
}
.social-row a svg {
  width: 16px;
  height: 16px;
}
.site-footer h4,
.footer-col h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}
.footer-col ul,
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-col a,
.site-footer .footer-col a,
.site-footer .footer-col li {
  display: inline-block;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(220, 231, 251, 0.72);
  padding: 0;
  opacity: 1;
  transition: color 0.18s ease, transform 0.18s ease;
}
.footer-col a:hover,
.site-footer .footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
  opacity: 1;
}
.footer-contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(220, 231, 251, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 240px;
}
.footer-contact-list a {
  color: rgba(220, 231, 251, 0.78);
  transition: color 0.18s ease;
}
.footer-contact-list a:hover {
  color: #fff;
  transform: none;
}
.footer-contact-ico {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #4f8cff;
  opacity: 0.9;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 18px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(220, 231, 251, 0.58);
  font-size: 13.5px;
}
.footer-bottom a {
  color: rgba(220, 231, 251, 0.7);
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.footer-bottom-dot {
  opacity: 0.4;
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .footer-grid .footer-col:nth-child(4),
  .footer-grid .footer-col:nth-child(5) {
    grid-column: auto;
  }
}
@media (max-width: 760px) {
  .site-footer {
    margin-top: 48px;
  }
  .site-footer > .container > .footer-cta-card {
    margin-top: 0;
    margin-bottom: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-bottom: 28px;
  }
  .footer-brand,
  .footer-brand-col {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > *.reveal { transition-delay: calc(var(--i, 0) * 70ms); }
/* Hero always painted so orbit CSS never waits on JS IntersectionObserver */
.hero .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-orbit, .orbit-face, .hero-core, .cta-visual { animation: none !important; }
  .btn:hover, .eco-flagship-item:hover, .card:hover, .product-row:hover, .pipeline-step:hover, .eco-flow-card:hover { transform: none; }
  .eco-flow-card:hover .eco-flow-media img { transform: none; }
  .eco-flagship-item:hover .eco-product-box { transform: perspective(800px) rotateY(-10deg) rotateX(4deg); }
}

/* Responsive */
@media (max-width: 1180px) {
  .eco-flagship-item {
    grid-template-columns: 140px minmax(0, 1fr);
    min-height: 200px;
  }
  .eco-flagship-media { min-height: 160px; }
  .eco-product-box { width: 130px; height: 168px; }
}
@media (max-width: 1024px) {
  .hero-grid, .page-hero-grid, .software-frame, .software-panels,
  .preview-stage, .about-layout { grid-template-columns: 1fr; }
  .software-sidebar { display: none; }
  .preview-meta { border-right: 0; border-bottom: 1px solid var(--border); }
  .preview-shot { min-height: 280px; }
  .preview-shot img { max-height: 380px; }
  .eco-flow { grid-template-columns: 1fr 1fr; gap: 20px; }
  .eco-flow > li:not(:last-child)::after { display: none; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .gallery-grid { grid-template-columns: 1fr; }
  .eco-diagram { grid-template-columns: 1fr; }
  .eco-arrow { transform: rotate(90deg); }
  .pipeline {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .pipeline-connector {
    flex-direction: row;
    padding: 0;
    min-height: 28px;
    min-width: 0;
  }
  .pipeline-connector span {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
  }
  .pipeline-connector svg { transform: rotate(90deg); }
  .product-row { grid-template-columns: 1fr; }
  .product-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .hero-art { min-height: 400px; }
  .orbit-item { --orbit-r: 160px; width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}
@media (max-width: 980px) {
  .eco-page-bottom { grid-template-columns: 1fr; }
  .eco-page-bottom .eco-benefits,
  .eco-benefits-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .eco-flagship { grid-template-columns: 1fr; }
  .eco-flagship-item { grid-template-columns: 160px minmax(0, 1fr); }
  .eco-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
/* Mobile: KizoSoft-ref-like stacked menu */
@media (max-width: 960px) {
  .nav-menu {
    display: none;
    flex: none;
    margin: 0;
  }
  .nav-actions { display: none; }
  .nav-wrap > .nav-cta { display: none; }
  .nav-wrap > .theme-toggle { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-header.nav-open .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-top: 1px solid var(--header-border);
    border-bottom: 1px solid var(--header-border);
    margin: 0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    animation: kizo-nav-drop 0.22s ease both;
  }
  [data-theme="dark"] .site-header.nav-open .nav-menu {
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  }
  .site-header.nav-open .nav-menu a {
    padding: 14px 8px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
  }
  .site-header.nav-open .nav-menu a::after {
    left: 8px;
    right: auto;
    width: 24px;
    bottom: 10px;
  }
  .site-header.nav-open .nav-menu a:hover {
    background: transparent !important;
    color: var(--primary);
  }
}
@keyframes kizo-nav-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .hero-features, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .orbit-item { --orbit-r: 140px; }
  .flow-callout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .eco-page-bottom .eco-benefits,
  .eco-benefits-page { grid-template-columns: 1fr; }
  .eco-flow { grid-template-columns: 1fr; }
  .eco-flow-media { height: 240px; }
}
@media (max-width: 560px) {
  .products-eco, .all-page { padding: 48px 0 64px; }
  .eco-flagship-item {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
  }
  .eco-flagship-media { min-height: 200px; }
  .eco-product-box { margin-inline: auto; width: 168px; height: 210px; transform: none; }
  .eco-flagship-item:hover .eco-product-box { transform: translateY(-4px); }
  .eco-badge { align-self: center; }
  .eco-meta { justify-content: center; }
  .eco-flagship-detail { justify-content: center; }
  .eco-benefits { grid-template-columns: 1fr; }
}

/* ===== Product detail pages (pd-*) ===== */
.pd-page { background: var(--surface); }
.pd-hero {
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.pd-page.is-zame .pd-hero {
  background:
    radial-gradient(820px 380px at 88% 6%, rgba(0, 168, 144, 0.16), transparent 58%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.pd-page.is-auto .pd-hero {
  background:
    radial-gradient(820px 380px at 88% 6%, rgba(25, 103, 255, 0.16), transparent 58%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.pd-page.is-browser .pd-hero {
  background:
    radial-gradient(820px 380px at 88% 6%, rgba(124, 92, 224, 0.16), transparent 58%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.pd-page.is-reup .pd-hero {
  background:
    radial-gradient(820px 380px at 88% 6%, rgba(220, 38, 38, 0.12), transparent 58%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
[data-theme="dark"] .pd-hero,
[data-theme="dark"] .pd-page.is-zame .pd-hero,
[data-theme="dark"] .pd-page.is-auto .pd-hero,
[data-theme="dark"] .pd-page.is-browser .pd-hero,
[data-theme="dark"] .pd-page.is-reup .pd-hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.pd-page main { padding-bottom: 4.5rem; }
.pd-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: center;
}
.pd-hero .breadcrumb { margin-bottom: 1rem; }
.pd-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.pd-hero .lead {
  margin: 0 0 1.35rem;
  font-size: 1.08rem;
  max-width: 38rem;
}
.pd-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.35rem 0 1.5rem;
}
.pd-stat {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.pd-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pd-stat span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}
.pd-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.pd-hero-visual .eco-product-box {
  width: min(100%, 220px);
  height: 280px;
  transform: perspective(900px) rotateY(-12deg) rotateX(5deg);
  animation: float-y 5s ease-in-out infinite;
}
.pd-hero-shot {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 28px 60px rgba(7, 28, 77, 0.14);
  background: #0f172a;
  aspect-ratio: 16 / 11;
}
.pd-hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.pd-float {
  position: absolute;
  z-index: 2;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(7, 28, 77, 0.12);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  animation: float-y 4s ease-in-out infinite;
}
.pd-float small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.15rem;
}
.pd-float.a { top: 8%; left: 0; }
.pd-float.b { bottom: 12%; right: 0; animation-delay: 0.5s; }
.pd-float strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 2px;
}
.pd-hero-pack {
  width: min(100%, 280px);
  filter: drop-shadow(0 24px 40px rgba(15, 23, 42, 0.16));
}
.pd-page.is-zame .pd-hero-pack { filter: drop-shadow(0 24px 40px rgba(0, 122, 105, 0.22)); }
.pd-page.is-auto .pd-hero-pack { filter: drop-shadow(0 24px 40px rgba(25, 103, 255, 0.22)); }
.pd-page.is-browser .pd-hero-pack { filter: drop-shadow(0 24px 40px rgba(109, 40, 217, 0.22)); }
.pd-page.is-reup .pd-hero-pack { filter: drop-shadow(0 28px 48px rgba(185, 28, 28, 0.22)); }
.pd-hero-pack img {
  width: 100%;
  height: auto;
  display: block;
}

.pd-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  padding: 1rem 1.25rem;
  margin: -1.25rem auto 0;
  max-width: 920px;
  position: relative;
  z-index: 2;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.pd-trust span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
.pd-trust strong { color: var(--text); }

.pd-section { padding: 4.5rem 0; }
.pd-section.alt {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pd-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pd-feature {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  height: 100%;
}
.pd-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}
.pd-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: var(--primary-soft);
  color: var(--primary);
}
.pd-feature-icon svg { width: 22px; height: 22px; }
.pd-page.is-zame .pd-feature-icon {
  background: rgba(0, 168, 144, 0.12);
  color: var(--accent-zame);
}
.pd-page.is-auto .pd-feature-icon {
  background: rgba(25, 103, 255, 0.12);
  color: var(--primary);
}
.pd-page.is-browser .pd-feature-icon {
  background: rgba(124, 92, 224, 0.12);
  color: var(--accent-browser);
}
.pd-page.is-reup .pd-feature-icon {
  background: rgba(220, 38, 38, 0.12);
  color: var(--accent-reup);
}
.pd-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}
.pd-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pd-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: pdstep;
}
.pd-step {
  position: relative;
  padding: 1.35rem 1.2rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.pd-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  background: var(--primary-soft);
  color: var(--primary);
}
.pd-page.is-zame .pd-step-num {
  background: rgba(0, 168, 144, 0.12);
  color: var(--accent-zame);
}
.pd-page.is-auto .pd-step-num {
  background: rgba(25, 103, 255, 0.12);
  color: var(--primary);
}
.pd-page.is-browser .pd-step-num {
  background: rgba(124, 92, 224, 0.12);
  color: var(--accent-browser);
}
.pd-page.is-reup .pd-step-num {
  background: rgba(220, 38, 38, 0.12);
  color: var(--accent-reup);
}
.pd-step h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.pd-step p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

.pd-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pd-gallery figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
  transition: transform 0.25s var(--ease);
}
.pd-gallery figure:hover { transform: translateY(-4px); }
.pd-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.pd-gallery figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.pd-personas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.pd-persona {
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.pd-persona h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.pd-persona p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.pd-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pd-related a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.pd-related a:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-strong);
}
.pd-related-shot {
  width: 88px;
  height: 110px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 4px;
}
.pd-related .mini-box {
  width: 88px;
  height: 100px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.2;
  padding: 0.5rem;
}
.pd-related .mini-box.zame { background: linear-gradient(145deg, #00c2a8, #067a68); }
.pd-related .mini-box.auto { background: linear-gradient(145deg, #4f8cff, #0f58ff); }
.pd-related .mini-box.browser { background: linear-gradient(145deg, #a78bfa, #6d4fd6); }
.pd-related .mini-box.reup { background: linear-gradient(145deg, #ef4444, #b91c1c); }
.pd-related h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.pd-related p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.pd-related .go {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
}

.pd-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}
[data-theme="dark"] .pd-sticky-cta {
  background: rgba(15, 22, 41, 0.92);
}
.pd-sticky-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.pd-sticky-inner strong { font-size: 0.95rem; }
.pd-sticky-inner span { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.pd-sticky-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pd-faq { max-width: 800px; margin: 0 auto; }

@media (max-width: 1024px) {
  .pd-hero-grid { grid-template-columns: 1fr; }
  .pd-hero-visual { min-height: 280px; }
  .pd-hero-pack { width: min(72%, 240px); margin: 0 auto; }
  .pd-stats { grid-template-columns: 1fr 1fr; }
  .pd-features, .pd-gallery { grid-template-columns: 1fr 1fr; }
  .pd-steps { grid-template-columns: 1fr 1fr; }
  .pd-personas, .pd-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pd-steps, .pd-personas, .pd-related, .pd-features, .pd-gallery { grid-template-columns: 1fr; }
  .pd-float { display: none; }
  .pd-trust { border-radius: 16px; }
  .pd-page main { padding-bottom: 5.5rem; }
}

/* ===== Blog (Zoo Soft pattern) ===== */
.blog-page { padding: 0 0 4.5rem; background: var(--bg); }
.blog-hero-band {
  padding: 1.75rem 0 1.5rem;
  background:
    radial-gradient(900px 280px at 12% -40%, rgba(25, 103, 255, 0.1), transparent 55%),
    radial-gradient(700px 240px at 100% 0%, rgba(0, 168, 144, 0.08), transparent 50%),
    var(--surface);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.35rem;
}
.blog-hero {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.blog-hero .breadcrumb {
  justify-content: center;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
}
.blog-hero .eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
}
.blog-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.blog-hero p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
  line-height: 1.55;
}
.blog-hero-search {
  margin: 1.15rem auto 0;
  max-width: 440px;
  position: relative;
}
.blog-hero-search input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 1rem 0.65rem 2.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-hero-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.blog-hero-search .search-ico {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* Pagination */
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1.75rem 0 0.5rem;
}
.blog-pagination[hidden] { display: none !important; }
.blog-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.blog-page-btn:hover:not(:disabled) {
  background: var(--primary-soft);
  border-color: var(--border-strong);
  color: var(--primary);
}
.blog-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.blog-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.blog-page-info {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.blog-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding: 0.65rem 0.85rem; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.blog-search { flex: 1; min-width: 200px; max-width: 320px; display: flex; gap: 0.5rem; }
.blog-search input {
  flex: 1; min-height: 42px; padding: 0.55rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit;
}
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.blog-filter {
  min-height: 40px; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg); color: var(--muted); font-weight: 600; font-size: 0.85rem; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.blog-filter:hover { color: var(--text); border-color: var(--border-strong); }
.blog-filter.active { background: var(--primary-soft); color: var(--primary); border-color: #bfdbfe; }
.blog-filter:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Home: 4 columns like Zoo Soft; list page: 3 columns */
.blog-section-home .blog-grid,
.blog-grid.blog-grid-home {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.125rem;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem;
}
.blog-card {
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: #fff; border: 1px solid rgba(219, 231, 255, 0.95); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s; height: 100%;
}
[data-theme="dark"] .blog-card {
  background: var(--surface); border-color: var(--border);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.blog-thumb {
  display: block; aspect-ratio: 16/9; background: var(--bg-2); position: relative; overflow: hidden;
}
.blog-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-thumb-visual {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: -0.02em;
}
.blog-thumb-visual.cat-zalo { background: linear-gradient(145deg, #00c2a8, #067a68); }
.blog-thumb-visual.cat-facebook { background: linear-gradient(145deg, #4f8cff, #0f58ff); }
.blog-thumb-visual.cat-browser { background: linear-gradient(145deg, #a78bfa, #6d4fd6); }
.blog-thumb-visual.cat-ecosystem { background: linear-gradient(145deg, #0f172a, #334155); }
.blog-body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.55rem; }
.blog-date {
  display: inline-block; font-size: 0.8125rem; font-weight: 700; color: var(--primary); margin-bottom: 0.55rem;
}
.blog-cat {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary);
}
.blog-body h3 { margin: 0 0 0.55rem; font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.02em; }
.blog-section-home .blog-body h3 { font-size: 1.05rem; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body > p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.92rem; flex: 1; line-height: 1.6; }
.blog-link { font-weight: 700; font-size: 0.9rem; color: var(--primary); margin-top: auto; }
.blog-link:hover { text-decoration: underline; }

.blog-section-home { padding: 4.5rem 0; background: var(--surface); }
.blog-section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem;
}
.blog-section-head h2 { margin: 0.25rem 0 0; font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -0.03em; }
.blog-section-head .lead { margin: 0.45rem 0 0; max-width: 36rem; color: var(--muted); }

/* Featured post on blog list */
.blog-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-bottom: 1.75rem;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow);
}
.blog-featured-media {
  display: block; min-height: 280px; background: var(--bg-2); position: relative; overflow: hidden;
}
.blog-featured-media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform .4s ease;
}
.blog-featured:hover .blog-featured-media img { transform: scale(1.03); }
.blog-featured-body { padding: 1.75rem 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body .eyebrow { margin-bottom: 0.5rem; }
.blog-featured-body h2 { margin: 0 0 0.65rem; font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.3; letter-spacing: -0.02em; }
.blog-featured-body h2 a:hover { color: var(--primary); }
.blog-featured-body > p { margin: 0 0 1.1rem; color: var(--muted); line-height: 1.6; }
.blog-featured-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

.blog-skeleton-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.blog-skel {
  border-radius: 24px; border: 1px solid var(--border); overflow: hidden; background: var(--surface);
}
.blog-skel-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%; animation: blog-shimmer 1.2s infinite linear;
}
.blog-skel-body { padding: 1.1rem; display: grid; gap: 0.55rem; }
.blog-skel-line {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%; animation: blog-shimmer 1.2s infinite linear;
}
.blog-skel-line.w60 { width: 60%; } .blog-skel-line.w80 { width: 80%; } .blog-skel-line.w40 { width: 40%; }
@keyframes blog-shimmer { to { background-position: -200% 0; } }

.blog-empty {
  text-align: center; padding: 3rem 1.5rem; border-radius: 20px;
  border: 1px dashed var(--border-strong); background: var(--surface);
}
.blog-empty h3 { margin: 0 0 0.4rem; }
.blog-empty p { margin: 0 0 1rem; color: var(--muted); }

.blog-list-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin: 0 0 0.85rem;
}

/* ===== Article detail — professional reading UI ===== */
.article-page {
  padding: 1.25rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(25, 103, 255, 0.07), transparent 55%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 28%, var(--surface) 100%);
}
[data-theme="dark"] .article-page {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(79, 140, 255, 0.1), transparent 55%),
    linear-gradient(180deg, #070b14 0%, var(--bg) 40%);
}
.article-page-inner { max-width: 1080px; }
.article-breadcrumb {
  margin-bottom: 1.35rem;
  font-size: 0.86rem;
}
.article-breadcrumb .breadcrumb-current {
  color: var(--text);
  font-weight: 600;
  max-width: 56ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: bottom;
}
.article-wrap {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.35rem, 4vw, 3.5rem) clamp(1.85rem, 3.2vw, 3rem);
}
[data-theme="dark"] .article-wrap {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* Skeleton */
.article-skel { display: grid; gap: 0.75rem; padding: 0.25rem 0; }
.article-skel-line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--bg) 25%, var(--surface-2) 50%, var(--bg) 75%);
  background-size: 200% 100%;
  animation: article-shimmer 1.2s ease-in-out infinite;
}
.article-skel-line.w30 { width: 30%; height: 12px; }
.article-skel-line.w70 { width: 70%; height: 28px; }
.article-skel-line.w80 { width: 80%; }
.article-skel-line.w90 { width: 90%; height: 28px; }
.article-skel-line.w95 { width: 95%; }
.article-skel-line.w100 { width: 100%; }
.article-skel-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  margin: 0.5rem 0 0.75rem;
  background: linear-gradient(90deg, var(--bg) 25%, var(--surface-2) 50%, var(--bg) 75%);
  background-size: 200% 100%;
  animation: article-shimmer 1.2s ease-in-out infinite;
}
@keyframes article-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Header */
.article-header { margin-bottom: 1.5rem; }
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
.article-cat {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.article-dot { opacity: 0.45; }
.article-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text);
}
.article-dek {
  margin: 0 0 1.25rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 40rem;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.article-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.article-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2ec5ff);
  box-shadow: 0 8px 18px rgba(25, 103, 255, 0.22);
}
.article-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.2;
}
.article-author span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.article-share { display: flex; gap: 0.45rem; }
.article-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.article-share-btn { text-decoration: none; }
.article-share-btn:hover {
  color: var(--primary);
  border-color: var(--border-strong);
  background: var(--primary-soft);
  transform: translateY(-1px);
}
.article-share-btn.is-copied {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

/* Cover */
.article-cover {
  margin: 0 0 1.75rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  aspect-ratio: 16 / 9;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-cover-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1967ff, #2ec5ff);
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.article-cover-fallback.cat-zalo { background: linear-gradient(135deg, #00a890, #2ec5ff); }
.article-cover-fallback.cat-facebook { background: linear-gradient(135deg, #1967ff, #4f8cff); }
.article-cover-fallback.cat-browser { background: linear-gradient(135deg, #7c5ce0, #a78bfa); }
.article-cover-fallback.cat-ecosystem { background: linear-gradient(135deg, #0f58ff, #00a890); }

/* Prose */
.article-prose {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
  letter-spacing: -0.01em;
}
.article-prose > *:first-child { margin-top: 0; }
.article-prose h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}
.article-prose h3 {
  margin: 1.65rem 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.article-prose p {
  margin: 0 0 1.15rem;
  color: #334155;
}
[data-theme="dark"] .article-prose p { color: #cbd5e1; }
.article-prose ul,
.article-prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
  color: #334155;
}
[data-theme="dark"] .article-prose ul,
[data-theme="dark"] .article-prose ol { color: #cbd5e1; }
.article-prose li { margin-bottom: 0.45rem; padding-left: 0.15rem; }
.article-prose li::marker { color: var(--primary); }
.article-prose strong { color: var(--text); font-weight: 700; }
.article-prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-prose a:hover { color: var(--primary-strong); }
.article-prose blockquote,
.article-prose .callout {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
}
.article-prose pre {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  overflow-x: auto;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.55;
}
.article-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.article-prose :not(pre) > code {
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-strong);
}
.article-prose img {
  max-width: 100%;
  border-radius: 14px;
  margin: 1.25rem 0;
  border: 1px solid var(--border);
}
.article-prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Footer bar under prose */
.article-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
}
.article-back:hover { color: var(--primary-strong); }
.article-footer-hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* CTA */
.article-cta {
  margin: 1.75rem 0 0;
  padding: 1.5rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(25, 103, 255, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 197, 255, 0.16), transparent 40%),
    linear-gradient(135deg, #eef5ff 0%, #f8fbff 55%, #f0fdf9 100%);
  box-shadow: var(--shadow);
}
[data-theme="dark"] .article-cta {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), var(--surface-2));
  border-color: rgba(79, 140, 255, 0.25);
}
.article-cta .eyebrow { margin-bottom: 0.45rem; }
.article-cta h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
}
.article-cta p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 36rem;
}
.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Comments */
.comments-box {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.comments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.comments-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.comments-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}
.comment-list { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.comment-empty {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.95rem;
}
.comment-empty p { margin: 0; }
.comment-item {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.comment-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary);
  background: var(--primary-soft);
}
.comment-body { min-width: 0; flex: 1; }
.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.35rem;
}
.comment-head strong { font-size: 0.92rem; color: var(--text); }
.comment-head time { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.comment-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.comment-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.comment-form-title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.comment-form-note {
  margin: -0.35rem 0 0.15rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.comment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.comment-form .btn { justify-self: start; }
.contact-form { display: grid; gap: 0.85rem; }

/* Error / empty states */
.article-state {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
}
.article-state-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.article-state-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.article-state-lead {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.article-state-meta {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.article-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

@media (max-width: 640px) {
  .article-wrap {
    border-radius: 20px;
    padding: 1.15rem 1rem 1.5rem;
  }
  .comment-form-grid { grid-template-columns: 1fr; }
  .article-byline { align-items: flex-start; }
  .article-cta-actions .btn { width: 100%; }
}

/* ===== Contact page ===== */
.contact-page {
  padding: 0 0 4.5rem;
  background: transparent;
}
.contact-hero-band {
  padding: 2rem 0 1.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(0, 194, 168, 0.07), transparent 50%);
}
.contact-hero {
  max-width: 44rem;
  padding: 0.5rem 0 1.25rem;
}
.contact-hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text);
}
.contact-hero .lead {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.contact-body {
  padding: 0.5rem 0 0;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.18fr);
  gap: 1.5rem;
  align-items: start;
}
.contact-info-card,
.contact-form-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.65rem 1.45rem 1.75rem;
}
.contact-form-card {
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-zame), var(--accent-browser));
  opacity: 0.9;
}
.contact-info-card h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.contact-info-card > .lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-sla {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.contact-sla-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.contact-sla-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--primary-soft);
  color: var(--primary);
}
.contact-sla-ico svg { width: 18px; height: 18px; }
.contact-sla-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}
.contact-sla-item span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.contact-phone-hero {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #eef5ff, #f0fdf9);
  border: 1px solid var(--border-strong);
}
[data-theme="dark"] .contact-phone-hero {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(0, 194, 168, 0.08));
}
.contact-phone-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact-phone-number {
  display: block;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.contact-phone-number:hover { text-decoration: underline; }
.contact-phone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-phone-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.contact-info-grid {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.contact-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.contact-info-item.is-link:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 20px rgba(25, 103, 255, 0.08);
  transform: translateY(-1px);
}
.contact-info-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
}
.contact-info-ico svg { width: 16px; height: 16px; }
.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-info-value {
  display: inline-block;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--text);
  word-break: break-word;
  text-decoration: none;
}
.contact-product-links {
  padding-top: 0.25rem;
}
.contact-product-links-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-product-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.contact-product-links-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.contact-product-links-row a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

/* Form card */
.contact-form-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-form-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}
.contact-form-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.contact-form-head .lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}
.contact-form-steps {
  display: none;
  gap: 0.4rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.contact-form-steps span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.contact-form-steps span.is-active {
  color: var(--primary);
  border-color: rgba(25, 103, 255, 0.35);
  background: var(--primary-soft);
}
@media (min-width: 720px) {
  .contact-form-steps { display: flex; }
}
.contact-form {
  display: grid;
  gap: 1.15rem;
}
.contact-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-fieldset legend {
  padding: 0;
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.contact-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.contact-field label,
.contact-field-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.contact-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.contact-label-row label { margin: 0; }
.req { color: #dc2626; font-weight: 800; }
.field-hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.field-counter {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.field-counter.is-ok { color: #059669; }
.contact-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.contact-input-ico {
  position: absolute;
  left: 0.85rem;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  display: grid;
  place-items: center;
  z-index: 1;
}
.contact-input-ico svg { width: 16px; height: 16px; }
.contact-field input,
.contact-field select,
.contact-field textarea,
.comment-form input,
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.contact-input-wrap input,
.contact-input-wrap select {
  padding-left: 2.55rem;
}
.contact-input-wrap.is-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  cursor: pointer;
}
[data-theme="dark"] .contact-field input,
[data-theme="dark"] .contact-field select,
[data-theme="dark"] .contact-field textarea,
[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea {
  background: var(--surface-2);
}
.contact-field textarea,
.comment-form textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 0.85rem;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #98a2b3;
}
.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 103, 255, 0.15);
}
.contact-field .field-error,
.comment-form .field-error {
  font-size: 0.8rem;
  font-weight: 650;
  color: #dc2626;
  min-height: 0;
}
.contact-field .field-error:empty { display: none; }
.contact-field.is-invalid input,
.contact-field.is-invalid select,
.contact-field.is-invalid textarea,
.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"],
.contact-field select[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.contact-field.is-valid input,
.contact-field.is-valid select,
.contact-field.is-valid textarea {
  border-color: #10b981;
}

/* Product chips */
.contact-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.contact-product-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  min-height: 64px;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.contact-product-chip:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  transform: translateY(-1px);
}
.contact-product-chip:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 103, 255, 0.15);
}
.contact-product-chip.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 1px rgba(25, 103, 255, 0.2);
}
.contact-product-chip strong {
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
}
.contact-product-chip small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}
.contact-product-chip.is-active small { color: color-mix(in srgb, var(--primary) 70%, var(--muted)); }
.contact-product-chip[data-product-key="zame"].is-active {
  border-color: var(--accent-zame);
  background: rgba(0, 168, 144, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 168, 144, 0.2);
}
.contact-product-chip[data-product-key="browser"].is-active {
  border-color: var(--accent-browser);
  background: rgba(124, 92, 224, 0.1);
  box-shadow: 0 0 0 1px rgba(124, 92, 224, 0.2);
}

.contact-form-foot {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.15rem;
}
.contact-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.contact-privacy svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #059669;
}
.contact-submit {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  font-size: 1rem;
  font-weight: 750;
  position: relative;
  gap: 0.5rem;
}
.contact-submit.is-loading {
  pointer-events: none;
  opacity: 0.88;
}
.contact-submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 0.7s linear infinite;
}
.contact-submit.is-loading .contact-submit-spinner { display: inline-block; }
.contact-submit.is-loading .contact-submit-label { opacity: 0.92; }
@keyframes contact-spin {
  to { transform: rotate(360deg); }
}

.form-status {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}
.form-status.is-success {
  display: block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.form-status.is-error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.form-status a { color: inherit; text-decoration: underline; }
[data-theme="dark"] .form-status.is-success {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}
[data-theme="dark"] .form-status.is-error {
  background: rgba(220, 38, 38, 0.12);
  color: #fca5a5;
  border-color: rgba(220, 38, 38, 0.35);
}

/* Success state */
.contact-success {
  text-align: center;
  padding: 1.5rem 0.5rem 0.75rem;
}
.contact-success.hidden { display: none; }
.contact-success-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  color: #059669;
  border: 1px solid #a7f3d0;
  animation: contact-pop 0.45s var(--ease);
}
.contact-success-ico svg { width: 30px; height: 30px; }
@keyframes contact-pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.contact-success h4 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.contact-success p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.contact-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
.contact-form-card.is-success .contact-form,
.contact-form-card.is-success .contact-form-steps {
  display: none;
}
.contact-form-card.is-success .contact-form-head {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-form-card.is-success .contact-form-head-text { display: none; }

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-info-card { order: 2; }
  .contact-form-card { order: 1; }
}
@media (max-width: 560px) {
  .contact-field-row { grid-template-columns: 1fr; }
  .contact-product-grid { grid-template-columns: 1fr; }
  .contact-hero-actions .btn,
  .contact-phone-actions .btn,
  .contact-success-actions .btn { width: 100%; justify-content: center; }
  .contact-info-card,
  .contact-form-card { padding: 1.25rem 1.05rem 1.35rem; }
}
  overflow: hidden;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .blog-section-home .blog-grid,
  .blog-grid.blog-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .blog-grid, .blog-section-home .blog-grid, .blog-grid.blog-grid-home,
  .blog-skeleton-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 200px; aspect-ratio: 16/9; }
  .pd-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pd-features { grid-template-columns: 1fr; }
}
