/* ============================================================
   悦速充 YOASIS 官网 — 深空炭黑 + 品牌橙 (#ED8B33)
   纯原生 CSS，零外网依赖
   ============================================================ */
:root {
  --bg-0: #0e1116;          /* 深空炭黑（深） */
  --bg-1: #161b22;          /* 深空炭黑（浅） */
  --bg-light: #f6f4f1;      /* 暖白浅区段 */
  --orange: #ED8B33;        /* 品牌橙 */
  --orange-soft: rgba(237, 139, 51, .14);
  --text-hi: #f4f2ee;
  --text-mid: rgba(244, 242, 238, .68);
  --text-dim: rgba(244, 242, 238, .42);
  --ink-hi: #1c2129;
  --ink-mid: rgba(28, 33, 41, .68);
  --ink-dim: rgba(28, 33, 41, .42);
  --line-dark: rgba(244, 242, 238, .09);
  --line-light: rgba(28, 33, 41, .10);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text-hi);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.16,.84,.3,1), transform .9s cubic-bezier(.16,.84,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 76px; display: flex; align-items: center; gap: 28px;
}
.nav.scrolled {
  background: rgba(14, 17, 22, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), #c96a1a);
  display: flex; align-items: center; justify-content: center; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo::after { content: "悦"; color: #fff; font-weight: 800; font-size: 20px; }
.brand-logo:has(img:not([style*="none"]))::after { display: none; }
.brand-text { font-size: 19px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.brand-text em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--orange);
  letter-spacing: .22em; margin-left: 2px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; font-size: 14.5px; color: var(--text-mid); border-radius: 8px;
  transition: color .25s, background .25s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text-hi); background: rgba(244, 242, 238, .07); }
.nav-cta {
  flex-shrink: 0; padding: 9px 22px; font-size: 14px; font-weight: 600;
  color: #141210; background: var(--orange); border-radius: 999px;
  transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(237, 139, 51, .4); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text-hi); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(1200px 600px at 78% 20%, rgba(237, 139, 51, .16), transparent 60%),
  linear-gradient(160deg, #131820 0%, #0e1116 55%, #0b0e13 100%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-mask { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,17,22,.62) 0%, rgba(14,17,22,.55) 45%, rgba(14,17,22,.92) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 140px 32px 120px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .38em; color: var(--orange);
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-kicker::before { content: ""; width: 44px; height: 1px; background: var(--orange); }
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 800; line-height: 1.12;
  letter-spacing: .02em; margin-bottom: 26px; max-width: 14em;
}
.hero-title .accent { color: var(--orange); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--text-mid);
  max-width: 34em; margin-bottom: 48px; letter-spacing: .04em; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.btn-primary {
  padding: 15px 40px; background: var(--orange); color: #141210; font-weight: 700;
  font-size: 15px; border-radius: 999px; letter-spacing: .08em;
  transition: transform .3s, box-shadow .3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(237, 139, 51, .45); }
