:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --ink: #1d1d1f;
  --ink-dark: #f5f5f7;
  --muted: #6e6e73;
  --muted-dark: #a1a1a6;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #0066cc;
  --accent-hover: #0077ed;
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  --pad-x: clamp(20px, 5vw, 72px);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
.noise { display: none; }

/* ?? Nav??????? ?? */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 var(--pad-x);
  height: 48px;
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink);
  flex-shrink: 0;
  max-height: 40px;
  overflow: hidden;
}
.logo-img,
.nav .logo img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  max-width: 48px !important;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}
.logo-mark {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-size: 0.72rem; font-weight: 700;
}
.logo-text { font-size: 0.92rem; font-weight: 600; }
.nav nav { display: flex; gap: 4px; }
.nav nav a {
  color: var(--ink); text-decoration: none;
  font-size: 0.78rem; opacity: 0.88;
  padding: 6px 10px; border-radius: 6px;
}
.nav nav a:hover, .nav nav a.active { opacity: 1; background: rgba(0,0,0,0.04); }
.nav-cta {
  text-decoration: none; color: #fff;
  background: var(--accent);
  padding: 6px 12px; border-radius: 980px;
  font-size: 0.78rem; font-weight: 500;
}
.nav-cta:hover { background: var(--accent-hover); }

/* ?? ???? ?? */
.apple-hero {
  text-align: center;
  padding: 72px var(--pad-x) 56px;
  background: var(--bg);
}
.apple-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.05; margin-bottom: 8px;
}
.apple-hero > p {
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--muted); font-weight: 500;
  margin-bottom: 18px;
}
.apple-links {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
}
.apple-links a {
  color: var(--accent); text-decoration: none;
  font-size: 1.05rem; font-weight: 400;
}
.apple-links a:hover { text-decoration: underline; }
.apple-links a::after { content: " ?"; }

/* ?? ????? ?? */
.apple-tile {
  text-align: center;
  padding: 56px var(--pad-x) 0;
  margin: 12px 0 0;
  overflow: hidden;
}
.apple-tile.light { background: var(--bg-alt); color: var(--ink); }
.apple-tile.dark {
  background: var(--bg-dark); color: var(--ink-dark);
}
.apple-tile.dark .apple-tile-copy p { color: var(--muted-dark); }
.apple-tile.dark .apple-tile-copy .p-label { color: var(--muted-dark); }
.apple-tile.dark .apple-links a { color: #2997ff; }
.apple-tile-copy { max-width: 720px; margin: 0 auto 28px; }
.apple-tile-copy .p-label {
  margin-bottom: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.apple-tile-copy h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: 8px;
}
.apple-tile-copy > p:not(.p-label) {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted); margin-bottom: 14px;
}
.apple-tile-media {
  max-width: 980px; margin: 0 auto;
  padding: 0 12px 8px;
}
.apple-tile-media img {
  width: 100%; height: auto; display: block;
  border-radius: 18px 18px 0 0;
}

/* ?? ???? ?? */
.apple-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 12px var(--pad-x) 12px;
  max-width: 1400px; margin: 0 auto;
}
.apple-mini {
  text-align: center;
  padding: 56px 28px 64px;
  border-radius: 18px; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.apple-mini.light { background: var(--bg-alt); color: var(--ink); }
.apple-mini.dark { background: var(--bg-dark); color: var(--ink-dark); }
.apple-mini h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px;
}
.apple-mini p {
  font-size: 1.05rem; max-width: 320px; margin-bottom: 14px;
}
.apple-mini.light p { color: var(--muted); }
.apple-mini.dark p { color: var(--muted-dark); }
.apple-mini a {
  color: var(--accent); text-decoration: none; font-size: 1rem;
}
.apple-mini.dark a { color: #2997ff; }
.apple-mini a:hover { text-decoration: underline; }
.apple-mini a::after { content: " ›"; }

/* —— 更多工具（横向滑动） —— */
.more-tools {
  padding: 56px var(--pad-x) 28px;
  background: var(--bg);
}
.more-tools-embed {
  padding-top: 32px;
  padding-bottom: 12px;
  max-width: none;
}
.more-tools-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}
.more-tools-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.more-tools-head p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.tools-rail-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.tools-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tools-rail::-webkit-scrollbar { display: none; }
.tool-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  background: var(--bg-alt);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.tool-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8ed;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.tool-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.tool-card-media:hover img {
  transform: scale(1.03);
}
.tool-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  padding: 16px 18px 6px;
}
.tool-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0 18px 20px;
  margin: 0;
}
.tools-rail-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.tools-rail-btn:hover { background: #fff; }
.tools-rail-btn.prev { left: -6px; }
.tools-rail-btn.next { right: -6px; }
.tools-rail-btn[hidden] { display: none !important; }
.tools-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  min-height: 12px;
}
.tools-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #d2d2d7;
  transition: background 0.2s ease, width 0.2s ease;
}
.tools-dot.is-active {
  background: #1d1d1f;
  width: 18px;
}
.tools-dots[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .tool-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}
@media (max-width: 640px) {
  .tool-card {
    flex-basis: 82%;
  }
  .tools-rail-btn { display: none; }
}

