/*
Theme Name: 出海智联科技清零版
Author: Yuki
Description: 出海智联科技公开站接管与旧信息清零主题
Version: 1.2.0
Text Domain: yuki-clean
*/

:root {
  --ink: #081b33;
  --muted: #52657a;
  --line: #dce6f2;
  --blue: #1f64ff;
  --blue-deep: #0a3cb8;
  --soft: #f4f8ff;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(220,230,242,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg,var(--blue),var(--blue-deep)); font-size: 22px; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
nav { display: flex; gap: 24px; font-size: 15px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 12px; font-weight: 750; }
.button.primary { color: #fff; background: var(--blue); }
.button.secondary { border: 1px solid var(--line); background: #fff; }
.hero { padding: 118px 0 96px; background: radial-gradient(circle at 84% 20%,#cfe0ff 0,transparent 34%),linear-gradient(150deg,#f7faff 0%,#eaf2ff 100%); }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
h1 { max-width: 850px; margin: 20px 0; font-size: clamp(46px,7vw,82px); line-height: 1.06; letter-spacing: -.055em; }
.hero p { max-width: 760px; color: var(--muted); font-size: clamp(18px,2.2vw,24px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 42px; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓"; margin-right: 8px; color: var(--blue); font-weight: 900; }
section { padding: 92px 0; }
.soft { background: var(--soft); }
.section-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; margin-bottom: 38px; }
h2 { margin: 8px 0 0; font-size: clamp(34px,5vw,56px); line-height: 1.12; letter-spacing: -.04em; }
.section-head p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card { min-height: 210px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.card b { display: inline-block; color: var(--blue); font-size: 13px; }
.card h3 { margin: 38px 0 10px; font-size: 23px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); }
.contact { color: #fff; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.contact p { color: #b8c7d9; }
.contact-list { display: grid; gap: 12px; }
.contact-list a,.contact-list span { padding: 18px 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.06); }
footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 820px) {
  .wrap { width: min(100% - 28px,1160px); }
  .nav { min-height: 68px; }
  nav { display: none; }
  .hero { padding: 84px 0 68px; }
  h1 { font-size: clamp(42px,13vw,62px); }
  .section-head,.contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .grid { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
  .footer-row { flex-direction: column; }
}

/* WeChat Moments landing page */
.wechat-top-link { color: var(--blue); font-weight: 800; }
.wechat-hero { padding: 92px 0 76px; background: radial-gradient(circle at 85% 10%,#c9dcff 0,transparent 30%),linear-gradient(150deg,#f7faff,#e8f1ff); }
.wechat-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 44px; align-items: center; }
.wechat-hero h1 { max-width: 820px; font-size: clamp(46px,6vw,76px); }
.wechat-hero p { max-width: 700px; color: var(--muted); font-size: 20px; }
.wechat-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.wechat-proof span::before { content: "✓"; color: var(--blue); font-weight: 900; margin-right: 7px; }
.wechat-card { padding: 30px; border: 1px solid rgba(31,100,255,.16); border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: 0 24px 70px rgba(8,27,51,.1); }
.wechat-card > span { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.wechat-card ul { margin: 24px 0; padding-left: 20px; color: var(--ink); }
.wechat-card li { margin: 12px 0; }
.text-button { padding: 0; border: 0; color: var(--blue); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.wechat-steps { padding-bottom: 120px; }
.lead-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(4,17,35,.58); opacity: 0; visibility: hidden; transition: .25s ease; }
.lead-backdrop.is-open { opacity: 1; visibility: visible; }
.lead-sheet { position: relative; width: min(620px,100%); max-height: calc(100vh - 30px); overflow: auto; padding: 34px; border-radius: 24px; background: #fff; box-shadow: 0 28px 100px rgba(4,17,35,.32); transform: translateY(18px); transition: .25s ease; }
.lead-backdrop.is-open .lead-sheet { transform: translateY(0); }
.lead-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 25px; cursor: pointer; }
.lead-sheet h2 { margin: 8px 44px 4px 0; font-size: 34px; }
.lead-intro { margin-top: 5px; color: var(--muted); }
.wechat-lead-form { display: grid; gap: 14px; margin-top: 24px; }
.wechat-lead-form label { display: grid; gap: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
.lead-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wechat-lead-form input,.wechat-lead-form select,.wechat-lead-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); font: inherit; outline: none; }
.wechat-lead-form input:focus,.wechat-lead-form select:focus,.wechat-lead-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,100,255,.11); }
.wechat-lead-form textarea { resize: vertical; }
.lead-submit { width: 100%; border: 0; cursor: pointer; }
.wechat-lead-form small { color: var(--muted); font-weight: 400; line-height: 1.5; }
.lead-hp { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.lead-success { padding: 30px 0 10px; text-align: center; }
.lead-success > span { display: grid; width: 62px; height: 62px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 30px; font-weight: 900; }
.lead-success h2 { margin-right: 0; }
.lead-success p { color: var(--muted); }
.modal-open { overflow: hidden; }
.wechat-mobile-bar { display: none; }
.global-lead-dock { position: fixed; z-index: 70; right: 22px; bottom: 22px; display: flex; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 18px 55px rgba(8,27,51,.18); backdrop-filter: blur(14px); }
.global-lead-dock a,.global-lead-dock button { min-height: 46px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.global-lead-dock button { color: #fff; background: var(--blue); }

@media (max-width: 820px) {
  .wechat-top-link { font-size: 13px; }
  .wechat-hero { padding: 62px 0 48px; }
  .wechat-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .wechat-hero h1 { font-size: clamp(40px,12vw,56px); }
  .wechat-hero p { font-size: 18px; }
  .wechat-card { padding: 24px; }
  .lead-backdrop { align-items: end; padding: 0; }
  .lead-sheet { width: 100%; max-height: 92vh; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .lead-sheet h2 { font-size: 30px; }
  .lead-two { grid-template-columns: 1fr; }
  .wechat-mobile-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.25fr; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
  .wechat-mobile-bar a,.wechat-mobile-bar button { min-height: 46px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-weight: 800; }
  .wechat-mobile-bar button { color: #fff; background: var(--blue); }
  .wechat-steps { padding-bottom: 110px; }
  .global-lead-dock { left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 0; }
}
