/* 即微对外首页（jikechengfeng.com 根地址）。
   和管理中心、登录页同一套：近黑夜色 + 一种薄荷强调色。
   这是对外的第一张脸，但**不是广告位**——只写我们真做到的事，不画没有的入口。 */
:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  --ink: #05080d;
  --panel: #0b111a;
  --panel-2: #101822;
  --line: #19222e;
  --text: #e9eef6;
  --text-dim: #93a0b4;
  --text-faint: #6b7789;
  --mint: #3fe0c4;
  --on-mint: #04231f;
  color: var(--text);
  background: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--ink); overflow-x: hidden; }
a { color: inherit; }
::selection { background: #3fe0c41f; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ——— 顶栏 ——————————————————————————————————————————— */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 16px clamp(16px, 5vw, 56px);
  background: #05080de6; backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px;
  color: var(--on-mint); font-weight: 900; font-size: 16px;
  background: linear-gradient(145deg, #5df0d6, #2bbfa8); box-shadow: 0 8px 22px #2bbfa82e;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: .04em; }
.brand small { margin-top: 2px; color: var(--text-faint); font-size: 10px; letter-spacing: .22em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text-dim); font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-login {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px; text-decoration: none;
  color: var(--on-mint); font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, #5df0d6, #2fd2b6); box-shadow: 0 8px 24px #2bbfa829;
}
.nav-login:hover { filter: brightness(1.06); }
.nav-login svg { width: 14px; height: 14px; stroke-width: 2; }

/* ——— 第一屏 ————————————————————————————————————————— */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 40px;
  padding: clamp(40px, 7vw, 92px) clamp(16px, 5vw, 56px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(900px 460px at 72% 36%, #2b4d7a40, transparent 66%),
    radial-gradient(640px 360px at 18% 100%, #3fe0c414, transparent 72%);
}
.eyebrow { margin: 0 0 18px; color: var(--text-faint); font-size: 11px; font-weight: 700; letter-spacing: .34em; }
.hero h1 { margin: 0; font-size: clamp(42px, 7vw, 76px); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.hero h1 em { color: var(--mint); font-style: normal; }
.lead { margin: 24px 0 0; color: var(--text-dim); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.85; }
.hero-note { margin: 30px 0 0; color: var(--text-faint); font-size: 13px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-robot {
  position: relative; z-index: 3; width: min(300px, 60%);
  filter: drop-shadow(0 34px 64px #000000a6);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }

/* 她身后那道玻璃环：稿子里是一圈 3D 玻璃，这里用 conic-gradient + 环形 mask 做出同一个味道，
   不去伪造一张我们没有的渲染图。慢慢转，像在呼吸。 */
.hero-ring {
  position: absolute; z-index: 1; width: min(470px, 96%); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 200deg, #3fe0c400 0deg, #3fe0c47a 64deg, #8fe4ff5c 128deg,
                             #3fe0c41f 190deg, #3fe0c400 250deg);
  mask: radial-gradient(circle, transparent 57%, #000 59.5%, #000 73%, transparent 75.5%);
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* 环里那团光：让机器人像站在光里，而不是贴在黑底上 */
.hero-halo {
  position: absolute; z-index: 0; width: min(520px, 104%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #2b6f8f4d 0%, #16405a26 42%, transparent 68%);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.06); opacity: .82; } }
/* 脚下的投影，少了它她像是浮着的 */
.hero-art::after {
  content: ""; position: absolute; z-index: 2; bottom: 9%; width: min(290px, 58%); height: 30px;
  border-radius: 50%; background: radial-gradient(ellipse, #5d8fd14d, transparent 70%);
}

/* 对话气泡和浮动徽标：稿子里有，而且说的是真事——她会先开口、两端记忆互通 */
.hero-bubble, .hero-badge {
  position: absolute; z-index: 4; margin: 0; white-space: nowrap;
  border: 1px solid #ffffff1f; border-radius: 999px; backdrop-filter: blur(10px);
  font-size: 13px; color: var(--text); background: #0f1a24cc;
  box-shadow: 0 12px 30px #00000059;
}
.hero-bubble { top: 16%; left: 2%; padding: 11px 17px; border-bottom-left-radius: 6px; animation: float 7s ease-in-out infinite .6s; }
.hero-badge { top: 1%; right: 29%; display: flex; align-items: center; gap: 8px; padding: 9px 15px; font-size: 12px; color: var(--text-dim); }
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

/* 手机：纯 CSS，画的是 App 里真有的那一屏 */
.hero-phone {
  position: absolute; z-index: 5; right: 0; bottom: 2%; width: 190px; aspect-ratio: 9 / 18.5;
  padding: 7px; border: 1px solid #ffffff24; border-radius: 26px;
  background: linear-gradient(160deg, #263142, #0d141c);
  box-shadow: 0 30px 70px #000000a6;
  animation: float 7s ease-in-out infinite 1.2s;
}
.phone-screen { height: 100%; padding: 12px 11px; border-radius: 20px; background: #070b11; overflow: hidden; }
.phone-top b { display: block; font-size: 12px; }
.phone-top small { display: block; margin-top: 1px; color: var(--text-faint); font-size: 7px; letter-spacing: .2em; }
.phone-hero {
  margin: 11px 0 12px; padding: 11px; display: flex; align-items: center; gap: 8px;
  border-radius: 12px; background: linear-gradient(135deg, #16303c, #0d1620);
}
.phone-hero span { font-size: 9.5px; line-height: 1.5; font-weight: 600; }
.phone-hero i {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%;
  background: url("/static/jifeng-figure.png") no-repeat center 2px / 150%;
  background-color: #1b2735;
}
.phone-label { color: var(--text-faint); font-size: 8px; margin-bottom: 6px; }
.phone-row { display: flex; align-items: center; gap: 7px; padding: 7px; margin-bottom: 6px; border-radius: 9px; background: #0e151f; }
.phone-row i {
  width: 20px; height: 20px; flex: 0 0 auto; border-radius: 6px;
  background: url("/static/jifeng-figure.png") no-repeat center 1px / 150%;
  background-color: #1b2735;
}
.phone-row b { display: block; font-size: 8.5px; }
.phone-row small { display: block; margin-top: 1px; color: var(--text-faint); font-size: 7px; }
.phone-row:first-of-type small { color: var(--mint); }

/* ——— 内容段 ————————————————————————————————————————— */
.band {
  padding: clamp(44px, 6vw, 84px) clamp(16px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.band h2 { margin: 0 0 clamp(26px, 3vw, 44px); font-size: clamp(26px, 3.4vw, 40px); font-weight: 750; letter-spacing: -.03em; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(170deg, #0d141e, #0a0f17);
  transition: border-color .22s, transform .22s;
}
.card:hover { border-color: #3fe0c44d; transform: translateY(-3px); }
.card:hover .card-icon { transition: box-shadow .22s; box-shadow: 0 0 0 6px #3fe0c40f; }
.card-icon { transition: box-shadow .22s;
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 20px;
  border-radius: 13px; color: var(--mint); background: #3fe0c41f;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.85; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step;
  padding: 28px 28px 28px 30px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(170deg, #0d141e, #0a0f17);
  transition: border-color .22s, transform .22s;
}
.steps li:hover { border-color: #3fe0c44d; transform: translateY(-3px); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 16px; color: var(--mint);
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
}
.steps b { display: block; margin-bottom: 9px; font-size: 17px; font-weight: 700; }
.steps span { color: var(--text-dim); font-size: 14px; line-height: 1.85; }

/* ——— 页脚 ——————————————————————————————————————————— */
.foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding: 26px clamp(16px, 5vw, 56px) 40px;
  border-top: 1px solid var(--line); color: var(--text-faint); font-size: 12.5px;
}
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--text-faint); text-decoration: none; }
.foot a:hover { color: var(--text-dim); }

/* ——— 窄屏 ——————————————————————————————————————————— */
@media (max-width: 900px) {
  .cards, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  /* 手机那块在中等宽度就开始压到她身上了，先收掉 */
  .hero-phone { display: none; }
}
@media (max-width: 760px) {
  .nav { gap: 14px; padding-inline: 16px; }
  .nav-links { display: none; }
  .hero-bubble, .hero-badge { display: none; }
  .hero-art { min-height: 300px; }
  .brand small { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 8px; }
  /* 手机上图在字下面：先看见那句话，再看见她 */
  .hero-art { order: 2; min-height: 260px; }
  .hero-copy { order: 1; }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-robot, .hero-ring, .hero-halo, .hero-bubble, .hero-phone { animation: none; }
  .card, .steps li { transition: none; }
}
