/* 随手拍工单平台官网 — 共享样式 */
:root {
  --green: #2ba471;
  --green-deep: #1f8a5c;
  --green-light: #52c41a;
  --ink: #1a2330;
  --text: #243140;
  --text-2: #5a6a78;
  --text-3: #8a98a4;
  --surface: #f5faf7;
  --card: #ffffff;
  --line: #e2ece6;
  --orange: #d4875a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 90, 60, .10);
  --grad: linear-gradient(120deg, #1f8a5c, #2ba471 45%, #52c41a);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container { max-width: 1560px; margin: 0 auto; padding: 0 24px; }

/* ── 导航 ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--text-2); }
.nav-links a:hover { color: var(--green-deep); }
.nav-cta {
  background: var(--grad); color: #fff !important; padding: 8px 20px;
  border-radius: 999px; font-weight: 700; box-shadow: 0 4px 14px rgba(43, 164, 113, .3);
}
.nav-cta:hover { opacity: .92; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 50% at 18% 30%, rgba(43, 164, 113, .14), transparent 70%),
    radial-gradient(55% 45% at 82% 72%, rgba(82, 196, 26, .10), transparent 70%),
    linear-gradient(160deg, #ffffff, #f0faf5 55%, #e6f7ef);
  padding: 92px 0 76px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(43, 164, 113, .10); border: 1px solid rgba(43, 164, 113, .3);
  color: var(--green-deep); border-radius: 999px; padding: 6px 16px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.32; font-weight: 900;
  color: var(--ink); letter-spacing: .03em; max-width: 760px;
}
.hero h1 .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: clamp(15px, 2vw, 19px); color: var(--text-2); max-width: 640px; margin: 20px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 13px 30px; border-radius: 12px; font-size: 16px; font-weight: 700;
  border: 1px solid transparent; transition: .2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(43, 164, 113, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(43, 164, 113, .42); }
.btn-ghost { background: #fff; color: var(--green-deep); border-color: rgba(43, 164, 113, .45); }
.btn-ghost:hover { background: rgba(43, 164, 113, .07); }
.hero-trust { margin-top: 30px; font-size: 13.5px; color: var(--text-3); display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust b { color: var(--green-deep); }

/* ── 通用 section ── */
.section { padding: 78px 0; }
.section.alt { background: var(--surface); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.sec-head .eyebrow {
  font-size: 13px; letter-spacing: .18em; color: var(--green-deep);
  font-weight: 700; margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; color: var(--ink); line-height: 1.3; }
.sec-head p { color: var(--text-2); margin-top: 12px; font-size: 16px; }

/* ── 行业场景 ── */
.scenes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.scene {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.scene::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--bar, var(--grad)); }
.scene .icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 25px;
  background: linear-gradient(135deg, rgba(43, 164, 113, .14), rgba(82, 196, 26, .08));
  border: 1px solid rgba(43, 164, 113, .28);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.scene h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.scene p { font-size: 14px; color: var(--text-2); }

/* ── 流程 ── */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: stretch; }
.flow-step {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 14px; text-align: center; position: relative; box-shadow: var(--shadow);
}
.flow-step .num {
  width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.flow-step b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.flow-step span { font-size: 12.5px; color: var(--text-2); line-height: 1.5; display: block; }

/* ── 定价卡 ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column;
}
.price-card.hot {
  border: 2px solid var(--green); transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(43, 164, 113, .22);
}
.hot-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800;
  padding: 5px 18px; border-radius: 999px; white-space: nowrap;
}
.price-card .p-name { font-size: 19px; font-weight: 800; color: var(--ink); }
.price-card .p-desc { font-size: 12.5px; color: var(--text-3); margin-top: 2px; min-height: 34px; }
.price-card .p-price { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price-card .p-price .v { font-size: 40px; font-weight: 900; color: var(--green-deep); font-family: "JetBrains Mono", Consolas, monospace; }
.price-card .p-price .u { font-size: 14px; color: var(--text-3); }
.price-card .p-price .free { font-size: 30px; font-weight: 900; color: var(--green-deep); }
.price-card ul { list-style: none; margin: 16px 0 22px; flex: 1; }
.price-card li {
  font-size: 13.5px; color: var(--text-2); padding: 6px 0 6px 24px; position: relative;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--green);
  font-weight: 800;
}
.price-card li.no { color: var(--text-3); }
.price-card li.no::before { content: "—"; color: #c4cdd4; }
.price-card .btn { justify-content: center; padding: 11px 16px; font-size: 15px; }
/* 宽屏（容器已铺满 1560px）下价格卡特性条目强制单行不换行；窄屏卡片变窄时允许回退换行 */
@media (min-width: 1560px) {
  .price-card li { white-space: nowrap; }
}

/* ── 对比矩阵 ── */
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.matrix { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.matrix th, table.matrix td {
  padding: 13px 14px; font-size: 13.5px; text-align: center;
  border-bottom: 1px solid var(--line);
}
table.matrix th { background: var(--ink); color: #fff; font-weight: 700; }
table.matrix th:first-child, table.matrix td:first-child { text-align: left; }
table.matrix td:first-child { color: var(--text); font-weight: 600; }
table.matrix tr:nth-child(even) td { background: var(--surface); }
table.matrix .yes { color: var(--green); font-weight: 800; }
table.matrix .no { color: #c4cdd4; }
table.matrix td.hotcol { background: rgba(43, 164, 113, .06) !important; }
table.matrix th.hotcol { background: var(--green-deep); }
.matrix-note { font-size: 12.5px; color: var(--text-3); margin-top: 12px; }

/* ── FAQ/说明条 ── */
.notice {
  background: rgba(43, 164, 113, .07); border: 1px solid rgba(43, 164, 113, .25);
  border-radius: 14px; padding: 20px 24px; font-size: 14.5px; color: var(--text);
  display: flex; gap: 12px; align-items: flex-start;
}
.notice .ic { font-size: 20px; flex: none; }

/* ── 试用表单 ── */
.trial-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.trial-info h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--ink); margin-bottom: 14px; }
.trial-info p { color: var(--text-2); margin-bottom: 14px; }
.trial-info ul { list-style: none; margin-top: 18px; }
.trial-info li { padding: 8px 0 8px 28px; position: relative; color: var(--text); font-size: 15px; }
.trial-info li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px;
  background: rgba(43, 164, 113, .12); border-radius: 6px; color: var(--green-deep);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.trial-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px 30px;
}
.trial-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.field label .req { color: #ff4d4f; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; color: var(--text); background: #fff; outline: none; transition: .2s;
}
.field input:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(43, 164, 113, .12); }
.trial-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-tip { font-size: 12.5px; color: var(--text-3); margin-top: 14px; text-align: center; }

/* 成功态 */
.trial-success { display: none; text-align: center; padding: 26px 10px; }
.trial-success .ok {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(43, 164, 113, .12); color: var(--green-deep);
  font-size: 30px; display: flex; align-items: center; justify-content: center;
}
.trial-success h3 { margin-bottom: 8px; }
.trial-success p { font-size: 14px; color: var(--text-2); }

/* ── CTA 条 ── */
.cta-band {
  background: linear-gradient(120deg, #1a2330, #1f3a2d);
  border-radius: 20px; padding: 52px 40px; text-align: center; color: #fff;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .72); margin-bottom: 26px; font-size: 15.5px; }
.cta-band .btn-primary { background: var(--grad); }

/* ── 页脚 ── */
.footer { background: #f7faf8; border-top: 1px solid var(--line); padding: 44px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer h4 { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.footer a, .footer p { font-size: 13.5px; color: var(--text-2); display: block; padding: 4px 0; }
.footer a:hover { color: var(--green-deep); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 18px;
  font-size: 12.5px; color: var(--text-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; align-items: center;
}
.footer-bottom a { display: inline; padding: 0; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.22); }
.footer-bottom a:hover { color: var(--green-deep); }

/* ── 移动端 ── */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 60px 0 50px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .trial-wrap { grid-template-columns: 1fr; }
  .price-card.hot { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 56px 0; }
}