/* ?? ???? ?? */
.section { padding: 64px var(--pad-x); box-sizing: border-box; }
main > section.section {
  max-width: calc(var(--max) + 2 * var(--pad-x));
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 980px; font-weight: 500; font-size: 0.95rem;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost {
  background: transparent; color: var(--accent);
  border: 1px solid rgba(0,102,204,0.35);
}

.brand-line {
  color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 10px;
}
.page { padding-bottom: 40px; background: var(--bg); }
.page-hero { padding: 64px var(--pad-x) 20px; max-width: 820px; }
.page-hero-center {
  margin: 0 auto;
  text-align: center;
  max-width: 760px;
  padding-bottom: 12px;
}
.page-hero-center .page-lead {
  max-width: 560px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px;
}
.page-lead { color: var(--muted); font-size: 1.15rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.about-body { display: grid; gap: 28px; max-width: 760px; }
.about-block h2 { margin-bottom: 8px; font-size: 1.2rem; }
.about-block p, .about-block li { color: var(--muted); }
.about-block ul { padding-left: 1.15rem; display: grid; gap: 8px; }

.about-intro { max-width: var(--max); margin: 0 auto; padding-top: 24px; }
.about-intro-card {
  max-width: 820px; margin: 0 auto;
  padding: 36px 32px; border-radius: 20px; background: var(--bg-alt); text-align: center;
}
.about-intro-card h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px;
}
.about-intro-card p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }

.about-products, .about-values, .about-company {
  max-width: var(--max); margin: 0 auto;
}
.about-product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.about-product-card {
  display: block; text-decoration: none; color: inherit;
  padding: 24px 22px; border-radius: 18px; background: var(--bg-alt);
  border: 1px solid transparent; transition: border-color 0.2s ease, background 0.2s ease;
}
.about-product-card:hover { border-color: rgba(0,102,204,0.25); background: #ececef; }
.about-product-card .p-label { margin-bottom: 8px; }
.about-product-card strong {
  display: block; font-size: 1.2rem; font-weight: 600; margin-bottom: 8px;
}
.about-product-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.about-value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.about-value-grid article {
  padding: 24px 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff;
}
.about-value-grid h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.about-value-grid p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.about-company-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 32px; border-radius: 20px; background: var(--bg-alt);
}
.about-company-card h2 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 8px;
}
.about-company-card p { color: var(--ink); margin-bottom: 6px; }
.about-company-card .muted { color: var(--muted); margin-bottom: 0; }

