/* ============================================
   羽驰跨境 ERP — Static Marketing Site
   配色对齐 erp-web themes.blue.light
   ============================================ */

:root {
  /* erp-web blue theme (light) */
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --border: 214.3 31.8% 91.4%;
  --ring: 221.2 83.2% 53.3%;
  --main-area-bg: 0 0% 95%;

  --color-bg: hsl(var(--background));
  --color-bg-soft: hsl(var(--main-area-bg));
  --color-bg-muted: hsl(var(--muted));
  --color-text: hsl(var(--foreground));
  --color-text-muted: hsl(var(--muted-foreground));
  --color-text-dim: hsl(215.4 16.3% 56%);
  --color-primary: hsl(var(--primary));
  --color-primary-deep: hsl(221.2 83.2% 42%);
  --color-primary-soft: hsl(var(--primary) / 0.1);
  --color-primary-glow: hsl(var(--primary) / 0.22);
  --color-border: hsl(var(--border));
  --color-border-strong: hsl(214.3 31.8% 84%);
  --color-card: #ffffff;

  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 64px;
  --container: 1160px;
  --radius: 0.25rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

.btn-primary:hover {
  background: var(--color-primary-deep);
  box-shadow: 0 6px 20px var(--color-primary-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-text);
}

.btn-ghost:hover {
  background: #fff;
  border-color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.site-header.scrolled {
  background: hsl(var(--background) / 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 0 hsl(var(--border) / 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.site-header:not(.scrolled) .brand-text strong {
  color: #fff;
}

.brand-text small {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
}

.site-header:not(.scrolled) .brand-text small {
  color: rgba(255, 255, 255, 0.7);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
  position: relative;
}

.site-header:not(.scrolled) .nav a {
  color: rgba(255, 255, 255, 0.82);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease-out);
}

.nav a:hover,
.nav a.is-active {
  color: var(--color-primary);
}

.site-header:not(.scrolled) .nav a:hover,
.site-header:not(.scrolled) .nav a.is-active {
  color: #fff;
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.site-header:not(.scrolled) .nav a.is-active::after,
.site-header:not(.scrolled) .nav a:hover::after {
  background: #fff;
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.site-header:not(.scrolled) .menu-toggle span {
  background: #fff;
}

.menu-toggle.active span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(closest-side, hsl(var(--border) / 10%) 30%, hsl(var(--primary) / 20%) 30%, hsl(var(--border) / 30%) 50%) no-repeat,
    radial-gradient(closest-side, hsl(var(--border) / 10%) 30%, hsl(var(--primary) / 18%) 30%, hsl(var(--border) / 30%) 50%) no-repeat;
  background-position: 100% 100%, 0% 0%;
  background-size: 140vw 140vh;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, hsl(222.2 84% 8% / 0.88) 0%, hsl(221.2 60% 18% / 0.72) 48%, hsl(221.2 83% 40% / 0.45) 100%),
    linear-gradient(to top, hsl(var(--background)) 0%, transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 120px;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: hsl(210 100% 85%);
  margin-bottom: 18px;
}

.hero-brand {
  font-size: clamp(4rem, 11vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: #fff;
}

.hero-headline {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.8); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Trust strip */
.trust-strip {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
  margin-top: -1px;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  padding: 4px 16px;
  border-left: 2px solid var(--color-primary);
}

.trust-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 650;
  margin-bottom: 4px;
  color: var(--color-text);
}

.trust-item span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Accounting flagship */
.accounting {
  background: var(--color-bg-soft);
}

.accounting .section-header strong {
  color: var(--color-primary);
  font-weight: 650;
}

.pnl-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 48px;
  padding: 20px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
}

.pnl-step {
  flex: 1;
  min-width: 110px;
  padding: 14px 12px;
  background: hsl(var(--muted));
  border-radius: var(--radius);
  text-align: center;
}

.pnl-step.pnl-highlight {
  background: var(--color-primary-soft);
  border: 1px solid hsl(var(--primary) / 0.25);
}

.pnl-step.pnl-result {
  background: var(--color-primary);
  color: #fff;
}

.pnl-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pnl-desc {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.pnl-result .pnl-desc {
  color: rgba(255, 255, 255, 0.82);
}

.pnl-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  flex-shrink: 0;
  position: relative;
}

.pnl-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transform: rotate(45deg);
  opacity: 0.55;
}

.accounting-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 48px;
}

.accounting-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.acc-feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  border-left: 3px solid var(--color-primary);
}

.acc-feature h3 {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 8px;
}

.acc-feature p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.accounting-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  box-shadow: 0 12px 40px hsl(222.2 47% 11% / 0.06);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: hsl(var(--muted));
  border-bottom: 1px solid var(--color-border);
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(215.4 16% 75%);
}