.btn-ghost {
  padding: 15px 40px; border: 1px solid rgba(244, 242, 238, .28); color: var(--text-hi);
  font-size: 15px; border-radius: 999px; letter-spacing: .08em;
  transition: border-color .3s, background .3s, transform .3s;
}
.btn-ghost:hover { border-color: var(--orange); background: var(--orange-soft); transform: translateY(-3px); }
.hero-scroll { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2; }
.hero-scroll-line { display: block; width: 1px; height: 56px; background: linear-gradient(180deg, var(--orange), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Stats 数据带 ---------- */
.stats { background: var(--bg-1); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 84px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: -14px; top: 18%;
  height: 64%; width: 1px; background: var(--line-dark); }
.stat-num { font-size: clamp(1.8rem, 3.2vw, 2.9rem); font-weight: 800; color: var(--orange);
  line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num .suffix { font-size: .52em; font-weight: 700; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 13.5px; color: var(--text-dim); letter-spacing: .1em; }

/* ---------- 通用 section ---------- */
.section { padding: 120px 0; }
.section.theme-a { background: var(--bg-0); color: var(--text-hi); }
.section.theme-b { background: var(--bg-1); color: var(--text-hi); }
.section.theme-light { background: var(--bg-light); color: var(--ink-hi); }
.sec-head { margin-bottom: 64px; max-width: 720px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .34em; color: var(--orange);
  text-transform: uppercase; margin-bottom: 16px; display: block; }
.sec-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.25; letter-spacing: .02em; }
.sec-sub { margin-top: 16px; font-size: 16.5px; color: var(--text-mid); }
.theme-light .sec-sub { color: var(--ink-mid); }
.sec-body-text { font-size: 16px; color: var(--text-mid); white-space: pre-line; }
.theme-light .sec-body-text { color: var(--ink-mid); }

/* 图片占位（图缺失时显示色块，不破版） */
[data-media] { background: linear-gradient(140deg, #1d232d, #141920); }
[data-media].img-missing { position: relative; }
[data-media].img-missing::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(320px 200px at 70% 30%, rgba(237, 139, 51, .22), transparent 70%),
    linear-gradient(140deg, #1e242e, #12161d);
}
.theme-light [data-media].img-missing::after {
  background:
    radial-gradient(320px 200px at 70% 30%, rgba(237, 139, 51, .20), transparent 70%),
    linear-gradient(140deg, #e9e5de, #dcd7cf);
}

/* ---------- about：左文右图 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.about-points { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.about-point .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  background: var(--orange-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.about-point h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.about-point p { font-size: 13.5px; color: var(--ink-mid); line-height: 1.6; }
.about-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; position: relative;
  box-shadow: 0 30px 80px rgba(28, 33, 41, .18); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- features：卡片网格 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feat-card {
  background: var(--bg-1); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 40px 34px; position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.16,.84,.3,1), box-shadow .4s, border-color .4s;
}
.theme-b .feat-card { background: var(--bg-0); }
.feat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent); opacity: 0; transition: opacity .4s; }
.feat-card:hover { transform: translateY(-10px); border-color: rgba(237, 139, 51, .35);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45); }
.feat-card:hover::before { opacity: 1; }
.feat-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center; font-size: 27px; margin-bottom: 24px; }
.feat-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.feat-card p { font-size: 14.5px; color: var(--text-mid); }

/* ---------- models：深色三栏 ---------- */
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.model-card {
  background: linear-gradient(165deg, #1b212b, #12161d); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 46px 36px; position: relative;
  transition: transform .4s, border-color .4s, box-shadow .4s;
}
.model-card:hover { transform: translateY(-10px); border-color: rgba(237, 139, 51, .4);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5); }
.model-no { font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--orange); margin-bottom: 22px; }
.model-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.model-card p { font-size: 14.5px; color: var(--text-mid); }
.model-card::after { content: ""; position: absolute; right: 26px; top: 30px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px rgba(237, 139, 51, .8); }

/* ---------- solutions：图文左右交替 ---------- */
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.sol-row + .sol-row { margin-top: 96px; }
.sol-row.flip .sol-media { order: 2; }
.sol-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10.5; position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.sol-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,.84,.3,1); }
.sol-row:hover .sol-media img { transform: scale(1.05); }
.sol-idx { font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--orange); margin-bottom: 16px; }
.sol-text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 16px; }
.sol-text p { font-size: 15.5px; color: var(--text-mid); white-space: pre-line; }

