/* ==================================================================== */
/* ★ 全站统一暗色 + 毛玻璃 + 霓虹科技风 UI 基础样式                   */
/* ==================================================================== */

:root {
  --bg: #0d0d11;
  --panel: rgba(25, 25, 34, 0.55);
  --panel-light: rgba(35, 35, 45, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6e6e6;
  --sub: #9ea0a8;

  --primary: #7b5cff;
  --primary-glow: #9d72ff;
  --accent: #00ffa6;

  --glass-blur: blur(14px);

  --radius: 14px;
  --transition: 0.25s ease;
}

/* Base */
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-glow);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* ==================================================================== */
/* HEADER                                                              */
/* ==================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: var(--glass-blur);
  background: rgba(20, 20, 28, 0.5);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
}

header .logo {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--primary-glow);
  text-shadow: 0 0 10px var(--primary-glow);
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: var(--text);
  font-size: 15px;
}

header nav ul li a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

/* ==================================================================== */
/* HERO（首页专用）                                                    */
/* ==================================================================== */

.hero {
  width: 100%;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 20px var(--primary-glow);
}

.hero p {
  color: var(--sub);
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons {
  margin-top: 25px;
}

.btn-big {
  display: inline-block;
  padding: 14px 34px;
  margin: 0 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(120,80,255,0.4);
  transition: 0.3s;
}

.btn-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(150,110,255,0.7);
}

/* Terminal Showcase */
.terminal-frame {
  width: 88%;
  max-width: 980px;
  margin: 60px auto 20px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(90,70,255,0.3);
}

.terminal-header {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.terminal-window {
  text-align: left;
  color: var(--accent);
  font-family: Consolas, monospace;
  font-size: 15px;
  min-height: 180px;
  max-height: 260px;
  overflow-y: auto;
  white-space: pre-line;
  padding-right: 10px;
}

/* ==================================================================== */
/* PAGE LAYOUT                                                         */
/* ==================================================================== */

section {
  width: 92%;
  max-width: 1100px;
  margin: 90px auto;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 15px var(--primary-glow);
}

/* ==================================================================== */
/* DOWNLOAD GRID                                                       */
/* ==================================================================== */

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 25px;
}

.download-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 25px;
  backdrop-filter: var(--glass-blur);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(130,100,255,0.6);
}

.download-card .btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--primary);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  margin-top: 14px;
  transition: var(--transition);
}

.download-card .btn:hover {
  background: var(--primary-glow);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* ==================================================================== */
/* PRICING                                                             */
/* ==================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.pricing-card {
  background: var(--panel);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(130,100,255,0.5);
}

.price {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ==================================================================== */
/* FEATURE TABLE                                                       */
/* ==================================================================== */

.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}

.feature-table th,
.feature-table td {
  border: 1px solid var(--border);
  padding: 10px;
  text-align: center;
  color: var(--text);
  background: rgba(20, 20, 28, 0.5);
}

.feature-table th {
  background: rgba(40, 40, 60, 0.65);
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px var(--primary-glow);
}

/* ==================================================================== */
/* FOOTER                                                              */
/* ==================================================================== */

footer {
  text-align: center;
  padding: 28px;
  margin-top: 80px;
  background: rgba(20,20,28,0.5);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border);
  color: var(--sub);
}

footer a {
  color: var(--primary);
}

footer a:hover {
  color: var(--primary-glow);
}

/* ========== SHA256 校验信息卡片专用样式 ========== */
.verify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.verify-card {
  background: var(--panel);
  border-radius: 14px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 0 28px rgba(120, 80, 255, 0.25);
}

.verify-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 0 10px var(--primary-glow);
}

/* 允许 SHA256 文本自动换行 */
.verify-card code {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 14px;
  color: var(--accent);
  line-height: 1.5;
}


/* ==================================================================== */
/* RESPONSIVE                                                          */
/* ==================================================================== */

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

  .hero h1 {
    font-size: 32px;
  }
}


/* ========== 产品演示整体布局 ========== */

.demo {
  margin-top: 120px;
  display: flex;
  justify-content: center;
}

.demo-container {
  position: relative; /* ⭐ 必须加：成为 toolbar 的定位父级 */
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 1000px;

  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);

  padding: 64px 32px 33px 64px; /* ⭐ 顶部 64px 正好给 toolbar 两行 */
  box-shadow: 0 0 40px rgba(120,80,255,0.15);
}


