/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(244,245,247,0.92);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; display: block; mix-blend-mode: multiply; }
.logo-en { color: var(--accent); font-style: italic; }
nav { display: flex; gap: 28px; }
nav a { font-size: 13px; color: var(--ink-sec); transition: color .2s; }
nav a:hover { color: var(--ink); }

/* ── Hero 轮播 ── */
.hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: #000;
  overflow: hidden;
  margin-top: 62px;
}
.slider {
  position: relative; width: 100%; height: 0;
  padding-bottom: 60.3%;
  overflow: hidden; background: #000;
}
.slide {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0; transition: opacity 0.9s ease; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block; user-select: none; -webkit-user-drag: none;
}
.slider-dots {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.dot {
  width: 20px; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.45); cursor: pointer;
  transition: background .25s, width .3s cubic-bezier(.16,1,.3,1);
}
.dot.active { width: 36px; background: #fff; }

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card { background: var(--card); padding: 32px 28px; transition: background .2s; }
.service-card:hover { background: var(--bg3); }
.service-icon {
  width: 38px; height: 38px;
  background: rgba(67,146,136,0.09);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.service-icon svg { width: 18px; height: 18px; color: var(--accent); }
.service-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; font-family: var(--font); }
.service-card p { font-size: 13px; color: var(--ink-sec); line-height: 1.75; }

/* ── Why Own ── */
.section-why-own { background: var(--bg); }
.why-own-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-own-card { background: var(--card); padding: 28px 24px; transition: background .2s; }
.why-own-card:hover { background: var(--bg3); }
.why-own-num {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 10px;
}
.why-own-card h4 {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin-bottom: 10px; line-height: 1.5; font-family: var(--font);
}
.why-own-card p { font-size: 13px; color: var(--ink-sec); line-height: 1.75; }

/* ── Works ── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.work-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.work-card:hover {
  border-color: rgba(67,146,136,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.work-preview-link { display: block; text-decoration: none; border-bottom: 1px solid var(--border); }
.work-preview-url {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 22px; background: var(--bg2); transition: background .2s;
}
.work-preview-link:hover .work-preview-url { background: rgba(67,146,136,0.07); }
.work-preview-globe { width: 16px; height: 16px; color: var(--ink-faint); flex-shrink: 0; }
.work-url-text {
  flex: 1; font-size: 13px; color: var(--ink-sec);
  font-family: "JetBrains Mono","Fira Code","Courier New",monospace;
  letter-spacing: .01em;
}
.work-preview-arrow {
  width: 15px; height: 15px; color: var(--accent); flex-shrink: 0;
  opacity: 0; transition: opacity .2s, transform .2s;
  transform: translate(-3px, 3px);
}
.work-preview-link:hover .work-preview-arrow { opacity: 1; transform: translate(0,0); }
.work-info { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.work-tag {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 10px;
}
.work-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; font-family: var(--font); }
.work-card p { font-size: 13px; color: var(--ink-sec); line-height: 1.75; flex: 1; }
.work-visit-link {
  display: block; text-align: right; margin-top: 14px;
  font-size: 12px; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s;
}
.work-visit-link:hover { color: var(--accent-dk); }

/* ── Reasons ── */
.reasons { display: flex; flex-direction: column; }
.reason {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.reason:first-child { border-top: 1px solid var(--border); }
.reason-num {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent); flex-shrink: 0; padding-top: 4px; width: 28px;
}
.reason h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; font-family: var(--font); }
.reason p { font-size: 13px; color: var(--ink-sec); }

/* ── Demo ── */
.demo-row {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 64px; align-items: start;
  padding: 64px 0; border-bottom: 1px solid var(--border);
}
.demo-row:first-of-type { padding-top: 0; }
.demo-row:last-child { border-bottom: none; padding-bottom: 0; }
.demo-row-rev .demo-text { order: 2; }
.demo-row-rev .demo-card  { order: 1; }
.demo-num {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; font-weight: 500;
}
.demo-text h3 {
  font-size: clamp(22px, 2.8vw, 30px); font-weight: 700;
  font-family: var(--font); letter-spacing: -.02em;
  margin-bottom: 16px; color: var(--ink); line-height: 1.2;
}
.demo-text p { font-size: 14px; color: var(--ink-sec); line-height: 1.85; margin-bottom: 24px; }
.demo-checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.demo-checks li { font-size: 13.5px; color: var(--ink-sec); padding-left: 20px; position: relative; }
.demo-checks li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700; font-size: 13px;
}
.demo-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.demo-card-header {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--card);
}
.demo-card-header::before {
  content: ''; display: block; width: 3px; height: 14px;
  background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
.demo-card-tag { font-size: 12px; letter-spacing: .04em; color: var(--ink-faint); font-weight: 500; }
.demo-code {
  margin: 0; padding: 22px 20px; font-size: 12px; line-height: 1.9;
  font-family: "JetBrains Mono","Fira Code","Courier New",monospace;
  color: var(--ink-sec); background: var(--card); overflow-x: auto; white-space: pre;
}
.dc-cm { color: var(--ink-faint); font-style: italic; }
.dc-kw { color: var(--ink); font-weight: 600; }
.dc-fn { color: var(--accent); }
.dc-str { color: var(--accent-dk); }
.dc-num { color: var(--accent); }
.demo-card-foot {
  padding: 12px 18px; border-top: 1px solid var(--border);
  background: var(--bg2); font-size: 12px; color: var(--ink-faint);
  display: flex; align-items: center; gap: 8px;
}
.demo-card-foot::before { content: '→'; color: var(--accent); font-size: 13px; }

/* ── Contact / Survey ── */
.section-contact { background: var(--bg2); }
.contact-sub { font-size: 14px; color: var(--ink-sec); margin-top: -36px; margin-bottom: 44px; }
.survey-form { max-width: 760px; }
.survey-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 28px 20px; margin-bottom: 16px;
}
.survey-section-title {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.extra-input {
  margin-top: 10px; width: 100%;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; color: var(--ink); font-size: 13px;
  padding: 9px 12px; font-family: inherit;
  transition: border-color .2s; outline: none;
}
.extra-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(67,146,136,0.12); }
.extra-input::placeholder { color: var(--ink-faint); }
.check-group, .radio-group { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; }
.check-item, .radio-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: var(--ink-sec);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 12px;
  cursor: pointer; transition: border-color .15s, background .15s; user-select: none;
}
.check-item:hover, .radio-item:hover {
  border-color: var(--accent); background: rgba(67,146,136,0.05);
}
.check-item input, .radio-item input { accent-color: var(--accent); }
.survey-submit-row { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.survey-hint { font-size: 12px; color: var(--ink-faint); }
.survey-price-note { margin-top: 16px; font-size: 12px; line-height: 1.8; color: #ff2d17; }
.contact-form { max-width: 600px; }
.contact-form .btn-primary { margin-top: 8px; }
.contact-alt { margin-top: 24px; font-size: 13px; color: var(--ink-faint); }
.contact-alt a { color: var(--ink-sec); text-decoration: underline; }

/* ── Footer ── */
.site-footer { padding: 28px 0; border-top: 1px solid var(--border); background: var(--bg); }
.site-footer .container {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px; color: var(--ink-faint);
}
.site-footer .footer-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.site-footer .footer-slogan { border-top: 1px solid var(--border); padding-top: 12px; width: 100%; text-align: center; }
.site-footer .beian { display: flex; align-items: center; gap: 6px; }
.site-footer .beian a { color: var(--ink-faint); text-decoration: none; }
.site-footer .beian a:hover { color: var(--ink-sec); }
