/* ==========================================================================
   17c 影视后期与剪辑教学平台
   视觉风格：极客技术 + 工具软件界面（暗色 UI）
   主色 #00A8FF 科技蓝 / 辅助 #9999FF AE紫 / #333333 深灰
   背景 #1E1E1E 软件暗色 / 正文 #CCCCCC
   ========================================================================== */

:root {
  --tech-blue: #00A8FF;
  --ae-purple: #9999FF;
  --deep-gray: #333333;
  --bg-dark: #1E1E1E;
  --bg-panel: #252526;
  --bg-panel-2: #2D2D30;
  --border-line: #3C3C3C;
  --text-body: #CCCCCC;
  --text-dim: #8A8A8A;
  --text-bright: #F2F2F2;
  --success: #4EC9B0;
  --warning: #FFA94D;
  --radius: 8px;
  --maxw: 1240px;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', 'JetBrains Mono', monospace;
  --sans: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--tech-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ae-purple); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航：仿软件标题栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(30,30,30,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-line);
}
.topbar-inner {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px; height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-bright); font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tech-blue); box-shadow: 0 0 8px var(--tech-blue); }
.nav-menu { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.nav-menu a {
  color: var(--text-body); padding: 7px 13px; border-radius: 6px; font-size: 14.5px;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text-bright); background: var(--bg-panel-2); }
.nav-cta {
  background: linear-gradient(135deg, var(--tech-blue), var(--ae-purple));
  color: #fff !important; padding: 8px 16px !important; border-radius: 6px; font-weight: 600;
}
.nav-cta:hover { box-shadow: 0 0 14px rgba(0,168,255,.5); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border-line); color: var(--text-body); font-size: 22px; border-radius: 6px; padding: 2px 10px; cursor: pointer; margin-left: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 6px; font-weight: 600;
  cursor: pointer; border: none; font-size: 15px; transition: all .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--tech-blue), var(--ae-purple)); color: #fff; }
.btn-primary:hover { box-shadow: 0 0 18px rgba(0,168,255,.55); color:#fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--tech-blue); border: 1px solid var(--tech-blue); }
.btn-ghost:hover { background: rgba(0,168,255,.1); }

/* ---------- Hero 区 ---------- */
.hero {
  position: relative; padding: 0; overflow: hidden;
  border-bottom: 1px solid var(--border-line);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(30,30,30,.6), var(--bg-dark)); }
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 90px 20px 70px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 52px); color: var(--text-bright); line-height: 1.2; font-weight: 800;
  letter-spacing: -.5px;
}
.hero .gradient-text { background: linear-gradient(120deg, var(--tech-blue), var(--ae-purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px,2vw,19px); color: var(--text-body); max-width: 720px; margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 搜索框 */
.hero-search { margin-top: 34px; max-width: 620px; display: flex; gap: 0; }
.hero-search input {
  flex: 1; padding: 14px 18px; background: var(--bg-panel); border: 1px solid var(--border-line);
  border-right: none; border-radius: 8px 0 0 8px; color: var(--text-bright); font-size: 15px;
}
.hero-search input:focus { outline: none; border-color: var(--tech-blue); }
.hero-search button { border-radius: 0 8px 8px 0; }
.hero-tags { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-dim); }
.hero-tags a { background: var(--bg-panel); padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border-line); color: var(--text-body); }

/* ---------- 区块标题 ---------- */
.section { padding: 64px 0; }
.section-head { margin-bottom: 34px; }
.section-head .eyebrow {
  font-family: var(--mono); color: var(--tech-blue); font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; display: inline-block; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(24px,3.4vw,34px); color: var(--text-bright); font-weight: 800; }
.section-head p { color: var(--text-dim); margin-top: 10px; max-width: 760px; }

