/* 快连VPN 首页样式 */
:root {
    --primary-blue: #2B6EEF;
    --safety-green: #00C853;
    --dark-bg: #242b42;
    --light-bg: #f0f2f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部导航 */
.header {
    height: 70px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--primary-blue);
}

/* 头部右侧功能区 */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switch, .customer-service {
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #f5f5f5;
    transition: all 0.3s;
}

.language-switch:hover, .customer-service:hover {
    background-color: #e0e0e0;
}

.nav-download-btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-download-btn:hover {
    background-color: #1a5cd7;
}

/* 首屏区域 */
.hero-section {
    padding-top: 70px;
    background: linear-gradient(180deg, #f0f2f5 0%, #fff 100%);
    position: relative;
    overflow: hidden;
    min-height: 550px;
}

.hero-content {
    padding: 80px 0 30px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #333;
}

.hero-subtitle {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #333;
}

.download-btn {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #555;
}

.download-btn i {
    margin-right: 8px;
}

.os-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.os-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.os-icon img {
    width: 24px;
    height: 24px;
}

/* 首屏轮播图 */
.hero-slider {
    margin-top: 30px;
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 5;
}

.slide-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.global-map-animation {
    height: 200px;
    background-image: url('../images/hero-slide1.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

.connection-timer {
    font-size: 18px;
    font-weight: bold;
}

.timer-count {
    color: var(--primary-blue);
    font-size: 24px;
}

.users-3d-chart {
    height: 200px;
    background-image: url('../images/hero-slide2.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.badge {
    padding: 8px 15px;
    background-color: #f0f7ff;
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.solution-scenes {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.scene {
    padding: 15px 25px;
    background-color: #f5f5f5;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.scene:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-5px);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

/* 特点卡片 */
.features-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin: 20px 0;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-item {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2e6ff;
    border-radius: 50%;
    padding: 5px;
}

.feature-icon img {
    width: 100%;
    height: auto;
}

.feature-text {
    flex: 1;
    font-size: 14px;
}

/* 优势部分 */
.advantages-section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    color: var(--primary-blue);
    margin-bottom: 50px;
    text-align: center;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.advantage-card {
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: left;
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-title {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

.advantage-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 为什么选择快连 */
.why-choose-section {
    background-color: var(--dark-bg);
    color: white;
    padding: 80px 0;
}

.why-choose-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.why-choose-content {
    flex: 1;
    max-width: 600px;
}

.why-choose-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.why-choose-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-blue);
}

.why-choose-subtitle {
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.why-choose-text {
    line-height: 1.8;
    margin-bottom: 30px;
}

.why-choose-image {
    flex: 1;
    text-align: right;
}

.why-choose-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 用户评价 */
.reviews-section {
    padding: 80px 0;
    text-align: center;
}

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.review-card {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: left;
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    flex: 1;
}

.review-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.review-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-stars {
    color: #ffb900;
}

/* 浮动通知栏 */
.floating-notice {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    width: 320px;
    overflow: hidden;
    z-index: 100;
    transition: all 0.3s;
}

.floating-notice:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.notice-content {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.notice-content .highlight {
    color: #ff4500;
    font-weight: bold;
}

.download-ticker {
    padding: 10px 15px;
    font-size: 12px;
    color: #666;
    background-color: #f9f9f9;
    height: 32px;
    overflow: hidden;
    position: relative;
}

.ticker-item {
    animation: ticker 15s linear infinite;
    position: absolute;
    white-space: nowrap;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 下载部分 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f0f2f5 100%);
    text-align: center;
}

.download-section.upgraded {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ecfb 100%);
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
}

.download-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.download-option.primary {
    margin-bottom: 30px;
}

.download-btn-glow {
    background: linear-gradient(90deg, var(--primary-blue), #4285f4);
    color: white;
    padding: 18px 45px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    transform: scale(1.2);
}

.download-btn-glow:hover {
    transform: scale(1.25);
    box-shadow: 0 10px 25px rgba(43, 110, 239, 0.4);
}

.download-btn-glow:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {transform: translateX(-100%) rotate(30deg);}
    100% {transform: translateX(100%) rotate(30deg);}
}

.download-btn-glow i {
    margin-right: 10px;
    font-size: 20px;
}

.secondary-downloads {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.secondary-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 120px;
    transition: all 0.3s;
}

.secondary-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.secondary-option img {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

/* 功能矩阵 */
.features-matrix {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.matrix-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.matrix-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.matrix-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.matrix-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.matrix-icon img {
    width: 30px;
    height: 30px;
}

.matrix-item h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.feature-list li:before {
    content: "✓";
    color: var(--safety-green);
    position: absolute;
    left: 0;
    top: 0;
}

.feature-list .highlight {
    font-weight: bold;
}

.feature-list .tag {
    display: inline-block;
    font-size: 12px;
    background-color: #f0f7ff;
    color: var(--primary-blue);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

/* 信任背书系统 */
.trust-section {
    padding: 80px 0;
    background-color: #fff;
}

.trust-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.auth-certifications, .user-testimonials {
    flex: 1;
    min-width: 280px;
}

.auth-certifications h3, .user-testimonials h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.cert-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cert-badge {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.cert-badge img {
    width: 60px;
    height: 60px;
}

.cert-badge span {
    font-size: 14px;
    font-weight: 500;
}

.media-wall {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.media-logo {
    height: 40px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #fff;
}

.media-logo img {
    height: 20px;
    opacity: 0.7;
    transition: all 0.3s;
}

.media-logo:hover img {
    opacity: 1;
}

.testimonial-tabs {
    margin-bottom: 30px;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab.active, .tab:hover {
    color: var(--primary-blue);
}

.tab.active:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    min-height: 200px;
}

.tab-content.active {
    display: block;
}

.connection-counter {
    padding: 15px;
    background-color: #f0f7ff;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.counter {
    font-weight: bold;
    color: var(--primary-blue);
}

/* 页脚 */
.footer {
    background-color: #fff;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-copyright {
    color: #999;
    font-size: 12px;
}

/* 连接成功的粒子动画 */
.connection-success .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-title, .hero-subtitle {
        font-size: 30px;
    }
    
    .why-choose-container {
        flex-direction: column;
    }
    
    .advantage-card {
        flex: 1 1 calc(50% - 20px);
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .global-map-animation, .users-3d-chart {
        height: 150px;
    }
    
    .solution-scenes {
        flex-wrap: wrap;
    }
    
    .matrix-item {
        flex: 1 1 calc(50% - 15px);
    }
    
    .floating-notice {
        width: 280px;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title, .hero-subtitle {
        font-size: 24px;
    }
    
    .feature-item {
        flex: 1 1 100%;
    }
    
    .advantage-card {
        flex: 1 1 100%;
    }
    
    .review-card {
        flex: 1 1 100%;
    }
    
    .trust-section .container {
        flex-direction: column;
        gap: 50px;
    }
    
    .cert-badges {
        justify-content: center;
    }
    
    .matrix-item {
        flex: 1 1 100%;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .header-right {
        display: none;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu li a {
        font-size: 14px;
    }
    
    .hero-content {
        padding: 50px 0 20px;
    }
    
    .hero-title, .hero-subtitle {
        font-size: 20px;
    }
    
    .download-btn-glow {
        transform: scale(1);
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .download-btn-glow:hover {
        transform: scale(1.05);
    }
    
    .secondary-downloads {
        flex-direction: column;
        align-items: center;
    }
    
    .secondary-option {
        width: 100%;
    }
    
    .hero-slider {
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .global-map-animation, .users-3d-chart {
        height: 100px;
    }
    
    .scene {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .floating-notice {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

/* 常见问题 FAQ 部分 */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-item {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    padding: 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    background-color: #f0f7ff;
    color: var(--primary-blue);
    position: relative;
    cursor: pointer;
}

.faq-item h3:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--primary-blue);
}

.faq-item h3.active:after {
    content: "-";
}

.faq-item [itemprop="acceptedAnswer"] {
    padding: 0 20px 20px;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
    color: #666;
} 