/* 一二三心理CMS 官网设计系统 v2 */
:root {
  --brand: #2a9d8f;
  --brand-dark: #175d55;
  --brand-deep: #0f4a43;
  --brand-soft: #e7f4f1;
  --accent: #f4a261;
  --ink: #16242e;
  --ink-2: #33475b;
  --muted: #64748b;
  --bg: #fbfaf8;
  --surface: #ffffff;
  --border: #e6e2da;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(22, 36, 46, .06);
  --shadow-lg: 0 20px 50px rgba(15, 74, 67, .14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 15.5px;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.head-in { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #2a9d8f, #175d55); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.brand small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 400; line-height: 1.2; }
.head-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.head-nav a { padding: 7px 14px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.head-nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.head-nav a.active { color: var(--brand-dark); font-weight: 600; background: var(--brand-soft); }
.head-nav .cta { background: var(--brand); color: #fff; font-weight: 600; margin-left: 8px; }
.head-nav .cta:hover { background: var(--brand-dark); color: #fff; }
@media (max-width: 860px) { .head-nav a:not(.cta) { display: none; } }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(244,162,97,.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(94,234,212,.10), transparent 40%),
    linear-gradient(135deg, var(--brand-deep), #1d7a6e 55%, #2d8f85);
  padding: 88px 0 72px; text-align: center;
}
.hero .tag { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 5px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 20px; letter-spacing: .05em; }
.hero h1 { font-size: 42px; line-height: 1.25; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: #f7d9a0; }
.hero p.lead { font-size: 18px; max-width: 640px; margin: 18px auto 30px; opacity: .95; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 30px; border-radius: 10px; font-size: 15.5px; font-weight: 600; transition: all .2s; }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-pri { background: var(--brand); color: #fff; }
.btn-pri:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(42,157,143,.3); }
.hero-stats { display: flex; justify-content: center; gap: 44px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 26px; color: #f7d9a0; }
.hero-stats div span { font-size: 12.5px; opacity: .85; }

/* ===== Sections ===== */
.sec { padding: 72px 0; }
.sec.alt { background: #fff; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.sec-head .kicker { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.sec-head h2 { font-size: 30px; margin: 8px 0 10px; line-height: 1.3; }
.sec-head p { color: var(--muted); font-size: 15.5px; }

.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g3, .g2 { grid-template-columns: 1fr; } .hero h1 { font-size: 30px; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe8e3; }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { font-size: 13.8px; color: var(--ink-2); }
.card .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--brand); }

/* ===== 对比表 ===== */
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: 14px; }
.vs-table th, .vs-table td { padding: 13px 18px; border-bottom: 1px solid #eef2f0; text-align: left; }
.vs-table th { background: #f0fdf9; color: var(--brand-deep); font-weight: 700; }
.vs-table td:not(:first-child) { text-align: center; width: 30%; }
.vs-table .yes { color: #16a34a; font-weight: 700; }
.vs-table .no { color: #cbd5e1; }
.vs-table .half { color: var(--accent); }

/* ===== 价格卡 ===== */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; transition: all .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.hot { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-card .pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 14px; border-radius: 999px; }
.price-card h3 { font-size: 17px; }
.price-card .for { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.price-card .num { font-size: 34px; font-weight: 800; color: var(--brand-dark); }
.price-card .num small { font-size: 13px; color: var(--muted); font-weight: 400; }
.price-card ul { list-style: none; margin: 16px 0 22px; flex: 1; }
.price-card li { font-size: 13.5px; padding: 5px 0; color: var(--ink-2); }
.price-card li::before { content: "✓ "; color: var(--brand); font-weight: 700; }
.price-card li.off { color: #b6bfcc; }
.price-card li.off::before { content: "— "; color: #cbd5e1; }
.buy-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 30px; }
.buy-note strong { color: var(--brand-dark); }

/* ===== 时间线 ===== */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), #bfe3dd); }
.tl-item { position: relative; padding: 0 0 26px 22px; }
.tl-item::before { content: ""; position: absolute; left: -27px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl-item .v { font-weight: 800; color: var(--brand-dark); font-size: 15px; }
.tl-item .d { font-size: 12px; color: var(--muted); margin-left: 8px; }
.tl-item p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* ===== 其他 ===== */
.cta-band { background: linear-gradient(135deg, var(--brand-deep), #1d7a6e); color: #fff; text-align: center; padding: 60px 0; border-radius: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .9; margin-bottom: 24px; }
.page-hero { background: linear-gradient(135deg, var(--brand-deep), #1d7a6e 60%, #2d8f85); color: #fff; text-align: center; padding: 64px 0; }
.page-hero h1 { font-size: 34px; }
.page-hero p { opacity: .92; max-width: 620px; margin: 12px auto 0; }
.check-list { list-style: none; max-width: 640px; margin: 26px auto 0; text-align: left; }
.check-list li { padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.25); }
.check-list li::before { content: "✓ "; color: #f7d9a0; font-weight: 800; }
.site-foot { background: var(--ink); color: #8fa3b5; padding: 36px 0; font-size: 13px; }
.site-foot .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-foot a { color: #cbd5e1; }
.note-card { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 16px 20px; font-size: 13.5px; color: #92400e; max-width: 720px; margin: 26px auto 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.code-strip { background: #0f2e29; color: #8fe3d5; border-radius: 12px; padding: 16px 20px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; overflow-x: auto; }
.sec-dark { background: linear-gradient(180deg, #0f2e29, #14453d); color: #d5e8e4; padding: 60px 0; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 4px 14px; border-radius: 999px; font-size: 12.5px; }