/* ---------- 软件分类导航 ---------- */
.soft-tabs { display: flex; gap: 14px; flex-wrap: wrap; }
.soft-tab {
  flex: 1; min-width: 200px; background: var(--bg-panel); border: 1px solid var(--border-line);
  border-radius: var(--radius); padding: 22px; transition: all .25s ease;
}
.soft-tab:hover { border-color: var(--tech-blue); transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0,0,0,.35); }
.soft-tab .badge { font-family: var(--mono); font-size: 12px; color: var(--ae-purple); }
.soft-tab h3 { color: var(--text-bright); font-size: 19px; margin: 6px 0 8px; }
.soft-tab p { color: var(--text-dim); font-size: 14px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-panel); border: 1px solid var(--border-line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--tech-blue); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #111; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
/* 播放按钮悬停发光 */
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,168,255,.85); display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.play-btn::after { content:''; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.card:hover .play-btn { background: var(--tech-blue); box-shadow: 0 0 24px var(--tech-blue); transform: scale(1.1); }
.card-tag { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.7); color: var(--ae-purple); font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 4px; }
.card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { color: var(--text-bright); font-size: 17px; line-height: 1.4; }
.card-body p { color: var(--text-dim); font-size: 13.5px; margin-top: 8px; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12.5px; color: var(--text-dim); font-family: var(--mono); }
.card-meta .lvl { color: var(--success); }

/* ---------- 素材下载卡 ---------- */
.asset-card { background: var(--bg-panel); border: 1px solid var(--border-line); border-radius: var(--radius); overflow: hidden; }
.asset-card .card-media { aspect-ratio: 4/3; }
.asset-info { padding: 16px 18px; }
.asset-info h3 { color: var(--text-bright); font-size: 16px; }
.asset-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.spec { font-family: var(--mono); font-size: 11.5px; background: var(--bg-panel-2); border: 1px solid var(--border-line); color: var(--text-body); padding: 4px 9px; border-radius: 4px; }
.spec.blue { color: var(--tech-blue); }
.spec.purple { color: var(--ae-purple); }
/* 下载进度条模拟 */
.dl-bar { height: 6px; background: var(--bg-panel-2); border-radius: 4px; overflow: hidden; margin: 10px 0 12px; }
.dl-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--tech-blue), var(--ae-purple)); border-radius: 4px; transition: width 1.2s ease; }

