/* 快连官网 - 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary: #0F172A;
    --accent: #F59E0B;
    --accent-green: #10B981;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* Hero区域 */
.hero {
    padding: 140px 2rem 80px;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(16,185,129,0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 span {
    background: linear-gradient(90deg, #60A5FA, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: #60A5FA;
}

.hero-stat .label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.hero-trust {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 通用区块 */
.section {
    padding: 80px 2rem;
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 核心优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 功能亮点 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(96,165,250,0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), #60A5FA);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* 全球节点 */
.nodes-section {
    text-align: center;
}

.nodes-map {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.nodes-map::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(37,99,235,0.15) 0%, transparent 70%);
}

.nodes-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.node-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s;
}

.node-tag:hover {
    background: rgba(37,99,235,0.3);
    border-color: var(--primary);
    color: white;
}

.nodes-stat {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60A5FA;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* 用户评价 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.review-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #60A5FA);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.review-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-source {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 套餐价格 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.pricing-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.pricing-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--accent-green);
    font-weight: 700;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.pricing-btn-primary {
    background: var(--primary);
    color: white;
}

.pricing-btn-primary:hover {
    background: var(--primary-dark);
}

.pricing-btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.pricing-btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* 下载引导 */
.download-section {
    text-align: center;
}

.download-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1.5rem 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    min-width: 160px;
}

.download-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.download-icon {
    font-size: 2.5rem;
}

.download-name {
    font-weight: 600;
    font-size: 1rem;
}

.download-label {
    font-size: 0.8rem;
    color: var(--accent-green);
    font-weight: 500;
}

.download-notice {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #92400E;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-item h3 .faq-num {
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.faq-steps {
    list-style: none;
    counter-reset: step;
}

.faq-steps li {
    counter-increment: step;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-steps li::before {
    content: counter(step);
    background: var(--bg-light);
    color: var(--primary);
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 2rem 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

/* Features Page */
.page-header {
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0F172A, #1E3A5F);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-detail-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s;
}

.feature-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.feature-detail-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-detail-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.feature-detail-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Pricing Page */
.pricing-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.pricing-compare-table th,
.pricing-compare-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pricing-compare-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.pricing-compare-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-compare-table tr:hover td {
    background: var(--bg-light);
}

.check-yes {
    color: var(--accent-green);
    font-weight: 700;
}

/* Help Page */
.help-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.help-category {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.help-category:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.help-category-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.help-category h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.help-category p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.help-faq-section {
    margin-bottom: 3rem;
}

.help-faq-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.help-faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.help-faq-item h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.help-faq-item .faq-steps li {
    color: var(--text-secondary);
}

/* About Page */
.about-story {
    max-width: 800px;
    margin: 0 auto;
}

.about-story p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-value {
    text-align: center;
    padding: 2rem;
}

.about-value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-value h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.about-value p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-timeline {
    max-width: 700px;
    margin: 3rem auto 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 60px;
}

.timeline-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .help-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .subtitle {
        font-size: 1rem;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .section {
        padding: 50px 1rem;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .download-platforms {
        gap: 1rem;
    }
    .download-item {
        min-width: 140px;
        padding: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .feature-detail-grid {
        grid-template-columns: 1fr;
    }
    .help-categories {
        grid-template-columns: 1fr;
    }
    .about-values {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
}
