/* MiaoLink — Nuxt UI Pro inspired (light default + dark) */

:root,
html.light {
  color-scheme: light;
  --ml-bg: #ffffff;
  --ml-bg-elevated: #ffffff;
  --ml-bg-soft: #f8fafc;
  --ml-surface: rgba(15, 23, 42, 0.04);
  --ml-border: rgba(15, 23, 42, 0.08);
  --ml-border-strong: rgba(15, 23, 42, 0.14);
  --ml-text: #0f172a;
  --ml-muted: #64748b;
  --ml-faint: #94a3b8;
  --ml-primary: #10b981;
  --ml-primary-soft: rgba(16, 185, 129, 0.1);
  --ml-primary-strong: #059669;
  --ml-primary-contrast: #ffffff;
  --ml-accent: #0ea5e9;
  --ml-danger: #ef4444;
  --ml-radius: 12px;
  --ml-radius-lg: 20px;
  --ml-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 16px 40px rgba(15, 23, 42, 0.08);
  --ml-header-bg: rgba(255, 255, 255, 0.82);
  --ml-nav-panel: rgba(255, 255, 255, 0.96);
  --ml-caption-bg: rgba(255, 255, 255, 0.88);
  --ml-atmosphere-a: rgba(16, 185, 129, 0.12);
  --ml-atmosphere-b: rgba(14, 165, 233, 0.08);
  --ml-grid-line: rgba(15, 23, 42, 0.045);
  --ml-brand-grad: linear-gradient(90deg, #0f172a, #334155);
  --ml-hero-grad: linear-gradient(180deg, #0f172a 20%, #64748b);
  --ml-font-display: "Outfit", "Noto Sans SC", sans-serif;
  --ml-font-body: "Noto Sans SC", "Outfit", sans-serif;
  --ml-container: 1120px;
  --ml-header-h: 68px;
}

html.dark {
  color-scheme: dark;
  --ml-bg: #070a12;
  --ml-bg-elevated: #0d1220;
  --ml-bg-soft: #121829;
  --ml-surface: rgba(255, 255, 255, 0.03);
  --ml-border: rgba(148, 163, 184, 0.14);
  --ml-border-strong: rgba(148, 163, 184, 0.28);
  --ml-text: #f1f5f9;
  --ml-muted: #94a3b8;
  --ml-faint: #64748b;
  --ml-primary: #34d399;
  --ml-primary-soft: rgba(52, 211, 153, 0.12);
  --ml-primary-strong: #10b981;
  --ml-primary-contrast: #042f1e;
  --ml-accent: #38bdf8;
  --ml-danger: #f87171;
  --ml-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 64px rgba(0, 0, 0, 0.45);
  --ml-header-bg: rgba(7, 10, 18, 0.78);
  --ml-nav-panel: rgba(7, 10, 18, 0.96);
  --ml-caption-bg: rgba(7, 10, 18, 0.72);
  --ml-atmosphere-a: rgba(52, 211, 153, 0.16);
  --ml-atmosphere-b: rgba(56, 189, 248, 0.1);
  --ml-grid-line: rgba(148, 163, 184, 0.035);
  --ml-brand-grad: linear-gradient(90deg, #fff, #cbd5e1);
  --ml-hero-grad: linear-gradient(180deg, #fff 30%, #94a3b8);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ml-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ml-text);
  background: var(--ml-bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.ml-container {
  width: min(100% - 2.5rem, var(--ml-container));
  margin-inline: auto;
}

.ml-container-wide {
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
}

/* Atmosphere */
.ml-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--ml-atmosphere-a), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, var(--ml-atmosphere-b), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 40%, var(--ml-atmosphere-a), transparent 45%),
    var(--ml-bg);
  transition: background 0.25s ease;
}

.ml-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ml-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ml-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent);
  opacity: 0.9;
}

/* Header */
.ml-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--ml-header-h);
  border-bottom: 1px solid var(--ml-border);
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.ml-header.is-scrolled {
  background: var(--ml-header-bg);
  border-bottom-color: var(--ml-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ml-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ml-header-h);
  gap: 1.5rem;
}

.ml-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ml-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  z-index: 2;
  min-width: 0;
}

.ml-brand-logo {
  height: 34px;
  width: auto;
  max-width: min(180px, 42vw);
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.ml-brand-text {
  background: var(--ml-brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.ml-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ml-primary), var(--ml-accent));
  display: grid;
  place-items: center;
  color: var(--ml-primary-contrast);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.28);
}

