:root {
  --blue-950: #06385e;
  --blue-900: #075f95;
  --blue-800: #0679b7;
  --blue-100: #eaf7ff;
  --red: #df1724;
  --green: #25d366;
  --ink: #172033;
  --muted: #637083;
  --line: #dfe7ef;
  --soft: #f5f9fc;
  --white: #fff;
  --shadow: 0 20px 60px rgba(8, 42, 74, .13);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 122px; }
body {
  min-width: 320px;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-y: scroll;
}
body.lang-zh { font-family: "Microsoft YaHei", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 10px 26px rgba(8,42,74,.12); }
.audience-bar { background: var(--blue-950); color: #dff5ff; }
.audience-inner, .header-tools, .nav-inner, .brand, .main-nav, .hero-actions, .ai-actions, .footer-inner { display: flex; align-items: center; }
.audience-inner { min-height: 48px; justify-content: flex-end; gap: 0; }
.header-tools { gap: 14px; }
.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.language-switch { padding: 4px; }
.language-button {
  width: 82px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}
.language-button.is-active { color: var(--white); background: var(--red); box-shadow: 0 8px 20px rgba(223,23,36,.26); }

.main-bar { background: var(--blue-800); color: var(--white); }
.nav-inner { min-height: 74px; justify-content: space-between; gap: 28px; }
.brand { gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--blue-800); background: var(--white);
  border-radius: 50%; font-size: 24px; font-weight: 900;
}
.brand strong, .brand small { display: block; line-height: 1.08; }
.brand strong { font-size: 20px; }
.brand small { color: rgba(255,255,255,.75); font-size: 11px; text-transform: uppercase; }
.main-nav { gap: 26px; font-weight: 800; }
.main-nav a { white-space: nowrap; opacity: .92; }
.main-nav a:hover { opacity: 1; transform: translateY(-1px); }
.nav-cta { padding: 9px 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; background: transparent; }
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); }

.hero {
  position: relative;
  min-height: max(620px, calc(100svh - 122px));
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1621453728762-5a95731038d5?auto=format&fit=crop&w=2400&q=84") center / cover;
  transform: scale(1.01);
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,36,64,.12), rgba(5,36,64,.18) 46%, rgba(5,36,64,.42)); }
.hero-content { position: relative; text-align: center; padding: 96px 0 106px; }
.hero-label {
  display: inline-block; margin-bottom: 18px; padding: 8px 14px;
  border-radius: 999px; background: rgba(0,0,0,.22); backdrop-filter: blur(10px);
  font-weight: 900;
}
.hero h1 {
  max-width: 920px; min-height: 150px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: clamp(44px, 5.7vw, 74px); line-height: 1.06; font-weight: 800;
  text-shadow: 0 18px 40px rgba(0,0,0,.35);
}
body.lang-zh .hero h1 {
  max-width: min(100%, 1560px);
  min-height: 92px;
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.08;
  white-space: nowrap;
}
.hero-text {
  max-width: 780px; min-height: 66px; margin: 0 auto 30px;
  color: rgba(255,255,255,.9); font-size: 20px;
  text-shadow: 0 10px 24px rgba(0,0,0,.36);
}
.hero-actions { justify-content: center; gap: 14px; min-height: 56px; flex-wrap: wrap; }

.btn {
  position: relative; overflow: hidden; min-height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 13px 28px; font-weight: 900; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(8,42,74,.18); }
