/* ==========================================================================
   DFCine WordPress Theme — Main Stylesheet
   ========================================================================== */

/* 浅色科技风配色表（优化版 · 文字对比度均 ≥ 4.5:1）
   文字：--text #102b36 / --muted #35535f / --subtle #486672
   主色：--cyan #0e7490（青）/ --mint #047857（翠绿）
   加深强调色：--cyan-deep #07566d / --mint-deep #036049
   表面：--surface #ffffff / --bg #f5fafc / --bg-soft #ecf4f8
   浅色调：--cyan-tint #e3f2f7 / --mint-tint #e3f4eb
   渐变：--grad-primary / --grad-cyan / --grad-mint / --grad-featured
   描边：--line rgba(16,43,54,.13) / 阴影：--shadow-soft
*/
:root {
  color-scheme: light;
  --bg: #f5fafc;
  --bg-soft: #ecf4f8;
  --surface: #ffffff;
  --text: #102b36;
  --muted: #35535f;
  --subtle: #486672;
  --line: rgba(16, 43, 54, 0.13);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.95);
  --cyan: #0e7490;
  --cyan-deep: #07566d;
  --cyan-tint: #e3f2f7;
  --mint: #047857;
  --mint-deep: #036049;
  --mint-tint: #e3f4eb;
  --grad-primary: linear-gradient(135deg, #e6f6fa 0%, #c4e9f2 46%, #c8eedd 100%);
  --grad-cyan: linear-gradient(135deg, #0e7490, #0a6880);
  --grad-mint: linear-gradient(135deg, #047857, #036a4f);
  --grad-featured: linear-gradient(165deg, rgba(227, 244, 235, 0.96), rgba(227, 242, 247, 0.92));
  --ink: #102b36;
  --shadow: 0 24px 70px rgba(16, 43, 54, 0.12);
  --shadow-soft: 0 10px 30px rgba(16, 43, 54, 0.08);
  --max: 1180px;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:92px;
  background:var(--bg);
}

body {
  min-width:320px;
  margin:0;
  color:var(--text);
  background:radial-gradient(circle at 72% 6%, rgba(14, 116, 144, 0.16), transparent 36rem),
    radial-gradient(circle at 6% 40%, rgba(4, 120, 87, 0.1), transparent 32rem),
    radial-gradient(circle at 88% 78%, rgba(14, 116, 144, 0.06), transparent 28rem),
    linear-gradient(180deg, #f7fcfd 0%, #ffffff 52%, #f5fafc 100%);
  -webkit-font-smoothing:antialiased;
}

body.dfc-modal-open,
body.dfc-nav-open {
  overflow:hidden;
}

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

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
}

ul {
  list-style:none;
  margin:0;
  padding:0;
}

p {
  margin:0 0 1em;
}

::selection {
  background:rgba(14, 116, 144, 0.28);
  color:#102b36;
}

.skip-link {
  position:fixed;
  top:-60px;
  left:12px;
  z-index:100;
  padding:10px 16px;
  border-radius:8px;
  background:var(--cyan);
  color: #fff;
  font-weight:700;
  transition:top 180ms ease;
}
.skip-link:focus {
  top:12px;
}

:focus-visible {
  outline:2px solid var(--cyan);
  outline-offset:3px;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position:fixed;
  inset:0 0 auto;
  z-index:40;
  padding:22px clamp(18px, 3vw, 44px);
  transition:padding 220ms ease, background 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding-top:12px;
  padding-bottom:12px;
  background:rgba(255, 255, 255, 0.94);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(16, 43, 54, 0.06);
}

.nav-shell {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:min(100%, 1720px);
  min-height:42px;
  margin:0 auto;
}

.nav-left,
.nav-panel,
.nav-actions,
.hero-actions {
  display:flex;
  align-items:center;
}

.nav-left {
  gap:42px;
  min-width:0;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:42px;
  min-width:max-content;
  font-size:1.05rem;
  font-weight:850;
  line-height:42px;
}
.brand img {
  width:auto;
  height:26px;
  object-fit:contain;
}
.brand span {
  display:inline-flex;
  align-items:center;
  height:42px;
  line-height:1;
}

.nav-panel {
  justify-content:center;
  gap:34px;
  height:42px;
}

.dfc-menu-list {
  display:flex;
  align-items:center;
  gap:34px;
}

.nav-panel a,
.nav-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  color:var(--text);
  font-size:0.92rem;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  transition:color 180ms ease;
}
.nav-panel a:hover,
.nav-panel a.is-active,
.nav-link:hover {
  color:var(--cyan);
}

.nav-actions {
  justify-content:flex-end;
  gap:32px;
  height:42px;
}

.nav-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  width:38px;
  height:38px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(16, 43, 54, 0.04);
  cursor:pointer;
}
.nav-toggle span {
  display:block;
  width:100%;
  height:2px;
  border-radius:2px;
  background:#102b36;
  transition:transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform:translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity:0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform:translateY(-7px) rotate(-45deg);
}

