/* ============================================================
   个人接单官网 — 严格还原 Ardot 设计稿视觉规范
   Tokens 全部取自画布节点属性
   ============================================================ */

:root{
  /* 背景层 */
  --bg-base:      #0A0E17;
  --bg-alt:       #0C121C;
  --bg-footer:    #080B12;
  --surface:      #101A28;
  --surface-2:    #111C2B;
  --surface-3:    #16222F;
  --surface-card: #0E1826;
  --surface-term: #0C1522;
  --surface-bar:  #111E2E;

  /* 描边 */
  --line:        #1F2B3D;
  --line-subtle: #17222F;
  --line-card:   #21334A;
  --line-soft:   #243852;

  /* 文本 */
  --text-hi:     #EAF1FA;
  --text-mid:    #94A3B8;
  --text-body:   #8FA0B8;
  --text-dim:    #7C8CA3;
  --text-dimmer: #6B7C94;
  --text-quote:  #CBD5E6;
  --text-ghost:  #5A6B82;

  /* 强调色 */
  --accent:      #2FE0B0;
  --accent-soft: #7FE9CE;
  --accent-2:    #5CC8F5;
  --warn:        #FFB454;
  --grad: linear-gradient(90deg, #2FE0B0 0%, #33A8E8 100%);

  /* 字体 */
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-num:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 页面度量 */
  --page: 1440px;
  --pad-x: 120px;
  --container: 1200px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg-base);
  color:var(--text-body);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ display:block; max-width:100%; }
h1,h2,h3,p{ margin:0; }
a{ color:inherit; text-decoration:none; }

.container{
  width:100%;
  max-width:var(--page);
  margin:0 auto;
  padding:0 var(--pad-x);
}