.contact-quick, .contact-hours, .contact-faq {
  max-width: var(--max); margin: 0 auto;
}
.contact-qr-grid, .hours-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.contact-qr-card, .hours-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: 18px;
  background: var(--bg-alt);
}
.contact-qr-card h3, .hours-card h3 {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 16px;
}
.qr-box {
  width: 180px; height: 180px; margin: 0 auto 14px;
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--line);
}
.qr-box img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.contact-qr-card p, .hours-card p { color: var(--muted); font-size: 0.95rem; }
.hours-time {
  color: var(--ink) !important;
  font-size: 1.15rem !important;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-list {
  max-width: 820px; margin: 0 auto; display: grid; gap: 10px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  color: var(--muted);
  padding: 0 0 16px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-wrap {
  max-width: var(--max); margin: 0 auto; padding-top: 8px;
}
.contact-form-layout {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px;
  max-width: 960px;
}
.contact-form {
  display: grid; gap: 14px; padding: 24px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--bg-alt);
}
.contact-form-solo {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(0, 102, 204, 0.45);
}
.form-msg { font-size: 0.9rem; }
.form-msg.ok { color: #248a3d; }
.form-msg.err { color: #d70015; }
.contact-aside { padding: 20px; }
.contact-aside h3 { margin-bottom: 12px; }
.contact-aside p { color: var(--muted); margin-bottom: 8px; }
.muted { color: var(--muted); }

/* ??? */
.products-hero { max-width: 820px; }
.product-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.product-nav a {
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); padding: 8px 14px; border-radius: 980px;
  font-size: 0.88rem; background: var(--bg-alt);
}
.product-nav a:hover { background: #ebebed; }
.product-showcase {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px;
  align-items: center;
  padding: 64px var(--pad-x);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }
.p-label { color: var(--muted); font-size: 0.8rem; margin-bottom: 8px; }
.showcase-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px;
}
.showcase-lead { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.feature-bullets { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.feature-bullets li {
  position: relative; padding-left: 16px; color: var(--ink); font-size: 0.95rem;
}
.feature-bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.showcase-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.showcase-visual { width: 100%; }
.showcase-img {
  width: 100%; height: auto; display: block;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}
.ui-top {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-alt);
}
.ui-top .dot { width: 8px; height: 8px; border-radius: 50%; background: #d2d2d7; }
.ui-top .dot:nth-child(1) { background: #ff5f57; }
.ui-top .dot:nth-child(2) { background: #febc2e; }
.ui-top .dot:nth-child(3) { background: #28c840; }
.ui-top em {
  margin-left: 10px; font-style: normal; color: var(--muted); font-size: 0.8rem;
}
.ui-body.single { display: block; }
.ui-main { padding: 14px; }
.ui-kpi {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px;
}
.ui-kpi div {
  padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt);
}
.ui-kpi b { display: block; font-size: 1.1rem; }
.ui-kpi small { color: var(--muted); font-size: 0.74rem; }
.ui-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ui-table .row {
  display: grid; grid-template-columns: 1.1fr 1.4fr 0.8fr;
  gap: 8px; padding: 10px 12px; font-size: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.ui-table .row:last-child { border-bottom: 0; }
.ui-table .head { color: var(--muted); background: var(--bg-alt); }
.ui-table .ok { color: #248a3d; }
.ui-table .warn { color: #b65c02; }
.flow-line {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 10px;
}
.flow-line span {
  padding: 8px 12px; border-radius: 980px; background: rgba(0,102,204,0.08);
  color: var(--accent); font-size: 0.8rem; white-space: nowrap;
}
.flow-line i {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-band {
  text-align: center; padding: 72px var(--pad-x);
  background: var(--bg-alt);
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px;
}
.cta-band p { color: var(--muted); margin-bottom: 18px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.apple-tile-media img.shot {
  width: 100%; height: auto; display: block;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.apple-tile.dark .apple-tile-media img.shot {
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.product-shot-band {
  padding: 0 var(--pad-x) 8px;
  max-width: 1180px;
  margin: 0 auto 8px;
}
.product-shot-band.dark-band { }
.product-shot-img {
  width: 100%; height: auto; display: block;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--line);
}
.product-shot-img.dark-shot {
  background: #0d1117;
  border-color: rgba(0,0,0,0.2);
}

/* 产品截图滑动图集（简洁苹果风） */
.product-carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  user-select: none;
}
.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  background: var(--bg-alt);
  touch-action: pan-y;
  cursor: grab;
}
.carousel-viewport.is-linkable { cursor: pointer; }
.carousel-viewport.is-linkable:active,
.carousel-viewport:active { cursor: grabbing; }
.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.product-carousel:hover .carousel-btn {
  opacity: 0.65;
  pointer-events: auto;
}
.product-carousel:hover .carousel-btn:hover {
  opacity: 0.92;
  background: rgba(255,255,255,0.92);
}
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #d2d2d7;
  transition: background 0.2s ease, width 0.2s ease;
}
.carousel-dot.is-active {
  background: #1d1d1f;
  width: 7px;
}

.apple-tile-media .product-carousel {
  max-width: 980px;
  padding: 0 12px 28px;
}
.apple-tile-media .carousel-viewport {
  border-radius: 18px 18px 14px 14px;
}
.product-shot-band .product-carousel {
  max-width: 1100px;
}

.video-section {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 24px;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.video-frame {
  background: #0d1117;
  aspect-ratio: 16 / 9;
}
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.video-body {
  padding: 18px 20px 20px;
}
.video-meta {
  display: inline-block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.video-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.video-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.feature-section { max-width: var(--max); margin: 0 auto; padding-top: 40px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}
.feature-grid article {
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--bg-alt);
}
.feature-grid h3 {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 8px;
}
.feature-grid p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.steps-grid article {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 12px;
}
.steps-grid h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.steps-grid p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.tile-media-link { display: block; }
.tile-media-link img { transition: transform 0.35s ease, opacity 0.35s ease; }
.tile-media-link:hover img { transform: translateY(-4px); opacity: 0.96; }

.product-detail-hero {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 28px;
  text-align: center;
}
.product-detail-hero .page-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.product-detail-hero .showcase-actions {
  margin-top: 22px;
  justify-content: center;
}
.product-detail-extra { padding-top: 8px; padding-bottom: 24px; max-width: var(--max); margin: 0 auto; }
.product-detail-extra .section-head { margin-bottom: 20px; }
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: var(--max); width: 100%; margin: 0 auto;
  text-align: left;
}
.detail-grid h3 {
  font-size: 1.15rem; font-weight: 600; margin-bottom: 8px;
}
.detail-grid p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* 详情页通用：区块内容居中对齐 */
.video-section,
.section.feature-section,
.section.product-detail-extra {
  max-width: calc(var(--max) + 2 * var(--pad-x));
  margin-left: auto;
  margin-right: auto;
}
.video-grid {
  max-width: var(--max);
  margin: 0 auto;
}
.ea-mode-grid,
.hedge-compare,
.hedge-stat-grid {
  width: 100%;
}

/* —— 双平台对冲详情 —— */
.hedge-hero-shot {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 12px 8px;
}
.hedge-hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: var(--bg-alt);
}
.hedge-stats { padding-top: 8px; padding-bottom: 8px; }
.hedge-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
}
.hedge-stat-grid article {
  text-align: center;
  padding: 22px 12px;
  border-radius: 16px;
  background: var(--bg-alt);
}
.hedge-stat-grid strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hedge-stat-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}
.hedge-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}
.hedge-compare-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--bg-alt);
}
.hedge-compare-card.accent {
  background: #f0f5ff;
  border: 1px solid rgba(0, 102, 204, 0.12);
}
.hedge-compare-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hedge-compare-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.hedge-compare-card li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.hedge-compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7c7cc;
}
.hedge-compare-card.accent li::before { background: var(--accent); }
.hedge-steps { grid-template-columns: repeat(3, 1fr); }
.hedge-disclaimer {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid rgba(180, 130, 20, 0.18);
}
.hedge-disclaimer p {
  margin: 0;
  color: #6b5a2e;
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hedge-stat-grid { grid-template-columns: 1fr 1fr; }
  .hedge-compare { grid-template-columns: 1fr; }
  .hedge-steps { grid-template-columns: 1fr; }
  .ea-mode-grid { grid-template-columns: 1fr; }
}

/* —— EA 授权系统 —— */
.ea-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}
.ea-mode-card {
  padding: 28px 24px 24px;
  border-radius: 18px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid transparent;
}
.ea-mode-card.preferred {
  background: #f0f5ff;
  border-color: rgba(0, 102, 204, 0.14);
}
.ea-mode-card.free {
  background: #f3faf5;
  border-color: rgba(30, 130, 80, 0.12);
}
.ea-mode-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ea-mode-top h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}
.ea-mode-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
}
.ea-mode-tag.soft {
  background: #1e8250;
}
.ea-mode-card > p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}
.ea-mode-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0 0 4px;
  flex: 1;
}
.ea-mode-card li {
  color: var(--ink);
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}
.ea-mode-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}
.ea-mode-card.free li::before { color: #1e8250; }
.ea-mode-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.tool-dev-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
  color: #8a6d1d;
  background: #fff3cd;
  border: 1px solid rgba(180, 130, 20, 0.22);
}
.ai-dev-badge {
  margin-top: 16px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8a6d1d;
  background: #fff3cd;
  border: 1px solid rgba(180, 130, 20, 0.22);
}

