/* ===== DevPilot 官网（extsite1）——登录门户同款设计语言（loginface1 基因） =====
   底色 160deg #101f28→#0a1216→#0c1d22 ｜ 品牌绿 #059669 族 ｜ pattern 聚光层+极光 blob+轨道球 */

:root {
  --green-600: #059669;
  --green-500: #10b981;
  --green-400: #34d399;
  --teal-300: #5eead4;
  --green-200: #6ee7b7;
  --green-700: #047857;
  --bg-1: #101f28;
  --bg-2: #0a1216;
  --bg-3: #0c1d22;
  --ink: #e6f2ee;
  --ink-dim: #9fb8b0;
  --ink-faint: #8aa39c;
  --card: rgba(11, 22, 29, 0.92);
  --card-line: rgba(110, 231, 183, 0.16);
  --card-line-hi: rgba(94, 234, 212, 0.42);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg-3);
  /* 登录门户同款渐变按视口尺度绘制（首屏明度与 dl-body 等价；滚动后以尾色 #0c1d22 均匀延续） */
  background-image: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
  background-size: 100% 100vh;
  background-repeat: no-repeat;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 背景四层（登录门户 dl-portal 同款参数） ---------- */
.bgwrap {
  position: fixed; inset: -40px; z-index: 0; pointer-events: none;
  will-change: transform;
}
.bg-pattern, .bg-pattern-lit {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.035)' stroke-width='1' %3E%3Ccircle cx='38' cy='38' r='11'/%3E%3Ccircle cx='38' cy='38' r='2' fill='rgba(255,255,255,0.05)' stroke='none'/%3E%3Cpath d='M38 6v16M38 54v16M6 38h16M54 38h16'/%3E%3C/g%3E%3C/svg%3E");
}
.bg-pattern-lit {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76'%3E%3Cg fill='none' stroke='rgba(110,231,183,0.9)' stroke-width='1.3'%3E%3Ccircle cx='38' cy='38' r='11'/%3E%3Ccircle cx='38' cy='38' r='2.6' fill='rgba(94,234,212,0.95)' stroke='none'/%3E%3Cpath d='M38 6v16M38 54v16M6 38h16M54 38h16'/%3E%3C/g%3E%3C/svg%3E");
  filter: drop-shadow(0 0 7px rgba(52, 211, 153, 0.55));
  -webkit-mask-image: radial-gradient(circle 380px at var(--mx, 62%) var(--my, 34%), #000 0%, rgb(0 0 0 / 75%) 42%, transparent 74%);
          mask-image: radial-gradient(circle 380px at var(--mx, 62%) var(--my, 34%), #000 0%, rgb(0 0 0 / 75%) 42%, transparent 74%);
}
.spotlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(
    640px circle at var(--mx, 62%) var(--my, 34%),
    rgb(52 211 153 / 13%),
    rgb(94 234 212 / 5%) 42%,
    transparent 70%
  );
}
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.b1 { width: 640px; height: 640px;
  background: radial-gradient(circle at 32% 32%, rgb(5 150 105 / 32%), transparent 62%);
  animation: drift1 46s ease-in-out infinite alternate; }
.b2 { width: 560px; height: 560px;
  background: radial-gradient(circle at 60% 40%, rgb(13 148 136 / 22%), transparent 60%);
  animation: drift2 58s ease-in-out infinite alternate; }
.b3 { width: 500px; height: 500px;
  background: radial-gradient(circle at 50% 50%, rgb(110 231 183 / 18%), transparent 62%);
  animation: drift3 52s ease-in-out infinite alternate; }
@keyframes drift1 {
  from { transform: translate(-10vw, -14vh) rotate(0deg); }
  to { transform: translate(16vw, 12vh) rotate(46deg); }
}
@keyframes drift2 {
  from { transform: translate(78vw, 58vh) rotate(0deg); }
  to { transform: translate(52vw, 26vh) rotate(-40deg); }
}
@keyframes drift3 {
  from { transform: translate(40vw, 66vh) rotate(0deg); }
  to { transform: translate(8vw, 30vh) rotate(34deg); }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .orbit-svg .orbit, .orbit-svg .ripple { animation: none !important; }
  html { scroll-behavior: auto; }
}
main, .topbar, .footer { position: relative; z-index: 1; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgb(10 18 22 / 72%);
  border-bottom: 1px solid rgb(110 231 183 / 10%);
}
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 0.4px; }
.brand-mark { display: block; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { color: var(--ink-dim); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.nav a:hover { color: var(--green-200); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgb(110 231 183 / 25%); border-radius: 999px;
  color: var(--ink-dim); font-size: 13px; padding: 6px 14px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--card-line-hi); color: var(--ink); }
.lang-toggle .lang-sep { width: 1px; height: 12px; background: rgb(110 231 183 / 30%); }
html[lang="en"] .lang-zh, html[lang="zh-CN"] .lang-en { color: var(--ink-faint); }
html[lang="zh-CN"] .lang-zh, html[lang="en"] .lang-en { color: var(--green-200); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 12px 26px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  box-shadow: 0 8px 24px rgb(5 150 105 / 32%);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgb(5 150 105 / 44%); }
.btn-ghost {
  color: var(--green-200); border-color: rgb(110 231 183 / 30%);
  background: rgb(5 150 105 / 8%);
}
.btn-ghost:hover { border-color: var(--card-line-hi); background: rgb(5 150 105 / 14%); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 16.5px; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center;
  gap: 40px; padding-top: 96px; padding-bottom: 88px; min-height: 560px;
}
.hero-badge {
  display: inline-block; font-size: 13px; letter-spacing: 1.5px;
  color: var(--green-200); border: 1px solid rgb(110 231 183 / 28%);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 22px;
  background: rgb(5 150 105 / 10%);
}
.hero-head {
  font-size: clamp(30px, 4.6vw, 46px); line-height: 1.28; font-weight: 700;
  letter-spacing: 0.5px; margin-bottom: 18px;
}
.hero-head em {
  font-style: normal;
  background: linear-gradient(92deg, var(--green-400), var(--teal-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { color: var(--ink-dim); font-size: 16.5px; max-width: 30em; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.hero-points li { color: var(--ink-faint); font-size: 14px; padding-left: 22px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400); box-shadow: 0 0 8px rgb(52 211 153 / 70%);
}
.hero-visual { display: flex; justify-content: center; }
.orbit-svg { max-width: 100%; height: auto; }
.orbit-svg .orbit { transform-origin: 160px 160px; animation: spin 26s linear infinite; }
.orbit-svg .o2 { animation-duration: 38s; animation-direction: reverse; }
.orbit-svg .o3 { animation-duration: 32s; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-svg .ripple { transform-origin: 160px 160px; animation: ripple 5.5s ease-out infinite; }
.orbit-svg .r2 { animation-delay: 2.75s; }
@keyframes ripple {
  0% { transform: scale(0.62); opacity: 0.7; }
  78% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- 通用节 ---------- */
.section { padding-top: 88px; padding-bottom: 20px; }
.sec-head { margin-bottom: 40px; }
.sec-kicker { color: var(--green-200); font-size: 13px; letter-spacing: 2.5px; margin-bottom: 10px; }
.sec-title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: 0.4px; }
.sec-desc { color: var(--ink-dim); margin-top: 12px; max-width: 46em; }

/* ---------- 能力六卡 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 16px;
  padding: 26px 24px; transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.cap-card:hover { border-color: var(--card-line-hi); transform: translateY(-3px); background: linear-gradient(0deg, rgb(5 150 105 / 10%), rgb(5 150 105 / 10%)), var(--card); }
.cap-ico {
  font-size: 20px; color: var(--green-300, var(--green-400));
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgb(5 150 105 / 14%);
  border: 1px solid rgb(110 231 183 / 22%); margin-bottom: 16px;
}
.cap-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; letter-spacing: 0.3px; }
.cap-card p { color: var(--ink-dim); font-size: 14px; }

/* ---------- 工作流 ---------- */
.flow-steps {
  list-style: none; display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px; counter-reset: step;
}
.flow-step {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 14px;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 7px;
  position: relative; transition: border-color 0.25s ease;
}
.flow-step:hover { border-color: var(--card-line-hi); }
.flow-no {
  font-size: 13px; font-weight: 700; color: var(--green-200); letter-spacing: 1.5px;
}
.flow-step b { font-size: 15.5px; letter-spacing: 0.3px; }
.flow-step span:not(.flow-no) { color: var(--ink-faint); font-size: 12.5px; line-height: 1.55; }

/* ---------- 安全 ---------- */
.sec-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.sec-cell {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 22px 22px;
}
.sec-cell b { display: block; font-size: 15.5px; margin-bottom: 8px; color: var(--green-200); }
.sec-cell p { color: var(--ink-dim); font-size: 14px; }
.sec-quote {
  border-left: 3px solid var(--green-500); padding: 14px 20px;
  background: rgb(5 150 105 / 7%); border-radius: 0 12px 12px 0;
  color: var(--ink-dim); font-size: 15px;
}

/* ---------- CTA ---------- */
.cta-band { padding-bottom: 110px; }
.cta-inner {
  text-align: center; border: 1px solid var(--card-line); border-radius: 20px;
  padding: 56px 32px;
  background:
    radial-gradient(600px 200px at 50% -40%, rgb(5 150 105 / 22%), transparent 70%),
    var(--card);
}
.cta-inner h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.cta-inner p { color: var(--ink-dim); margin-bottom: 28px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid rgb(110 231 183 / 10%); padding: 30px 0 36px; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.foot-line { color: var(--ink-faint); font-size: 13px; }
.foot-copy { margin-left: auto; color: var(--ink-faint); font-size: 13px; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; min-height: 0; }
  .hero-visual { order: -1; }
  .orbit-svg { width: 240px; height: 240px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .sec-grid3 { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .topbar-inner { gap: 14px; }
  .foot-copy { margin-left: 0; }
  .hero-badge { font-size: 11px; letter-spacing: 1px; padding: 5px 13px; }
  .hero-head { font-size: 28px; }
}