/* ============================ Header ============================ */
.header{
  height:76px;
  background:var(--bg-base);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(140%);
}
.header__inner{
  max-width:var(--page);
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand__mark{
  width:36px; height:36px;
  border-radius:10px;
  background:#10222E;
  border:1px solid rgba(47,224,176,.35);
  display:flex; align-items:center; justify-content:center;
  flex:0 0 auto;
}
.brand__text{ display:flex; flex-direction:column; gap:2px; }
.brand__name{ font-size:17px; font-weight:700; line-height:20px; color:#E8EEF7; }
.brand__tag{ font-size:12px; line-height:16px; color:#64748B; }

.nav{ display:flex; align-items:center; gap:36px; }
.nav a{
  font-size:14px; font-weight:500; color:#94A3B8;
  transition:color .18s ease;
}
.nav a:hover{ color:var(--accent); }

/* ============================ Buttons ============================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:none; cursor:pointer; white-space:nowrap;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn--primary{
  background:var(--grad);
  color:#06121A;
  font-weight:600;
  border-radius:8px;
}
.btn--primary:hover{ transform:translateY(-1px); box-shadow:0 10px 24px -10px rgba(47,224,176,.55); }
.btn--sm{ padding:11px 20px; font-size:14px; }
.btn--lg{ padding:16px 32px; font-size:15px; border-radius:10px; }
.hero__cta .btn--primary{ padding:15px 26px; font-size:15px; border-radius:10px; }
.btn--ghost{
  padding:15px 24px; font-size:15px; font-weight:500;
  color:#B6C4D6; background:var(--surface-2);
  border:1px solid var(--line-soft); border-radius:10px;
}
.btn--ghost:hover{ color:#fff; border-color:#3A5578; transform:translateY(-1px); }

/* ============================ Hero ============================ */
.hero{
  background:
    radial-gradient(120% 130% at 20% 10%, rgba(23,107,112,.30) 0%, rgba(10,13,23,0) 60%),
    var(--bg-base);
}
.hero__inner{
  max-width:var(--page);
  display:flex; align-items:center; gap:60px;
  padding:88px var(--pad-x);
}
.hero__copy{ width:580px; flex:0 0 580px; display:flex; flex-direction:column; gap:26px; }
.hero__visual{ width:560px; flex:0 0 560px; display:flex; flex-direction:column; gap:16px; }

.badge{
  display:inline-flex; align-items:center; gap:9px;
  align-self:flex-start;
  padding:7px 14px;
  border-radius:999px;
  background:#10222E;
  border:1px solid #1C5752;
}
.badge__dot{ width:7px; height:7px; border-radius:4px; background:var(--accent); }
.badge__text{ font-size:13px; font-weight:500; color:var(--accent-soft); line-height:1.4; }

.hero__title{
  display:flex; flex-direction:column; gap:2px;
  font-size:46px; font-weight:700; line-height:60px;
  letter-spacing:-.5px;
}
.hero__title-line{ color:var(--text-hi); }
.hero__title-line--accent{
  background:linear-gradient(90deg,#2FE0B0 0%,#5CC8F5 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

.hero__sub{ font-size:16px; line-height:29px; color:var(--text-mid); }

.hero__cta{ display:flex; align-items:center; gap:14px; }

.hero__trust{ display:flex; align-items:center; gap:10px; font-size:13px; color:var(--text-dim); }

/* ============================ Terminal ============================ */
.terminal{
  height:340px;
  border-radius:14px;
  background:var(--surface-term);
  border:1px solid #1C2B40;
  box-shadow:0 24px 48px -12px rgba(0,0,0,.45);
  overflow:hidden;
  display:flex; flex-direction:column;
}
.terminal__bar{
  height:46px; flex:0 0 46px;
  display:flex; align-items:center; gap:14px;
  padding:0 18px;
  background:var(--surface-bar);
  border-bottom:1px solid #1A293B;
}
.dots{ display:flex; align-items:center; gap:7px; }
.dots i{ width:11px; height:11px; border-radius:6px; display:block; }
.terminal__title{ font-family:var(--font-mono); font-size:12px; color:#5A6C84; }

.terminal__body{
  flex:1 1 auto;
  display:flex; flex-direction:column; gap:15px;
  padding:24px;
}
.tline{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:13px; line-height:1.4;
  color:#46586F;
}
.tprompt{ font-family:var(--font-mono); font-weight:700; color:var(--accent); }
.tcmd{ color:#DCE5F2; }
.tok{ color:var(--accent); }
.twarn{ color:var(--warn); }
.cursor{
  width:8px; height:15px; background:var(--accent); display:inline-block;
  animation:blink 1.1s steps(1) infinite;
}
@keyframes blink{ 0%,49%{opacity:1} 50%,100%{opacity:0} }

/* ============================ Stats ============================ */
.stats{ display:flex; gap:14px; }
.stat{
  width:176px; flex:1 1 176px;
  padding:18px 20px;
  border-radius:12px;
  background:var(--surface);
  border:1px solid var(--line-card);
  display:flex; flex-direction:column; gap:6px;
}
.stat__num{
  font-family:var(--font-num); font-size:26px; font-weight:700; line-height:30px;
  color:var(--text-hi);
}
.stat__num--teal{ color:var(--accent); }
.stat__num--blue{ color:var(--accent-2); }
.stat__label{ font-size:12px; color:var(--text-dim); line-height:1.4; }

/* ============================ Sections ============================ */
.section{ padding:96px 0; background:var(--bg-base); }
.section--alt{ padding:92px 0; background:var(--bg-alt); }
.divider{ height:1px; background:var(--line-subtle); }

.shead{ display:flex; flex-direction:column; gap:14px; margin-bottom:44px; }
.eyebrow{
  font-family:var(--font-mono); font-size:12px; font-weight:700;
  letter-spacing:3px; color:var(--accent);
}
.stitle{ font-size:34px; font-weight:700; line-height:44px; color:var(--text-hi); }
.sdesc{ font-size:15px; line-height:26px; color:var(--text-mid); }

/* ============================ Grids ============================ */
.grid{ display:flex; flex-wrap:wrap; gap:20px; }
.grid--3 > *{ width:386px; flex:0 0 386px; }
.grid--4 > *{ width:285px; flex:0 0 285px; }

/* ============================ Cards ============================ */
.card{
  border-radius:14px;
  background:var(--surface);
  border:1px solid var(--line-card);
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card--service{ padding:28px 26px; display:flex; flex-direction:column; gap:14px; }
.card--service:hover{ border-color:#2E4560; box-shadow:0 18px 40px -22px rgba(0,0,0,.9); }

.ico{
  width:42px; height:42px; border-radius:11px;
  background:#0E2A2C;
  display:flex; align-items:center; justify-content:center;
  flex:0 0 auto;
}
.card__title{ font-size:18px; font-weight:700; line-height:26px; color:var(--text-hi); }
.card__text{ font-size:13px; line-height:23px; color:var(--text-body); }

.tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.tag{
  padding:5px 10px; border-radius:6px;
  background:var(--surface-3); color:#8FA3BC; font-size:12px; line-height:1.4;
}
.tag--mono{ font-family:var(--font-mono); }

/* Steps */
.card--step{ padding:26px 24px; display:flex; flex-direction:column; gap:12px; }
.accent-bar{ width:34px; height:3px; border-radius:2px; background:var(--grad); }
.step__num{ font-family:var(--font-num); font-size:30px; font-weight:700; line-height:34px; color:var(--accent); }
.step__meta{ font-size:12px; font-weight:500; color:var(--accent-2); margin-top:auto; }

/* Cases */
.card--case{ padding:0; border-radius:16px; overflow:hidden; }
.card--case:hover{ transform:translateY(-4px); border-color:#2E4560; box-shadow:0 24px 48px -24px rgba(0,0,0,.9); }
.case__cover{ width:100%; height:196px; object-fit:cover; }
.case__body{ padding:22px 24px 24px; display:flex; flex-direction:column; gap:11px; }
.case__tag{ font-size:12px; font-weight:500; color:var(--accent); }
.results{ display:flex; gap:28px; }
.result{ flex:1 1 0; display:flex; flex-direction:column; gap:2px; min-width:0; }
.result__v{ font-size:16px; font-weight:700; line-height:22px; color:var(--accent); }
.result__l{ font-size:11px; line-height:16px; color:var(--text-dimmer); }

/* Testimonials */
.tmhead{ display:flex; flex-direction:column; gap:14px; padding-top:24px; margin-top:24px; }
.tmhead__title{ font-size:26px; font-weight:700; line-height:36px; color:var(--text-hi); }
.card--quote{ padding:26px; display:flex; flex-direction:column; gap:20px; }
.card--quote:hover{ transform:translateY(-4px); border-color:#2E4560; box-shadow:0 18px 40px -22px rgba(0,0,0,.9); }
.quote__text{ font-size:14px; line-height:26px; color:var(--text-quote); }
.author{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.avatar{
  width:38px; height:38px; border-radius:19px; flex:0 0 auto;
  background:#16283C;
  display:flex; align-items:center; justify-content:center;
}
.author__info{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.author__name{ font-size:13px; font-weight:700; color:var(--text-hi); }
.author__role{ font-size:12px; color:var(--text-dimmer); }

/* ============================ FAQ ============================ */
.faq-cols{ display:flex; gap:20px; }
.faq-col{ flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:14px; }
.faq{
  padding:20px 24px; border-radius:12px;
  background:var(--surface); border:1px solid var(--line-card);
  display:flex; flex-direction:column; gap:9px;
  transition:border-color .2s ease;
}
.faq:hover{ border-color:#2E4560; }
.faq__q{ font-size:15px; font-weight:700; line-height:24px; color:var(--text-hi); }
.faq__a{ font-size:13px; line-height:24px; color:var(--text-body); }

/* ============================ Footer ============================ */
.footer{ background:var(--bg-footer); padding:72px 0 40px; }
.footer__inner{ max-width:var(--page); display:flex; flex-direction:column; gap:36px; padding:0 var(--pad-x); }
.footer__line{
  height:2px;
  background:linear-gradient(90deg, rgba(47,224,176,0) 0%, rgba(47,224,176,.9) 50%, rgba(92,200,245,0) 100%);
}
.contact{
  padding:44px 48px; border-radius:20px;
  background:var(--surface-card);
  border:1px solid var(--line-soft);
  box-shadow:0 20px 44px -14px rgba(0,0,0,.4);
  display:flex; flex-direction:column; align-items:center; gap:24px;
  text-align:center;
}
.contact__title{ font-size:30px; font-weight:700; line-height:40px; color:var(--text-hi); }
.contact__desc{ font-size:15px; line-height:26px; color:var(--text-mid); max-width:640px; }
.contact__info{
  display:flex; align-items:center; gap:48px;
  padding-top:8px; flex-wrap:wrap; justify-content:center;
}
.info{ display:flex; flex-direction:column; gap:5px; align-items:center; }
.info__l{ font-size:11px; color:var(--text-dimmer); line-height:1.4; }
.info__v{ font-size:14px; color:var(--text-hi); line-height:1.4; }
.info__v--mono{ font-family:var(--font-mono); }

.footer__bar{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:24px;
  font-size:12px; color:var(--text-ghost);
}
.footer__bar a{ color:inherit; text-decoration:none; }
.footer__bar a:hover{ color:var(--text-mid); }

/* ============================ Reveal ============================ */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease; }
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ============================ Responsive ============================ */
@media (max-width: 1320px){
  :root{ --pad-x:64px; }
  .hero__copy{ width:520px; flex:0 0 520px; }
  .grid--3 > *{ width:calc((100% - 40px) / 3); flex:0 0 auto; }
  .grid--4 > *{ width:calc((100% - 60px) / 4); flex:0 0 auto; }
}
@media (max-width: 1080px){
  :root{ --pad-x:40px; }
  .hero__inner{ flex-direction:column; align-items:flex-start; gap:48px; }
  .hero__copy,.hero__visual{ width:100%; flex:1 1 auto; max-width:640px; }
  .grid--4 > *{ width:calc((100% - 20px) / 2); }
  .grid--3 > *{ width:calc((100% - 20px) / 2); }
  .nav{ display:none; }
}
@media (max-width: 760px){
  :root{ --pad-x:20px; }
  .hero__title{ font-size:34px; line-height:44px; }
  .stitle{ font-size:26px; line-height:34px; }
  .contact__title{ font-size:24px; line-height:32px; }
  .grid--3 > *,.grid--4 > *,.stats{ width:100%; }
  .stats{ flex-direction:column; }
  .stat{ width:100%; }
  .faq-cols{ flex-direction:column; }
  .footer__bar{ flex-direction:column; gap:8px; align-items:flex-start; }
  .header__inner .btn--sm{ display:none; }
}
