/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 页面基础设置 */
body {
    background: url('bg.jpg') center/cover fixed no-repeat;
    background-color: #f0f4f8; /* 淡色系备用背景 */
    color: #334e68;
    min-height: 100vIh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    padding-top: 72px; /* 预留导航栏高度 */
}

/* 毛玻璃效果核心类 */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.glass-card:hover {
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.12);
    transform: translateY(-4px);
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 72px; /* 固定高度，避免抖动 */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: 50px; /* 正方形logo */
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.navbar h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.menu-btn {
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #2c3e50;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0.5rem;
    z-index: 102;
    user-select: none; /* 防止点击时文本选中 */
}

.menu-btn:hover {
    color: #3498db;
    transform: scale(1.1);
}

.announcement-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
}

.modal-content h3 {
  color: #2b79d9; /* 蓝色标题 */
  margin-top: 0;
}

.close-modal {
  background: #2b79d9;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
}

.close-modal:hover {
  background: #1a68c9;
}

/* 折叠菜单（极致丝滑版） */
/* 折叠菜单（彻底丝滑版） */
.nav-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 101;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    /* 用transform和opacity实现动画（性能最优） */
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none; /* 关闭时无法点击 */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 激活状态 */
.nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto; /* 激活时可点击 */
}

.nav-menu ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 1.2rem 5%;
    flex-wrap: wrap;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.6rem 0.3rem;
    position: relative;
    font-size: 1.05rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 主要内容容器 */
.content {
    flex: 1;
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

/* 英雄区域 */
.hero {
    text-align: center;
    padding: 6rem 2rem;
}

.hero .glass-card {
    max-width: 850px;
    padding: 3.5rem 2.5rem;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.8rem;
    color: #2c3e50;
    line-height: 1.3;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.8rem;
    color: #7f8c8d;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 功能介绍区域 */
.features {
    padding: 5rem 2rem 3rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.4rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 1.2rem;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #3498db;
    border-radius: 3px;
}

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

.feature-card {
    text-align: center;
    padding: 2.8rem 1.8rem;
}

.feature-icon {
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    font-size: 3.2rem; 
    margin-bottom: 1.8rem; 
    color: #3498db; 
    transition: transform 0.3s ease; 
    object-fit: cover; 
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1.2rem;
    color: #2c3e50;
    font-size: 1.5rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* 价格订阅区域 */
.pricing {
    padding: 5rem 2rem 3rem;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.4rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 1.2rem;
}

.pricing h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #3498db;
    border-radius: 3px;
}

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

.pricing-card {
    text-align: center;
    padding: 2.5rem 1.8rem;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border: 2px solid #3498db;
    transform: scale(1.03);
    z-index: 10;
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: -45px;
    background: #3498db;
    color: white;
    padding: 0.3rem 3.5rem;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 1.5rem 0;
}

.pricing-card p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* 关于区域 */
.about {
    max-width: 900px;
    text-align: center;
    padding: 3.5rem 2.5rem;
    margin: 3rem auto;
}

.about h2 {
    margin-bottom: 2rem;
    font-size: 2.4rem;
    color: #2c3e50;
}

.about p {
    margin-bottom: 1.5rem;
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 下载区域 */
.download {
    text-align: center;
    padding: 5rem 2rem 3rem;
}

.download .glass-card {
    max-width: 650px;
    padding: 3.5rem 2.5rem;
    margin: 0 auto;
}

.download h2 {
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
    color: #2c3e50;
}

.download p {
    margin-bottom: 2.5rem;
    color: #7f8c8d;
    font-size: 1.1rem;
}

.external-icon {
    font-size: 0.9rem;
    margin-left: 0.3rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    text-align: center;
    user-select: none;
}

.primary-btn {
    background: #3498db;
    color: white;
}

.primary-btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.2);
}

.download-btn {
    background: #2ecc71;
    color: white;
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
}

.download-btn:hover {
    background: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(46, 204, 113, 0.2);
}

.pricing-btn {
    background: #ecf0f1;
    color: #2c3e50;
    width: 100%;
    margin-top: 1rem;
}

.pricing-btn:hover {
    background: #3498db;
    color: white;
}

/* 页脚样式 */
.footer {
    background: transparent;
    padding: 3rem 5% 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.8rem 2rem;
    text-align: center;
}

.footer-content p {
    margin-bottom: 1.2rem;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.contact a {
    color: #7f8c8d;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.contact a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #3498db;
    transition: width 0.3s;
}

.contact a:hover {
    color: #3498db;
}

.contact a:hover::after {
    width: 100%;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 5%;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .features h2, .pricing h2, .about h2, .download h2 {
        font-size: 2rem;
    }
    
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width:576px) {
.navbar h1 {
font-size: 1.5rem;
}
 
.logo {
height: 45px;
width: 45px;
}
 
.hero {
padding: 3rem 1rem;
}
 
.hero .glass-card, .download .glass-card {
padding: 2rem 1.5rem;
}
 
.btn {
padding: 0.9rem 1.8rem;
font-size: 1rem;
}
 
.pricing-card {
padding: 2rem 1.5rem;
}
 
.price {
font-size: 2rem;
}
}
 
/* 动画细节补充 /
/ 页面加载时的渐入效果 */
body {
opacity: 0;
animation: pageFadeIn 0.8s ease forwards 0.2s;
}
 
@keyframes pageFadeIn {
to {
opacity: 1;
}
}
 
/* 导航菜单链接的点击反馈 */
.nav-menu a:active {
transform: scale(0.95);
}
 
/* 按钮点击反馈 */
.btn:active {
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
 
/* 防止图片拉伸 */
img {
max-width: 100%;
height: auto;
object-fit: cover;
}
 
/* 滚动条美化（可选） */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
 
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(10px);
}
 
::-webkit-scrollbar-thumb {
background: rgba(52, 152, 219, 0.3);
border-radius: 4px;
}
 
::-webkit-scrollbar-thumb:hover {
background: rgba(52, 152, 219, 0.5);
}
 
/* 禁用文本选中（提升交互体验） */
.glass-card, .btn, .menu-btn {
user-select: none;
-webkit-user-select: none;
}
 
/* 背景图加载状态优化 */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(240, 244, 248, 0.8);
z-index: -1;
transition: opacity 0.5s ease;
}
 
body.loaded::before {
opacity: 0;
}