.ml-brand span em,
.ml-brand-text em {
  font-style: normal;
  margin: 0 0.2em;
  opacity: 0.45;
  font-weight: 500;
}

.ml-hero-brand {
  font-family: var(--ml-font-display);
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 1rem;
  background: var(--ml-hero-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ml-hero-sep {
  margin: 0 0.15em;
  opacity: 0.45;
  font-weight: 500;
}

.ml-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list,
.ml-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.ml-nav a {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  color: var(--ml-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.ml-nav a:hover {
  color: var(--ml-text);
  background: var(--ml-surface);
}

.ml-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.ml-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--ml-border);
  background: var(--ml-surface);
  color: var(--ml-text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.ml-theme-toggle:hover {
  border-color: var(--ml-border-strong);
  background: var(--ml-bg-soft);
  transform: translateY(-1px);
}

.ml-theme-toggle svg {
  width: 18px;
  height: 18px;
}

.ml-theme-toggle .icon-sun { display: none; }
.ml-theme-toggle .icon-moon { display: block; }

html.dark .ml-theme-toggle .icon-sun { display: block; }
html.dark .ml-theme-toggle .icon-moon { display: none; }

.ml-lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--ml-border);
  background: var(--ml-surface);
  color: var(--ml-text);
  font-family: var(--ml-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
  flex-shrink: 0;
}

.ml-lang-toggle:hover {
  border-color: var(--ml-border-strong);
  background: var(--ml-bg-soft);
  color: var(--ml-primary-strong);
  transform: translateY(-1px);
}

.ml-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ml-border);
  border-radius: 10px;
  background: var(--ml-surface);
  color: var(--ml-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.ml-menu-toggle span,
.ml-menu-toggle span::before,
.ml-menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s;
}

.ml-menu-toggle span::before,
.ml-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.ml-menu-toggle span::before { top: -5px; }
.ml-menu-toggle span::after { top: 5px; }

/* Buttons — UI Pro style */
.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
}

.ml-btn:hover {
  transform: translateY(-1px);
}

.ml-btn:active {
  transform: translateY(0);
}

.ml-btn-primary {
  background: var(--ml-primary);
  color: var(--ml-primary-contrast);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25), 0 8px 24px rgba(16, 185, 129, 0.2);
}

.ml-btn-primary:hover {
  background: var(--ml-primary-strong);
  filter: brightness(1.05);
}

.ml-btn-ghost {
  background: transparent;
  color: var(--ml-text);
  border-color: var(--ml-border-strong);
}

.ml-btn-ghost:hover {
  background: var(--ml-surface);
  border-color: rgba(148, 163, 184, 0.45);
}

.ml-btn-soft {
  background: var(--ml-primary-soft);
  color: var(--ml-primary);
  border-color: rgba(52, 211, 153, 0.25);
}

.ml-btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

