/* 元启出海官网 v2 —— 全站样式 */
:root {
  --blue: #0a8fd8;
  --blue-deep: #0b5fb0;
  --navy: #0f1c2e;
  --orange: #f06a1d;
  --ink: #13233a;
  --muted: #5a6b82;
  --line: #dbe6f2;
  --bg: #f5f9fd;
  --card: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p, li { overflow-wrap: anywhere; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.nowrap { white-space: nowrap; }

/* 待补充标记（预览用，正式上线前全部替换） */
.todo {
  display: inline; background: #fff6d6; color: #8a5a00;
  border: 1px dashed #e0a800; border-radius: 4px; padding: 0 4px; font-size: .92em;
}
.todo-box {
  background: #fff6d6; color: #8a5a00; border: 1px dashed #e0a800;
  border-radius: 10px; padding: 14px 16px; font-size: 14px;
}

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 44px; width: 44px; }
.brand b { display: block; font-size: 20px; line-height: 1.15; color: var(--blue); letter-spacing: .06em; }
.brand small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.nav > a, .nav .dd > span { padding: 8px 12px; border-radius: 8px; color: var(--muted); cursor: pointer; display: block; }
.nav > a:hover, .nav .dd:hover > span { color: var(--blue); background: rgba(10,143,216,.06); }
.nav a.active, .nav .dd.active > span { color: var(--blue); font-weight: 600; }
.nav .dd { position: relative; }
.nav .dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15,28,46,.12); display: none;
}
.nav .dd:hover .dd-menu, .nav .dd:focus-within .dd-menu { display: block; }
.nav .dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); }
.nav .dd-menu a small { display: block; color: var(--muted); font-size: 12px; }
.nav .dd-menu a:hover { background: var(--bg); color: var(--blue); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* 按钮 */
.btn {
  display: inline-block; padding: 11px 24px; border-radius: 8px; font-weight: 600; font-size: 15px;
  background: var(--blue); color: #fff !important; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px rgba(10,143,216,.25); transition: background .15s;
}
.btn:hover { background: var(--blue-deep); }
.btn.ghost { background: #fff; color: var(--blue) !important; border: 1px solid var(--blue); box-shadow: none; }
.btn.ghost:hover { background: rgba(10,143,216,.06); }
.btn.orange { background: var(--orange); box-shadow: 0 8px 20px rgba(240,106,29,.25); }
.btn.orange:hover { background: #d95a10; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 区块 */
section { padding: 84px 0; }
section.alt { background: var(--card); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: block; font-size: 13px; letter-spacing: .2em; color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.3; }
.sec-head p { color: var(--muted); margin-top: 12px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.grid > * { min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card.hover { transition: transform .15s, box-shadow .15s; }
.card.hover:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,28,46,.08); }
.more { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 600; font-size: 15px; }
.more::after { content: " →"; }
ul.ticks { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
ul.ticks li { padding-left: 22px; position: relative; font-size: 15px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
ul.ticks.orange li::before { background: var(--orange); }

/* 首屏 */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(10,143,216,.20), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(240,106,29,.10), transparent 60%),
    linear-gradient(180deg, #eaf4fc 0%, var(--bg) 100%);
  padding: 80px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .12em; color: var(--blue-deep);
  background: rgba(10,143,216,.10); padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(32px, 5.2vw, 54px); line-height: 1.2; letter-spacing: .02em; }
.hero h1 span { color: var(--blue); }
.hero .sub { font-size: clamp(17px, 2.2vw, 22px); color: var(--blue-deep); margin-top: 14px; font-weight: 600; }
.hero .lead { color: var(--muted); margin-top: 16px; max-width: 600px; }
.hero-mark { width: 100%; max-width: 340px; justify-self: center; filter: drop-shadow(0 18px 40px rgba(10,143,216,.18)); }

/* 子页页头 */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--blue-deep) 60%, var(--blue));
  color: #fff; padding: 64px 0 56px;
}
.page-hero .crumb { font-size: 13px; opacity: .7; margin-bottom: 10px; }
.page-hero .crumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.page-hero p { opacity: .85; margin-top: 12px; max-width: 720px; }
.page-hero .btn-row { margin-top: 24px; }

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 36px; line-height: 1.1; color: var(--blue-deep); font-weight: 800; }
.stat span { font-size: 14px; color: var(--muted); }
.stats-note { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: right; }