/* 按钮 */
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:0 22px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:0.88rem;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  transition:transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover {
  transform:translateY(-1px);
}
.button svg {
  width:18px;
  height:18px;
}
.button-small {
  min-height:42px;
  padding:0 18px;
  font-size:0.9rem;
}
.button-primary {
  color:#fff;
  background:var(--grad-cyan);
  box-shadow:0 12px 34px rgba(14, 116, 144, 0.26);
}
.button-primary:hover {
  box-shadow:0 16px 40px rgba(14, 116, 144, 0.34);
}
.button-secondary {
  color:var(--text);
  border-color:rgba(16, 43, 54, 0.22);
  background:rgba(16, 43, 54, 0.08);
  backdrop-filter:blur(8px);
}
.button-secondary:hover {
  border-color:rgba(16, 43, 54, 0.42);
  background:rgba(16, 43, 54, 0.14);
}

/* --------------------------------------------------------------------------
   通用区块标题
   -------------------------------------------------------------------------- */
.section-kicker {
  margin:0 0 16px;
  color:var(--cyan);
  font-size:0.72rem;
  font-weight:900;
  letter-spacing:0.12em;
  text-transform:uppercase;
}

.section-title {
  margin:0 0 48px;
  font-size:clamp(1.8rem, 3.4vw, 3.1rem);
  font-weight:850;
  line-height:1.18;
  letter-spacing:-0.02em;
  text-wrap:balance;
}
.section-title span {
  color:var(--cyan);
}
.section-title small {
  display:block;
  margin-top:10px;
  color:var(--muted);
  font-size:clamp(1rem, 1.8vw, 1.35rem);
  font-weight:600;
}

.reveal {
  opacity:0;
  transform:translateY(26px);
  transition:opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity:1;
  transform:none;
}

/* --------------------------------------------------------------------------
   首屏
   -------------------------------------------------------------------------- */
.hero {
  position:relative;
  min-height:92svh;
  overflow:hidden;
  isolation:isolate;
  border-bottom:1px solid rgba(16, 43, 54, 0.1);
}

.hero-media {
  position:absolute;
  inset:0;
  z-index:-2;
  overflow:hidden;
  background:#f5fafc;
}
.hero-poster {
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  filter:saturate(1.05);
}
.hero-video {
  position:relative;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:brightness(1.02) contrast(1.08) saturate(1.05);
}
.hero::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(248, 251, 253, 0.94) 0%, rgba(248, 251, 253, 0.82) 22%, rgba(248, 251, 253, 0.55) 46%, rgba(248, 251, 253, 0.1) 66%),
    linear-gradient(0deg, rgba(248, 251, 253, 0.85), transparent 34%);
}

.hero-inner {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:min(100% - clamp(32px, 6vw, 92px), 1680px);
  min-height:92svh;
  margin:0 auto;
  padding:180px 0 154px;
}

.hero-kicker {
  position:absolute;
  right:0;
  bottom:clamp(54px, 7vh, 96px);
  margin:0;
  color: var(--mint-deep);
  font-size:0.74rem;
  font-weight:800;
  letter-spacing:0.1em;
  text-align:right;
  text-shadow:0 10px 28px rgba(0, 0, 0, 0.62);
}

.hero h1 {
  max-width:14ch;
  margin:0;
  font-size:clamp(3.1rem, 6.4vw, 6.4rem);
  font-weight:850;
  line-height:1;
  letter-spacing:-0.03em;
  text-wrap:balance;
  text-shadow:0 12px 42px rgba(16, 43, 54, 0.16);
}

.hero-subtitle {
  max-width:650px;
  margin:24px 0 0;
  color:var(--text);
  font-size:clamp(1.1rem, 1.8vw, 1.38rem);
  font-weight:800;
  line-height:1.45;
}

.hero-copy {
  max-width:640px;
  margin:12px 0 0;
  color:var(--muted);
  font-size:clamp(0.95rem, 1.4vw, 1.1rem);
  line-height:1.85;
}

.hero-actions {
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}

.hero-compatibility {
  display:flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  max-width:680px;
  margin-top:26px;
  color:var(--text);
  font-size:0.82rem;
  font-weight:600;
  flex-wrap:wrap;
}
.hero-compatibility i {
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--mint);
  opacity:0.8;
}

.hero-scroll {
  position:absolute;
  left:50%;
  bottom:28px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  transform:translateX(-50%);
  color: var(--subtle);
  font-size:0.6rem;
  font-weight:800;
  letter-spacing:0.3em;
}
.hero-scroll i {
  width:1px;
  height:34px;
  background:linear-gradient(180deg, transparent, rgba(14, 116, 144, 0.8));
  animation:scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity:0.3; transform:scaleY(0.6); }
  50% { opacity:1; transform:scaleY(1); }
}

/* --------------------------------------------------------------------------
   快速开始
   -------------------------------------------------------------------------- */
.quickstart {
  padding:clamp(80px, 10vw, 140px) 24px;
}
.quickstart-shell {
  width:min(100%, var(--max));
  margin:0 auto;
}
.quickstart-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:38px;
}
.quickstart-heading h2 {
  margin:0;
  font-size:clamp(1.7rem, 3vw, 2.6rem);
  font-weight:850;
  line-height:1.2;
}
.quickstart-heading h2 span {
  color:var(--cyan);
}
.quickstart-heading > span {
  color:var(--subtle);
  font-size:0.9rem;
  line-height:1.6;
}