.ml-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hero — one composition, brand first, full-bleed visual */
.ml-hero {
  position: relative;
  min-height: calc(100vh - var(--ml-header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 0;
  overflow: hidden;
}

.ml-hero-copy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
  animation: ml-rise 0.8s ease both;
}

.ml-hero-title {
  font-family: var(--ml-font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 0.85rem;
  color: var(--ml-text);
}

.ml-hero-desc {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--ml-muted);
  font-size: 1.05rem;
}

.ml-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.ml-hero-visual {
  position: relative;
  margin-top: auto;
  animation: ml-rise 1s 0.15s ease both;
}

.ml-hero-frame {
  position: relative;
  border-radius: var(--ml-radius-lg) var(--ml-radius-lg) 0 0;
  border: 1px solid var(--ml-border);
  border-bottom: none;
  background: linear-gradient(180deg, var(--ml-bg-elevated), var(--ml-bg-soft));
  box-shadow: var(--ml-shadow);
  overflow: hidden;
}

.ml-hero-frame--photo {
  max-width: 1040px;
  margin-inline: auto;
  border-radius: var(--ml-radius-lg);
  border: 1px solid var(--ml-border);
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.ml-hero-frame--photo:hover {
  border-color: color-mix(in srgb, var(--ml-accent) 45%, var(--ml-border));
  box-shadow: var(--ml-shadow), 0 0 0 1px color-mix(in srgb, var(--ml-accent) 20%, transparent);
}

.ml-hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ml-hero-photo-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: auto;
  max-width: calc(100% - 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: var(--ml-caption-bg);
  border: 1px solid var(--ml-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ml-hero-photo-caption strong {
  font-family: var(--ml-font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.ml-seo-strip {
  padding: 1.25rem 0 0;
}

.ml-seo-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.ml-seo-chips span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--ml-border);
  background: var(--ml-bg-elevated);
  color: var(--ml-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.ml-soft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ml-soft-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--ml-radius-lg);
  border: 1px solid var(--ml-border);
  background: var(--ml-bg-elevated);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.ml-soft-card:hover {
  border-color: rgba(52, 211, 153, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ml-soft-media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ml-bg-soft);
}

.ml-soft-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ml-soft-card:hover .ml-soft-media img {
  transform: scale(1.04);
}

.ml-soft-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.3rem 1.4rem;
  flex: 1;
}

.ml-soft-tag {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ml-primary);
}

.ml-soft-body h3 {
  margin: 0;
  font-family: var(--ml-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.ml-soft-body h3 a:hover {
  color: var(--ml-primary);
}

.ml-soft-body > p {
  margin: 0;
  color: var(--ml-muted);
  font-size: 0.92rem;
  flex: 1;
}

.ml-soft-points {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ml-soft-points li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--ml-faint);
  font-size: 0.84rem;
}

.ml-soft-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ml-primary);
}

.ml-hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(52, 211, 153, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(56, 189, 248, 0.1), transparent 55%);
  pointer-events: none;
}

.ml-dashboard {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 100%;
  min-height: inherit;
}

.ml-dash-side {
  border-right: 1px solid var(--ml-border);
  padding: 1.1rem 0.9rem;
  background: rgba(0, 0, 0, 0.25);
}

.ml-dash-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ml-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  padding: 0 0.35rem;
}

.ml-dash-logo i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ml-primary);
  display: block;
}

.ml-dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--ml-faint);
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.ml-dash-nav-item.is-active {
  background: var(--ml-primary-soft);
  color: var(--ml-primary);
}

.ml-dash-nav-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.ml-dash-main {
  padding: 1.1rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ml-dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ml-dash-top h3 {
  margin: 0;
  font-family: var(--ml-font-display);
  font-size: 1rem;
  font-weight: 600;
}

.ml-dash-top p {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--ml-faint);
}

.ml-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--ml-primary-soft);
  color: var(--ml-primary);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.ml-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ml-primary);
  box-shadow: 0 0 8px var(--ml-primary);
  animation: ml-pulse 2s ease infinite;
}

.ml-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.ml-metric {
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--ml-border);
  background: rgba(255, 255, 255, 0.02);
}

.ml-metric label {
  display: block;
  font-size: 0.72rem;
  color: var(--ml-faint);
  margin-bottom: 0.35rem;
}

.ml-metric strong {
  font-family: var(--ml-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ml-metric span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--ml-primary);
}

.ml-chart {
  flex: 1;
  min-height: 140px;
  border-radius: 10px;
  border: 1px solid var(--ml-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.ml-chart svg {
  width: 100%;
  height: 100%;
  min-height: 110px;
}

.ml-chart-label {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  font-size: 0.75rem;
  color: var(--ml-faint);
}

/* Section primitives */
.ml-section {
  padding: 5.5rem 0;
}

.ml-section-head {
  max-width: 560px;
  margin-bottom: 2.75rem;
}

.ml-section-head.center {
  margin-inline: auto;
  text-align: center;
}

.ml-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ml-primary);
  background: var(--ml-primary-soft);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.ml-section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--ml-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ml-section-head p {
  margin: 0;
  color: var(--ml-muted);
  font-size: 1.02rem;
}

/* Products — interaction cards OK */
.ml-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ml-product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--ml-radius-lg);
  border: 1px solid var(--ml-border);
  background: var(--ml-bg-elevated);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.ml-product:hover {
  border-color: rgba(52, 211, 153, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ml-product::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1), transparent 70%);
  pointer-events: none;
}

.ml-product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--ml-primary-soft);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--ml-primary);
}

.ml-product-icon svg {
  width: 22px;
  height: 22px;
}

.ml-product h3 {
  margin: 0 0 0.5rem;
  font-family: var(--ml-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ml-product p {
  margin: 0 0 1.25rem;
  color: var(--ml-muted);
  font-size: 0.95rem;
  flex: 1;
}

.ml-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ml-primary);
}

