/* ========== 变量与基础重置 ========== */
:root {
    --bg-color: #fff;
    --text-main: #34495E;
    --text-dim: #666;
    --border: #E1E8ED;
    --accent-blue: #0067B8;
    --accent-dark: #000000;
    --highlight-bg: #E8F0F7;
    --tip-bg: #E8F4FD;
    --tip-border: #B3D8FF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 40px;
}

/* ========== 头部导航 ========== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 60px;
}

.logo {
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
}

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

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

/* 语言切换按钮 */
.lang-toggle {
    padding: 2px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 600;
    color: var(--accent-blue) !important;
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    background: var(--accent-blue);
    color: #fff !important;
    border-color: var(--accent-blue);
}

/* ========== 页脚 ========== */
footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ========== 首页特有样式 ========== */
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-weight: 800;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.custom-dash {
    display: inline-flex;
    align-items: center;
    height: 1em;
}

.specs-grid {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 2.2;
    margin-bottom: 60px;
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 60px;
}

.download-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-label::after {
    content: "";
    height: 1px;
    width: 30px;
    background: var(--border);
}

.cta-area {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    flex-direction: column;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.btn span.small-text {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

.btn span.main-text {
    font-size: 1rem;
    font-weight: 600;
}

.btn-win {
    background: var(--accent-blue);
    color: #fff;
}

.btn-mac {
    background: var(--accent-dark);
    color: #fff;
}

.product-screenshot {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.product-screenshot img {
    width: 100%;
    display: block;
}

/* ========== 指南页特有样式 ========== */
.guide-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
    margin-top: 20px;
}

.guide-sidebar {
    position: sticky;
    top: 60px;
    height: fit-content;
}

.guide-nav {
    list-style: none;
    margin-bottom: 30px;
}

.guide-nav li {
    margin-bottom: 5px;
}

.guide-nav a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
}

.guide-nav a.active-link {
    color: var(--accent-blue);
    background-color: var(--highlight-bg);
    font-weight: 600;
}

/* 可选的推广卡片 */
.promo-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s;
}

.promo-tag {
    font-size: 0.7rem;
    background: var(--accent-blue);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.promo-card h5 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.promo-card p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.guide-main {
    max-width: 640px;
}

.guide-section {
    margin-bottom: 100px;
    scroll-margin-top: 80px;
}

.guide-section h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--text-main);
}

.guide-section p {
    color: var(--text-dim);
    margin-bottom: 15px;
}

.steps {
  padding: 1.2em 2em;
  background: #f9fafb;
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  line-height: 2.2;
  color: var(--text-main);
  margin: 1.5em 0;
}

/* 提示框 */
.tip-box {
  background: #f8fafc;                /* 更柔和的灰白背景 */
  border: 1px solid #e2e8f0;         /* 细边框替代粗左边框 */
  border-radius: 10px;               /* 更大圆角 */
  padding: 16px 20px;
  margin: 25px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02); /* 极淡阴影 */
  transition: all 0.2s;
}

.tip-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  /* 用纯 CSS 画一个简洁的 i 图标 */
  background: #3b82f6;                /* 蓝色圆形背景 */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  line-height: 1;
}
.tip-icon::before {
  content: "i";
}

.tip-content {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
}

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        display: none;
    }
}