.related-products { max-width: var(--max); margin: 0 auto; padding-top: 24px; }
.related-products h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px;
}
.related-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.related-card {
  display: block; text-decoration: none; color: inherit;
  padding: 22px 24px; border-radius: 16px;
  background: var(--bg-alt); border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.related-card:hover { border-color: rgba(0, 102, 204, 0.25); background: #ececef; }
.related-card .p-label { margin-bottom: 6px; }
.related-card strong {
  display: block; font-size: 1.2rem; font-weight: 600; margin-bottom: 6px;
}
.related-card p { color: var(--muted); font-size: 0.95rem; }

.footer {
  padding: 36px var(--pad-x) 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}
.footer-main {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
  max-width: var(--max); margin: 0 auto;
}
.footer-main strong { font-size: 0.9rem; }
.footer-main p { color: var(--muted); margin-top: 4px; }
.footer-links { display: flex; gap: 16px; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal {
  max-width: var(--max); margin: 0 auto;
  padding-top: 14px; color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-left p + p { margin-top: 4px; }
.footer-beian {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}
.beian-link {
  color: var(--muted);
  text-decoration: none;
}
.beian-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* 悬浮 QQ / 微信 */
.floating-contact {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-fab {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fab-float 3s ease-in-out infinite;
}
.contact-fab:nth-child(2) { animation-delay: 0.45s; }
.contact-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}
.qq-btn { background: linear-gradient(135deg, #12b7f5 0%, #0e9de8 100%); }
.wechat-btn { background: linear-gradient(135deg, #07c160 0%, #06ad56 100%); }

@keyframes fab-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.qr-modal {
  position: fixed;
  z-index: 1300;
  right: 28px;
  bottom: 160px;
  width: min(280px, calc(100vw - 32px));
}
.qr-modal[hidden] { display: none !important; }
.qr-modal-content {
  background: #fff;
  padding: 28px 22px 22px;
  border-radius: 18px;
  text-align: center;
  position: relative;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  border: 1px solid var(--line);
  animation: modal-in 0.25s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.qr-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.qr-close:hover { color: var(--ink); }
.qr-modal-content h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.qr-code-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}
.qr-modal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav nav { display: none; }
  .apple-split { grid-template-columns: 1fr; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-showcase.reverse { direction: ltr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .detail-grid, .related-grid, .feature-grid, .steps-grid, .video-grid,
  .about-product-grid, .about-value-grid, .contact-qr-grid, .hours-grid { grid-template-columns: 1fr; }
  .contact-form-layout { grid-template-columns: 1fr; }
  .apple-hero { padding-top: 48px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-beian { margin-left: 0; text-align: left; }
  .carousel-btn {
    display: none !important;
  }
  .apple-tile-media {
    padding-left: 0;
    padding-right: 0;
    margin-left: calc(8px - var(--pad-x));
    margin-right: calc(8px - var(--pad-x));
  }
  .apple-tile-media .product-carousel {
    padding-left: 0;
    padding-right: 0;
  }
  .product-shot-band {
    padding-left: 8px;
    padding-right: 8px;
  }
  .apple-tile-media .carousel-viewport,
  .product-shot-band .carousel-viewport {
    border-radius: 12px;
  }
  .floating-contact { right: 16px; bottom: 16px; gap: 10px; }
  .contact-fab { width: 48px; height: 48px; }
  .contact-fab svg { width: 22px; height: 22px; }
  .qr-modal { right: 16px; bottom: 130px; }
}
