/* templates/fastlink/css/style.css - 快连官网样式 */

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #e8edff;
    --secondary: #6c757d;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 0.75rem;
    --radius-lg: 1rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Roboto, Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 32px;
    }
    .section-header p {
        font-size: 16px;
    }
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.logo-text .highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.header-actions .btn-download {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.header-actions .btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow);
    }
    .nav-menu.active {
        display: flex;
    }
    .header-actions {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    position: relative;
}

.hero-illustration {
    width: 100%;
    height: 400px;
    position: relative;
}

.globe {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid var(--border);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
}

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

/* Speed Section */
.speed {
    padding: 100px 0;
    background: var(--gray-light);
}

.speed-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.speed-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.speed-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
}

.speed-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.speed-item {
    text-align: center;
}

.speed-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.speed-value span {
    font-size: 16px;
}

.speed-label {
    font-size: 14px;
    color: var(--gray);
}

.speed-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.speed-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.speed-image {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: var(--radius-lg);
    padding: 40px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-chart {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    height: 200px;
}

.chart-bar {
    width: 40px;
    background: var(--white);
    border-radius: 20px;
    transition: height 0.5s;
}

@media (max-width: 768px) {
    .speed-wrapper {
        grid-template-columns: 1fr;
    }
    .speed-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

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

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: var(--white);
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 0 var(--radius-lg) 0 var(--radius);
}

.pricing-header {
    padding: 32px;
    text-align: center;
    background: var(--gray-light);
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

.price span {
    font-size: 16px;
    font-weight: normal;
    color: var(--gray);
}

.pricing-header p {
    font-size: 14px;
    color: var(--gray);
    margin-top: 8px;
}

.pricing-body {
    padding: 32px;
}

.pricing-body ul {
    list-style: none;
}

.pricing-body li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.pricing-body li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
}

.pricing-footer {
    padding: 0 32px 32px;
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--dark);
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray);
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 12px;
    color: var(--gray);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-bottom: 20px;
    color: var(--gray);
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

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

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Download Page Styles */
.download-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    text-align: center;
    color: var(--white);
}

.download-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.download-hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.platform-tab {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.platform-tab.active,
.platform-tab:hover {
    background: var(--white);
    color: var(--primary);
}

.download-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.download-card {
    max-width: 600px;
    margin: 0 auto;
    display: none;
}

.download-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.download-card-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.download-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.download-card-inner h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 24px 0;
    color: var(--gray);
    font-size: 14px;
}

.download-buttons {
    margin-top: 24px;
}

.btn-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    text-decoration: none;
}

.qrcode {
    margin-top: 32px;
}

.qrcode-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gray-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 40px;
}

/* Guide Section */
.guide {
    padding: 80px 0;
    background: var(--white);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.step {
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    color: var(--gray);
}

@media (max-width: 768px) {
    .guide-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Requirements Section */
.requirements {
    padding: 60px 0;
    background: var(--gray-light);
}

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

.requirements-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.requirements-card h3 {
    margin-bottom: 20px;
}

.requirements-card ul {
    list-style: none;
}

.requirements-card li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.requirements-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
}

/* Security Section */
.security {
    padding: 40px 0;
    background: var(--white);
}

.security-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: #fef3c7;
    border-radius: var(--radius-lg);
}

.security-icon {
    font-size: 48px;
}

.security-text h3 {
    margin-bottom: 8px;
}

.security-text p {
    color: var(--gray);
}

@media (max-width: 768px) {
    .security-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Download FAQ */
.download-faq {
    padding: 60px 0;
    background: var(--gray-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .pricing-card, .testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}