.quickstart-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.quickstart-card {
  display:block;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--glass);
  transition:transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.quickstart-card:hover {
  transform:translateY(-5px);
  border-color:rgba(14, 116, 144, 0.45);
  box-shadow:0 24px 60px rgba(16, 43, 54, 0.18);
}
.quickstart-cover {
  position:relative;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:#e6f0f4;
}
.quickstart-cover img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 500ms ease;
}
.quickstart-card:hover .quickstart-cover img {
  transform:scale(1.045);
}
.quickstart-play {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  margin:auto;
  width:54px;
  height:54px;
  border:1px solid rgba(16, 43, 54, 0.4);
  border-radius:50%;
  background:rgba(16, 43, 54, 0.72);
  backdrop-filter:blur(6px);
  color: #fff;
  transition:background 220ms ease, transform 220ms ease;
}
.quickstart-play svg {
  width:22px;
  height:22px;
  margin-left:2px;
}
.quickstart-card:hover .quickstart-play {
  transform:scale(1.08);
  background:rgba(14, 116, 144, 0.28);
}
.quickstart-card-body {
  padding:20px 22px 24px;
}
.quickstart-card-body h3 {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:8px;
  margin:0;
  font-size:1.02rem;
}
.quickstart-card-body strong {
  font-weight:800;
}
.quickstart-card-body span {
  color:var(--cyan);
  font-size:0.82rem;
  font-weight:700;
}

/* --------------------------------------------------------------------------
   核心优势
   -------------------------------------------------------------------------- */
.feature-showcase {
  padding:clamp(70px, 9vw, 130px) 24px;
  border-top:1px solid rgba(16, 43, 54, 0.05);
  border-bottom:1px solid rgba(16, 43, 54, 0.05);
  background:linear-gradient(180deg, rgba(238, 247, 250, 0.4), rgba(238, 247, 250, 0.8));
}
.feature-shell {
  width:min(100%, 1280px);
  margin:0 auto;
}
.feature-card-grid {
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}
.feature-card {
  padding:30px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(227, 242, 247, 0.7));
  box-shadow:var(--shadow);
}
.feature-card h3 {
  margin:0 0 24px;
  font-size:clamp(1.15rem, 2vw, 1.5rem);
  font-weight:800;
  line-height:1.4;
}
.feature-visual {
  display:grid;
  place-items:center;
  min-height:220px;
  padding:18px;
  border:1px solid rgba(14, 116, 144, 0.1);
  border-radius:14px;
  background:radial-gradient(circle at 50% 40%, rgba(14, 116, 144, 0.08), transparent 70%), #f2f8fa;
  overflow:hidden;
}
.feature-visual img {
  width:100%;
  max-height:230px;
  object-fit:contain;
}
.feature-use-cases {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.feature-use-cases span {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border:1px solid rgba(16, 43, 54, 0.1);
  border-radius:999px;
  background:rgba(16, 43, 54, 0.04);
  color:var(--text);
  font-size:0.78rem;
  font-weight:700;
}
.feature-use-cases svg {
  width:14px;
  height:14px;
  color:var(--mint);
}

/* --------------------------------------------------------------------------
   安装步骤
   -------------------------------------------------------------------------- */
.install-steps {
  padding:clamp(80px, 10vw, 140px) 24px;
}
.install-shell {
  width:min(100%, var(--max));
  margin:0 auto;
}
.install-tabs {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin-bottom:30px;
}
.install-tab {
  display:flex;
  align-items:center;
  gap:14px;
  min-height:64px;
  padding:0 22px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(16, 43, 54, 0.03);
  color:var(--muted);
  font-size:0.98rem;
  font-weight:750;
  text-align:left;
  cursor:pointer;
  transition:all 220ms ease;
}
.install-tab span {
  color:var(--subtle);
  font-size:1.5rem;
  font-weight:850;
  line-height:1;
}
.install-tab:hover {
  border-color:rgba(14, 116, 144, 0.35);
  color:var(--text);
}
.install-tab.is-active {
  border-color:rgba(14, 116, 144, 0.55);
  background:linear-gradient(120deg, rgba(14, 116, 144, 0.16), rgba(4, 120, 87, 0.08));
  color:#102b36;
  box-shadow:inset 0 0 0 1px rgba(14, 116, 144, 0.08);
}
.install-tab.is-active span {
  color:var(--cyan);
}

.install-stage {
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 250, 0.8));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.install-panel {
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:0;
  align-items:center;
  min-height:450px;
}
.install-panel[hidden] {
  display:none;
}
.install-panel.is-active {
  animation:panel-in 400ms ease both;
}
@keyframes panel-in {
  from { opacity:0; transform:translateY(10px); }
  to { opacity:1; transform:none; }
}
.install-copy {
  padding:clamp(30px, 4vw, 60px);
}
.install-title-row {
  display:flex;
  align-items:baseline;
  gap:16px;
}
.install-index {
  color:var(--cyan);
  font-size:clamp(2.6rem, 5vw, 4.4rem);
  font-weight:850;
  line-height:1;
  letter-spacing:-0.04em;
}
.install-title-row h3 {
  margin:0;
  font-size:clamp(1.4rem, 2.4vw, 2rem);
  font-weight:850;
}
.install-subtitle {
  margin:18px 0 12px;
  color:var(--text);
  font-size:1.02rem;
  font-weight:700;
}
.install-description {
  max-width:44ch;
  color:var(--muted);
  font-size:0.95rem;
  line-height:1.85;
}
.install-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  margin-top:30px;
}
.install-button {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  background:var(--grad-cyan);
  color:#fff;
  font-size:0.9rem;
  font-weight:800;
  box-shadow:0 12px 30px rgba(14, 116, 144, 0.2);
  transition:transform 180ms ease, box-shadow 180ms ease;
}
.install-button:hover {
  transform:translateY(-2px);
  box-shadow:0 16px 38px rgba(14, 116, 144, 0.32);
}
.install-button svg {
  width:18px;
  height:18px;
}
.install-platforms,
.install-actions p {
  color:var(--subtle);
  font-size:0.82rem;
}
.install-actions a:not(.install-button) {
  color:var(--cyan);
  text-decoration:underline;
  text-underline-offset:3px;
}
.install-preview {
  align-self:stretch;
  min-height:100%;
  padding:26px 26px 0 0;
  background:radial-gradient(circle at 70% 50%, rgba(14, 116, 144, 0.09), transparent 60%);
}
.install-preview img {
  width:100%;
  height:100%;
  min-height:380px;
  object-fit:cover;
  border:1px solid rgba(16, 43, 54, 0.1);
  border-radius:16px 0 0 0;
  background:#e8f1f5;
}

