/* 算数 · 小家电维修 — 宣传站（对齐算数·工单 intro 结构） */
:root {
  --brand: #00c17c;
  --brand-deep: #00a86a;
  --brand-soft: rgba(0, 193, 124, 0.12);
  --ink: #1a1a1a;
  --muted: #666;
  --line: #e8e8e8;
  --bg: #fff;
  --bg-soft: #f6f8f9;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.12rem;
  white-space: nowrap;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links > a {
  padding: 8px 12px;
  border-radius: 8px;
  color: #333;
  font-size: 0.93rem;
}
.nav-links > a:hover,
.nav-links > a.on { color: var(--brand-deep); }
.nav-links > a.on {
  box-shadow: inset 0 -2px 0 var(--brand);
  border-radius: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-outline {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand-deep);
}
.btn-outline:hover { background: var(--brand-soft); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.hero {
  padding: 48px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 80% 20%, rgba(0, 193, 124, 0.14), transparent 60%),
    radial-gradient(500px 280px at 10% 80%, rgba(0, 168, 106, 0.08), transparent 55%),
    linear-gradient(180deg, #f3faf7 0%, #fff 72%);
}
.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-tabs button {
  border: 0;
  background: #fff;
  color: #555;
  padding: 8px 18px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: 0.2s;
}
.hero-tabs button.on { background: #111; color: #fff; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero .sub {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 1.05rem;
}
.hero .lead {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 36em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
  min-height: 320px;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stats-wrap { margin-top: -48px; position: relative; z-index: 2; }
.stats {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 20px 24px;
  text-align: center;
}
.stats h2 { margin: 0 0 22px; font-size: 1.35rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat .num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.25;
}
.stat p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.stat-ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
}

section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.sec-title {
  text-align: center;
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
}
.sec-desc {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 42em;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s;
}
.card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.card:hover { border-color: rgba(0, 193, 124, 0.35); }

.rings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.ring {
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--brand) var(--p), #e9eef0 0);
  display: grid;
  place-items: center;
  position: relative;
}
.ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  background: #fff;
  border-radius: 50%;
}
.ring span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 0.9rem;
}
.rings small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.metric-list { margin: 0; padding: 0; list-style: none; }
.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.metric-list strong { color: var(--brand-deep); }

.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tabs button {
  border: 0;
  background: transparent;
  padding: 12px 22px;
  font: inherit;
  color: #888;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 600;
}
.tabs button.on {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: var(--shadow);
}
section:not(.soft) .tabs button.on {
  background: var(--bg-soft);
}
.panel {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
}
.panel.on { display: grid; }
.checks { margin: 0; padding: 0; list-style: none; }
.checks li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: #444;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.mock-desk {
  background: #111;
  color: #e8eef4;
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
}
.mock-desk .bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-desk .bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}
.mock-desk .bar i:first-child { background: #ff5f57; }
.mock-desk .bar i:nth-child(2) { background: #febc2e; }
.mock-desk .bar i:nth-child(3) { background: #28c840; }
.mock-row {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.5fr;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 193, 124, 0.25);
  color: #7fe0c8;
  font-size: 0.7rem;
  text-align: center;
}
.mock-stack { position: relative; min-height: 260px; }
.mock-phone {
  position: absolute;
  right: 8px;
  bottom: -10px;
  width: 140px;
  background: #fff;
  border: 4px solid #222;
  border-radius: 18px;
  padding: 10px 8px;
  box-shadow: var(--shadow);
  color: #111;
}
.mock-phone .ph-title {
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 8px;
}
.mock-phone .ph-card {
  background: #f4f6f7;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 6px;
  font-size: 0.65rem;
}

.case-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.case-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.2s;
  min-width: 260px;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.case-card .thumb {
  height: 140px;
  background: linear-gradient(135deg, #e8f8f1, #cdeedf);
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}
.case-card .body { padding: 16px; }
.case-card .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 8px;
}
.case-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.case-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.ind { overflow: hidden; padding: 0; }
.ind-art {
  height: 120px;
  background: linear-gradient(135deg, #e8f8f1, #d7f0e7);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-deep);
}
.ind .body { padding: 16px; }
.ind h3 { margin: 0 0 8px; font-size: 1.05rem; }

.flow-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.flow-item,
.g-item { text-align: center; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-band {
  background: linear-gradient(120deg, #0b3d32, #00a86a 70%);
  color: #fff;
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
}
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0 0 20px; opacity: 0.88; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--brand-deep);
}
.cta-band .hero-actions { justify-content: center; }

footer {
  background: #151515;
  color: #bbb;
  padding: 40px 0 28px;
  font-size: 0.88rem;
}
footer a:hover { color: #fff; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.foot-grid h4 { color: #fff; margin: 0 0 12px; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; }
.foot-grid li { margin: 8px 0; }
.copy {
  border-top: 1px solid #2a2a2a;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.note {
  font-size: 0.78rem;
  color: #777;
  margin-top: 8px;
  line-height: 1.5;
}

.dock {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dock a {
  width: 58px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  font-size: 0.72rem;
  box-shadow: var(--shadow);
  color: #333;
}
.dock a:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
}
.dock .ico {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 4px;
}

.chat {
  position: fixed;
  left: 16px;
  bottom: 24px;
  z-index: 60;
  width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px;
  font-size: 0.85rem;
}
.chat strong { display: block; margin-bottom: 6px; }
.chat .q {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.chat .q a {
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
}
.chat .q a:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-2,
  .panel.on,
  .grid-4,
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero-grid,
  .grid-2,
  .panel.on,
  .stats-grid,
  .grid-3,
  .grid-4,
  .foot-grid { grid-template-columns: 1fr; }
  .mock-phone {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 12px;
    width: 100%;
  }
  .dock,
  .chat { display: none; }
  .rings { grid-template-columns: 1fr; max-width: 160px; margin: 0 auto; }
}
