/* =============================================================================
 * Ceecore 官网 — 全局样式
 * 极简、留白、克制。浅色底 + 单一暖强调色。无 emoji, 图标走内联 SVG。
 * 品牌名统一 Ceecore (单大写 C)。
 * ============================================================================= */

:root {
  --ink:        #1a1a1a;   /* 主文字 */
  --ink-2:      #555555;   /* 次级文字 */
  --ink-3:      #8a8a8a;   /* 弱文字 */
  --bg:         #ffffff;   /* 主背景 */
  --bg-2:       #faf9f7;   /* 暖白, section 交替 */
  --bg-3:       #f4f2ee;   /* 更深一点的暖白 */
  --line:       #ececec;   /* 分隔线 */
  --line-2:     #e0ddd7;   /* 强一点的线 */
  --brand:      #e8623a;   /* 暖珊瑚, 唯一强调色 */
  --brand-ink:  #c84e2a;   /* 强调色文字态 */
  --brand-bg:   #fdf1ec;   /* 强调色浅底 */
  --radius:     14px;
  --radius-lg:  22px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

/* 通用强调色文字 */
.brand { color: var(--brand-ink); }

/* =================== Header =================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.logo .mark {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 7px;
  background: var(--brand);
  position: relative;
}
.logo .mark::after {
  content: "";
  position: absolute;
  left: 6px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.18s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 8px 18px;
  border-radius: 9px;
  transition: all 0.18s var(--ease);
}
.nav-cta:hover { border-color: var(--ink); }

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }

/* =================== Hero =================== */
.hero {
  padding: 116px 0 92px;
  text-align: center;
}
.hero .narrow { margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--brand-ink);
  background: var(--brand-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.6px;
  color: var(--ink);
  margin-bottom: 26px;
}
.hero .lead {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 38px;
}
.hero .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* 页面型 hero (内页, 更小) */
.page-hero { padding: 92px 0 64px; text-align: center; }
.page-hero h1 { font-size: 46px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.15; margin-bottom: 20px; }
.page-hero .lead { font-size: 18px; color: var(--ink-2); max-width: 600px; margin: 0 auto; }

/* =================== Hero 视觉演示 (会话气泡, 真实排版无 emoji) =================== */
.demo {
  max-width: 560px;
  margin: 60px auto 0;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px -30px rgba(0,0,0,0.22), 0 8px 24px -16px rgba(0,0,0,0.12);
  overflow: hidden;
}
.demo .head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.demo .head .title { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.demo .head .members { margin-left: auto; display: flex; }
.demo .head .members span {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--bg-2);
  margin-left: -7px;
  font-size: 10px; font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.demo .body { padding: 22px 20px; display: flex; flex-direction: column; gap: 16px; }
.line { display: flex; gap: 11px; align-items: flex-start; }
.line.me { flex-direction: row-reverse; }
.line .who {
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #fff;
}
.line .text {
  font-size: 14.5px;
  line-height: 1.55;
  padding: 9px 14px;
  border-radius: 13px;
  max-width: 340px;
}
.line .name { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.line.them .text { background: var(--bg-3); color: var(--ink); border-top-left-radius: 4px; }
.line.me .text { background: var(--brand); color: #fff; border-top-right-radius: 4px; }
.dots { display: inline-flex; gap: 4px; align-items: center; height: 16px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); opacity: .4; animation: d 1.1s infinite; }
.dots i:nth-child(2){ animation-delay:.18s } .dots i:nth-child(3){ animation-delay:.36s }
@keyframes d { 0%,70%,100%{ opacity:.25; transform:translateY(0) } 35%{ opacity:.9; transform:translateY(-2px) } }

/* color tokens for avatars (低饱和, 协调) */
.c-me { background: var(--brand); }
.c-1  { background: #3b6ea5; }
.c-2  { background: #6b8e5a; }
.c-3  { background: #a5733b; }

/* =================== Sections =================== */
section { padding: 96px 0; }
.sec-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 620px; margin: 0 auto 64px; text-align: center; }
.sec-head .kicker { font-size: 13.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.sec-head h2 { font-size: 38px; font-weight: 700; letter-spacing: -0.8px; line-height: 1.2; margin-bottom: 16px; }
.sec-head p { font-size: 17.5px; color: var(--ink-2); }

/* =================== Feature 列表 (横排, 图标线条, 大留白) =================== */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 64px; }
.feature { }
.feature .ico {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  margin-bottom: 20px;
  color: var(--brand-ink);
}
.feature .ico svg { width: 20px; height: 20px; }
.feature h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.3px; margin-bottom: 10px; }
.feature p { font-size: 15.5px; color: var(--ink-2); line-height: 1.75; }

/* =================== 大块交替展示 (文 + 演示) =================== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.showcase + .showcase { margin-top: 110px; }
.showcase.flip .sc-media { order: -1; }
.sc-text .kicker { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 16px; }
.sc-text h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.25; margin-bottom: 18px; }
.sc-text p { font-size: 16.5px; color: var(--ink-2); line-height: 1.8; }
.sc-media {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =================== Steps =================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 36px 32px; border-right: 1px solid var(--line); background: var(--bg); }
.step:last-child { border-right: none; }
.step .n { font-size: 14px; font-weight: 700; color: var(--brand-ink); margin-bottom: 18px; }
.step h3 { font-size: 18px; font-weight: 650; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--ink-2); line-height: 1.7; }

/* =================== Prose (about) =================== */
.prose p { font-size: 17.5px; color: var(--ink-2); line-height: 1.95; margin-bottom: 24px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; margin: 48px 0 18px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.fact { padding: 28px 26px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }
.fact .k { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.fact .v { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.5; }

/* =================== Contact =================== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ccard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.2s var(--ease);
}
.ccard:hover { border-color: var(--line-2); }
.ccard .k { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.ccard .v { font-size: 18px; font-weight: 600; word-break: break-all; }
.ccard .v a { color: var(--brand-ink); }
.ccard .note { font-size: 14px; color: var(--ink-2); margin-top: 10px; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
.qa { padding: 22px 0; border-top: 1px solid var(--line); }
.qa h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 8px; }
.qa p { font-size: 15px; color: var(--ink-2); line-height: 1.7; }

/* =================== CTA =================== */
.cta { text-align: center; }
.cta h2 { font-size: 40px; font-weight: 700; letter-spacing: -1px; margin-bottom: 18px; }
.cta p { font-size: 18px; color: var(--ink-2); margin-bottom: 34px; }

/* =================== Footer =================== */
footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 32px; }
.foot { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot .brand .logo { margin-bottom: 14px; }
.foot .brand p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; max-width: 300px; }
.foot .col h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: 0.3px; }
.foot .col ul { list-style: none; }
.foot .col li { margin-bottom: 11px; }
.foot .col a { font-size: 14.5px; color: var(--ink-2); transition: color 0.18s var(--ease); }
.foot .col a:hover { color: var(--ink); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-3);
}
.foot-bottom a { color: var(--ink-3); }
.foot-bottom a:hover { color: var(--ink-2); }

/* =================== Responsive =================== */
@media (max-width: 860px) {
  .hero h1 { font-size: 44px; letter-spacing: -1px; }
  .page-hero h1 { font-size: 36px; }
  .features { grid-template-columns: 1fr; gap: 40px; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 32px; }
  .showcase.flip .sc-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: none; }
  .contact, .faq { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 76px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .sec-head h2 { font-size: 30px; }
  .cta h2 { font-size: 30px; }
  .foot { grid-template-columns: 1fr; }
  .demo { margin-top: 44px; }
  .line .text { max-width: 230px; }
}
