/*
  Of video — 静态站点样式
*/
:root {
  --bg: #0b1220;
  --bg-soft: #0e182b;
  --panel: #0f1c34;
  --text: #e6eefb;
  --muted: #9fb0d1;
  --primary: #6ea8ff;
  --primary-600: #4a90ff;
  --accent: #9b8cff;
  --success: #52d1a5;
  --danger: #ff6a7a;
  --warning: #ffcf66;
  --border: #1f2c49;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(110,168,255,0.15), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(155,140,255,0.12), transparent 55%),
              linear-gradient(180deg, #0b1220 0%, #0b1220 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
.skip-link:focus {
  left: 24px; top: 24px;
  background: var(--panel);
  padding: 8px 12px;
  border-radius: 8px;
  outline: 2px solid var(--primary);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(11,18,32,0.65);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand .logo {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0b1220; font-weight: 800;
}
.brand-text { letter-spacing: 0.2px; }
.brand-badge { margin-left: 4px; color: var(--muted); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 16px; }
.menu { display: flex; list-style: none; gap: 20px; padding: 0; margin: 0; }
.menu a { color: var(--muted); }
.menu a:hover { color: var(--text); }
.menu .divider { width: 1px; background: var(--border); margin: 0 6px; }
.link-muted { color: var(--muted); }

.header-cta { display: none; gap: 10px; }

.nav-toggle { display: none; background: none; border: 0; padding: 6px; }
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 8px 14px; border: 1px solid transparent; font-weight: 600; }
.btn-lg { padding: 12px 18px; font-size: 16px; }
.btn-primary { color: #0b1220; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,0.04); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-outline { color: var(--text); border-color: var(--border); background: transparent; }
.btn-outline:hover { border-color: var(--text); }

/* Sections */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 28px; margin: 0 0 10px; }
.section-header p { color: var(--muted); margin: 0; }

/* Hero */
.hero { padding-top: 96px; }
.eyebrow { display: inline-block; color: var(--muted); border: 1px solid var(--border); padding: 6px 10px; border-radius: 999px; margin-bottom: 14px; font-size: 13px; }
.headline { font-size: 40px; line-height: 1.08; margin: 0 0 12px; }
.gradient { background: linear-gradient(90deg, #E6EEFB 0%, #9FB0D1 50%, #E6EEFB 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subhead { color: var(--muted); font-size: 18px; max-width: 820px; }
.hero-inner { text-align: center; display: grid; gap: 24px; justify-items: center; }
.hero-cta { display: flex; gap: 12px; }

.hero-media { width: 100%; margin-top: 12px; }
.canvas { position: relative; width: 100%; max-width: 880px; height: 320px; margin: 0 auto; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.canvas::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 80% -20%, rgba(110,168,255,0.15), transparent 55%); pointer-events: none; }
.node { position: absolute; top: 50%; transform: translateY(-50%); background: var(--panel); border: 1px solid var(--border); padding: 10px 14px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.node:nth-child(1) { left: 40px; }
.node:nth-child(2) { left: 280px; }
.node:nth-child(3) { left: 520px; }
.node:nth-child(4) { left: 760px; }
.node .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(82,209,165,0.2); }

.trustbar { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 12px; }
.trustbar-label { color: var(--muted); font-size: 14px; }
.trust-logos { display: flex; gap: 10px; flex-wrap: wrap; }
.logo-pill { border: 1px solid var(--border); padding: 6px 10px; border-radius: 999px; color: var(--muted); font-size: 13px; }

/* Grid */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Cards */
.card { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.card.feature .icon { font-size: 20px; }
.card.solution ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.card.plan { position: relative; display: grid; gap: 12px; }
.card.plan .plan-header { display: grid; gap: 6px; }
.card.plan .price { font-size: 28px; font-weight: 700; }
.card.plan .price span { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.card.plan .features-list { margin: 4px 0 8px; padding-left: 18px; color: var(--muted); }
.card.plan.popular { border-color: rgba(110,168,255,0.5); box-shadow: 0 10px 40px rgba(110,168,255,0.15); }
.card.plan .badge { position: absolute; right: 16px; top: -12px; font-size: 12px; background: linear-gradient(90deg, var(--primary), var(--accent)); color: #0b1220; border-radius: 999px; padding: 5px 10px; font-weight: 700; }

/* Testimonials */
.quote blockquote { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.quote figcaption { color: var(--muted); }

/* FAQ */
.accordion .item { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; }
.accordion .item + .item { margin-top: 10px; }
.accordion summary { list-style: none; cursor: pointer; font-weight: 600; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion .answer { color: var(--muted); padding-top: 6px; }

/* CTA */
.cta .cta-inner { text-align: center; display: grid; gap: 10px; }

/* Forms */
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 14px; color: var(--muted); font-weight: 600; }
.form input, .form textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  outline: none;
}
.form input::placeholder, .form textarea::placeholder { color: #7f91b3; }
.form input:focus, .form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(110,168,255,0.15); }
.form .full { grid-column: 1 / -1; }
.form .form-actions { display: flex; align-items: center; gap: 10px; }

.contact .section-header p { margin-top: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.25fr 2fr; gap: 24px; padding: 28px 0; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.footer-links h4 { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 24px; border-top: 1px solid var(--border); }
.brand-footer .logo { width: 28px; height: 28px; }
.muted { color: var(--muted); }
.socials { display: flex; gap: 8px; }
.social { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); font-size: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .node:nth-child(4) { display: none; }
}

@media (max-width: 768px) {
  .site-nav .menu { position: absolute; left: 0; right: 0; top: 64px; background: rgba(11,18,32,0.9); border-bottom: 1px solid var(--border); display: none; padding: 16px 20px; }
  .site-nav .menu.open { display: grid; gap: 12px; }
  .menu .divider { display: none; }
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .headline { font-size: 34px; }
  .canvas { height: 260px; }
  .node:nth-child(3) { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .header-cta { display: inline-flex; }
}