/* --------------------------------------------------------------------------
   作品展示
   -------------------------------------------------------------------------- */
.works-showcase {
  padding:clamp(80px, 10vw, 140px) 24px;
  border-top:1px solid rgba(16, 43, 54, 0.05);
}
.works-shell {
  width:min(100%, 1280px);
  margin:0 auto;
}
.works-heading {
  margin-bottom:42px;
}
.works-heading h2 {
  margin:0;
  font-size:clamp(1.9rem, 3.4vw, 3rem);
  font-weight:850;
  line-height:1.2;
}
.works-heading h2 span {
  color:var(--cyan);
}
.works-heading p {
  margin:14px 0 0;
  color:var(--muted);
  font-size:1rem;
}
.works-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.work-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--glass);
  transition:transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.work-card:hover {
  transform:translateY(-4px);
  border-color:rgba(4, 120, 87, 0.4);
  box-shadow:0 24px 60px rgba(16, 43, 54, 0.18);
}
.work-media {
  position:relative;
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#f2f8fa;
}
.work-media img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 500ms ease, filter 500ms ease;
}
.work-card:hover .work-media img {
  transform:scale(1.06);
  filter:brightness(1.1);
}
.work-overlay {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, transparent 40%, rgba(16, 43, 54, 0.45));
  opacity:0;
  transition:opacity 240ms ease;
}
.work-overlay svg {
  width:36px;
  height:36px;
  padding:9px;
  border-radius:50%;
  background:var(--cyan-deep);
  color: #fff;
}
.work-card:hover .work-overlay {
  opacity:1;
}
.work-body {
  padding:18px 20px 22px;
}
.work-body h3 {
  margin:0 0 6px;
  font-size:1rem;
  font-weight:800;
}
.work-body p {
  margin:0;
  color:var(--subtle);
  font-size:0.82rem;
}
.works-action {
  display:flex;
  justify-content:center;
  margin-top:44px;
}
.works-more {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:0 22px;
  border:1px solid rgba(16, 43, 54, 0.22);
  border-radius:999px;
  color:var(--text);
  font-size:0.88rem;
  font-weight:750;
  transition:border-color 200ms ease, background 200ms ease;
}
.works-more svg {
  width:16px;
  height:16px;
  color:var(--cyan);
}
.works-more:hover {
  border-color:var(--cyan);
  background:rgba(14, 116, 144, 0.08);
}

/* 快速开始：更多教程按钮 */
.quickstart-action {
  display:flex;
  justify-content:center;
  margin-top:36px;
}
.quickstart-more {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:0 22px;
  border:1px solid rgba(16, 43, 54, 0.22);
  border-radius:999px;
  background:transparent;
  color:var(--text);
  font-size:0.88rem;
  font-weight:750;
  transition:border-color 200ms ease, background 200ms ease;
}
.quickstart-more svg {
  width:16px;
  height:16px;
  color:var(--cyan);
}
.quickstart-more:hover {
  border-color:var(--cyan);
  background:rgba(14, 116, 144, 0.08);
}

/* --------------------------------------------------------------------------
   课程路径
   -------------------------------------------------------------------------- */
