/* ============ 蜂名科技官网 设计系统 ============ */
:root {
  --bg: #0a0e2a;
  --bg2: #0f1440;
  --card: #131a52;
  --card2: #181f5e;
  --accent: #46b8ff;
  --accent2: #7c6cff;
  --text: #e8ecff;
  --muted: #9aa3cc;
  --line: rgba(130, 150, 255, .14);
  --radius: 16px;
  --nav-h: 66px;
}
/* 业务页主题色 */
body.biz-ecommerce { --accent: #46b8ff; --accent2: #2f6bff; }
body.biz-brand      { --accent: #8b7bff; --accent2: #c05cff; }
body.biz-ai         { --accent: #2fd6b2; --accent2: #14a3d8; }
body.biz-ads        { --accent: #ffa04d; --accent2: #ff6b6b; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 26px; }
a { color: inherit; }

/* ---------- 背景装饰 ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(130,150,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,150,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-orb {
  position: fixed; z-index: -1; pointer-events: none;
  border-radius: 50%; filter: blur(90px); opacity: .5;
}
.bg-orb.orb1 { width: 480px; height: 480px; background: var(--accent); top: -160px; right: -120px; opacity: .22; }
.bg-orb.orb2 { width: 380px; height: 380px; background: var(--accent2); bottom: -140px; left: -100px; opacity: .16; }

/* ---------- 导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 42, .72);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { font-weight: 800; font-size: 18px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .dot {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 700;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--accent) 40%, transparent);
}
.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 14px; border-radius: 9px; transition: all .2s; }
.nav-links a:hover { color: var(--text); background: rgba(130,150,255,.08); }
.nav-links a.active { color: var(--accent); }
/* 业务下拉 */
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 200px; background: rgba(15,20,64,.96); border: 1px solid var(--line); border-radius: 14px; padding: 8px; opacity: 0; visibility: hidden; transition: all .2s; backdrop-filter: blur(14px); }
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.dropdown a { display: block; padding: 10px 14px; font-size: 14px; border-radius: 9px; }
.dropdown a .d-tag { display: block; font-size: 11px; color: var(--accent); opacity: .8; letter-spacing: 1px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 9px; width: 40px; height: 38px; font-size: 18px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; background: rgba(10,14,42,.97); border-bottom: 1px solid var(--line); padding: 14px 20px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; background: none; border: none; padding: 0 0 0 16px; min-width: 0; }
}

/* ---------- 按钮 ---------- */
.btn { display: inline-block; padding: 13px 30px; border-radius: 11px; font-size: 15px; text-decoration: none; transition: all .18s; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 600; box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(130,150,255,.05); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; padding: 168px 0 120px; text-align: center; overflow: hidden; }
.hero .badge {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--accent); font-size: 13px; letter-spacing: 3px; margin-bottom: 28px;
  background: rgba(130,150,255,.06);
}
.hero h1 { font-size: 56px; line-height: 1.22; font-weight: 800; letter-spacing: 2px; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 24px; color: var(--muted); font-size: 18px; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero .cta { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { margin-top: 70px; display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.hs .num { font-size: 38px; font-weight: 800; background: linear-gradient(92deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs .label { color: var(--muted); font-size: 13.5px; margin-top: 2px; letter-spacing: 1px; }
.hero-deco { position: absolute; border: 1px solid rgba(130,150,255,.18); border-radius: 50%; pointer-events: none; }
.hero-deco.d1 { width: 560px; height: 560px; top: -260px; left: 50%; transform: translateX(-50%); }
.hero-deco.d2 { width: 420px; height: 420px; top: -190px; left: 50%; transform: translateX(-50%) rotate(30deg); border-style: dashed; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translateX(-50%) rotate(390deg); } }
@media (max-width: 720px) { .hero h1 { font-size: 33px; } .hero { padding: 130px 0 84px; } .hero-stats { gap: 34px; } }

/* ---------- 板块通用 ---------- */
.section { padding: 100px 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 62px; }
.sec-head .kicker { color: var(--accent); font-size: 12.5px; letter-spacing: 4px; font-weight: 600; }
.sec-head h2 { font-size: 36px; margin-top: 12px; font-weight: 800; letter-spacing: 1px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- 首页业务大板块（交错） ---------- */
.biz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 90px; }
.biz-row:last-child { margin-bottom: 0; }
.biz-row.rev .biz-visual { order: 2; }
.biz-row.rev .biz-info { order: 1; }
.biz-info .biz-no { font-size: 15px; color: var(--accent); letter-spacing: 4px; font-weight: 700; }
.biz-info h3 { font-size: 32px; margin: 14px 0 18px; font-weight: 800; letter-spacing: 1px; }
.biz-info p { color: var(--muted); font-size: 15.5px; max-width: 460px; }
.biz-info .biz-tags { margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.biz-tags span { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; background: rgba(130,150,255,.05); }
.biz-info .btn { color: #fff; }
/* 业务视觉卡 */
.biz-visual { position: relative; }
.biz-card {
  position: relative; border-radius: 22px; padding: 38px 34px; min-height: 300px;
  background: linear-gradient(160deg, var(--card), var(--bg2));
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.biz-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.biz-card .big-no {
  position: absolute; right: 18px; top: 8px; font-size: 110px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 35%, transparent);
  opacity: .9; user-select: none;
}
.biz-card .bicon { width: 54px; height: 54px; border-radius: 14px; font-size: 26px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.biz-card h4 { font-size: 21px; margin-top: 18px; }
.biz-card .points { margin-top: 14px; color: var(--muted); font-size: 13.5px; display: flex; flex-direction: column; gap: 7px; }
.biz-card .points li { list-style: none; padding-left: 20px; position: relative; }
.biz-card .points li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.biz-card .go { margin-top: 20px; font-size: 14px; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.biz-card .go::after { content: "→"; transition: transform .2s; }
.biz-card:hover .go::after { transform: translateX(4px); }
@media (max-width: 860px) { .biz-row { grid-template-columns: 1fr; gap: 34px; margin-bottom: 64px; } .biz-row.rev .biz-visual { order: 1; } .biz-row.rev .biz-info { order: 2; } }

/* ---------- 子页面 Hero ---------- */
.page-hero { position: relative; padding: 158px 0 88px; overflow: hidden; }
.page-hero .crumb { color: var(--muted); font-size: 13.5px; letter-spacing: 1px; margin-bottom: 18px; }
.page-hero .crumb a { color: var(--muted); text-decoration: none; }
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: 46px; font-weight: 800; letter-spacing: 2px; }
.page-hero h1 .zh { background: linear-gradient(92deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .en { color: var(--muted); font-size: 14px; letter-spacing: 5px; margin-top: 8px; }
.page-hero .lead { margin-top: 24px; color: var(--muted); font-size: 17px; max-width: 620px; }
.page-hero .hero-no {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  font-size: 220px; font-weight: 800; line-height: 1; user-select: none;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 22%, transparent);
}
@media (max-width: 860px) { .page-hero .hero-no { display: none; } .page-hero h1 { font-size: 34px; } }

/* ---------- 子页：概览两栏 ---------- */
.overview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; }
.overview h2 { font-size: 28px; font-weight: 800; letter-spacing: 1px; }
.overview .lead-p { color: var(--text); font-size: 17px; margin-top: 20px; line-height: 1.9; }
.overview .lead-p strong { color: var(--accent); font-weight: 700; }
.ov-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: linear-gradient(170deg, var(--card), var(--bg2)); }
.ov-side h4 { font-size: 16px; margin-bottom: 16px; color: var(--accent); letter-spacing: 2px; }
.ov-side ul { list-style: none; }
.ov-side li { color: var(--muted); font-size: 14.5px; padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.ov-side li:last-child { border-bottom: none; }
.ov-side li::before { content: "▪"; color: var(--accent); }
@media (max-width: 860px) { .overview { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 服务卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px;
  transition: transform .22s, border-color .22s;
}
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.card .icon { width: 48px; height: 48px; border-radius: 13px; font-size: 22px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 13%, transparent); margin-bottom: 18px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); overflow: hidden; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 56px; font-weight: 800; color: color-mix(in srgb, var(--accent) 28%, transparent); display: block; margin-bottom: 12px; line-height: 1; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- 对比 / 数据条 ---------- */
.stats-bar { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center; padding: 38px 0; }
.stat .num { font-size: 40px; font-weight: 800; background: linear-gradient(92deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--muted); font-size: 13.5px; margin-top: 4px; letter-spacing: 1px; }

/* ---------- CTA 条 ---------- */
.cta-bar { text-align: center; padding: 90px 0 20px; }
.cta-bar .box { background: linear-gradient(170deg, var(--card), var(--bg2)); border: 1px solid var(--line); border-radius: 24px; padding: 58px 40px; }
.cta-bar h2 { font-size: 32px; font-weight: 800; letter-spacing: 1px; }
.cta-bar p { color: var(--muted); margin: 16px 0 30px; }
.cta-bar .mail { color: var(--accent); font-weight: 700; font-size: 18px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 36px; margin-top: 60px; background: rgba(10,14,42,.5); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid .f-brand { font-weight: 800; font-size: 17px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-grid .f-brand .dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.footer-grid p { color: var(--muted); font-size: 13.5px; max-width: 340px; }
.footer-grid h5 { font-size: 13px; letter-spacing: 3px; color: var(--text); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid ul a { color: var(--muted); text-decoration: none; font-size: 13.5px; display: block; padding: 5px 0; transition: color .2s; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; text-align: center; color: var(--muted); font-size: 13px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.ci-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; background: linear-gradient(170deg, var(--card), var(--bg2)); }
.ci-card .k { font-size: 12px; letter-spacing: 3px; color: var(--accent); margin-bottom: 10px; }
.ci-card .v { font-size: 16.5px; font-weight: 600; }
.ci-card .v.small { font-size: 14px; font-weight: 400; color: var(--muted); }
.form-card { border: 1px solid var(--line); border-radius: 20px; padding: 38px 34px; background: linear-gradient(170deg, var(--card), var(--bg2)); }
.form-card h3 { font-size: 21px; margin-bottom: 24px; }
.form-card label { display: block; font-size: 13px; color: var(--muted); margin: 18px 0 8px; }
.form-card input, .form-card textarea {
  width: 100%; background: rgba(10,14,42,.6); border: 1px solid var(--line); border-radius: 11px;
  color: var(--text); font-size: 15px; padding: 13px 16px; font-family: inherit; outline: none; transition: border-color .2s;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--accent); }
.form-card textarea { resize: vertical; min-height: 120px; }
.form-card .btn { margin-top: 26px; width: 100%; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
