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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 头部导航样式 */
.header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 auto 0 48px;
}

.nav-item {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #fff;
}

.nav-item.active {
    color: #fff;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.button {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    background: #fff;
    color: #6366f1;
    border: none;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.button-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

.button-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header {
        padding: 0.75rem 1rem;
    }

    .logo {
        height: 32px;
    }
}

/* Hero区域样式 */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

/* 功能特性区域样式 */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* 应用展示区域样式 */
.app-showcase {
    padding: 4rem 2rem;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.showcase-image {
    flex: 1;
    min-width: 300px;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 二维码区域样式 */
.qr-codes {
    padding: 4rem 2rem;
    background-color: #f9fafb;
    text-align: center;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.qr-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.qr-item img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.qr-item h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

/* H5 访问特定样式 */
.h5-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.h5-icon {
    width: 160px;
    height: 160px;
    margin: 0 auto 15px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.h5-icon svg {
    width: 80px;
    height: 80px;
    color: #666;
    transition: color 0.3s ease;
}

.h5-link:hover .h5-icon {
    background: #e8e8e8;
}

.h5-link:hover svg {
    color: #333;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .qr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px;
    }

    .qr-item img,
    .h5-icon {
        width: 120px;
        height: 120px;
    }

    .h5-icon svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .qr-grid {
        grid-template-columns: 1fr;
    }
}

/* 优势展示区域样式 */
.advantages {
    padding: 4rem 2rem;
    background-color: #f9fafb;
    text-align: center;
}

.advantages h2 {
    margin-bottom: 2rem;
    color: #1f2937;
    font-size: 2rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    padding: 12px;
    background: #f0f4ff;
    border-radius: 50%;
}

.advantage-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #6366f1;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* CTA区域样式 */
.cta {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f3f4f6;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #6366f1;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #4f46e5;
}

/* 友情链接样式 */
.friend-links {
    padding: 2rem;
    background: #f3f4f6;
    margin-top: 2rem;
}

.links-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.links-container a {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.links-container a:hover {
    color: #6366f1;
}

/* 页脚样式 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-info .separator {
    color: rgba(255, 255, 255, 0.3);
}

#weather-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer p {
    margin: 10px 0;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.beian-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-info .separator {
        display: none;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }

    .features, .app-showcase, .qr-codes {
        padding: 3rem 1rem;
    }

    .showcase-image {
        min-width: 100%;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qr-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
 /* 底部备案样式 */
.footer {
background-color: #1f2937;
color: white;
padding: 2rem;
text-align: center;
}

.footer-links {
margin-top: 1rem;
font-size: 0.9rem;
}

.footer-links a {
color: #9ca3af;
text-decoration: none;
margin: 0 0.5rem;
transition: color 0.3s ease;
}

.footer-links a:hover {
color: #fff;
}

.beian-icon {
width: 14px;
height: 14px;
margin-right: 4px;
vertical-align: middle;
}

.visitor-count {
margin-top: 1rem;
color: #9ca3af;
font-size: 0.9rem;
}
.logo {
height: 40px; /* 根据实际logo大小调整 */
display: flex;
align-items: center;
}

.logo img {
height: 100%;
width: auto;
}

/* 如果需要在小屏幕上调整logo大小 */
@media (max-width: 768px) {
.logo {
    height: 32px;
}
}
/* 修改应用展示区域样式 */
.showcase-container {
display: flex;
align-items: center;
justify-content: center;
gap: 4rem;
margin-top: 3rem;
flex-wrap: wrap;
padding: 2rem;
}

.showcase-image {
flex: 0 1 300px;
perspective: 1000px;
cursor: pointer; /* 添加手型光标 */
}

/* 手机边框样式 */
.phone-frame {
position: relative;
background: #ffffff;
border-radius: 45px;
padding: 12px;
box-shadow: 
    inset 0 0 5px rgba(0, 0, 0, 0.1),
    0 25px 35px -8px rgba(0, 0, 0, 0.2);
border: 2px solid #f0f0f0;
transition: all 0.3s ease;
transform: translateY(0); /* 默认不倾斜 */
}
.phone-frame:hover {
transform: rotate(0deg) translateY(-10px);
}

/* 顶部刘海 */
.phone-frame::before {
content: '';
position: absolute;
width: 120px;
height: 25px;
background: #000;
left: 50%;
transform: translateX(-50%);
top: 12px;
border-radius: 0 0 15px 15px;
z-index: 2;
}

/* 静音开关 */
.phone-frame::after {
content: '';
position: absolute;
width: 3px;
height: 20px;
background: #e0e0e0;
left: -2px;
top: 90px;
border-radius: 3px;
}

/* 音量按钮 */
.phone-frame .volume-buttons::before,
.phone-frame .volume-buttons::after {
content: '';
position: absolute;
width: 3px;
height: 30px;
background: #e0e0e0;
left: -2px;
border-radius: 3px;
}

.phone-frame .volume-buttons::before {
top: 120px;
}

.phone-frame .volume-buttons::after {
top: 160px;
}

/* 电源键 */
.phone-frame .power-button {
position: absolute;
width: 3px;
height: 30px;
background: #e0e0e0;
right: -2px;
top: 120px;
border-radius: 3px;
}

/* 屏幕内容 */
.phone-screen {
position: relative;
background: #fff;
border-radius: 35px;
overflow: hidden;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.phone-screen img {
width: 100%;
height: auto;
display: block;
border-radius: 35px;
}

/* 底部Home指示器 */
.home-indicator {
position: absolute;
width: 120px;
height: 5px;
background: #000;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
border-radius: 3px;
opacity: 0.2;
z-index: 2;
}

@media (max-width: 768px) {
.showcase-container {
    gap: 3rem;
}

.showcase-image {
    flex: 0 1 280px;
}
}
@keyframes shake {
0%, 100% { transform: translateY(0); }
25% { transform: translateY(-5px) rotate(-1deg); }
50% { transform: translateY(-8px) rotate(1deg); }
75% { transform: translateY(-5px) rotate(-1deg); }
}

.phone-frame:hover {
transform: translateY(-10px);
box-shadow: 
    inset 0 0 5px rgba(0, 0, 0, 0.1),
    0 30px 40px -10px rgba(0, 0, 0, 0.25);
}

.phone-frame.shake {
animation: shake 0.5s ease-in-out;
}
.feature-icon {
width: 48px;
height: 48px;
margin: 0 auto 1rem;
padding: 10px;
background: #f0f4ff;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
}

.feature-icon svg {
width: 100%;
height: 100%;
fill: none;
stroke: #6366f1;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}

.feature-card {
text-align: center;
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
margin: 1rem 0;
color: #1f2937;
font-size: 1.25rem;
}

.feature-card p {
color: #6b7280;
font-size: 0.95rem;
line-height: 1.5;
}
.hero {
padding: 8rem 2rem 6rem;
text-align: center;
background: linear-gradient(135deg, #6366f1, #8b5cf6);
color: white;
}

.hero h1 {
font-size: 3rem;
font-weight: 700;
margin-bottom: 1rem;
letter-spacing: 2px;
}

.hero-subtitle {
font-size: 1.5rem;
margin-bottom: 2rem;
opacity: 0.9;
}

.hero-features {
display: flex;
justify-content: center;
align-items: center;
gap: 0.75rem;
margin-bottom: 2.5rem;
font-size: 1.1rem;
flex-wrap: wrap;
}

.hero-features span {
opacity: 0.8;
}

.hero-features span:nth-child(2n) {
opacity: 0.5;
font-size: 0.8rem;
}

.button {
display: inline-block;
padding: 1rem 3rem;
background-color: white;
color: #6366f1;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
background-color: #f8f9fa;
}

@media (max-width: 768px) {
.hero h1 {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
}

.hero-features {
    font-size: 1rem;
    padding: 0 1rem;
}
}
.statistics-link {
color: #9ca3af;
text-decoration: none;
transition: color 0.3s ease;
}

.statistics-link:hover {
color: #fff;
}
.nav-info {
position: absolute;
top: -30px;
right: 0;
color: white;
font-size: 0.9rem;
opacity: 0.9;
}

.nav-info .separator {
margin: 0 8px;
opacity: 0.5;
}

#weather-info {
display: inline-flex;
align-items: center;
gap: 8px;
}

@media (max-width: 768px) {
.nav-info {
display: none;
}
}

/* 微信提示层样式 */
.weixin-tip {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
animation: fadeIn 0.3s ease;
}

.weixin-tip-content {
background: white;
padding: 30px;
border-radius: 12px;
text-align: center;
max-width: 300px;
width: 90%;
}

.weixin-tip-content h3 {
margin: 0 0 15px;
color: #333;
font-size: 18px;
}

.weixin-tip-content p {
margin: 0 0 20px;
color: #666;
font-size: 14px;
line-height: 1.5;
}

.tip-qrcode {
margin: 0 auto 20px;
padding: 10px;
background: #f5f5f5;
border-radius: 8px;
width: fit-content;
}

.tip-qrcode img {
display: block;
max-width: 150px;
height: auto;
}

.close-btn {
background: #07c160;
color: white;
border: none;
padding: 8px 25px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s ease;
}

.close-btn:hover {
background: #06ae56;
}

@keyframes fadeIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}

