/* ============================================================
   Xinyet (Shanghai Xinyet Technology) 官网样式
   ============================================================ */

:root {
  --header-h: 72px;

  --c-dark: #0a1122;
  --c-dark-2: #0e1730;
  --c-light: #ffffff;
  --c-gray: #f4f6fb;

  --c-primary: #2f6bff;
  --c-primary-2: #7c5cf6;
  --c-accent: #38c8f0;

  --c-text: #182338;
  --c-text-muted: #5c667c;
  --c-text-on-dark: #eef2fb;
  --c-text-on-dark-muted: #a9b3ca;

  --c-border: #e4e9f2;
  --c-border-dark: rgba(255, 255, 255, 0.1);

  --grad-primary: linear-gradient(120deg, #3d7bff 0%, #7c5cf6 100%);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 6px 24px rgba(16, 34, 77, 0.07);
  --shadow-card-hover: 0 14px 36px rgba(16, 34, 77, 0.13);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

button {
  font-family: inherit;
}

section[id],
[id="contact"] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, opacity 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(61, 108, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 26px rgba(61, 108, 255, 0.45);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.btn-light {
  background: #fff;
  color: var(--c-primary);
  box-shadow: 0 8px 22px rgba(4, 16, 48, 0.25);
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(4, 16, 48, 0.32);
}

.btn-lg {
  padding: 13px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(9, 15, 33, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(9, 15, 33, 0.95);
  box-shadow: 0 6px 24px rgba(2, 8, 26, 0.35);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
}

.brand-text small {
  color: var(--c-text-on-dark-muted);
  font-size: 10px;
  letter-spacing: 2.2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 8px 13px;
  font-size: 15px;
  color: var(--c-text-on-dark-muted);
  border-radius: 8px;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.header-cta {
  flex: none;
}

/* 语言切换 */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
  font-size: 13px;
}

.lang-switch a {
  padding: 4px 7px;
  border-radius: 7px;
  color: var(--c-text-on-dark-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
}

.nav-lang {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 24px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 75% -10%, #16255c 0%, transparent 60%),
    linear-gradient(160deg, #0b1226 0%, #0a1122 55%, #0c1430 100%);
  color: var(--c-text-on-dark);
  padding: calc(var(--header-h) + 96px) 0 110px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(124, 149, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 149, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 75%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-glow-a {
  width: 480px;
  height: 480px;
  left: -140px;
  top: 10%;
  background: rgba(47, 107, 255, 0.22);
}

.hero-glow-b {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -30%;
  background: rgba(124, 92, 246, 0.18);
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: 4px;
  background: linear-gradient(100deg, #7aa5ff, #38c8f0 55%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 26px;
}

.hero-desc {
  max-width: 720px;
  margin: 0 auto 38px;
  font-size: 16.5px;
  color: var(--c-text-on-dark-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags li {
  padding: 7px 16px;
  border: 1px solid rgba(133, 158, 255, 0.3);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.8px;
  color: #b7c6ef;
  background: rgba(47, 107, 255, 0.08);
}

/* ============================================================
   Sections（通用）
   ============================================================ */
.section {
  padding: 96px 0;
}

.section-light {
  background: var(--c-light);
}

.section-gray {
  background: var(--c-gray);
}

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

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
}

.section-desc {
  margin-top: 14px;
  color: var(--c-text-muted);
}

/* ============================================================
   关于我们
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p + p {
  margin-top: 18px;
}

.about-text p {
  color: #33405c;
  font-size: 16.5px;
}

.about-modes {
  background: linear-gradient(155deg, #0d1730 0%, #12204a 100%);
  border: 1px solid rgba(133, 158, 255, 0.16);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  color: var(--c-text-on-dark);
  box-shadow: var(--shadow-card);
}

.about-modes-title {
  font-size: 18px;
  margin-bottom: 18px;
  color: #fff;
}

.mode-list {
  display: grid;
  gap: 11px;
}

.mode-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: #c6d1ec;
}

.mode-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg) scale(0.85);
}

/* 跨境开发服务说明 */
.about-global {
  margin-top: 30px;
  padding: 22px 26px;
  background: #f7f9fd;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--radius-sm);
}

.about-global h3 {
  font-size: 16.5px;
  margin-bottom: 12px;
}

.about-global ul {
  display: grid;
  gap: 9px;
}

.about-global li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: #33405c;
}

.about-global li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  transform: rotate(-45deg) scale(0.85);
}

/* ============================================================
   核心业务
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.22s ease;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 30px;
  font-weight: 800;
  color: #eef1f9;
  letter-spacing: 1px;
}

.service-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(61, 123, 255, 0.12), rgba(124, 92, 246, 0.12));
  color: var(--c-primary);
  margin-bottom: 18px;
}

.service-icon svg,
.solution-icon svg,
.why-icon svg,
.contact-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 18.5px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--c-text-muted);
}

/* ============================================================
   解决方案
   ============================================================ */
.solution-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.solution-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fbfcfe;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.solution-item:last-child {
  grid-column: 1 / -1;
}

.solution-icon {
  display: inline-flex;
  flex: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(61, 123, 255, 0.12), rgba(56, 200, 240, 0.14));
  color: var(--c-primary);
}

.solution-item h3 {
  font-size: 17.5px;
  margin-bottom: 6px;
}

.solution-item p {
  font-size: 14.5px;
  color: var(--c-text-muted);
}

/* ============================================================
   成功案例
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.case-visual {
  padding: 30px 30px 0;
}

.case-visual img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -6px 30px rgba(14, 34, 84, 0.12);
}

.case-visual-blue {
  background: linear-gradient(150deg, #2c62e8 0%, #5a8cff 100%);
}

.case-visual-teal {
  background: linear-gradient(150deg, #0d9d8d 0%, #2fc6a8 100%);
}

.case-visual-violet {
  background: linear-gradient(150deg, #6d4de0 0%, #9b6cf0 100%);
}

.case-visual-dark {
  background: linear-gradient(150deg, #0c1836 0%, #12295e 100%);
}

.case-body {
  padding: 26px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-no {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--c-primary);
}

.case-tag {
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 3px 12px;
  background: #f8fafd;
}

.case-body h3 {
  font-size: 21px;
}

.case-body > p {
  font-size: 14.5px;
  color: var(--c-text-muted);
  flex: 1;
}

.case-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.case-features li {
  font-size: 12.5px;
  color: #3d5488;
  background: #eef3fd;
  border-radius: 6px;
  padding: 4px 11px;
}

/* ============================================================
   开发流程
   ============================================================ */
.process-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 24px 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -15px;
  width: 12px;
  height: 12px;
  border-top: 2px solid #b9c6e4;
  border-right: 2px solid #b9c6e4;
  transform: rotate(45deg);
}

.process-no {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(61, 108, 255, 0.3);
}

.process-step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ============================================================
   为什么选择我们
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.why-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(61, 123, 255, 0.13), rgba(124, 92, 246, 0.13));
  color: var(--c-primary);
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--c-text-muted);
}

/* ============================================================
   CTA
   ============================================================ */
.cta-band {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(115deg, #1b3fae 0%, #2f6bff 48%, #6d4de0 100%);
  color: #fff;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
}

.cta-inner h2 {
  font-size: clamp(25px, 3.4vw, 36px);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 34px;
  font-size: 16.5px;
}

/* ============================================================
   联系我们
   ============================================================ */
.section-contact {
  background: radial-gradient(900px 500px at 15% 0%, #14245a 0%, transparent 55%),
    linear-gradient(165deg, #0b1226 0%, #0a1122 100%);
  color: var(--c-text-on-dark);
  padding: 104px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.contact-info .section-title {
  color: #fff;
  margin-bottom: 18px;
}

.contact-info .section-eyebrow {
  color: var(--c-accent);
}

.contact-lead {
  color: var(--c-text-on-dark-muted);
  margin-bottom: 36px;
  font-size: 16.5px;
}

.contact-items {
  display: grid;
  gap: 26px;
}

.contact-items li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  display: inline-flex;
  flex: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(61, 123, 255, 0.14);
  border: 1px solid rgba(133, 158, 255, 0.22);
  color: #8fb1ff;
}

.contact-label {
  display: block;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--c-text-on-dark-muted);
  margin-bottom: 3px;
}

.contact-items a {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.contact-items a:hover {
  color: var(--c-accent);
}

.contact-items p {
  color: #ccd5ea;
  font-size: 15px;
}

/* 表单 */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius);
  padding: 36px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
  margin-bottom: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: #dbe3f5;
  letter-spacing: 0.5px;
}

.form-field label em {
  color: #ff7d7d;
  font-style: normal;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  color: #f2f5fc;
  background: rgba(10, 18, 40, 0.55);
  border: 1px solid rgba(148, 168, 214, 0.25);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #66738f;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23a9b3ca' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-field select option {
  color: #182338;
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #4f8bff;
  box-shadow: 0 0 0 3px rgba(61, 123, 255, 0.22);
}

.form-status {
  margin-top: 16px;
  min-height: 26px;
  font-size: 15px;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 0;
  transition: padding 0.2s ease;
}

.form-status.success {
  color: #7ce8b8;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 11px 16px;
}

.form-status.error {
  color: #ffa6a6;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 11px 16px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #070d1d;
  color: var(--c-text-on-dark-muted);
  padding: 52px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.footer-name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-name-en {
  font-size: 13px;
  letter-spacing: 1px;
  margin-top: 4px;
}

.footer-tagline {
  margin-top: 14px;
  font-size: 14px;
  color: #8b96b3;
}

.footer-contact {
  text-align: right;
  font-size: 14px;
}

.footer-contact a {
  color: #cfd8ee;
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-contact a:hover {
  color: var(--c-accent);
}

.footer-contact p {
  line-height: 1.8;
}

.footer-lang {
  margin-top: 16px;
  justify-content: flex-end;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  padding-bottom: 24px;
  text-align: center;
  font-size: 13px;
  color: #6b7590;
}

/* ============================================================
   Reveal 动画（仅在 JS 可用时启用）
   ============================================================ */
body.js-anim .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-anim .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.js-anim .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .service-card,
  .case-card,
  .why-card,
  .solution-item,
  .process-step {
    transition: none;
  }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1280px) {
  .header-inner {
    gap: 16px;
  }

  .nav-link {
    padding: 8px 9px;
    font-size: 14px;
  }

  .nav-link::after {
    left: 9px;
    right: 9px;
  }

  .lang-switch {
    font-size: 12.5px;
  }

  .lang-switch a {
    padding: 4px 5px;
  }

  .header-cta {
    padding: 9px 18px;
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .process-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .process-step:nth-child(3n)::after {
    display: none;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 26px;
    background: rgba(8, 13, 29, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 40px rgba(2, 8, 26, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 13px 10px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--c-accent);
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 16px;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 860px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .solution-list {
    grid-template-columns: 1fr;
  }

  .solution-item:last-child {
    grid-column: auto;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .hero {
    padding: calc(var(--header-h) + 70px) 0 84px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .header-lang {
    display: none;
  }

  .nav-lang {
    display: flex;
    margin-top: 14px;
    padding: 4px 6px 0;
    font-size: 15px;
  }

  .footer-lang {
    justify-content: flex-start;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 1.6px;
  }

  .hero-title {
    letter-spacing: 0.5px;
  }

  .hero-sub {
    letter-spacing: 2.5px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
  }

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

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

  .process-list {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .process-step::after {
    display: none;
  }

  .process-step:nth-child(3n)::after {
    display: none;
  }

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

  .contact-form-wrap {
    padding: 26px 20px;
  }

  .case-visual {
    padding: 22px 22px 0;
  }

  .case-body {
    padding: 22px 22px 26px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 26px;
  }

  .footer-contact {
    text-align: left;
  }
}
