/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

:root {
    --primary-color: #165DFF;
    --primary-dark: #0E42D2;
    --secondary-color: #00B42A;
    --tech-blue: #00C0FF;
    --dark-bg: #0A101F;
    --card-bg: #111827;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border-color: #1E293B;
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    
}

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

img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block; /* 避免图片底部空白 */
}

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

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--tech-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-subtitle {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: var(--text-secondary);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--tech-blue));
    border-radius: 2px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(22, 93, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(22, 93, 255, 0.1);
}

/* 导航栏核心样式（微调布局，适配位置互换） */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 16, 31, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 16px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(22, 93, 255, 0.1);
}

.navbar.scroll {
    padding: 8px 0;
    background-color: rgba(10, 16, 31, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* 桌面端按钮（现在在导航链接右侧） */
.desktop-cta {
    display: flex;
    gap: 15px;
    /* 新增：确保按钮在最右侧对齐 */
    margin-left: auto;
}

/* 桌面端导航链接（现在在logo右侧、按钮左侧） */
.nav-links {
    display: flex;
    gap: 50px;
    /* 新增：让导航链接居中对齐 */
    align-items: center;
    padding-left: 50px;
}

.nav-links a {
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;

}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 移动端汉堡菜单按钮 */
.hamburger {
    display: none;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 1000;
}

/* 移动端下拉菜单样式 */
.mobile-menu {
    display: none;
    background-color: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mobile-menu .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links a {
    font-size: 18px;
    color: var(--text-primary);
    padding: 10px 0;
}

.mobile-nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-cta .btn {
    width: 100%;
}

/* 英雄区 */
.hero {
    min-height: calc(100vh - 88px);
    background: radial-gradient(circle at top center, #111827 0%, #0A101F 100%);
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(22, 93, 255, 0.08), transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-tagline {
    font-size: 20px;
    color: var(--tech-blue);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--primary-color), var(--tech-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 44px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
}

/* 核心优势 */
.ip-features {
    background-color: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 45px 35px;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 25px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 适用场景 */
.scenarios {
    background-color: var(--dark-bg);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.scenario-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.scenario-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.scenario-icon {
    margin-bottom: 20px;
}

.scenario-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.scenario-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 防护流程 */
.process {
    background-color: var(--dark-bg);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--tech-blue));
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 18%;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--tech-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(22, 93, 255, 0.3);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 套餐价格 */
.pricing {
    background-color: var(--dark-bg);
}

.pricing-note {
    text-align: center;
    color: var(--tech-blue);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
}

.price-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: var(--radius);
}

.price-highlight {
    background: rgba(22,93,255,0.1) !important;
    font-weight: bold !important;
}

/* 对比优势 */
.comparison {
    background-color: var(--dark-bg);
}

.comparison-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.comparison-table th,
.comparison-table td {
    padding: 22px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.comparison-table th {
    background-color: rgba(22, 93, 255, 0.08);
    font-weight: 600;
    font-size: 17px;
}

.comparison-table th:first-child {
    text-align: left;
    width: 30%;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table .check {
    color: var(--secondary-color);
    font-size: 20px;
}

.comparison-table .cross {
    color: #F53F3F;
    font-size: 20px;
}

/* 行动召唤 */
.cta {
    background: linear-gradient(135deg, #0A101F, #111827);
    padding: 110px 0;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(22, 93, 255, 0.1);
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
}

.cta-desc {
    font-size: 19px;
    margin-bottom: 45px;
    color: var(--text-secondary);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 页脚 */
.footer {
    background-color: #070D1A;
    color: var(--text-primary);
    padding: 90px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 70px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    color: var(--text-primary);
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 16px;
}

.contact-icon {
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 版权信息 */
.copyright {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 15px;
}

.copyright a {
    color: var(--primary-color);
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .hero-title { font-size: 48px; }
    .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .process-steps { gap: 20px; }
}

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step { width: 45%; margin-bottom: 30px; }
    .process-steps { flex-wrap: wrap; justify-content: center; }
    .process-steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .section { padding: 80px 0; }
    .section-title { font-size: 34px; }
}

@media (max-width: 768px) {
    /* 移动端隐藏桌面端元素 */
    .nav-links { display: none; }
    .desktop-cta { display: none; }
    
    /* 显示移动端汉堡菜单 */
    .hamburger { display: block; }
    
    /* 移动端基础样式 */
    body { padding-top: 72px; }
    .hero { min-height: auto; padding: 40px 0; }
    .hero-title { font-size: 38px; }
    .hero-stats { gap: 30px; }
    .features-grid, .scenarios-grid { grid-template-columns: 1fr; }
    .process-step { width: 100%; }
    .cta-title { font-size: 34px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta { gap: 15px; }
}

@media (max-width: 576px) {
    .logo { font-size: 24px; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .hero-cta { flex-direction: column; gap: 15px; }
    .btn { width: 100%; }
    .section-title { font-size: 28px; }
    .comparison-table th, .comparison-table td { padding: 15px 8px; font-size: 14px; }
    .stat-number { font-size: 36px; }
    .footer { padding: 60px 0 20px; }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

 /* 手机端自适应价格表核心样式 */
        .price-table-wrapper {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin: 20px 0;
        }
        .comparison-table {
            min-width: 100%;
            width: 100%;
            border-collapse: collapse;
            background: #1e293b;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
  /* 文章列表基础样式 */
.articles {
  background: #f7f8fa;
  padding: 60px 0;
}
.articles .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 标题样式 */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin: 0 0 12px;
}
.section-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  padding:30px;
}

/* 文章网格布局 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

/* 文章卡片 */
.article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.article-body {
  padding: 24px;
}
.article-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}
.article-title {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #222;
}
.article-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 查看更多按钮 */
.articles-more {
  text-align: center;
  margin-top: 40px;
}
.btn-more {
  display: inline-block;
  padding: 12px 28px;
  background: #1677ff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s;
}
.btn-more:hover {
  background: #0f66d6;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}      