.ml-product-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.ml-product:hover .ml-product-link svg {
  transform: translateX(3px);
}

/* Capabilities */
.ml-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
}

.ml-cap {
  padding: 0.25rem 0.15rem;
}

.ml-cap-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--ml-accent);
}

.ml-cap-icon svg {
  width: 20px;
  height: 20px;
}

.ml-cap h3 {
  margin: 0 0 0.4rem;
  font-family: var(--ml-font-display);
  font-size: 1.05rem;
  font-weight: 650;
}

.ml-cap p {
  margin: 0;
  color: var(--ml-muted);
  font-size: 0.92rem;
}

/* Stats strip */
.ml-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius-lg);
  overflow: hidden;
  background: var(--ml-border);
}

.ml-stat {
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: var(--ml-bg-elevated);
}

.ml-stat strong {
  display: block;
  font-family: var(--ml-font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
  background: linear-gradient(90deg, var(--ml-primary), var(--ml-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ml-stat span {
  color: var(--ml-muted);
  font-size: 0.88rem;
}

/* Posts */
.ml-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ml-post {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--ml-radius);
  border: 1px solid var(--ml-border);
  background: var(--ml-bg-elevated);
  transition: border-color 0.2s, transform 0.2s;
  min-height: 180px;
}

.ml-post:hover {
  border-color: var(--ml-border-strong);
  transform: translateY(-2px);
}

.ml-post-meta {
  font-size: 0.78rem;
  color: var(--ml-faint);
  margin-bottom: 0.65rem;
}

.ml-post h3 {
  margin: 0 0 0.55rem;
  font-family: var(--ml-font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.ml-post p {
  margin: 0;
  color: var(--ml-muted);
  font-size: 0.88rem;
  flex: 1;
}

/* About company */
.ml-about {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem 2.5rem;
  padding: 2rem;
  border-radius: calc(var(--ml-radius-lg) + 4px);
  border: 1px solid var(--ml-border);
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(16, 185, 129, 0.08), transparent 55%),
    var(--ml-bg-elevated);
  box-shadow: var(--ml-shadow);
}

.ml-about-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--ml-font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ml-about-lead {
  margin: 0 0 0.9rem;
  color: var(--ml-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ml-about-copy > p {
  margin: 0 0 0.85rem;
  color: var(--ml-muted);
}

.ml-about-copy strong {
  color: var(--ml-primary-strong);
  font-weight: 700;
}

.ml-about-note {
  margin-top: 1rem !important;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ml-border);
  font-size: 0.92rem;
  color: var(--ml-faint) !important;
}

.ml-about-side {
  padding: 1.25rem 1.35rem;
  border-radius: var(--ml-radius-lg);
  border: 1px solid var(--ml-border);
  background: var(--ml-bg-soft);
}

.ml-about-side h3 {
  margin: 0 0 0.75rem;
  font-family: var(--ml-font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.ml-about-side h3 + .ml-about-list,
.ml-about-chips + h3 {
  margin-top: 1.35rem;
}

.ml-about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ml-about-chips span {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--ml-border);
  background: var(--ml-bg-elevated);
  color: var(--ml-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.ml-about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ml-about-list li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--ml-muted);
  font-size: 0.9rem;
}

.ml-about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ml-primary);
}

@media (max-width: 860px) {
  .ml-about {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

/* CTA */
.ml-cta {
  position: relative;
  border-radius: calc(var(--ml-radius-lg) + 4px);
  border: 1px solid var(--ml-border);
  background:
    radial-gradient(ellipse 70% 80% at 80% 120%, rgba(16, 185, 129, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 0%, rgba(14, 165, 233, 0.08), transparent 50%),
    var(--ml-bg-elevated);
  padding: 2.5rem;
  overflow: hidden;
}

.ml-cta-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 2.5rem;
  align-items: center;
}

.ml-cta-copy {
  text-align: left;
  min-width: 0;
}

.ml-cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--ml-font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.ml-cta p {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: var(--ml-muted);
}

.ml-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ml-cta-weixin {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.ml-cta-weixin-frame {
  width: 168px;
  padding: 0.65rem;
  border-radius: 16px;
  border: 1px solid var(--ml-border);
  background:
    linear-gradient(180deg, var(--ml-bg-soft), var(--ml-bg-elevated));
  box-shadow: var(--ml-shadow);
}

.ml-cta-weixin-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 888 / 1131;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.ml-cta-weixin figcaption {
  font-size: 0.8rem;
  color: var(--ml-faint);
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .ml-cta {
    padding: 1.75rem 1.25rem 2rem;
  }

  .ml-cta-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .ml-cta-copy {
    text-align: center;
  }

  .ml-cta p {
    margin-inline: auto;
  }

  .ml-cta-actions {
    justify-content: center;
  }

  .ml-cta-weixin-frame {
    width: 148px;
  }
}

/* Footer */
.ml-footer {
  border-top: 1px solid var(--ml-border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.ml-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.ml-footer-brand p {
  margin: 0.85rem 0 0;
  color: var(--ml-muted);
  font-size: 0.9rem;
  max-width: 260px;
}

.ml-footer h4 {
  margin: 0 0 0.9rem;
  font-family: var(--ml-font-display);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ml-text);
}

.ml-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-footer li + li {
  margin-top: 0.45rem;
}

.ml-footer a {
  color: var(--ml-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.ml-footer a:hover {
  color: var(--ml-primary);
}

.ml-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ml-border);
  color: var(--ml-faint);
  font-size: 0.82rem;
}

.ml-beian {
  margin-left: 0.65rem;
  color: var(--ml-faint);
  text-decoration: none;
  transition: color 0.2s;
}

.ml-beian:hover {
  color: var(--ml-primary);
}

/* Inner pages */
.ml-page {
  padding: 3rem 0 5rem;
}

.ml-page-header {
  margin-bottom: 2rem;
  max-width: 720px;
}

.ml-page-header h1 {
  margin: 0 0 0.5rem;
  font-family: var(--ml-font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.ml-page-header .meta {
  color: var(--ml-faint);
  font-size: 0.9rem;
}

.ml-prose {
  max-width: 720px;
  color: var(--ml-muted);
}

.ml-prose h2,
.ml-prose h3 {
  font-family: var(--ml-font-display);
  color: var(--ml-text);
  letter-spacing: -0.02em;
}

.ml-prose a {
  color: var(--ml-primary);
}

.ml-prose img {
  border-radius: var(--ml-radius);
  border: 1px solid var(--ml-border);
}

.ml-archive-list {
  display: grid;
  gap: 0.85rem;
}

.ml-archive-item {
  display: block;
  padding: 1.25rem 1.35rem;
  border-radius: var(--ml-radius);
  border: 1px solid var(--ml-border);
  background: var(--ml-bg-elevated);
  transition: border-color 0.2s;
}

.ml-archive-item:hover {
  border-color: rgba(52, 211, 153, 0.35);
}

.ml-archive-item h2 {
  margin: 0 0 0.35rem;
  font-family: var(--ml-font-display);
  font-size: 1.15rem;
}

.ml-archive-item p {
  margin: 0;
  color: var(--ml-muted);
  font-size: 0.9rem;
}

/* Motion */
@keyframes ml-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ml-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ml-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.ml-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .ml-products,
  .ml-posts,
  .ml-soft-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ml-caps {
    grid-template-columns: 1fr 1fr;
  }

  .ml-stats {
    grid-template-columns: 1fr 1fr;
  }

  .ml-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ml-dashboard {
    grid-template-columns: 1fr;
  }

  .ml-dash-side {
    display: none;
  }
}

@media (max-width: 720px) {
  .ml-brand-text {
    display: none;
  }

  .ml-brand-logo {
    height: 30px;
    max-width: 150px;
  }

  .ml-menu-toggle {
    display: inline-flex;
  }

  .ml-nav {
    position: fixed;
    inset: var(--ml-header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--ml-nav-panel);
    border-bottom: 1px solid var(--ml-border);
    backdrop-filter: blur(16px);
  }

  .ml-nav.is-open {
    display: flex;
  }

  .ml-nav .nav-list,
  .ml-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .ml-nav a {
    padding: 0.75rem 0.85rem;
  }

  .ml-header-actions .ml-btn-ghost {
    display: none;
  }

  .ml-hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .ml-hero-copy {
    margin-bottom: 2rem;
  }

  .ml-products,
  .ml-posts,
  .ml-caps,
  .ml-soft-grid {
    grid-template-columns: 1fr;
  }

  .ml-stats {
    grid-template-columns: 1fr 1fr;
  }

  .ml-dash-grid {
    grid-template-columns: 1fr;
  }

  .ml-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ml-footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .ml-section {
    padding: 3.5rem 0;
  }

  .ml-hero-photo-caption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
