/* ============================================
    Hyper-V VPS 流量监控系统 - 官网样式
   ============================================ */

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #f7f9fc;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── 导航 ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8edf3;
    height: 60px;
}
.nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    height: 60px;
}
.nav-logo {
    font-size: 20px; font-weight: 700; color: #1a2a4a;
    display: flex; align-items: center; gap: 10px;
}
.nav-logo img { height: 32px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 14px; color: #555; transition: color 0.2s;
    padding: 4px 0;
}
.nav-links a:hover { color: #2563eb; }
.nav-links a.active { color: #2563eb; font-weight: 600; }

/* ── Hero ── */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1a2a4a 0%, #1e3a5f 40%, #2563eb 100%);
    color: #fff;
    text-align: center;
}
.hero h1 {
    font-size: 42px; font-weight: 700; margin-bottom: 16px;
    letter-spacing: 1px;
}
.hero p {
    font-size: 18px; opacity: 0.85; max-width: 600px; margin: 0 auto;
    line-height: 1.7;
}
.hero-btns { margin-top: 36px; display: flex; gap: 16px; justify-content: center; }
.hero-btns .btn {
    display: inline-block; padding: 14px 36px; border-radius: 8px;
    font-size: 16px; font-weight: 600; transition: all 0.2s;
}
.hero-btns .btn-primary {
    background: #fff; color: #1a2a4a;
}
.hero-btns .btn-primary:hover { background: #e8f0fe; transform: translateY(-2px); }
.hero-btns .btn-outline {
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4);
}
.hero-btns .btn-outline:hover { border-color: #fff; transform: translateY(-2px); }
.hero-stats {
    display: flex; justify-content: center; gap: 60px; margin-top: 50px;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat-num {
    font-size: 32px; font-weight: 700; display: block;
}
.hero-stats .stat-label { font-size: 13px; opacity: 0.7; margin-top: 4px; }

/* ── 通用标题 ── */
.section-title {
    text-align: center; margin-bottom: 48px;
}
.section-title h2 {
    font-size: 30px; font-weight: 700; color: #1a2a4a;
    margin-bottom: 12px;
}
.section-title p {
    font-size: 15px; color: #8896a8; max-width: 500px; margin: 0 auto;
}

/* ── 特性卡片 ── */
.features { padding: 80px 0; background: #fff; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
    padding: 28px 24px; border-radius: 12px;
    border: 1px solid #e8edf3; transition: all 0.25s;
}
.feature-card:hover {
    box-shadow: 0 8px 30px rgba(37,99,235,0.08);
    border-color: #cad6ed; transform: translateY(-3px);
}
.feature-card .icon {
    font-size: 28px; margin-bottom: 12px; display: block;
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #1a2a4a; }
.feature-card p { font-size: 13px; color: #8896a8; line-height: 1.7; }

/* ── 截图展示 ── */
.screenshots { padding: 80px 0; background: #f7f9fc; }
.screenshot-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.screenshot-item {
    border-radius: 10px; overflow: hidden;
    border: 1px solid #e8edf3; background: #fff;
    transition: box-shadow 0.25s;
}
.screenshot-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.screenshot-item .img-placeholder {
    height: 200px; background: linear-gradient(135deg, #e8f0fe, #dce6f7);
    display: flex; align-items: center; justify-content: center;
    color: #8896a8; font-size: 14px;
}
.screenshot-item .caption { padding: 12px 16px; font-size: 13px; color: #555; }

/* ── 功能介绍页 ── */
.page-header {
    padding: 120px 0 50px; text-align: center;
    background: linear-gradient(135deg, #1a2a4a 0%, #2563eb 100%);
    color: #fff;
}
.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p { opacity: 0.8; font-size: 16px; }

.func-detail { padding: 60px 0; }
.func-item {
    display: flex; gap: 40px; margin-bottom: 60px; align-items: center;
}
.func-item:nth-child(even) { flex-direction: row-reverse; }
.func-item .text { flex: 1; }
.func-item .text h3 { font-size: 22px; font-weight: 600; color: #1a2a4a; margin-bottom: 12px; }
.func-item .text p { color: #667; font-size: 14px; line-height: 1.8; }
.func-item .text ul { margin-top: 12px; }
.func-item .text ul li {
    font-size: 14px; color: #555; padding: 6px 0 6px 24px;
    position: relative;
}
.func-item .text ul li::before {
    content: "✓"; position: absolute; left: 0;
    color: #2563eb; font-weight: 700;
}
.func-item .img-box {
    flex: 1; height: 280px; border-radius: 10px;
    background: linear-gradient(135deg, #f0f5ff, #e2ebfa);
    border: 1px solid #e8edf3;
    display: flex; align-items: center; justify-content: center;
    color: #8896a8; font-size: 14px;
}

/* ── 下载页 ── */
.download-section { padding: 60px 0; }
.download-card {
    background: #fff; border-radius: 12px; border: 1px solid #e8edf3;
    padding: 36px; margin-bottom: 24px;
}
.download-card h3 { font-size: 20px; font-weight: 600; color: #1a2a4a; margin-bottom: 8px; }
.download-card .version {
    display: inline-block; padding: 4px 12px; border-radius: 4px;
    background: #e8f0fe; color: #2563eb; font-size: 13px; font-weight: 600;
    margin-bottom: 12px;
}
.download-card .info { color: #667; font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.download-card .info strong { color: #333; }
.download-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 8px;
    background: #2563eb; color: #fff; font-size: 15px; font-weight: 600;
    transition: all 0.2s;
}
.download-btn:hover { background: #1d4ed8; transform: translateY(-2px); }

.changelog { margin-top: 40px; }
.changelog h3 { font-size: 18px; font-weight: 600; color: #1a2a4a; margin-bottom: 16px; }
.changelog-item {
    padding: 14px 0; border-bottom: 1px solid #e8edf3;
    display: flex; gap: 16px;
}
.changelog-item .ver {
    font-size: 13px; font-weight: 600; color: #2563eb; white-space: nowrap; min-width: 60px;
}
.changelog-item .desc { font-size: 13px; color: #555; }

/* ── 价格页 ── */
.pricing { padding: 60px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
    background: #fff; border: 1px solid #e8edf3; border-radius: 12px;
    padding: 36px 28px; text-align: center; transition: all 0.25s;
}
.pricing-card.featured {
    border-color: #2563eb; box-shadow: 0 4px 24px rgba(37,99,235,0.12);
    position: relative;
}
.pricing-card.featured::before {
    content: "推荐"; position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    background: #2563eb; color: #fff; font-size: 12px; font-weight: 600;
    padding: 3px 16px; border-radius: 12px;
}
.pricing-card h3 { font-size: 18px; font-weight: 600; color: #1a2a4a; }
.pricing-card .price {
    font-size: 36px; font-weight: 700; color: #1a2a4a;
    margin: 20px 0 4px;
}
.pricing-card .price span { font-size: 14px; font-weight: 400; color: #8896a8; }
.pricing-card .sub { font-size: 13px; color: #8896a8; margin-bottom: 20px; }
.pricing-card ul { text-align: left; margin-bottom: 24px; }
.pricing-card ul li {
    padding: 8px 0 8px 24px; font-size: 14px; color: #555;
    position: relative;
}
.pricing-card ul li::before {
    content: "✓"; position: absolute; left: 0; color: #2563eb; font-weight: 700;
}
.pricing-card .p-btn {
    display: block; padding: 12px 0; border-radius: 8px;
    font-size: 15px; font-weight: 600; transition: all 0.2s;
}
.pricing-card .p-btn.primary { background: #2563eb; color: #fff; }
.pricing-card .p-btn.primary:hover { background: #1d4ed8; }

/* ── 页脚 ── */
.footer {
    background: #1a2a4a; color: rgba(255,255,255,0.6);
    padding: 40px 0; text-align: center;
}
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }
.footer .links { margin-bottom: 12px; display: flex; justify-content: center; gap: 24px; font-size: 13px; }
.footer .copyright { font-size: 12px; }

/* ── 辅助 ── */
.mt-20 { margin-top: 20px; }
.text-center { text-align: center; }

/* ── 响应式 ── */
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .hero-stats { flex-wrap: wrap; gap: 30px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .screenshot-grid { grid-template-columns: 1fr; }
    .func-item { flex-direction: column !important; }
    .nav-links { display: none; }
}
/* 友情链接样式（固定字号和底部版权一致） */
.friend-link{
    text-align:center;
    margin:10px 0;
    font-size:12px;
    color:rgba(255,255,255,0.6);
}
.friend-link a{
    color:rgba(255,255,255,0.7);
    text-decoration:none;
}
.friend-link a:hover{
    color:#fff;
}