:root {
  --brand: #e02000;
  --brand-600: #b81a00;
  --brand-soft: #fff0ec;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --body: #55606e;
  --muted: #8b95a3;
  --line: #e7eaee;
  --surface: #f6f7f9;
  --white: #ffffff;
  --green: #0e9f6e;
  --green-soft: #e7f6ef;
  --amber: #c77a08;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

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

svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-word strong {
  font-size: 17px;
  letter-spacing: 0;
  color: var(--ink);
}

.brand-word small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  gap: 26px;
}

.site-nav a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.16s ease;
}

.site-nav a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease,
    transform 0.16s ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-600);
}

.button.ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}

.button.ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.button.outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.button.outline:hover {
  border-color: #fff;
}

.button.large {
  padding: 13px 22px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 50% -10%, #fff1ec 0%, #ffffff 60%);
  padding: 72px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

.hero > .inner,
.hero .hero-copy,
.hero .demo-frame {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
  text-wrap: balance;
}

.hero .highlight {
  color: var(--brand);
}

.hero-lede {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--body);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--body);
  font-size: 13px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Demo frame */
.demo-frame {
  max-width: 920px;
  margin: 56px auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #12161f;
  color: #cbd5e1;
  font-size: 11px;
  letter-spacing: 0;
}

.demo-bar .dots {
  display: flex;
  gap: 6px;
}

.demo-bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.demo-bar .demo-title {
  color: #f1f5f9;
  font-weight: 600;
}

.demo-bar em {
  margin-left: auto;
  font-style: normal;
  color: #6ee7b7;
}

.demo-body {
  padding: 20px;
  background: var(--surface);
}

.demo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.demo-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.demo-stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.demo-stat b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin: 4px 0 2px;
}

.demo-stat em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}

.demo-stat em.up {
  color: var(--green);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.demo-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel-head strong {
  font-size: 14px;
}

.panel-head span {
  font-size: 11px;
  color: var(--muted);
}

.demo-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr 0.7fr;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--surface);
  font-size: 12px;
}

.demo-row.head {
  color: var(--muted);
  font-size: 11px;
  border-top: none;
}

.creator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  min-width: 0;
}

.av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  flex-shrink: 0;
}

.av.a1 { background: #e02000; }
.av.a2 { background: #0891b2; }
.av.a3 { background: #d97706; }
.av.a4 { background: #7c3aed; }

.tag {
  display: inline-block;
  width: fit-content;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
}

.ok { color: var(--green); }
.warn { color: var(--amber); }
.muted { color: var(--muted); }
.up { color: var(--green); }

.demo-row b {
  font-size: 13px;
  text-align: right;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.rank-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item .bar {
  height: 6px;
  border-radius: 3px;
  background: var(--surface);
  overflow: hidden;
}

.rank-item .bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #ff7a45);
}

.rank-item b {
  font-size: 12px;
  text-align: right;
}

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip .inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.t-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow.light {
  color: #ffb7a6;
}

.section-head h2 {
  margin: 12px 0 14px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--body);
}

/* Service */
.service {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.service-card:hover {
  border-color: #f3c4bb;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}

.service-card .icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
}

/* ERP */
.erp {
  background: var(--surface);
}

.erp-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.erp-features article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.erp-features article:hover {
  border-color: #f3c4bb;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-2);
  margin-bottom: 14px;
}

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

.erp-features h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.erp-features p {
  margin: 0;
  font-size: 13px;
  color: var(--body);
}

.erp-showcase {
  margin-top: 44px;
}

.showcase-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tab {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.showcase-frame {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.showcase-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.showcase-caption {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  color: var(--body);
  text-align: center;
  border-top: 1px solid var(--line);
}

/* Process */
.process {
  background: #fff;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 24px 22px;
  border-top: 2px solid var(--line);
}

.step-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--brand);
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
}

/* About */
.about {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-grid article {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.why-grid article:hover {
  border-color: #cbe9da;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 16px;
}

.why-icon svg {
  width: 21px;
  height: 21px;
}

.why-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.why-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
}

/* Contact */
.contact {
  padding-top: 40px;
  padding-bottom: 40px;
  background: #fff;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px 48px;
  border-radius: 12px;
  background: linear-gradient(120deg, #16181d 0%, #2a1a16 100%);
  color: #fff;
}

.contact-copy {
  max-width: 520px;
}

.contact-copy h2 {
  margin: 12px 0 12px;
  font-size: 30px;
  line-height: 1.2;
  text-wrap: balance;
}

.contact-copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 15px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}

.contact-email {
  color: #94a3b8;
  font-size: 13px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 40px 0;
}

.site-footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  font-size: 14px;
  color: var(--ink-2);
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

.footer-meta a:hover {
  color: var(--brand);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }

  .service-grid,
  .erp-features,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .header-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .header-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow-md);
  }

  body.nav-open .site-nav {
    flex-direction: column;
    gap: 0;
  }

  body.nav-open .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--surface);
  }

  body.nav-open .header-actions {
    display: flex;
    padding-top: 16px;
    gap: 10px;
  }

  body.nav-open .header-actions .button {
    flex: 1;
  }

  .trust-strip .inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 28px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 52px 0 60px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .demo-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-row {
    grid-template-columns: 1.3fr 0.5fr 0.8fr;
  }

  .demo-row b {
    display: none;
  }

  .service-grid,
  .erp-features,
  .why-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .trust-strip .inner {
    grid-template-columns: 1fr;
  }

  .site-footer .inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
