/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* 主页横幅 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out both;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-icon {
    color: #fbbf24;
    animation: bounce 2s infinite;
}

.hero-sparkle {
    color: #f59e0b;
    animation: sparkle 1.5s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.6;
}

.hero-subtitle i {
    color: #60a5fa;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-feature-item i {
    color: #10b981;
    font-size: 1.2rem;
    animation: checkmark 0.6s ease-out;
}

.hero-feature-item:nth-child(1) i {
    animation-delay: 0.5s;
}

.hero-feature-item:nth-child(2) i {
    animation-delay: 0.7s;
}

.hero-feature-item:nth-child(3) i {
    animation-delay: 0.9s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.6s both;
}

.plugin-preview {
    background: transparent;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.video-player-container {
    width: 500px;
    height: 350px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.video-player-container:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation-play-state: paused;
}

.video-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    border-radius: 15px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.video-overlay.hidden {
    display: none;
}

/* 欢迎弹窗样式 */
.welcome-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.welcome-modal {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    text-align: center;
}

.welcome-header {
    margin-bottom: 1.5rem;
}

.welcome-header i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    display: block;
}

.welcome-header h2 {
    color: #333;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.welcome-content {
    margin-bottom: 2rem;
}

.welcome-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.welcome-actions .btn-primary,
.welcome-actions .btn-secondary {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.welcome-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.welcome-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.welcome-actions .btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.welcome-actions .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

.welcome-footer .btn-close {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.welcome-footer .btn-close:hover {
    background: #e9ecef;
    color: #495057;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-modal-overlay.hidden {
    display: none;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.play-button i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-left: 3px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-container:hover .video-controls {
    opacity: 1;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 35%;
    height: 100%;
    background: #2563eb;
    border-radius: 2px;
    animation: progressAnimation 3s ease-in-out infinite;
}

.control-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.control-btn {
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    color: #2563eb;
    transform: scale(1.2);
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    animation: pulse 2s infinite;
}

.preview-bar.short {
    width: 60%;
    animation-delay: 0.5s;
}

.preview-bar.medium {
    width: 80%;
    animation-delay: 1s;
}

/* 按钮样式 */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: scale(1.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-download {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-download:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

/* 功能特色 */
.features {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* 价格套餐 */
.pricing {
    padding: 6rem 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border-color: #2563eb;
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.purchased-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.daily-price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    z-index: 10;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: #64748b;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0 0.25rem;
}

.period {
    font-size: 1rem;
    color: #64748b;
}

.discount {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 0.75rem;
    width: 20px;
}

.pricing-features .fa-check {
    color: #10b981;
}

.pricing-features .fa-times {
    color: #ef4444;
}

/* 数量选择器 */
.quantity-selector {
    margin: 2rem 0 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quantity-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.quantity-selector label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quantity-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    background: white;
    color: #1e293b;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

.quantity-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.quantity-select:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.pricing-card.popular .quantity-selector {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}

.pricing-card.popular .quantity-select {
    border-color: #3b82f6;
}

.pricing-card.popular .quantity-select:focus,
.pricing-card.popular .quantity-select:hover {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1), 0 4px 12px rgba(29, 78, 216, 0.15);
}

/* 支付方式选择器 */
.payment-method-selector {
    margin-bottom: 1.5rem;
}

.payment-method-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.payment-options {
    display: flex;
    gap: 0.75rem;
}

.payment-option {
    flex: 1;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
}

.payment-icon i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.payment-option input[type="radio"]:checked + .payment-icon {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #3b82f6;
}

.payment-option:hover .payment-icon {
    border-color: #3b82f6;
    background: #f8fafc;
}

.payment-icon .fab.fa-alipay {
    color: #1677ff;
}

.payment-icon .fab.fa-weixin {
    color: #07c160;
}

.payment-option input[type="radio"]:checked + .payment-icon .fab.fa-alipay,
.payment-option input[type="radio"]:checked + .payment-icon .fab.fa-weixin {
    color: inherit;
}

/* 支付弹窗通用样式 */
.wechat-payment-modal,
.alipay-payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 微信支付弹窗 */
.wechat-payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.wechat-payment-modal .modal-header {
    background: #07c160;
}

.alipay-payment-modal .modal-header {
    background: #1677ff;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header .fab.fa-weixin {
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.qr-code-container {
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-container #qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    text-align: center;
}

.qr-code-container #qrcode img {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.qr-code-container #qrcode canvas {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.qr-tip {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.payment-info {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.order-id {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.payment-status {
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
}

.modal-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

/* 下载区域 */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.download .section-title {
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.download-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.download-steps {
    font-size: 1.125rem;
    line-height: 2;
}

.download-steps li {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.download-button {
    text-align: center;
}

.download-note {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.875rem;
}

/* 页脚 */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.loading-spinner p {
    font-size: 1.125rem;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes progressAnimation {
    0% {
        width: 35%;
    }
    50% {
        width: 65%;
    }
    100% {
        width: 35%;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .feature-card,
    .pricing-card {
        padding: 1.5rem;
    }
}

/* 使用教程区域 */
.tutorial-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.tutorial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tutorial-info {
    text-align: left;
}

.tutorial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.tutorial-icon i {
    font-size: 2.5rem;
    color: white;
}

.tutorial-info h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.tutorial-info p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.8;
}

.tutorial-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tutorial-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tutorial-feature i {
    color: #3498db;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.tutorial-feature span {
    font-weight: 500;
    color: #2c3e50;
}

.tutorial-action {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

.tutorial-note {
    margin-top: 15px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* 导航栏活跃状态 */
.nav-menu a.active {
    color: #2563eb;
}

.nav-menu a.active::after {
    width: 100%;
}

/* 使用教程区域响应式设计 */
@media (max-width: 768px) {
    .tutorial-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .tutorial-features {
        grid-template-columns: 1fr;
    }
    
    .tutorial-info h3 {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 弹跳动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 闪烁动画 */
@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* 检查标记动画 */
@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 卡密输入区域样式 */
.card-input-section {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-input-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.card-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.card-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.card-input:focus {
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.card-input:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .card-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .card-input {
        min-width: auto;
        width: 100%;
    }
    
    .card-input-section {
        padding: 1.5rem;
    }
    
    .card-input-section h3 {
        font-size: 1.3rem;
    }
}

/* 联系客服悬浮按钮 */
.customer-service-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}

.service-btn {
    background: linear-gradient(135deg, #07c160, #00ae42);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(7, 193, 96, 0.3);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    border: none;
    outline: none;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(7, 193, 96, 0.4);
    background: linear-gradient(135deg, #00ae42, #009639);
}

.service-btn i {
    font-size: 18px;
}

.service-qr-tooltip {
    position: absolute;
    right: 0;
    bottom: 70px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.customer-service-float:hover .service-qr-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-qr-tooltip img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: cover;
}

.service-qr-tooltip p {
    margin: 0;
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.service-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    color: #333;
    font-size: 12px;
    font-weight: 500;
}

.service-phone i {
    color: #07c160;
    font-size: 12px;
}

.service-qr-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.service-qr-tooltip img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.service-qr-tooltip img:hover {
    transform: scale(1.05);
}

/* 图片模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 40%;
    max-height: 100%;
    animation: zoomIn 0.3s ease;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); }
    to { transform: scale(1); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .customer-service-float {
        right: 20px;
        bottom: 20px;
    }
    
    .service-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .service-btn span {
        display: none;
    }
    
    .service-qr-tooltip {
        right: -80px;
        min-width: 180px;
    }
    
    .service-qr-tooltip img {
        width: 120px;
        height: 120px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .close-modal {
        top: -35px;
        font-size: 25px;
        width: 35px;
        height: 35px;
    }
}

/* 无套餐提示信息样式 */
.no-packages-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    margin: 2rem 0;
}

.no-packages-message p {
    font-size: 1.2rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}