.btn-primary { color: var(--white); background: var(--red); }
.btn-primary:hover { background: #bb111c; }
.btn-light { color: var(--blue-950); background: var(--white); }
.btn-outline { color: var(--white); border: 1px solid rgba(255,255,255,.42); background: transparent; }
.btn-outline:hover { color: var(--blue-950); background: var(--white); }

.trust-section { padding: 58px 0 34px; }
.trust-card {
  position: relative; display: grid; grid-template-columns: 92px 1fr auto; gap: 28px; align-items: center;
  padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
}
.dismiss-card { position: absolute; top: 18px; right: 20px; border: 0; color: var(--muted); background: transparent; font-size: 30px; cursor: pointer; }
.trust-icon { width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue-800); font-size: 42px; font-weight: 900; }
.trust-copy h2 { color: var(--blue-900); font-size: 28px; line-height: 1.2; margin-bottom: 8px; }
.trust-copy p { color: var(--muted); max-width: 760px; }
.trust-copy a { display: inline-block; margin-top: 14px; color: #0b7cff; font-weight: 900; }
.trust-facts { display: grid; grid-template-columns: repeat(3, 130px); gap: 10px; }
.trust-facts article { padding: 16px; border-radius: 12px; background: var(--blue-100); }
.trust-facts strong, .trust-facts span { display: block; }
.trust-facts strong { color: var(--blue-950); font-size: 18px; }
.trust-facts span { color: var(--muted); font-weight: 800; font-size: 12px; }

.section { padding: 86px 0; }
.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head span, .ai-copy > span, .contact-section span { display: inline-block; color: var(--blue-800); font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2, .ai-copy h2, .contact-section h2 { font-size: clamp(32px, 4vw, 50px); color: var(--ink); line-height: 1.12; }
.section-head p, .service-card p, .process-grid p, .contact-section p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card, .process-grid article, .contact-form {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 34px rgba(8,42,74,.07);
}
.service-card { min-height: 258px; padding: 26px; transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover, .process-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card small { display: inline-grid; place-items: center; width: 44px; height: 38px; margin-bottom: 20px; border-radius: 10px; color: var(--white); background: var(--blue-800); font-weight: 900; }
.service-card h3 { font-size: 22px; color: var(--ink); line-height: 1.2; margin-bottom: 10px; }

.ai-section { color: var(--white); background: linear-gradient(135deg, #052947, #036fa5); overflow: hidden; }
.ai-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; }
.ai-copy > span, .ai-copy h2 { color: var(--white); }
.ai-copy p { color: rgba(255,255,255,.78); margin: 20px 0 28px; font-size: 18px; }
.automation-panel { padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.1); box-shadow: 0 28px 80px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
.panel-top, .panel-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.panel-top { margin-bottom: 18px; font-weight: 900; }
.panel-top strong { padding: 5px 12px; border-radius: 999px; color: #06351e; background: var(--green); font-size: 12px; }
.panel-row { min-height: 58px; padding: 14px 16px; margin-bottom: 10px; border-radius: 12px; background: rgba(3,18,34,.46); }
.panel-row span { color: rgba(255,255,255,.72); font-weight: 800; }
.panel-row strong { color: #7ee7ff; font-size: 22px; }
.panel-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.panel-tags span { padding: 8px 12px; border-radius: 999px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.12); font-weight: 800; }

.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-grid article { min-height: 226px; padding: 26px; }
.process-grid strong { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; color: var(--white); background: var(--red); }
.process-grid h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.2; }

.contact-section { background: var(--soft); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.contact-details { display: grid; gap: 10px; margin-top: 24px; }
.contact-details strong { color: var(--blue-900); margin-right: 8px; }
.contact-form { display: grid; gap: 14px; padding: 28px; }
.contact-form label { display: grid; gap: 8px; color: var(--ink); font-weight: 900; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--ink); background: var(--white); outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-800); box-shadow: 0 0 0 4px rgba(6,121,183,.12); }
.form-whatsapp { width: 100%; }

.site-footer { color: rgba(255,255,255,.82); background: var(--blue-950); }
.footer-inner { min-height: 88px; justify-content: space-between; gap: 20px; }
.floating-whatsapp, .back-top { position: fixed; right: 22px; z-index: 40; border: 0; color: var(--white); font-weight: 900; cursor: pointer; box-shadow: 0 14px 30px rgba(8,42,74,.22); }
.floating-whatsapp { bottom: 24px; padding: 14px 22px; border-radius: 999px; background: var(--green); }
.back-top { display: none; bottom: 82px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); font-size: 20px; }
.back-top.is-visible { display: grid; place-items: center; }

.trust-card.is-hidden { display: none; }

@media (max-width: 1120px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 122px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px; background: var(--blue-800); box-shadow: 0 20px 36px rgba(8,42,74,.18); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .trust-card, .ai-layout, .contact-layout { grid-template-columns: 1fr; }
  .trust-facts, .service-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 124px; }
  .container { width: min(100% - 28px, 1280px); }
  .audience-inner { min-height: 48px; justify-content: flex-end; padding: 6px 0; }
  .header-tools { width: auto; justify-content: flex-end; }
  .language-button { width: 72px; min-height: 30px; }
  .nav-inner { min-height: 76px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 10px; }
  .main-nav { top: 124px; }
  .hero { min-height: max(690px, calc(100svh - 124px)); place-items: start center; }
  .hero-content { min-height: inherit; display: grid; align-content: center; padding: 58px 0 70px; text-align: left; }
  .hero-label { justify-self: start; }
  .hero h1 { justify-content: flex-start; max-width: 350px; min-height: 170px; font-size: 38px; line-height: 1.12; }
  body.lang-zh .hero h1 { max-width: 360px; font-size: 34px; white-space: normal; }
  .hero-text { max-width: 350px; min-height: 112px; font-size: 16px; margin-left: 0; margin-right: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions .btn, .ai-actions .btn { width: 100%; }
  .trust-card { grid-template-columns: 1fr; padding: 24px; }
  .trust-facts, .service-grid, .process-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-head { text-align: left; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 24px 0; }
  .floating-whatsapp { display: none; }
  .back-top { right: 14px; bottom: 76px; }
}