/* ---------- ecosystem：大字图标墙（浅区段） ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.eco-item {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 40px 22px 34px; text-align: center;
  transition: transform .4s, box-shadow .4s, border-color .4s;
}
.eco-item:hover { transform: translateY(-8px); border-color: rgba(237, 139, 51, .5);
  box-shadow: 0 22px 50px rgba(28, 33, 41, .14); }
.eco-ico { font-size: 44px; line-height: 1; margin-bottom: 20px; }
.eco-item h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 10px; color: var(--ink-hi); }
.eco-item p { font-size: 13.5px; color: var(--ink-mid); }

/* ---------- gallery：图片墙 ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gal-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.gal-item img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.16,.84,.3,1), filter .8s; }
.gal-item:hover img { transform: scale(1.08); }

/* ---------- contact：联系卡片 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-grid.n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.contact-grid.n2 { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; }
.contact-card {
  background: var(--bg-1); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 42px 34px; text-align: center; transition: transform .4s, border-color .4s, box-shadow .4s;
}
.contact-card:hover { transform: translateY(-8px); border-color: rgba(237, 139, 51, .4);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .45); }
.contact-ico { width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--orange-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.contact-card h3 { font-size: 15px; font-weight: 600; color: var(--text-dim); letter-spacing: .14em; margin-bottom: 12px; }
.contact-card .val { font-size: 20px; font-weight: 800; letter-spacing: .03em; }
.contact-note { margin-top: 52px; text-align: center; color: var(--text-dim); font-size: 14.5px; white-space: pre-line; }

/* ---------- custom：通用网格 ---------- */
.custom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.custom-card { background: var(--bg-1); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 36px 30px; }
.custom-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.custom-card p { font-size: 14px; color: var(--text-mid); }

/* ---------- partners：logo 墙 ---------- */
.partners { background: var(--bg-1); border-top: 1px solid var(--line-dark); padding: 110px 0; }
.partner-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.partner-card {
  border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--bg-0);
  height: 116px; display: flex; align-items: center; justify-content: center; padding: 18px;
  transition: transform .35s, border-color .35s, background .35s;
}
.partner-card:hover { transform: translateY(-6px); border-color: rgba(237, 139, 51, .45); background: #181d25; }
.partner-card img { max-height: 54px; object-fit: contain; filter: grayscale(1) brightness(1.6); transition: filter .35s; }
.partner-card:hover img { filter: none; }
.partner-name { font-size: 16.5px; font-weight: 700; letter-spacing: .08em; color: var(--text-mid);
  transition: color .35s; text-align: center; }
.partner-card:hover .partner-name { color: var(--orange); }

/* ---------- footer ---------- */
.footer { background: #090c10; border-top: 1px solid var(--line-dark); padding: 90px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 60px; margin-bottom: 64px; }
.footer-brand .fb-name { font-size: 22px; font-weight: 800; letter-spacing: .06em; margin-bottom: 6px; }
.footer-brand .fb-en { font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--orange); margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); max-width: 26em; }
.footer h4 { font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--text-dim); margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14.5px; color: var(--text-mid); transition: color .25s; }
.footer-links a:hover { color: var(--orange); }
.qr-row { display: flex; gap: 24px; flex-wrap: wrap; }
.qr-item { width: 128px; }
.qr-box { width: 128px; height: 128px; border-radius: 12px; overflow: hidden; position: relative;
  border: 1px solid var(--line-dark); margin-bottom: 12px; }
.qr-box img { width: 100%; height: 100%; object-fit: cover; }
.qr-box.img-missing::after { content: "二维码"; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-dim); letter-spacing: .2em; }
.qr-item .qr-label { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.qr-item .qr-desc { font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dim); }

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-scroll-line { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .stat-item:nth-child(4)::before { display: none; }
  .feat-grid, .models-grid, .contact-grid, .contact-grid.n2, .custom-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-wall { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .sol-row { grid-template-columns: 1fr; gap: 36px; }
  .sol-row.flip .sol-media { order: 0; }
  .sol-row + .sol-row { margin-top: 72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .section { padding: 84px 0; }
  .nav-inner { padding: 0 22px; height: 66px; }
  .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-links {
    position: fixed; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(14, 17, 22, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-dark); padding: 12px 22px 22px;
    transform: translateY(-130%); transition: transform .4s cubic-bezier(.16,.84,.3,1); margin-left: 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 6px; font-size: 16px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::before { display: none !important; }
  .feat-grid, .models-grid, .contact-grid, .contact-grid.n1, .contact-grid.n2, .custom-grid, .eco-grid, .gal-grid, .partner-wall { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding: 120px 22px 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
}
