/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0052D9;
    --secondary-color: #FF4D4F;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #52c41a;
    --warning-color: #faad14;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    color: white;
    padding: 60px 0;
    text-align: 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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 30px;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-cover {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cover-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.hero-animation {
    margin-top: 40px;
}

.video-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    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;
}

.play-icon:hover {
    background: white;
    transform: scale(1.1);
}

.play-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 3px;
}

/* 价格锚点区域 */
.price-anchor {
    background: white;
    padding: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.price-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff7875 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.original-price {
    margin-bottom: 15px;
}

.original-price .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.original-price .amount {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.7;
    margin-left: 10px;
}

.current-price {
    margin-bottom: 20px;
}

.current-price .label {
    font-size: 1rem;
    opacity: 0.9;
}

.current-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-left: 10px;
}

.countdown {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 10px;
}

.countdown-timer {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'DIN Condensed', monospace;
}

/* 场景速配区域 */
.scenarios {
    padding: 60px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-color);
}

.scenario-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.scenario-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.scenario-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.scenario-card p {
    color: #666;
    line-height: 1.6;
}

/* 3步交付区域 */
.delivery-steps {
    padding: 60px 0;
    background: white;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.step-content p {
    color: #666;
}

/* 风险逆转区域 */
.risk-reversal {
    padding: 60px 0;
    background: var(--light-gray);
}

.guarantee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.guarantee-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.guarantee-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.guarantee-card p {
    color: #666;
}

/* 产品特性区域 */
.features {
    padding: 60px 0;
    background: white;
}

/* 软件截图展示区域 */
.screenshots {
    padding: 60px 0;
    background: var(--light-gray);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.screenshot-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.screenshot-item h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.screenshot-item p {
    padding: 0 20px 20px;
    color: #666;
}

/* 演示环境区域 */
.demo-environment {
    padding: 60px 0;
    background: white;
}

.demo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.demo-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.demo-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.demo-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.demo-header h3 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.demo-content p {
    margin-bottom: 10px;
    color: #666;
}

.demo-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.demo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.demo-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.demo-link i {
    font-size: 1.2rem;
}

.demo-note {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
    color: #666;
}

.demo-note i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* 软件证书区域 */
.certificates {
    padding: 60px 0;
    background: var(--light-gray);
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 10px;
}

.certificate-item h3 {
    font-size: 1rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: var(--light-gray);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-item p {
    color: #666;
}

/* 固定CTA条 */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.fixed-cta.show {
    transform: translateY(0);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.cta-text {
    display: flex;
    flex-direction: column;
}

.cta-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.cta-desc {
    font-size: 0.9rem;
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: #0047b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* 悬浮开票按钮 */
.floating-invoice {
    position: fixed;
    right: 20px;
    bottom: 100px;
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,82,217,0.3);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.floating-invoice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,82,217,0.4);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: var(--light-gray);
}

.payment-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.payment-option .amount {
    font-weight: 700;
    color: var(--secondary-color);
}

.invoice-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 联系方式弹窗样式 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-label {
    font-size: 0.9rem;
    color: #666;
}

.qrcode-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin: 10px 0;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
}

.contact-note {
    margin-top: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    text-align: center;
    color: #666;
}

.contact-note i {
    color: var(--primary-color);
    margin-right: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .price-card {
        margin: 0 20px;
    }
    
    .current-price .amount {
        font-size: 2rem;
    }
    
    .countdown-timer {
        font-size: 1.5rem;
    }
    
    .scenario-cards {
        grid-template-columns: 1fr;
    }
    
    .guarantee-cards {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cta-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-invoice {
        right: 10px;
        bottom: 80px;
        padding: 12px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .price-card {
        padding: 20px;
    }
    
    .current-price .amount {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
} 