.panel-dot:nth-child(1) { background: #ff5f57; }
.panel-dot:nth-child(2) { background: #febc2e; }
.panel-dot:nth-child(3) { background: #28c840; }

.panel-title {
  margin-left: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.panel-badge {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

.panel-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.panel-tabs button {
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.panel-tabs button:hover {
  color: var(--color-primary);
}

.panel-tabs button.active {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom-color: var(--color-primary);
}

.panel-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
}

.panel-kpi {
  padding: 12px 10px;
  background: hsl(var(--muted));
  border-radius: var(--radius);
  text-align: center;
}

.panel-kpi.highlight {
  background: var(--color-primary-soft);
  border: 1px solid hsl(var(--primary) / 0.2);
}

.panel-kpi small {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.panel-kpi strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.panel-kpi em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 0.6875rem;
  color: var(--color-primary);
}

.panel-chart {
  padding: 0 16px 8px;
}

.panel-chart svg {
  width: 100%;
  height: 88px;
  display: block;
}

.panel-legend {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  padding-bottom: 8px;
}

.panel-legend i {
  display: inline-block;
  width: 12px;
  height: 2px;
  margin-right: 4px;
  vertical-align: middle;
}

.lg-sales { background: var(--color-primary); }
.lg-profit {
  background: hsl(215.4 16.3% 65%);
  background-image: repeating-linear-gradient(90deg, hsl(215.4 16.3% 65%) 0 3px, transparent 3px 6px);
}

.panel-table {
  padding: 0 16px 16px;
  font-size: 0.75rem;
}

.panel-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.panel-row.head {
  font-weight: 600;
  color: var(--color-text-dim);
  background: hsl(var(--muted));
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
}

.panel-row.emph {
  font-weight: 650;
  color: var(--color-text);
  background: var(--color-primary-soft);
}

.panel-row.result {
  color: var(--color-primary);
  border-bottom: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.order-profit {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
}

.order-profit-copy h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.order-profit-copy p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.order-profit-formula code {
  display: block;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.8125rem;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: hsl(222.2 47.4% 11.2%);
  color: hsl(210 40% 96%);
  border-radius: var(--radius);
  overflow-x: auto;
}

.formula-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.formula-cards div {
  padding: 14px 12px;
  background: hsl(var(--muted));
  border-radius: var(--radius);
}

.formula-cards strong {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.formula-cards span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Problems */
.problems {
  background: var(--color-bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.problem-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  padding: 36px 32px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.problem-item:hover {
  border-color: hsl(var(--primary) / 0.35);
  box-shadow: 0 8px 28px hsl(var(--primary) / 0.08);
}

.problem-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}

.problem-item h3 {
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 10px;
}

.problem-item > p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.problem-solution {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.problem-solution strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

/* Platforms */
.platforms {
  background: var(--color-bg-soft);
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.platform-card {
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: calc(var(--radius) * 2);
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 8px 24px hsl(var(--primary) / 0.08);
}

.platform-active {
  border-top: 3px solid var(--color-primary);
}

.platform-roadmap {
  border-top: 3px solid hsl(215.4 16.3% 70%);
  opacity: 0.92;
}

.platform-status {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  margin-bottom: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: var(--radius);
}

.platform-roadmap .platform-status {
  background: hsl(var(--muted));
  color: var(--color-text-muted);
}

.platform-card h3 {
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 2px;
}

.platform-card > p {
  font-size: 0.8125rem;
  color: var(--color-text-dim);
  margin-bottom: 14px;
}

.platform-card ul {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.platform-card li {
  padding: 3px 0 3px 12px;
  position: relative;
}

.platform-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
}

.platform-note {
  padding: 16px 22px;
  border-left: 3px solid var(--color-primary);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.platform-note strong {
  color: var(--color-primary);
}

/* Modules */
.modules {
  background: var(--color-bg);
}

.module-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 48px;
  padding: 0 12px;
}

.flow-line {
  position: absolute;
  top: 50%;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transform: translateY(-50%);
  opacity: 0.35;
}

.module-flow span {
  position: relative;
  z-index: 1;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-bg);
  padding: 8px 14px;
  border: 1px solid hsl(var(--primary) / 0.25);
  border-radius: 999px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.module-card {
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  border-radius: calc(var(--radius) * 2);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.module-card:hover {
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 8px 24px hsl(var(--primary) / 0.08);
}

.module-icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.module-card h3 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 10px;
}

.module-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* Metrics */
.metrics {
  padding: 72px 0;
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%) 0%, hsl(221.2 70% 38%) 100%);
  color: #fff;
}

.metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-value {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.metric-suffix {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  vertical-align: super;
}

.metric-label {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

/* About */
.about {
  background: var(--color-bg);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.about-intro h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}

.about-intro p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fact-card {
  padding: 20px 18px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
}

.fact-card strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.fact-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.value-item {
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  background: var(--color-card);
}

.value-num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.value-item h3 {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Company */
.company {
  background: var(--color-bg-soft);
}

.company-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.company-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.company-copy > p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.company-list li {
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
}

.company-list li:last-child {
  border-bottom: 1px solid var(--color-border);
}

.company-list strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.company-list span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.company-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.company-stat {
  padding: 28px 20px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  text-align: center;
}

.company-stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.company-stat span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Team */
.team {
  background: var(--color-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  padding: 28px 22px;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  background: var(--color-card);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.team-card:hover {
  border-color: hsl(var(--primary) / 0.35);
  box-shadow: 0 8px 24px hsl(var(--primary) / 0.08);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%), hsl(221.2 70% 38%));
  margin-bottom: 16px;
}

.team-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card > p:last-child {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.team-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}

/* Contact */
.contact {
  background: var(--color-bg-soft);
  padding: 100px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.contact-intro > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.contact-highlights li {
  position: relative;
  padding: 10px 0 10px 20px;
  font-size: 0.9375rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.contact-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.contact-channels {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.contact-channels div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-channels strong {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
}

.contact-channels a,
.contact-channels span {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.contact-channels a:hover {
  color: var(--color-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 8px 32px hsl(222.2 47% 11% / 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 12px 14px;
  background: hsl(var(--background));
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-dim);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-full textarea {
  resize: vertical;
  min-height: 88px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.form-success {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(142.1 70% 35%);
  padding: 10px 12px;
  background: hsl(142.1 70% 45% / 0.1);
  border-radius: var(--radius);
}

.form-error {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(0 72% 40%);
  padding: 10px 12px;
  background: hsl(0 72% 45% / 0.1);
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: hsl(222.2 47.4% 11.2%);
  color: hsl(210 40% 96%);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand strong {
  font-size: 1.125rem;
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.footer-brand p {
  font-size: 0.875rem;
  color: hsl(215 20% 65%);
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: hsl(210 40% 90%);
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: hsl(215 20% 65%);
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(217 32% 22%);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-bottom span {
  font-size: 0.8125rem;
  color: hsl(215 20% 55%);
}

.back-top {
  font-size: 0.8125rem;
  color: hsl(215 20% 65%);
  transition: color 0.2s;
}

.back-top:hover {
  color: hsl(var(--primary));
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: hsl(var(--background) / 0.98);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    margin-left: 0;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a,
  .site-header:not(.scrolled) .nav a {
    font-size: 1.1rem;
    color: var(--color-text);
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    background: hsl(var(--background) / 0.96);
    border-bottom-color: var(--color-border);
  }

  .site-header:not(.scrolled) .brand-text strong {
    color: var(--color-text);
  }

  .site-header:not(.scrolled) .brand-text small,
  .site-header:not(.scrolled) .menu-toggle span {
    color: var(--color-text-muted);
    background: var(--color-text);
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .pnl-arrow {
    display: none;
  }

  .pnl-chain {
    gap: 8px;
  }

  .pnl-step {
    min-width: calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
  }

  .accounting-layout,
  .order-profit {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .accounting-features {
    height: auto;
  }

  .acc-feature {
    flex: none;
  }

  .panel-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .formula-cards {
    grid-template-columns: 1fr;
  }

  .platform-strip {
    grid-template-columns: 1fr;
  }

  .module-flow {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .flow-line {
    display: none;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .metrics-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .company-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-facts,
  .values-grid,
  .team-grid,
  .company-stats {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 72px 0;
  }

  .problem-item {
    padding: 28px 22px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .about-facts,
  .values-grid,
  .team-grid,
  .company-stats {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-inner {
    grid-template-columns: 1fr;
  }

  .pnl-step {
    min-width: 100%;
    flex: 1 1 100%;
  }

  .order-profit {
    padding: 24px 18px;
  }
}