.course-learning {
  padding:clamp(80px, 10vw, 140px) 24px;
  background:linear-gradient(180deg, rgba(248, 251, 253, 0.6), rgba(238, 247, 250, 0.55));
  border-top:1px solid rgba(16, 43, 54, 0.05);
}
.course-learning-shell {
  display:grid;
  grid-template-columns:0.82fr 1.18fr;
  gap:clamp(40px, 6vw, 90px);
  align-items:center;
  width:min(100%, 1280px);
  margin:0 auto;
}
.course-kicker {
  display:block;
  width:42px;
  height:3px;
  margin-bottom:20px;
  border-radius:3px;
  background:linear-gradient(90deg, var(--cyan), var(--mint));
}
.course-copy h2 {
  margin:0;
  font-size:clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight:850;
  line-height:1.28;
}
.course-brand {
  color:var(--cyan);
}
.course-copy > p {
  max-width:46ch;
  margin:20px 0 26px;
  color:var(--muted);
  line-height:1.85;
  font-size:0.96rem;
}
.course-tags {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.course-tag {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(16, 43, 54, 0.04);
  color:var(--text);
  font-size:0.8rem;
  font-weight:700;
}
.course-tag svg {
  width:15px;
  height:15px;
  color:var(--mint);
}
.course-button {
  display:inline-flex;
  align-items:center;
  min-height:48px;
  margin-top:34px;
  padding:0 24px;
  border-radius:999px;
  background:var(--grad-cyan);
  color:#fff;
  font-size:0.9rem;
  font-weight:800;
  box-shadow:0 12px 30px rgba(14, 116, 144, 0.2);
  transition:transform 180ms ease, box-shadow 180ms ease;
}
.course-button:hover {
  transform:translateY(-2px);
  box-shadow:0 16px 38px rgba(14, 116, 144, 0.32);
}

.course-track {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.course-card {
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--glass);
  transition:transform 240ms ease, border-color 240ms ease;
}
.course-card:hover {
  transform:translateY(-4px);
  border-color:rgba(14, 116, 144, 0.4);
}
.course-card-media {
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#f2f8fa;
}
.course-card-media img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 500ms ease;
}
.course-card:hover .course-card-media img {
  transform:scale(1.06);
}
.course-card-body {
  padding:18px;
}
.course-card-body h3 {
  margin:0 0 8px;
  font-size:1rem;
  font-weight:800;
}
.course-card-body p {
  margin:0;
  color:var(--subtle);
  font-size:0.8rem;
  line-height:1.65;
}
.course-play {
  position:absolute;
  inset:0;
  border-radius:16px;
}
.course-play::after {
  content:"";
  position:absolute;
  top:14px;
  right:14px;
  width:30px;
  height:30px;
  border:1px solid rgba(16, 43, 54, 0.35);
  border-radius:50%;
  background:rgba(16, 43, 54, 0.5);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='m9 7 8 5-8 5V7Z'/%3E%3C/svg%3E");
  background-size:16px;
  background-position:center;
  background-repeat:no-repeat;
}

/* --------------------------------------------------------------------------
   授权价格
   -------------------------------------------------------------------------- */