/* 左侧主机列表 */

.demo-host-list {
  width: 260px;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 20px;
  padding-top:32px;
}

.demo-host-list .host {
  padding: 10px 16px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  color: #bbb;
  font-size: 14px;
  transition: 0.25s;
}

.demo-host-list .host.active {
  background: rgba(47,181,155,0.25);
  color: #2FB59B;
  box-shadow: 0 0 12px rgba(47,181,155,0.35);
}

/* 右侧演示 */

.demo-terminal {
  flex: 1;
}


/* 小标签 */
#session-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  font-size: 13px;
  font-family: Consolas, monospace;
  color: #2FB59B;
  border: 1px solid rgba(47,181,155,0.45);
  border-radius: 6px;
  background: rgba(47,181,155,0.08);
  box-shadow: 0 0 8px rgba(47,181,155,0.25);
  transition: all 0.25s ease;
}

/* 小标签右侧关闭图标 */
#session-tag .close {
  cursor: pointer;
  opacity: 0.6;
  transition: 0.2s;
}

#session-tag .close:hover {
  opacity: 1;
  transform: scale(1.15);
}


/* 伪终端窗口 */

.demo-term-window {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  height: 280px;
  border-radius: 10px;
  padding: 18px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
  overflow-y: auto;
  font-family: Consolas, monospace;
  font-size: 14px;
  color: #e0e0e0;
}

#mouse-cursor {
  position: absolute;
  width: 22px;
  height: 32px;
  background: url('/assets/mouse.svg') center/contain no-repeat;
  pointer-events: none;
  opacity: 0;
   z-index: 20;
}

/* ========================================================================= */
/* 双层顶部工具栏（Aeroshell 风格） */
/* ========================================================================= */
.demo-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;   /* ⭐ 现在 100% 就是 container 的宽度 */
  height: 64px;  /* 两行，总高 64 */
  
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.demo-toolbar i { 
width: 14px !important; /* 图标大小 ↓ */
height: 14px !important; 
color: #a9b1bc; transition: 0.2s ease;
}
.demo-toolbar i:hover { 
color: #4fd1c5; transform:
scale(1.1);
} 
.toolbar-row { display: flex;
justify-content: 
space-between; 
align-items: center;
padding: 6px 14px;
height: 32px;
box-sizing:
border-box;
} 
.menu-row {
border-bottom: 1px solid rgba(255,255,255,0.05);
} 
.menu-row .menu-item { margin-right: 18px;
color: #a9b1bc;
font-size: 13px;
cursor: pointer;
transition: 0.25s; 
} 
.menu-row .menu-item:hover { 
color: #4fd1c5;
} 
.menu-row .pro { color: #ffd34a; 
font-weight: bold; 
margin-right: 22px;
} 
.icon-row .icon { width: 18px;
height: 18px; 
color: #a9b1bc;
margin-right: 16px; 
cursor: pointer;
transition: 0.2s;
} 
.icon-row .icon:hover { color: #4fd1c5;
transform: scale(1.12); 
} /* 小图标（最小化、最大化、关闭） */ 



.small { 
width: 12px !important;
height: 12px !important;
}

#toolbar-tip {
  position: absolute;
  padding: 4px 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: opacity .2s ease;
  z-index: 999999;
}

#toolbar-tip {
  left: 0;
  top: 0;
}


#double-click-hint {
  position: absolute;
  width: 70px;
  height: 100px;
  opacity: 0;
  pointer-events: none;
   z-index: 999999999; /* 绝对顶层 */
}

/* 鼠标外壳 */
.mouse-shape {
  width: 50px;
  height: 80px;
  border: 3px solid #fff;
  border-radius: 28px;
  margin: 0 auto;
  position: relative;
}

/* 双击动画圈 */
.click-left,
.click-left2 {
  position: absolute;
  width: 12px;
  height: 12px;
  left: 14px;
  top: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  opacity: 0;
}

.click-left.double {
  animation: clickPulse 0.35s ease-out forwards;
}
.click-left2.double {
  animation: clickPulse 0.35s ease-out 0.18s forwards;
}

@keyframes clickPulse {
  0%   { transform: scale(0.2); opacity: 1; }
  70%  { transform: scale(1.2); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* 整体淡入淡出 */
.show-hint {
  animation: showHint 2.2s ease-out forwards;
}

@keyframes showHint {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  12%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

#ocean-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}