/* ===========================================================
   智衍芸商 · 官网样式
   纯静态，无外部依赖
   =========================================================== */

:root {
  --navy-950: #04091a;
  --navy-900: #061127;
  --navy-850: #081733;
  --navy-800: #0a1c3a;
  --navy-700: #0e2a52;
  --navy-600: #123a6e;
  --cyan: #38d7ff;
  --cyan-soft: #7ce8ff;
  --cyan-deep: #1a9fd4;
  --text: #e9f3ff;
  --text-muted: #9db4d0;
  --line: rgba(56, 215, 255, 0.16);
  --line-strong: rgba(56, 215, 255, 0.34);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(2, 10, 26, 0.55);
  --max: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--navy-950);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(56, 215, 255, 0.16), transparent 60%),
    radial-gradient(760px 480px at 92% 4%, rgba(26, 159, 212, 0.14), transparent 62%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 55%, var(--navy-950) 100%);
  z-index: -1;
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-soft); }

h1, h2, h3 { line-height: 1.3; margin: 0 0 12px; font-weight: 700; letter-spacing: 0.2px; }
h1 { font-size: clamp(30px, 4.4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cyan); color: #04101f; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 17, 39, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 14, 33, 0.92);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line-strong); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: 1px; }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--text-muted); letter-spacing: .5px; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: var(--text-muted); font-size: 14.5px; padding: 9px 12px; border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover { color: var(--text); background: rgba(56, 215, 255, 0.08); }
.site-nav .nav-cta {
  color: #04121f; background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  font-weight: 600; padding: 9px 16px; margin-left: 6px;
}
.site-nav .nav-cta:hover { color: #04121f; filter: brightness(1.08); }

.nav-toggle {
  display: none; width: 42px; height: 38px; border: 1px solid var(--line);
  border-radius: 9px; background: rgba(56, 215, 255, 0.06); cursor: pointer; padding: 9px 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(56, 215, 255, .35) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 18%, rgba(56, 215, 255, .28) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 62%, rgba(56, 215, 255, .22) 0 2px, transparent 3px),
    radial-gradient(circle at 34% 78%, rgba(56, 215, 255, .22) 0 2px, transparent 3px);
  background-size: 420px 420px, 520px 520px, 460px 460px, 380px 380px;
  opacity: .5; pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 46px; align-items: center;
}

.eyebrow {
  font-size: 12.5px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 10px; font-weight: 600;
}
.accent {
  background: linear-gradient(120deg, var(--cyan-soft), var(--cyan), var(--cyan-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--text-muted); font-size: 16.5px; max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, filter .18s ease, background .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)); color: #04121f; }
.btn-primary:hover { color: #04121f; filter: brightness(1.08); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(56, 215, 255, 0.05); }
.btn-ghost:hover { color: var(--text); background: rgba(56, 215, 255, 0.12); }
.btn-block { width: 100%; }

.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { position: relative; padding-left: 18px; color: var(--text-muted); font-size: 14.5px; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}

.hero-card {
  background: linear-gradient(160deg, rgba(14, 42, 82, .92), rgba(6, 17, 39, .94));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px;
  box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.card-head .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(56, 215, 255, .35); }
.card-head .dot:first-child { background: var(--cyan); }
.card-title { margin-left: 6px; font-size: 13px; color: var(--text-muted); letter-spacing: .8px; }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric {
  background: rgba(56, 215, 255, 0.05); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 11px 12px; display: flex; flex-direction: column; gap: 2px;
}
.m-label { font-size: 12px; color: var(--text-muted); }
.metric strong { font-size: 20px; letter-spacing: .5px; }
.metric em { font-style: normal; font-size: 12px; }
.metric .up { color: #4ce0a5; }
.metric .down { color: #ff9b8a; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin: 16px 2px 8px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(26, 159, 212, .18));
  opacity: .85;
}
.card-foot { margin: 0; font-size: 11.5px; color: rgba(157, 180, 208, .75); text-align: right; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: rgba(8, 23, 51, 0.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-desc { color: var(--text-muted); font-size: 16px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(165deg, rgba(14, 42, 82, .55), rgba(8, 23, 51, .72));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card p { color: var(--text-muted); font-size: 14.8px; margin: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px;
  font-size: 14px; font-weight: 700; color: var(--cyan);
  background: rgba(56, 215, 255, 0.1); border: 1px solid var(--line-strong);
}

.feature {
  background: rgba(6, 17, 39, .55); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.feature h3 { color: var(--cyan-soft); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 7px 0 7px 24px; color: var(--text-muted); font-size: 15px; border-bottom: 1px dashed rgba(56, 215, 255, .12); }
.list li:last-child { border-bottom: 0; }
.list li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; color: var(--cyan); font-weight: 700;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.stat {
  text-align: center; padding: 18px 12px; border-radius: var(--radius-sm);
  background: rgba(56, 215, 255, 0.05); border: 1px solid var(--line);
}
.stat strong { display: block; font-size: 16px; color: var(--text); }
.stat span { font-size: 13px; color: var(--text-muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li {
  position: relative; padding: 24px 20px;
  background: linear-gradient(165deg, rgba(14, 42, 82, .5), rgba(8, 23, 51, .7));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.step-no {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--cyan); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 2px 10px; margin-bottom: 12px; background: rgba(56, 215, 255, .08);
}
.steps p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Security mini cards ---------- */
.mini {
  padding: 22px 20px; border-radius: var(--radius);
  background: rgba(6, 17, 39, .5); border: 1px solid var(--line);
}
.mini h3 { font-size: 16.5px; color: var(--cyan-soft); }
.mini p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.about-text p { color: var(--text-muted); font-size: 15.5px; }
.about-card {
  background: rgba(8, 23, 51, .6); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.about-card h3 { color: var(--cyan-soft); }
.about-name {
  margin: 0 0 16px; font-size: 17.5px; font-weight: 600; letter-spacing: .4px; line-height: 1.5;
}
.about-facts { list-style: none; margin: 0; padding: 0; }
.about-facts li {
  display: grid; grid-template-columns: 88px 1fr; gap: 10px;
  padding: 11px 0; border-top: 1px dashed rgba(56, 215, 255, .12); font-size: 14.6px;
}
.about-facts span { color: var(--text-muted); }
.about-facts em { font-style: normal; color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { align-items: start; }
.contact-list { list-style: none; margin: 0 0 16px; padding: 0; }
.contact-list li {
  display: grid; grid-template-columns: 92px 1fr; gap: 10px;
  padding: 13px 0; border-bottom: 1px dashed rgba(56, 215, 255, .12); font-size: 15px;
}
.contact-list span { color: var(--text-muted); }
.contact-list em { font-style: normal; }

.contact-tip {
  margin: 4px 0 0; font-size: 14px; color: var(--text-muted);
  padding-top: 14px; border-top: 1px dashed rgba(56, 215, 255, .12);
}

.contact-form {
  background: rgba(8, 23, 51, .6); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 7px; }
.field label i { color: var(--cyan); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; font-family: inherit; font-size: 15px;
  color: var(--text); background: rgba(4, 9, 26, .7);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(157, 180, 208, .6); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(56, 215, 255, .12);
}
.field.invalid input, .field.invalid textarea { border-color: #ff8a7a; }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); }
.form-note.ok { color: #4ce0a5; }
.form-note.err { color: #ff9b8a; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(4, 9, 26, .8); padding: 40px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 24px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 11px; }
.footer-brand strong { display: block; letter-spacing: 1px; }
.footer-brand p { margin: 0; font-size: 13px; color: var(--text-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-nav a { color: var(--text-muted); font-size: 14px; }
.footer-meta { font-size: 13px; color: var(--text-muted); text-align: right; }
.footer-meta p { margin: 0 0 6px; }

/* ---------- 动效（渐进增强） ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { max-width: 520px; }
  .grid-3, .grid-4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(5, 14, 33, .98); border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .site-nav .nav-cta { margin-left: 0; text-align: center; }
  .section { padding: 58px 0; }
  .hero { padding: 54px 0 46px; }
  .grid-2, .grid-3, .grid-4, .steps, .stats { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .about-facts li { grid-template-columns: 1fr; gap: 2px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
}

@media (max-width: 400px) {
  .metrics { grid-template-columns: 1fr; }
}