.pricing-section {
  padding:clamp(80px, 10vw, 150px) 24px clamp(70px, 8vw, 120px);
}
.pricing-shell {
  width:min(100%, 1320px);
  margin:0 auto;
}
.pricing-heading {
  margin-bottom:48px;
  text-align:center;
}
.pricing-heading h2 {
  margin:0;
  font-size:clamp(1.9rem, 3.4vw, 3rem);
  font-weight:850;
  line-height:1.2;
}
.pricing-heading p {
  margin:14px 0 0;
  color:var(--muted);
  font-size:0.98rem;
}
.pricing-grid {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  align-items:stretch;
}
.price-card {
  display:flex;
  flex-direction:column;
  padding:28px 24px 24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(170deg, rgba(255, 255, 255, 0.92), rgba(244, 250, 252, 0.86));
  transition:transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.price-card:hover {
  transform:translateY(-5px);
  border-color:rgba(14, 116, 144, 0.35);
  box-shadow:0 26px 60px rgba(16, 43, 54, 0.16);
}
.price-card-featured {
  position:relative;
  border-color:rgba(4, 120, 87, 0.48);
  background:linear-gradient(170deg, rgba(227, 244, 235, 0.96), rgba(227, 242, 247, 0.92));
  box-shadow:0 0 0 1px rgba(4, 120, 87, 0.12), 0 30px 70px rgba(16, 43, 54, 0.1);
}
.price-card-featured::before {
  content:"推荐";
  position:absolute;
  top:0;
  right:24px;
  padding:6px 12px;
  border-radius:0 0 10px 10px;
  background:var(--mint-deep);
  color:#fff;
  font-size:0.68rem;
  font-weight:850;
}
.price-label {
  color:var(--mint);
  font-size:0.76rem;
  font-weight:800;
  letter-spacing:0.04em;
}
.price-card-top h3 {
  margin:10px 0 12px;
  font-size:1.1rem;
  font-weight:800;
}
.price-value {
  margin:0;
  color:#102b36;
  font-size:clamp(2rem, 3vw, 2.6rem);
  font-weight:850;
  line-height:1.1;
  letter-spacing:-0.03em;
}
.price-value-text {
  font-size:1.5rem;
}
.price-value-button {
  padding:0;
  border:0;
  background:none;
  color:var(--cyan);
  cursor:pointer;
  text-align:left;
}
.price-features {
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:28px 0 30px;
  padding-top:24px;
  border-top:1px solid var(--line);
  flex:1;
}
.price-features li {
  display:flex;
  align-items:flex-start;
  gap:9px;
  color:var(--text);
  font-size:0.84rem;
  line-height:1.5;
}
.price-features svg {
  flex:0 0 auto;
  width:15px;
  height:15px;
  margin-top:2px;
  color:var(--mint);
}
.price-features .price-description {
  color:#102b36;
  font-weight:700;
}
.price-action {
  margin-top:auto;
}
.price-button {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  border:1px solid rgba(16, 43, 54, 0.24);
  border-radius:999px;
  background:rgba(16, 43, 54, 0.06);
  color:var(--text);
  font-size:0.86rem;
  font-weight:800;
  transition:background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.price-button:hover {
  transform:translateY(-1px);
  border-color:var(--cyan);
  background:rgba(14, 116, 144, 0.1);
}
.price-button-solid {
  border-color:transparent;
  background:var(--grad-cyan);
  color:#fff;
}
.price-button-solid:hover {
  background:linear-gradient(135deg, #ffffff, #a8dcec 48%, #a6e4c9);
}

.pricing-assurance {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:18px 44px;
  margin:48px 0 26px;
}
.pricing-assurance span {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--text);
  font-size:0.86rem;
  font-weight:650;
}
.pricing-assurance svg {
  width:18px;
  height:18px;
  color:var(--mint);
}
.pricing-product-note,
.pricing-note {
  max-width:900px;
  margin:0 auto;
  color:var(--subtle);
  font-size:0.78rem;
  line-height:1.75;
  text-align:center;
}
.pricing-note {
  margin-top:8px;
}

/* --------------------------------------------------------------------------
   弹窗与悬浮客服
   -------------------------------------------------------------------------- */
.dfc-modal[hidden] {
  display:none;
}
.dfc-modal {
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:20px;
}
.dfc-modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0, 4, 7, 0.78);
  backdrop-filter:blur(8px);
}
.dfc-modal-dialog {
  position:relative;
  z-index:1;
  width:min(100%, 860px);
  max-height:min(88vh, 860px);
  overflow:auto;
  padding:clamp(26px, 4vw, 44px);
  border:1px solid rgba(14, 116, 144, 0.24);
  border-radius:24px;
  background:linear-gradient(160deg, #dceaf0, #f2f8fa);
  box-shadow:0 40px 100px rgba(0, 0, 0, 0.6);
  animation:modal-in 260ms ease both;
}
@keyframes modal-in {
  from { opacity:0; transform:translateY(16px) scale(0.98); }
  to { opacity:1; transform:none; }
}
.dfc-modal-close {
  position:absolute;
  top:18px;
  right:18px;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid var(--line);
  border-radius:50%;
  background:rgba(16, 43, 54, 0.05);
  color:#102b36;
  cursor:pointer;
}
.dfc-modal-close svg {
  width:16px;
  height:16px;
}
.dfc-modal-close:hover {
  background:rgba(16, 43, 54, 0.12);
}
.requirements-heading {
  margin-bottom:30px;
}
.requirements-heading p {
  margin:0 0 8px;
  color:var(--cyan);
  font-size:0.7rem;
  font-weight:850;
  letter-spacing:0.18em;
}
.requirements-heading h2 {
  margin:0 0 10px;
  font-size:clamp(1.5rem, 3vw, 2.2rem);
  font-weight:850;
}
.requirements-heading span {
  color:var(--muted);
  font-size:0.9rem;
}
.requirements-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.requirement-card {
  padding:22px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(16, 43, 54, 0.03);
}
.requirement-index {
  color:var(--cyan);
  font-size:1.6rem;
  font-weight:850;
  line-height:1;
}
.requirement-card > div {
  margin-top:16px;
}
.requirement-label {
  margin:0 0 8px;
  color:var(--mint);
  font-size:0.76rem;
  font-weight:800;
}
.requirement-card h3 {
  margin:0 0 10px;
  font-size:1rem;
  font-weight:800;
  line-height:1.45;
}
.requirement-copy,
.requirement-card li {
  color:var(--subtle);
  font-size:0.8rem;
  line-height:1.7;
}
.requirement-highlight {
  margin:10px 0 0;
  color:var(--mint);
  font-size:0.78rem;
  font-weight:700;
}
.requirement-card-cloud {
  border-color:rgba(4, 120, 87, 0.3);
  background:rgba(4, 120, 87, 0.05);
}

.support-dialog {
  width:min(100%, 420px);
  text-align:center;
}
.support-dialog h2 {
  margin:0 0 22px;
  font-size:1.3rem;
  font-weight:850;
}
.support-dialog img {
  width:200px;
  height:200px;
  margin:0 auto;
  border:6px solid #fff;
  border-radius:12px;
  background:#fff;
  object-fit:cover;
}
.support-contact {
  margin:20px 0 0;
  color:var(--muted);
  font-size:0.9rem;
}
.support-contact span {
  color:var(--cyan);
  font-weight:800;
}

.floating-support {
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:50;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
}
.floating-support-panel {
  width:190px;
  padding:18px;
  border:1px solid rgba(14, 116, 144, 0.28);
  border-radius:16px;
  background:rgba(255, 255, 255, 0.97);
  box-shadow:0 20px 50px rgba(0, 0, 0, 0.5);
  text-align:center;
}
.floating-support-panel[hidden] {
  display:none;
}
.floating-support-panel p {
  margin:0 0 4px;
  color:var(--subtle);
  font-size:0.72rem;
}
.floating-support-panel strong {
  display:block;
  color:var(--cyan);
  font-size:1.05rem;
  letter-spacing:0.02em;
}
.floating-support-panel img {
  width:130px;
  height:130px;
  margin:12px auto 0;
  border-radius:8px;
  background:#fff;
  object-fit:cover;
}
.floating-support > button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:46px;
  padding:0 20px;
  border:1px solid rgba(14, 116, 144, 0.4);
  border-radius:999px;
  background:linear-gradient(135deg, rgba(14, 116, 144, 0.22), rgba(4, 120, 87, 0.16));
  color:#102b36;
  font-size:0.85rem;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter:blur(10px);
}
.floating-support > button svg {
  width:18px;
  height:18px;
  color:var(--cyan);
}
.floating-support > button:hover {
  background:linear-gradient(135deg, rgba(14, 116, 144, 0.34), rgba(4, 120, 87, 0.24));
}

