/* FusionCloud 融合云盘 — marketing site shared styles */
:root {
  --bg: #0b1020;
  --bg-soft: #11182e;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --line: #e2e8f0;
  --brand: #4f6bff;
  --brand-2: #7c3aed;
  --brand-ink: #3b4ce0;
  --accent: #06b6d4;
  --ok: #16a34a;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-soft); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 16px;
  box-shadow: 0 6px 16px -4px rgba(79, 107, 255, .6);
}
.brand small { font-weight: 600; color: var(--ink-faint); font-size: 12px; letter-spacing: .12em; }
.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 24px -10px rgba(79, 107, 255, .8); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); color: #e8edff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(79, 107, 255, .35), transparent 60%),
    radial-gradient(50% 50% at 90% 20%, rgba(124, 58, 237, .30), transparent 60%),
    radial-gradient(60% 60% at 70% 100%, rgba(6, 182, 212, .20), transparent 60%);
}
.hero .container { position: relative; padding: 96px 24px 88px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px; font-weight: 600; color: #c7d2fe; letter-spacing: .04em; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.1; margin: 0 0 18px; font-weight: 900; letter-spacing: -.02em; }
.hero h1 .grad { background: linear-gradient(120deg, #8ea2ff, #c4b5fd 55%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 2.4vw, 21px); color: #b8c2e6; max-width: 720px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: #8b97c2; }

/* device mock */
.mock {
  margin: 56px auto 0; max-width: 880px; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14); background: #0e1530;
  box-shadow: var(--shadow-lg);
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #131b3a; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mock-bar .r { background: #ff5f57; } .mock-bar .y { background: #febc2e; } .mock-bar .g { background: #28c840; }
.mock-bar span { margin-left: 12px; font-size: 12px; color: #8b97c2; }
.mock-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; padding: 24px; }
.drive { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 16px 14px; text-align: left; }
.drive .ic { font-size: 26px; }
.drive b { display: block; color: #e8edff; margin-top: 8px; font-size: 14px; }
.drive small { color: #8b97c2; font-size: 12px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker { color: var(--brand-ink); font-weight: 800; letter-spacing: .12em; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 12px 0 14px; font-weight: 850; letter-spacing: -.01em; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* logos strip */
.logos { background: #f8fafc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.logos .row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: center; }
.cloud-pill { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 16px; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.cloud-pill .dot { width: 10px; height: 10px; border-radius: 50%; }
.logos .lead { text-align: center; color: var(--ink-faint); font-size: 13px; margin: 0 0 22px; letter-spacing: .1em; }

/* feature grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(79, 107, 255, .14), rgba(124, 58, 237, .14)); margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px; background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 900; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* why / split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.checklist li:last-child { border-bottom: none; }
.checklist .tick { color: var(--ok); font-weight: 900; flex: none; }
.panel { background: var(--bg); border-radius: var(--radius-lg); padding: 32px; color: #e8edff; box-shadow: var(--shadow-lg); }
.panel h4 { margin: 0 0 16px; color: #c7d2fe; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.kv { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.kv:last-child { border-bottom: none; }
.kv b { color: #fff; }
.kv span { color: #8b97c2; }
.kv code { overflow-wrap: anywhere; }

/* Docker/NAS guide */
.docker-guide {
  margin-top: 28px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 62%);
  box-shadow: var(--shadow);
  padding: 32px;
}
.docker-guide-head { max-width: 860px; }
.docker-guide-head .kicker {
  display: inline-block;
  color: var(--brand-ink);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.docker-guide h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.25; }
.docker-guide p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.docker-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.45fr);
  gap: 16px;
  margin-top: 22px;
}
.docker-step {
  min-width: 0;
  background: rgba(255, 255, 255, .86);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 18px;
}
.docker-step b { display: block; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.docker-step pre {
  margin: 10px 0 0;
  padding: 12px;
  overflow-x: auto;
  border-radius: 12px;
  background: #0b1020;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.55;
}
.docker-step pre code {
  display: block;
  min-width: max-content;
}
.docker-step code,
.docker-result code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.docker-result {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: var(--ink-soft);
}
.docker-result b { flex: none; color: #0e7490; }
.docker-result span { min-width: 0; }

.release-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: -20px 0 28px;
  padding: 22px 24px;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ecfeff 0%, #eff6ff 100%);
  box-shadow: var(--shadow);
}
.release-notice .kicker {
  display: inline-block;
  color: #0e7490;
  font-weight: 800;
  letter-spacing: .1em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.release-notice h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.3; }
.release-notice p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 860px; margin: 0 auto; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: 22px; right: 22px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 22px; }
.plan .price { font-size: 40px; font-weight: 900; letter-spacing: -.02em; margin: 12px 0 4px; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--ink-faint); }
.plan .sub { color: var(--ink-soft); margin: 0 0 22px; font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plan ul li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; display: flex; gap: 10px; }
.plan ul li:last-child { border-bottom: none; }
.plan ul li::before { content: "✓"; color: var(--ok); font-weight: 900; }
.plan ul li.off { color: var(--ink-faint); }
.plan ul li.off::before { content: "—"; color: var(--ink-faint); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; margin-bottom: 14px; background: #fff; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-ink); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }

/* cta band */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 12px; font-weight: 850; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0 0 26px; font-size: 17px; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* footer */
footer { background: var(--bg); color: #97a3c9; padding: 60px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .brand { color: #fff; }
footer h5 { color: #e8edff; font-size: 14px; margin: 0 0 14px; letter-spacing: .06em; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 10px; }
footer a { color: #97a3c9; font-size: 14px; }
footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; font-size: 13px; color: #6b7699; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot-bottom a { color: #6b7699; }

/* legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 0 40px; }
.legal h1 { font-size: 32px; margin: 0 0 6px; }
.legal .updated { color: var(--ink-faint); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal .back { display: inline-block; margin-bottom: 28px; font-weight: 600; }

@media (max-width: 880px) {
  .nav-links a:not(.btn) { display: none; }
  .grid-3, .grid-2, .steps, .pricing, .split, .foot-grid { grid-template-columns: 1fr; }
  .docker-guide { padding: 24px; }
  .docker-guide-grid { grid-template-columns: minmax(0, 1fr); }
  .docker-result { display: block; }
  .docker-result b { display: block; margin-bottom: 6px; }
  .release-notice { grid-template-columns: 1fr; margin-top: -12px; }
  .release-notice .btn { justify-content: center; }
  .kv { display: block; }
  .kv span { display: block; margin-bottom: 4px; }
  .kv b { display: block; }
  .cta-band { padding: 40px 24px; }
  section { padding: 60px 0; }
}

/* 天翼云盘访问码醒目徽章 */
.code-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 0 0 12px; padding: 10px 12px;
  background: #fffbeb; border: 1.5px solid #f59e0b; border-radius: 12px;
}
.code-badge .lbl { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.code-badge .val {
  font-size: 24px; font-weight: 800; letter-spacing: 4px; line-height: 1;
  color: #b45309; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
