/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景特效 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 128, 255, 0.05), rgba(255, 0, 128, 0.05), rgba(0, 255, 128, 0.05));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 128, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00bfff;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #00bfff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #00bfff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 英雄区样式 */
.hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 32, 64, 0.8));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../../s/1.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 50px 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0, 191, 255, 0.6); }
    to { text-shadow: 0 0 30px rgba(0, 191, 255, 0.8), 0 0 40px rgba(0, 191, 255, 0.4); }
}

.hero .subtitle {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    color: #00ff88;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature::before {
    content: '✓';
    color: #00ff88;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, #00bfff, #0080ff);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, #ff0080, #ff4081);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 0, 128, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 128, 0.6);
}

/* 核心功能区样式 */
.features {
    padding: 100px 0;
    background: rgba(245, 245, 245, 0.8);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00bfff, #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

.feature-card h3 {
    font-size: 24px;
    color: #00bfff;
    margin-bottom: 15px;
    text-align: center;
}

.feature-card p {
    color: #666666;
    line-height: 1.6;
    text-align: center;
}

/* 优势区样式 */
.advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.8), rgba(255, 255, 255, 0.8));
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
}

.advantage-number {
    font-size: 48px;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.advantage-title {
    font-size: 20px;
    color: #00bfff;
    margin-bottom: 10px;
}

.advantage-desc {
    color: #666666;
    font-size: 14px;
}

/* 通用内容区样式 */
.content-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.8);
}

/* 使用说明样式 */
.instructions {
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.8), rgba(255, 255, 255, 0.8));
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.instruction-step {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instruction-step:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.3);
}

.step-number {
    font-size: 48px;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 20px;
}

/* 用户反馈样式 */
.testimonials {
    background: rgba(245, 245, 245, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.3);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00bfff, #0080ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    margin-right: 15px;
}

.author-info h4 {
    color: #00bfff;
    margin-bottom: 5px;
}

.author-info .author-rating {
    color: #ffd700;
    font-size: 14px;
}

.testimonial-text {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* FAQ样式 */
.faq {
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.8), rgba(255, 255, 255, 0.8));
}

.faq-item {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 30px;
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(0, 191, 255, 0.3);
}

.faq-answer {
    padding: 20px 30px;
    color: #666666;
    line-height: 1.6;
    display: block;
}

/* 更新日志样式 */
.changelog {
    background: rgba(245, 245, 245, 0.8);
}

.changelog-item {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.changelog-version {
    font-size: 24px;
    font-weight: bold;
    color: #00bfff;
}

.changelog-date {
    color: #666;
    font-size: 14px;
}

.changelog-content {
    color: #666666;
    line-height: 1.6;
}

.changelog-content ul {
    list-style: none;
    padding-left: 0;
}

.changelog-content li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.changelog-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

/* 页脚样式 */
footer {
    background: rgba(245, 245, 245, 0.8);
    color: #666666;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #00bfff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p, .footer-section li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00bfff;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
    font-size: 12px;
    color: #666;
}

/* 相关链接 */
.related-links {
    padding: 100px 0;
    background: rgba(245, 245, 245, 0.8);
}

.related-links-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #00bfff;
    margin-bottom: 60px;
}

.related-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.related-link-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333333;
    display: block;
}

.related-link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.3);
}

.related-link-desc {
    font-size: 14px;
    line-height: 1.4;
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-link-card:hover .related-link-desc {
    color: #0066cc;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 16px;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .related-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .download-btn {
        padding: 15px 30px;
        font-size: 18px;
    }
}

/* ===== 友情链接 ===== */
.flink-section {
    padding: 2.5rem 1rem;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}
.flink-section .container,
.flink-section .inner,
.flink-section .wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.flink-section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.flinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 0.75rem;
}
.flink-item {
    font-size: 0.8125rem;
    text-decoration: none;
    opacity: 0.85;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}
.flink-item:hover {
    opacity: 1;
}
@media (max-width: 640px) {
    .flinks-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 全局组件（悬浮条 / 回顶 / 友链等）===== */
.float-dl-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9000;
  width: min(420px, calc(100% - 32px));
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.float-dl-banner.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.float-dl-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.float-dl-close:hover {
  color: #fff;
}
.float-dl-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 40px 14px 16px;
  color: #fff;
  text-decoration: none;
}
.float-dl-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.float-dl-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.float-dl-text small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9100;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.45);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
}
@media (max-width: 640px) {
  .float-dl-banner {
    width: calc(100% - 24px);
    bottom: 12px;
  }
  .back-to-top {
    right: 14px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }
}