/* 作品灯箱 */
.work-lightbox {
  position:fixed;
  inset:0;
  z-index:90;
  display:grid;
  place-items:center;
  padding:20px;
}
.work-lightbox[hidden] {
  display:none;
}
.work-lightbox .dfc-modal-backdrop {
  background:rgba(0, 4, 7, 0.86);
}
.work-lightbox-dialog {
  position:relative;
  z-index:1;
  width:min(100%, 760px);
  overflow:hidden;
  border:1px solid rgba(14, 116, 144, 0.3);
  border-radius:20px;
  background:#e6f0f4;
  box-shadow:0 40px 100px rgba(0, 0, 0, 0.65);
  animation:modal-in 260ms ease both;
}
.work-lightbox-dialog img {
  width:100%;
  max-height:62vh;
  object-fit:cover;
}
.work-lightbox-meta {
  padding:20px 24px 24px;
}
.work-lightbox-meta h3 {
  margin:0 0 6px;
  font-size:1.2rem;
}
.work-lightbox-meta p {
  margin:0;
  color:var(--subtle);
  font-size:0.86rem;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
  border-top:1px solid rgba(16, 43, 54, 0.08);
  background:#f7fcfd;
  padding:54px 24px 30px;
}
.footer-inner {
  width:min(100%, 1320px);
  margin:0 auto;
}
.footer-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  flex-wrap:wrap;
  padding-bottom:36px;
  border-bottom:1px solid rgba(16, 43, 54, 0.08);
}
.footer-brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:1.1rem;
  font-weight:850;
}
.footer-brand img {
  width:auto;
  height:26px;
}
.footer-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px 26px;
}
.footer-links a {
  color:var(--text);
  font-size:0.84rem;
  transition:color 180ms ease;
}
.footer-links a:hover {
  color:var(--cyan);
}
.footer-social {
  display:flex;
  gap:10px;
}
.social-link {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid var(--line);
  border-radius:50%;
  background:rgba(16, 43, 54, 0.04);
  color:var(--text);
  cursor:pointer;
  transition:border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.social-link svg {
  width:18px;
  height:18px;
}
.social-link:hover {
  border-color:var(--cyan-deep);
  color:var(--cyan-deep);
  background:rgba(14, 116, 144, 0.08);
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding-top:24px;
  color: var(--subtle);
  font-size:0.76rem;
}

/* --------------------------------------------------------------------------
   内页模板
   -------------------------------------------------------------------------- */
.inner-page {
  min-height:80vh;
  padding:180px 24px 100px;
}
.inner-shell {
  width:min(100%, 900px);
  margin:0 auto;
}
.inner-center {
  text-align:center;
}
.inner-head {
  margin-bottom:46px;
  padding-bottom:30px;
  border-bottom:1px solid var(--line);
}
.inner-head h1 {
  margin:0;
  font-size:clamp(2rem, 4vw, 3.4rem);
  font-weight:850;
  line-height:1.2;
}
.inner-404 {
  font-size:clamp(3rem, 9vw, 6rem) !important;
}
.inner-content {
  color:var(--muted);
  font-size:1rem;
  line-height:1.9;
}
.inner-content h2,
.inner-content h3,
.inner-content h4 {
  margin:2em 0 0.6em;
  color:var(--text);
  line-height:1.4;
}
.inner-content h2 {
  font-size:1.6rem;
}
.inner-content h3 {
  font-size:1.25rem;
}
.inner-content a {
  color:var(--cyan);
  text-decoration:underline;
  text-underline-offset:3px;
}
.inner-content blockquote {
  margin:28px 0;
  padding:18px 24px;
  border-left:3px solid var(--cyan);
  background:rgba(14, 116, 144, 0.06);
  color:var(--text);
}
.inner-content pre {
  overflow:auto;
  padding:20px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f2f8fa;
}
.inner-content :not(pre) > code {
  padding:2px 6px;
  border-radius:4px;
  background:rgba(14, 116, 144, 0.1);
  color: var(--mint-deep);
}
.inner-thumb {
  margin-bottom:30px;
  border-radius:16px;
  overflow:hidden;
}
.inner-thumb img {
  width:100%;
  height:auto;
}
.page-links {
  display:flex;
  gap:10px;
  margin-top:36px;
}
.page-links a {
  padding:6px 12px;
  border:1px solid var(--line);
  border-radius:8px;
}
.archive-grid {
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:20px;
}
.archive-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--glass);
}
.archive-card-media {
  display:block;
  aspect-ratio:16 / 9;
  overflow:hidden;
}
.archive-card-media img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.archive-card-body {
  padding:20px;
}
.archive-meta {
  margin:0 0 8px;
  color:var(--cyan);
  font-size:0.74rem;
  font-weight:800;
}
.archive-card-body h2 {
  margin:0 0 10px;
  font-size:1.1rem;
  line-height:1.4;
}
.archive-card-body h2 a:hover {
  color:var(--cyan);
}
.archive-card-body p:last-child {
  margin:0;
  color:var(--subtle);
  font-size:0.85rem;
}
.pagination {
  margin-top:40px;
}
.pagination .page-numbers {
  display:inline-grid;
  place-items:center;
  min-width:38px;
  height:38px;
  margin-right:6px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:0.85rem;
}
.pagination .current {
  border-color:var(--cyan);
  color:var(--cyan);
}
.post-nav {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:50px;
  padding-top:24px;
  border-top:1px solid var(--line);
  font-size:0.88rem;
}
.post-nav a:hover {
  color:var(--cyan);
}
.search-form {
  display:flex;
  gap:10px;
  margin-bottom:36px;
}
.search-form input[type="search"] {
  flex:1;
  min-height:46px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(16, 43, 54, 0.05);
  color:var(--text);
}
.search-form input[type="submit"] {
  min-height:46px;
  padding:0 22px;
  border:0;
  border-radius:10px;
  background:var(--cyan);
  color: #fff;
  font-weight:800;
  cursor:pointer;
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-left { gap:24px; }
  .nav-panel, .dfc-menu-list { gap:20px; }
  .nav-actions { gap:18px; }
  .pricing-grid { grid-template-columns:repeat(2, 1fr); }
  .course-learning-shell { grid-template-columns:1fr; }
  .course-copy { max-width:760px; }
}