/* 痛点 → 解法 */
.pain { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.pain > div { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.pain .q { background: #fbfcfe; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.pain .q::before { content: "痛点"; flex-shrink: 0; font-size: 12px; color: #fff; background: #9aa8ba; border-radius: 4px; padding: 1px 6px; margin-top: 3px; }
.pain .a { color: var(--muted); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.pain .a::before { content: "解法"; flex-shrink: 0; font-size: 12px; color: #fff; background: var(--blue); border-radius: 4px; padding: 1px 6px; margin-top: 3px; }
.pain > div:nth-last-child(-n+2) { border-bottom: 0; }

/* 产品卡 */
.prod { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.prod img { border-radius: 10px; border: 1px solid var(--line); background: #0d1626; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--blue-deep); background: rgba(10,143,216,.1); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag.orange { color: #b54708; background: rgba(240,106,29,.12); }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps > * { min-width: 0; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: linear-gradient(160deg, #eef6fd, #fff); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 30px; font-weight: 800; color: rgba(10,143,216,.25); display: block; line-height: 1; margin-bottom: 10px; }
.step h4 { font-size: 17px; }
.step p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* 案例 */
.case-card { overflow: hidden; padding: 0; }
.case-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.case-card .body { padding: 22px 24px 26px; }
.case-card .ind { font-size: 13px; color: var(--blue); font-weight: 600; }
.case-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.case-feature > * { min-width: 0; }
.case-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.case-feature .body { padding: 34px; }
.nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 6px; }
.nums div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.nums b { display: block; font-size: 24px; color: var(--orange); line-height: 1.2; }
.nums span { font-size: 13px; color: var(--muted); }
.src-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* 照片墙 */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.photos.g4 { grid-template-columns: repeat(4, 1fr); }

/* 优势 */
.why .card { border-top: 4px solid var(--blue); }
.why .card:nth-child(2n) { border-top-color: var(--orange); }
.why .ico { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .1em; margin-bottom: 6px; }

/* 常见问题 */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* 行动号召条 */
.cta-band { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 32px); }
.cta-band p { opacity: .85; margin-top: 10px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn { background: #fff; color: var(--blue-deep) !important; box-shadow: none; }
.cta-band .btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.7); }

/* 表单 */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form label em { color: var(--orange); font-style: normal; margin-left: 2px; }
.form input[type=text], .form input[type=tel], .form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 15px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid rgba(10,143,216,.35); border-color: var(--blue); }
.form textarea { min-height: 110px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { font-weight: 400; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; cursor: pointer; background: #fff; font-size: 14px; }
.checks input:checked + span { color: var(--blue); font-weight: 600; }
.agree { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.agree a { color: var(--blue); }
.form-msg { font-size: 14px; padding: 10px 14px; border-radius: 8px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e8f7ee; color: #146c2e; }
.form-msg.err { background: #fdecea; color: #a4262c; }
.hp { position: absolute; left: -9999px; }

/* 联系信息 */
.contact-list { display: grid; gap: 14px; }
.contact-list > div { background: var(--bg); border-radius: 10px; padding: 14px 18px; }
.contact-list .k { font-size: 13px; color: var(--muted); }
.contact-list .v { font-size: 17px; font-weight: 600; }
.contact-list a.v:hover { color: var(--blue); }
.qr { width: 150px; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 6px; }

/* 文章 */
.article-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: #2b3a50; margin-top: 10px; }
.prose ul { padding-left: 22px; }

/* 悬浮联系 */
.float-contact { position: fixed; right: 18px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-contact a, .float-contact button {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--blue); box-shadow: 0 8px 24px rgba(15,28,46,.18);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center;
}
.float-contact .primary { background: var(--orange); color: #fff; }
.float-contact .pop {
  position: absolute; right: 64px; bottom: 0; background: #fff; border-radius: 12px; padding: 14px; width: 190px;
  box-shadow: 0 16px 40px rgba(15,28,46,.18); display: none; text-align: center; font-size: 13px; color: var(--muted);
}
.float-contact .pop img { width: 160px; margin: 0 auto 6px; }
.float-contact .pop.show { display: block; }

/* 页脚 */
.site-footer { background: var(--navy); color: #9fb0c6; font-size: 14px; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid > * { min-width: 0; }
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .qr { width: 110px; border: 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
.foot-bottom a:hover { text-decoration: underline; }

/* 手机 */
@media (max-width: 960px) {
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; gap: 0;
  }
  .nav.open { display: flex; }
  .nav .dd-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
  .brand b { font-size: 18px; }
  .brand img { height: 38px; width: 38px; }
  section { padding: 56px 0; }
  .hero { padding: 52px 0 60px; }
  .hero-grid, .g2, .g3, .prod, .case-feature, .pain, .form .row2 { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .pain > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .pain .q { border-top: 6px solid var(--bg); }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .photos, .photos.g4 { grid-template-columns: 1fr 1fr; }
  .case-feature img { min-height: 220px; }
  .case-feature .body { padding: 24px; }
  .float-contact { right: 12px; bottom: 16px; }
}
@media (max-width: 520px) {
  .g4, .steps, .foot-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
}

/* 创始人卡片、联系页布局 */
.founder-card { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; padding: 0; overflow: hidden; }
.founder-card > * { min-width: 0; }
.founder-card img { height: 100%; object-fit: cover; }
.founder-body { padding: 28px 28px 28px 0; }
.contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
@media (max-width: 820px) {
  .founder-card, .contact-grid { grid-template-columns: 1fr; }
  .founder-card img { max-height: 360px; width: 100%; }
  .founder-body { padding: 0 24px 24px; }
}

/* 产品演示视频、截图墙 */
.demo-video { width: 100%; border-radius: 12px; background: #0d1626; display: block; border: 1px solid var(--line); }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shots > * { min-width: 0; }
.shots figure { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.shots img { width: 100%; }
.shots figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); }
.shots figcaption b { color: var(--ink); display: block; font-size: 15px; }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr; } }

/* 合作客户 Logo 墙 */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-wall > * { min-width: 0; }
.logo-wall img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 960px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* 真实询盘截图 */
.inquiry { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: center; margin-top: 40px; }
.inquiry > * { min-width: 0; }
.inquiry-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry-shots img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(15,28,46,.10); }
@media (max-width: 820px) { .inquiry { grid-template-columns: 1fr; } }
