:root {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --ink: #101827;
  --muted: #596579;
  --line: #dfe5ee;
  --accent: #ea6a1a;
  --accent-dark: #c2410c;
  --blue: #2556a3;
  --navy: #0b1220;
  --soft: #fff1e8;
  --shadow: 0 18px 50px rgba(16, 24, 39, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body[data-lang="zh"] .lang.en,
body[data-lang="en"] .lang.zh {
  display: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 251, 0.92);
  border-bottom: 1px solid rgba(223, 229, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #f97316, #9a3412);
  color: #fff;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

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

.lang-toggle {
  min-width: 48px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 34px 0 0;
}

.trust-strip div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.trust-strip dt {
  font-size: 24px;
  font-weight: 820;
}

.trust-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.system-visual {
  min-height: 520px;
}

.visual-panel {
  position: relative;
  height: 520px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #cbd6e4;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(203, 214, 228, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(203, 214, 228, 0.5) 1px, transparent 1px),
    #fff;
  background-size: 42px 42px;
  box-shadow: var(--shadow);
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(234, 106, 26, 0.16);
}

.flow-node {
  position: absolute;
  z-index: 2;
  width: 160px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(16, 24, 39, 0.08);
}

.flow-node span {
  display: block;
  font-weight: 800;
}

.flow-node small {
  color: var(--muted);
}

.node-ios {
  top: 92px;
  left: 42px;
}

.node-video {
  top: 178px;
  right: 42px;
}

.node-device {
  bottom: 112px;
  left: 74px;
}

.node-cloud {
  right: 82px;
  bottom: 54px;
}

.flow-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  transform-origin: left center;
  background: var(--accent);
  opacity: 0.68;
}

.line-a {
  top: 162px;
  left: 188px;
  width: 178px;
  transform: rotate(18deg);
}

.line-b {
  top: 282px;
  left: 178px;
  width: 190px;
  transform: rotate(-26deg);
}

.line-c {
  bottom: 112px;
  left: 230px;
  width: 164px;
  transform: rotate(16deg);
}

.section-head {
  max-width: 760px;
}

.section-head.compact {
  margin-bottom: 32px;
}

.section-head p,
.team-copy p {
  color: var(--muted);
  font-size: 17px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.pain-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 72px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.check {
  color: var(--accent);
  font-weight: 900;
}

.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.service-card,
.case-card,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(16, 24, 39, 0.04);
}

.service-card {
  padding: 24px;
}

.service-icon {
  display: grid;
  width: 46px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 820;
}

.service-card p,
.case-card p,
.price-card p {
  color: var(--muted);
}

.service-card ul {
  padding-left: 18px;
  margin-bottom: 0;
  color: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: 104px;
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

.price-card {
  padding: 26px;
}

.price-card.featured {
  border-color: rgba(234, 106, 26, 0.42);
  background: #fff7ed;
}

.price {
  margin: 8px 0 10px;
  color: var(--ink) !important;
  font-size: 34px;
  font-weight: 860;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  padding: 26px;
}

.case-tag {
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 800;
}

.team-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-weight: 720;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.contact-card .eyebrow,
.contact-card a {
  color: #fed7aa;
}

.contact-card h2 {
  color: #fff;
}

.inquiry-form {
  display: grid;
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  padding: 11px 12px;
}

.inquiry-form option {
  color: var(--ink);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .team-section,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .system-visual {
    min-height: 460px;
  }

  .visual-panel {
    height: 460px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-head {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 56px 0;
  }

  h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .hero-actions,
  .contact-methods {
    flex-direction: column;
  }

  .button,
  .contact-methods a {
    width: 100%;
  }

  .trust-strip,
  .pain-grid,
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .system-visual {
    min-height: 400px;
  }

  .visual-panel {
    height: 400px;
  }

  .flow-node {
    width: 140px;
    padding: 12px;
  }

  .node-ios {
    top: 72px;
    left: 18px;
  }

  .node-video {
    top: 148px;
    right: 18px;
  }

  .node-device {
    left: 28px;
    bottom: 96px;
  }

  .node-cloud {
    right: 30px;
    bottom: 40px;
  }

  .line-a,
  .line-b,
  .line-c {
    display: none;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
