:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #f8f9fa;
    --price-basic: #e3f2fd;
    --price-pro: #f3e5f5;
    --price-enterprise: #f0f4c3;
    --price-unlimited: #ffcdd2;
}

.header {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ai_container {
	background: var(--background-color);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translatey(-5px);
}

.card-image {

    height: 250px;
    border-radius: 8px 8px 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

/* 定价区块样式 */
.section-header {
    text-align: center;
    margin: 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px dashed var(--primary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }
}

.card-price {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin: 0;
}

.card-price:hover {
    transform: translatey(-5px);
}

.card-price h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    color: #2ecc71;
    margin: 1rem 0;
}

.card-price ul {
    padding-left: 1.5rem;
}

.card-price li {
    margin: 0.8rem 0;
    color: #666;
}

/* 不同方案配色 */
.premium {
    border-color: #9b59b6;
}

.enterprise {
    border-color: #f1c40f;
}

.unlimited {
    border-color: #e74c3c;
}

.api-button {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.api-button:hover {
    background: #2980b9;
	color:#fff;
	text-decoration: none;
}

/* 订单按钮样式 */
.order-button {
    margin-top: 1.5rem;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .pricing-grid {
        padding: 1rem;
    }
    
    .section-header {
        margin: 1.5rem 0;
        padding-bottom: 0.8rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .card-price {
        padding: 1.2rem;
    }
    
    .price {
        font-size: 1.5rem;
    }

    .section-header {
        margin: 1rem 0;
        padding-bottom: 0.5rem;
    }
}

/* 新增intro-section样式 */
.intro-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.intro-section > * {
    flex: 0 1 48%;
    margin: 1%;
}

@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
    }
    .intro-section > * {
        flex: 1 1 100%;
        margin: 10px 0;
    }
}

.language-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-left: 0;
}

.language-list li {
    list-style: none;
    padding: 0.8rem;
    background: var(--background-color);
    border-radius: 5px;
}