/* ---------- Before/After 调色对比滑块 ---------- */
.ba-slider { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; user-select: none; border: 1px solid var(--border-line); }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--tech-blue); box-shadow: 0 0 12px var(--tech-blue); cursor: ew-resize; }
.ba-handle::after { content:'◀ ▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--tech-blue); color:#fff; font-size: 11px; padding: 6px 9px; border-radius: 20px; white-space: nowrap; }
.ba-label { position: absolute; bottom: 12px; font-family: var(--mono); font-size: 12px; background: rgba(0,0,0,.65); padding: 4px 10px; border-radius: 4px; color: #fff; }
.ba-label.left { left: 12px; } .ba-label.right { right: 12px; color: var(--ae-purple); }
.ba-range { width: 100%; margin-top: 14px; accent-color: var(--tech-blue); }

/* ---------- 学习路径 Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content:''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--tech-blue), var(--ae-purple)); }
.tl-node { position: relative; margin-bottom: 28px; background: var(--bg-panel); border: 1px solid var(--border-line); border-radius: var(--radius); padding: 20px 22px; }
.tl-node::before { content:''; position: absolute; left: -28px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-dark); border: 3px solid var(--tech-blue); box-shadow: 0 0 10px var(--tech-blue); }
.tl-node .stage { font-family: var(--mono); color: var(--ae-purple); font-size: 12px; }
.tl-node h3 { color: var(--text-bright); font-size: 19px; margin: 6px 0 8px; }

/* ---------- Accordion 折叠面板 ---------- */
.accordion { border: 1px solid var(--border-line); border-radius: var(--radius); overflow: hidden; }
.acc-item { border-bottom: 1px solid var(--border-line); }
.acc-item:last-child { border-bottom: none; }
.acc-head { width: 100%; text-align: left; background: var(--bg-panel); color: var(--text-bright); padding: 16px 20px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border: none; }
.acc-head:hover { background: var(--bg-panel-2); }
.acc-head .ico { color: var(--tech-blue); font-family: var(--mono); transition: transform .25s; }
.acc-item.open .acc-head .ico { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: var(--bg-panel-2); }
.acc-body .inner { padding: 0 20px 18px; color: var(--text-body); font-size: 14.5px; }
.acc-item.open .acc-body { max-height: 600px; }

/* ---------- 代码 / 参数块 ---------- */
.code-block { background: #161616; border: 1px solid var(--border-line); border-left: 3px solid var(--tech-blue); border-radius: 6px; padding: 16px 18px; font-family: var(--mono); font-size: 13.5px; color: var(--success); overflow-x: auto; margin: 16px 0; line-height: 1.9; }
.code-block .k { color: var(--ae-purple); } .code-block .c { color: var(--text-dim); }

/* ---------- 视频播放器（带时间轴书签） ---------- */
.player { background: var(--bg-panel); border: 1px solid var(--border-line); border-radius: var(--radius); overflow: hidden; }
.player-stage { position: relative; aspect-ratio: 16/9; background: #000; }
.player-stage img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.player-stage .play-btn { width: 72px; height: 72px; }
.player-timeline { padding: 14px 18px; }
.tl-track { position: relative; height: 8px; background: var(--bg-panel-2); border-radius: 4px; }
.tl-track .progress { position: absolute; left: 0; top: 0; height: 100%; width: 34%; background: linear-gradient(90deg,var(--tech-blue),var(--ae-purple)); border-radius: 4px; }
.tl-mark { position: absolute; top: -4px; width: 4px; height: 16px; background: var(--ae-purple); border-radius: 2px; cursor: pointer; }
.bookmarks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bookmarks button { background: var(--bg-panel-2); border: 1px solid var(--border-line); color: var(--text-body); font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
.bookmarks button:hover { border-color: var(--tech-blue); color: var(--tech-blue); }
.shortcuts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.kbd { font-family: var(--mono); font-size: 12px; background: var(--deep-gray); border: 1px solid #555; border-bottom-width: 2px; color: var(--text-bright); padding: 3px 8px; border-radius: 4px; }

/* ---------- 横幅 ---------- */
.banner {
  background: linear-gradient(120deg, rgba(0,168,255,.12), rgba(153,153,255,.12));
  border: 1px solid var(--border-line); border-radius: 12px; padding: 44px; text-align: center;
}
.banner h2 { color: var(--text-bright); font-size: clamp(22px,3vw,30px); }
.banner p { color: var(--text-body); margin: 12px auto 24px; max-width: 640px; }

/* ---------- 评价 ---------- */
.review { background: var(--bg-panel); border: 1px solid var(--border-line); border-radius: var(--radius); padding: 22px; }
.review .stars { color: var(--warning); letter-spacing: 2px; }
.review p { color: var(--text-body); margin: 12px 0 16px; font-size: 14.5px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who img { width: 42px; height: 42px; border-radius: 50%; }
.review .who b { color: var(--text-bright); font-size: 14px; display: block; }
.review .who span { color: var(--text-dim); font-size: 12.5px; }

/* ---------- 文章排版 ---------- */
.prose { max-width: 820px; }
.prose h2 { color: var(--text-bright); font-size: 26px; margin: 36px 0 14px; padding-left: 12px; border-left: 4px solid var(--tech-blue); }
.prose h3 { color: var(--text-bright); font-size: 20px; margin: 26px 0 10px; }
.prose p { margin: 14px 0; color: var(--text-body); }
.prose ul.bullet { margin: 14px 0 14px 22px; list-style: disc; color: var(--text-body); }
.prose ul.bullet li { margin: 7px 0; }
.prose blockquote { border-left: 3px solid var(--ae-purple); background: var(--bg-panel); padding: 14px 18px; margin: 18px 0; color: var(--text-body); border-radius: 0 6px 6px 0; }
.prose img { border-radius: var(--radius); margin: 20px 0; border: 1px solid var(--border-line); }
.prose figure figcaption { color: var(--text-dim); font-size: 13px; text-align: center; margin-top: 8px; }

/* 面包屑 */
.breadcrumb { font-size: 13px; color: var(--text-dim); padding: 18px 0; font-family: var(--mono); }
.breadcrumb a { color: var(--text-body); }
.breadcrumb span { color: var(--tech-blue); }

/* 页面头 */
.page-hero { background: var(--bg-panel); border-bottom: 1px solid var(--border-line); padding: 40px 0; }
.page-hero h1 { color: var(--text-bright); font-size: clamp(26px,4vw,40px); font-weight: 800; }
.page-hero p { color: var(--text-dim); margin-top: 12px; max-width: 760px; }

/* 专题头图 */
.topic-hero { position: relative; min-height: 320px; display: flex; align-items: flex-end; border-radius: 0; overflow: hidden; }
.topic-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.topic-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent, var(--bg-dark)); }
.topic-hero .wrap { position: relative; padding: 40px 20px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.topic-hero h1 { color: #fff; font-size: clamp(26px,4.5vw,44px); font-weight: 800; text-shadow: 0 2px 20px rgba(0,0,0,.6); }

/* ---------- 表格 ---------- */
table.tbl { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
table.tbl th, table.tbl td { border: 1px solid var(--border-line); padding: 11px 14px; text-align: left; }
table.tbl th { background: var(--bg-panel-2); color: var(--text-bright); font-family: var(--mono); }
table.tbl td { color: var(--text-body); }

/* ---------- VIP 价格 ---------- */
.price-card { background: var(--bg-panel); border: 1px solid var(--border-line); border-radius: 12px; padding: 30px; text-align: center; }
.price-card.featured { border-color: var(--tech-blue); box-shadow: 0 0 30px rgba(0,168,255,.18); }
.price-card .tag { font-family: var(--mono); color: var(--ae-purple); font-size: 13px; }
.price-card .amount { font-size: 42px; color: var(--text-bright); font-weight: 800; margin: 10px 0; }
.price-card .amount small { font-size: 15px; color: var(--text-dim); font-weight: 400; }
.price-card ul { text-align: left; margin: 18px 0; }
.price-card ul li { padding: 7px 0; color: var(--text-body); font-size: 14px; border-bottom: 1px dashed var(--border-line); }
.price-card ul li::before { content:'✓ '; color: var(--success); }

/* ---------- 页脚 ---------- */
.footer { background: #161616; border-top: 1px solid var(--border-line); padding: 50px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: var(--text-bright); font-size: 15px; margin-bottom: 14px; }
.footer ul li { margin: 8px 0; }
.footer ul li a { color: var(--text-dim); font-size: 14px; }
.footer ul li a:hover { color: var(--tech-blue); }
.footer .desc { color: var(--text-dim); font-size: 14px; margin-top: 12px; max-width: 320px; }
.footer-bottom { border-top: 1px solid var(--border-line); margin-top: 34px; padding-top: 20px; text-align: center; color: var(--text-dim); font-size: 13px; }
.footer-bottom a { color: var(--text-dim); }

/* ---------- 搜索结果 ---------- */
.search-result { background: var(--bg-panel); border: 1px solid var(--border-line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.search-result h3 { color: var(--tech-blue); font-size: 17px; }
.search-result .url { font-family: var(--mono); color: var(--success); font-size: 12.5px; margin: 4px 0; }
.search-result p { color: var(--text-body); font-size: 14px; }

/* ---------- 工具/通用 ---------- */
.mt-40 { margin-top: 40px; } .mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--border-line); margin: 40px 0; }

/* ---------- 响应式断点 ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-panel); border-bottom: 1px solid var(--border-line); padding: 12px 20px; gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 11px 12px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .soft-tab { min-width: 100%; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
  .hero-search input { border-right: 1px solid var(--border-line); border-radius: 8px; }
  .hero-search button { border-radius: 8px; margin-top: 10px; }
  .banner { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