@media (max-width: 900px) {
  .site-header { padding:14px 18px; }
  .nav-toggle { display:flex; }
  .nav-panel {
    position:fixed;
    inset:74px 12px auto;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    height:auto;
    padding:12px;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(255, 255, 255, 0.97);
    backdrop-filter:blur(18px);
    box-shadow:0 24px 60px rgba(0, 0, 0, 0.5);
  }
  .nav-panel.is-open { display:flex; }
  .dfc-menu-list {
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }
  .nav-panel a {
    justify-content:flex-start;
    height:48px;
    padding:0 12px;
    border-bottom:1px solid rgba(16, 43, 54, 0.06);
  }
  .nav-actions .nav-link { display:none; }
  .hero-inner { padding-top:150px; }
  .hero h1 { max-width:100%; }
  .hero-kicker { display:none; }
  .quickstart-heading { flex-direction:column; align-items:flex-start; }
  .quickstart-grid { grid-template-columns:repeat(2, 1fr); }
  .feature-card-grid { grid-template-columns:1fr; }
  .install-panel { grid-template-columns:1fr; }
  .install-preview { padding:0 26px 26px; }
  .install-preview img { border-radius:14px; min-height:300px; }
  .works-grid { grid-template-columns:repeat(2, 1fr); }
  .course-track { grid-template-columns:repeat(3, 1fr); }
  .requirements-grid { grid-template-columns:1fr; }
}

@media (max-width: 680px) {
  .hero { min-height:86svh; }
  .hero-inner { min-height:86svh; padding-bottom:110px; }
  .hero h1 { font-size:clamp(2.6rem, 12vw, 4rem); }
  .hero-copy { font-size:0.92rem; }
  .hero-scroll { display:none; }
  .quickstart-grid,
  .works-grid,
  .course-track,
  .pricing-grid,
  .archive-grid { grid-template-columns:1fr; }
  .install-tabs { grid-template-columns:1fr; gap:8px; }
  .install-tab { min-height:54px; }
  .feature-card { padding:22px; }
  .feature-visual { min-height:170px; }
  .course-card-media, .work-media { aspect-ratio:16 / 10; }
  .price-card { padding:24px 20px; }
  .footer-top { flex-direction:column; align-items:flex-start; }
  .footer-links { justify-content:flex-start; }
  .floating-support { right:14px; bottom:14px; }
  .floating-support > button span { display:none; }
  .floating-support > button { width:48px; height:48px; min-height:48px; padding:0; justify-content:center; }
  .inner-page { padding:140px 20px 80px; }
  .pricing-assurance { flex-direction:column; align-items:center; gap:12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after {
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
  }
  .reveal { opacity:1; transform:none; }
}


/* 浅色主题微调：图片遮罩上的图标保持白色 */
.quickstart-play,
.course-play::after { color:#fff; }
