/* roulang page: index */
:root {
  --primary: #3D7EE8;
  --primary-hover: #2E68C4;
  --primary-active: #2458A8;
  --primary-soft: #EAF2FD;
  --online: #14A36A;
  --online-soft: #E8F7F0;
  --warm: #E37B32;
  --warm-soft: #FFF3EA;
  --text: #1C2430;
  --muted: #5C6B7A;
  --line: #E4EAF2;
  --card: #FFFFFF;
  --bg: #FFFFFF;
  --soft: #F7FAFD;
  --foot: #F3F6FA;
  --dark: #1B3A57;
  --dark-card: #234868;
  --shadow: 0 12px 32px rgba(36,78,140,.08);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1120px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 76px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.site-header { position: relative; z-index: 40; }
.topbar { background: var(--foot); border-bottom: 1px solid var(--line); }
.topbar-inner, .mainbar-inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.topbar-inner { min-height: 44px; justify-content: space-between; gap: 12px; }
.status, .top-links a, .logo, .header-cta, .nav-toggle, .btn, .dot, .slide-btn, .faq-item button, .dock a {
  min-height: 44px;
}
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--online);
  box-shadow: 0 0 0 0 rgba(20,163,106,.45);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(20,163,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,163,106,0); }
}
.top-links { display: flex; align-items: center; gap: 18px; min-width: 0; }
.top-links a { display: inline-flex; align-items: center; color: var(--muted); font-size: 14px; }
.top-links a:hover { color: var(--primary); }
.mainbar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; }
.mainbar.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow); }
.mainbar-inner { min-height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--text); flex: 0 0 auto; }
.logo:hover { color: var(--primary); }
.logo-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--online); flex: 0 0 auto; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 18px; }
.site-nav a.anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: var(--text);
  font-size: 15px;
}
.site-nav a.anchor::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 2px;
  background: transparent;
  border-radius: 2px;
}
.site-nav a.anchor:hover::after, .site-nav a.anchor.is-active::after { background: var(--primary); }
.site-nav a.anchor.is-active { color: var(--primary); font-weight: 600; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-toggle:hover { border-color: var(--primary); }
.drawer-extra { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { background: var(--primary-active); }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); }
.header-cta { flex: 0 0 auto; }
.block { padding: 96px 0; }
.block-soft { background: var(--soft); }
.block-dark { background: var(--dark); color: #fff; }
.section-head { margin-bottom: 32px; }
.head-row { display: grid; grid-template-columns: minmax(220px, .78fr) 1.22fr; gap: 32px; align-items: end; }
h1 { font-size: 40px; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
h2 { font-size: 30px; line-height: 1.4; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.5; font-weight: 700; }
.section-lead { color: var(--muted); }
.head-row .section-lead { margin-top: 0; }
.block-dark h2 { color: #fff; }
.block-dark .section-lead { color: rgba(243,246,250,.86); }
.hero { position: relative; padding: 28px 0 96px; overflow: hidden; background: #fff; }
.hero-slides {
  position: absolute;
  top: 48px; bottom: 48px; right: 24px;
  width: min(46vw, 680px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.hero-slides::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 72px;
  z-index: 1;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-controls {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slide-btn, .dot {
  border: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.slide-btn { width: 44px; color: var(--text); font-size: 18px; }
.slide-btn:hover, .dot:hover { color: var(--primary); }
.dots { display: flex; gap: 4px; }
.dot { width: 44px; padding: 0; position: relative; }
.dot::after {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #C5D3E4;
  display: block;
  margin: 0 auto;
}
.dot.is-active::after { background: var(--primary); width: 18px; border-radius: 8px; }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 36px;
  align-items: center;
  padding-top: 36px;
}
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--online); font-weight: 700; margin-bottom: 12px; }
.hero-value { margin: 14px 0; font-size: 18px; font-weight: 700; line-height: 1.6; }
.hero-lead { color: var(--muted); max-width: 620px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.badge-online { background: var(--online-soft); color: var(--online); }
.badge-warm { background: var(--warm-soft); color: var(--warm); }
.qualify {
  margin: 8px 0 18px;
  padding: 10px 12px;
  background: var(--online-soft);
  border-left: 3px solid var(--online);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.workbench {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(228,234,242,.9);
  overflow: hidden;
}
.wb-top, .wb-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; }
.wb-top { border-bottom: 1px solid var(--line); font-weight: 700; }
.wb-online { color: var(--online); font-size: 13px; font-weight: 700; }
.wb-body { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 250px; }
.wb-list { border-right: 1px solid var(--line); padding: 10px; display: grid; gap: 8px; align-content: start; }
.wb-item { padding: 8px 10px; border-radius: 12px; background: var(--soft); }
.wb-item strong, .wb-item span { display: block; }
.wb-item span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.wb-item.is-hot { background: var(--warm-soft); }
.tag-warm { color: var(--warm); font-size: 12px; font-weight: 700; }
.wb-chat { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 92%; padding: 8px 10px; border-radius: 12px; line-height: 1.6; }
.bubble-user { background: var(--soft); }
.bubble-agent { background: var(--primary-soft); margin-left: auto; }
.wb-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.wb-photo { width: 100%; height: 132px; object-fit: cover; }
.point-grid { display: grid; grid-template-columns: 1.45fr 1fr .82fr; gap: 18px; }
.point, .ability, .plan, .review, .news, .promise, .case, .story, .scene-steps li, .contact-form {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.point { padding: 22px; border: 1px solid transparent; }
.point:hover, .ability:hover, .plan:hover, .review:hover, .news:hover, .story:hover { transform: translateY(-2px); }
.point, .ability, .plan, .review, .news, .story { transition: transform .2s ease, box-shadow .2s ease; }
.point-wide { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; align-items: center; }
.point-narrow { background: linear-gradient(#fff, #fff) padding-box, var(--online-soft); background-color: #F5FCF8; }
.index-no { display: inline-flex; min-height: 28px; align-items: center; color: var(--primary); font-weight: 700; font-size: 13px; }
.point h3, .ability h3, .plan h3, .case h3, .promise h3 { margin: 6px 0 8px; }
.point p, .ability p, .plan p, .case p, .review p, .news p, .promise p, .story p, .zone p { color: var(--muted); }
.point img, .ability img, .plan img, .news img, .story img, .case img { width: 100%; border-radius: 12px; object-fit: cover; }
.point img { height: 148px; }
.product-grid, .contact-grid, .scene-layout { display: grid; gap: 32px; align-items: center; }
.product-grid { grid-template-columns: .92fr 1.08fr; }
.product-photo { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.spec { margin-top: 18px; display: grid; gap: 10px; }
.spec p { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.spec strong { color: var(--primary); margin-right: 8px; }
.ability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ability { padding: 18px; }
.ability-wide { grid-column: span 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; align-items: center; }
.ability img { height: 150px; }
.plan-grid { display: grid; grid-template-columns: 1.05fr .9fr 1.05fr; gap: 18px; align-items: start; padding-bottom: 28px; }
.plan { padding: 16px; }
.plan:nth-child(2) { margin-top: 32px; }
.plan:nth-child(3) { margin-top: 14px; }
.plan img { height: 150px; margin-bottom: 12px; }
.plan-tag { color: var(--online); font-size: 13px; font-weight: 700; }
.scene-layout { grid-template-columns: 280px 1fr; align-items: stretch; }
.scene-steps { display: flex; flex-direction: column; gap: 12px; }
.scene-steps li { padding: 16px 18px; }
.scene-steps b { display: block; color: var(--primary); }
.scene-board { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: grid; gap: 12px; }
.scene-photo { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.zone { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #F8FBFE; }
.zone-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.zone-head span { color: var(--online); font-size: 13px; }
.case-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.case { background: var(--dark-card); border: 1px solid rgba(255,255,255,.12); padding: 16px; }
.case h3, .case p { color: #fff; }
.case p { color: rgba(243,246,250,.86); }
.case img { height: 180px; margin-bottom: 12px; }
.case span { display: inline-flex; color: #9ED9BE; font-weight: 700; font-size: 13px; }
.story-list { display: grid; gap: 18px; }
.story { display: grid; grid-template-columns: 230px 1fr; gap: 18px; padding: 16px; align-items: center; }
.story img { height: 168px; }
.who { color: var(--text); font-weight: 700; margin-bottom: 6px; }
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 28px 18px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 34px; line-height: 1.2; color: var(--primary); }
.stat span { color: var(--muted); }
.review-grid { display: grid; grid-template-columns: 1.12fr .9fr 1fr; gap: 18px; align-items: start; }
.review { padding: 20px; }
.review:nth-child(2) { margin-top: 26px; }
.stars { color: var(--primary); letter-spacing: 2px; font-size: 14px; }
.cmp { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.cmp-row { display: grid; grid-template-columns: 128px 1.3fr 1fr 1fr; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-cell { padding: 14px 12px; line-height: 1.7; }
.cmp-head { background: var(--foot); font-weight: 700; }
.cmp-head .is-focus { color: var(--primary); }
.is-focus { background: #F4F8FE; }
.cmp-row:hover .cmp-cell { background: #F9FBFE; }
.cmp-row:hover .is-focus { background: #EAF2FD; }
.news-list { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.news { overflow: hidden; }
.news:first-child { grid-row: span 2; }
.news img { height: 170px; border-radius: 0; }
.news:first-child img { height: 250px; }
.news-body { padding: 16px 16px 18px; }
.news time { color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-weight: 700; }
.text-link:hover { color: var(--primary-hover); text-decoration: underline; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: transparent; box-shadow: none; }
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.faq-item button:hover { border-color: var(--primary); }
.faq-item.open button { border-color: var(--primary); color: var(--primary); }
.chev { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; flex: 0 0 auto; }
.faq-item.open .chev { transform: rotate(225deg); }
.faq-a { padding: 8px 8px 0; color: var(--muted); }
.promise-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { padding: 18px; }
.promise span { color: var(--primary); font-weight: 700; }
.contact-grid { grid-template-columns: .82fr 1.18fr; align-items: start; }
.contact-form { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-weight: 700; }
.field-full { grid-column: 1 / -1; }
input, select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: #fff;
  outline: none;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
input:hover, select:hover { border-color: #B9CDEC; }
input:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}
.form-note { color: var(--muted); }
.form-note.is-error { color: #A33B2B; }
.form-success { display: none; padding: 12px; border-radius: 12px; background: var(--online-soft); color: var(--text); }
.form-success.show { display: block; }
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(36,78,140,.06);
  transition: transform .2s ease;
}
.dock p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.dock.is-hidden, body.nav-open .dock { transform: translateY(110%); }
.site-footer { background: var(--foot); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 28px; }
.footer-brand p { color: var(--muted); margin-top: 10px; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); }
.footer-links a:hover, .footer-meta a:hover { color: var(--primary); }
.footer-meta { color: var(--muted); }
.footer-meta a { color: var(--text); }
.copy { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 1200px) {
  .hero-slides { width: min(44vw, 560px); }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed;
    z-index: 70;
    left: 16px; right: 16px; bottom: 16px;
    top: 120px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .site-nav a.anchor { min-height: 44px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-nav a.anchor::after { display: none; }
  .site-nav a.anchor.is-active { background: var(--primary-soft); border-radius: 8px; padding-left: 10px; }
  .drawer-extra { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
  .drawer-extra a { justify-content: center; }
  .point-grid, .plan-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .point-narrow, .plan:last-child { grid-column: 1 / -1; }
  .plan:nth-child(2), .plan:nth-child(3), .review:nth-child(2) { margin-top: 0; }
  .ability-grid { grid-template-columns: 1fr 1fr; }
  .case-grid, .product-grid, .contact-grid, .scene-layout, .head-row, .footer-grid, .news-list { grid-template-columns: 1fr; }
  .news:first-child { grid-row: auto; }
  .story { grid-template-columns: 180px 1fr; }
}
@media (max-width: 768px) {
  .container, .topbar-inner, .mainbar-inner { width: calc(100% - 32px); }
  .block, .hero { padding: 56px 0; }
  .hero { padding-bottom: 56px; }
  h1 { font-size: 28px; }
  h2 { font-size: 26px; }
  .top-mail { display: none; }
  .hero-slides { position: relative; inset: auto; width: auto; height: 210px; top: auto; right: auto; bottom: auto; margin-bottom: 20px; }
  .hero-slides::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 0; }
  .point-grid, .ability-grid, .plan-grid, .review-grid, .promise-bar, .stat-bar, .contact-form { grid-template-columns: 1fr; }
  .point-wide, .ability-wide, .wb-body, .story { grid-template-columns: 1fr; }
  .ability-wide { grid-column: auto; }
  .point-narrow, .plan:last-child { grid-column: auto; }
  .product-photo { height: 240px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-cell.is-label { background: var(--foot); font-weight: 700; }
  .scene-steps { display: grid; gap: 10px; }
}
@media (max-width: 375px) {
  .container, .topbar-inner, .mainbar-inner { width: calc(100% - 24px); }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .hero-actions .btn, .dock a, .header-cta { width: auto; }
  .badge-row { gap: 6px; }
  .dock { gap: 8px; }
  .dock p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
