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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 按钮样式 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

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

/* 导航栏 */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 28px;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* 主横幅 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 最新更新 */
.whats-new {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.whats-new h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.update-date {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.update-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.update-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #f8f9fa;
    border-radius: 25px;
    font-weight: 500;
}

.badge {
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* 快速开始 */
.get-started {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.get-started h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.get-started p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.deploy-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.deploy-option {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 250px;
}

.deploy-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.deploy-option i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.deploy-option h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.deploy-option p {
    color: #666;
}

.no-credit-card {
    color: #28a745;
    font-weight: 500;
    margin-top: 20px;
}

/* 集成展示 */
.integrations {
    background: white;
    padding: 80px 0;
}

.integrations h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.integrations p {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

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

.integration-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.integration-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.integration-item i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

.integration-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.integration-item p {
    color: #666;
    font-size: 0.95rem;
}

.view-more {
    text-align: center;
}

.link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link:hover {
    color: #5a6fd8;
}

/* 功能特性 */
.features {
    background: #f8f9fa;
    padding: 80px 0;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

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

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

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

/* 真正的计算机 */
.real-computer {
    background: white;
    padding: 80px 0;
}

.real-computer h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

.computer-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.computer-feature {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.computer-feature:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.computer-feature i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.computer-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

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

/* 定价 */
.pricing {
    background: #f8f9fa;
    padding: 80px 0;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.pricing p {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

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

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 30px;
}

.price span {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-features li i {
    color: #28a745;
    margin-right: 10px;
}

.pricing-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-weight: 500;
}

.feature-check i {
    color: #667eea;
}

/* API密钥支持 */
.api-support {
    background: white;
    padding: 80px 0;
}

.api-support h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

.api-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.api-option {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    min-width: 280px;
    transition: all 0.3s ease;
}

.api-option:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.api-option i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.api-option h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.api-option p {
    color: #666;
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #666;
}

.contact-item i {
    color: #667eea;
    font-size: 1.3rem;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    padding: 30px 30px 0;
    margin-bottom: 20px;
    color: #333;
}

/* 表单样式 */
.deploy-form {
    padding: 0 30px 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.form-actions .btn {
    padding: 12px 24px;
    font-size: 16px;
}

/* 部署状态 */
.deployment-status {
    padding: 30px;
}

.status-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.status-text {
    text-align: center;
    font-weight: 600;
    color: #333;
}

.status-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.status-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step i {
    display: block;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    color: #ccc;
}

.step.active i {
    color: #667eea;
}

.step.completed i {
    color: #28a745;
}

.step span {
    font-size: 12px;
    color: #666;
}

/* 部署完成 */
.deployment-complete {
    padding: 30px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.deployment-complete h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.deployment-complete p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.deployment-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #667eea;
}

.info-item a {
    color: #667eea;
    text-decoration: none;
    word-break: break-all;
}

.info-item a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .deploy-options {
        flex-direction: column;
        align-items: center;
    }
    
    .integration-grid,
    .features-grid,
    .computer-features,
    .api-options,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .status-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .status-steps::before {
        display: none;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .deploy-option,
    .integration-item,
    .feature-item,
    .computer-feature,
    .api-option {
        padding: 25px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .deploy-form {
        padding: 0 20px 20px;
    }
}