/* Price Plan Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 调整最小宽度为320px */
    gap: 30px;
    margin: 50px 0;
    justify-items: center;
}

.price-card {
    background: rgba(10, 20, 50, 0.3);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    max-width: 450px;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: #00ffff;
}

.price-card.featured {
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
    transform: scale(1.05);
    z-index: 1;
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-header {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(45deg, rgba(0, 80, 170, 0.4), rgba(0, 150, 255, 0.2));
    border-bottom: 1px solid rgba(0, 150, 255, 0.3);
}

.price-card.featured .price-header {
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.6), rgba(0, 255, 255, 0.3));
}

.price-title {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.price-amount {
    font-size: 42px;
    font-weight: bold;
    color: #00ffff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.price-period {
    font-size: 16px;
    color: #ccccff;
}

.price-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price-features {
    list-style-type: none;
    margin: 0 0 20px 0;
    padding: 0;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 15px;
    color: #ccccff;
    position: relative;
    padding-left: 30px;
}

.price-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
}

.price-features li.not-included {
    color: rgba(204, 204, 255, 0.5);
    text-decoration: line-through;
}

.price-features li.not-included:before {
    content: '×';
    color: rgba(255, 0, 0, 0.7);
}

.price-footer {
    padding: 0 30px;
    text-align: center;
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 8px 30px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.5);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    margin: 50px 0;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 150, 255, 0.2);
}

.comparison-table th {
    background: rgba(0, 50, 100, 0.5);
    color: #00ffff;
    font-size: 18px;
}

.comparison-table td {
    background: rgba(10, 20, 50, 0.3);
    color: #ccccff;
}

.comparison-table tr:nth-child(even) td {
    background: rgba(10, 20, 50, 0.4);
}

.comparison-table tr:hover td {
    background: rgba(0, 100, 200, 0.2);
}

.comparison-table .feature-name {
    text-align: left;
    color: #ffffff;
    font-weight: bold;
}

.comparison-table .yes {
    color: #00ffaa;
    font-size: 20px;
}

.comparison-table .no {
    color: rgba(255, 100, 100, 0.7);
    font-size: 20px;
}

/* AI Feature List */
.ai-feature-list {
    max-width: 800px;
    margin: 50px auto;
    background: rgba(10, 20, 50, 0.3);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
}

.ai-feature-list h3 {
    font-size: 28px;
    color: #00ffff;
    margin-bottom: 20px;
    text-align: center;
}

.ai-feature-list ul {
    list-style-type: none;
    padding: 0;
}

.ai-feature-list li {
    margin-bottom: 15px;
    color: #ccccff;
    position: relative;
    padding-left: 30px;
}

.ai-feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
}

/* FAQ Section */
.faq-container {
    margin: 50px 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(10, 20, 50, 0.3);
    border: 1px solid rgba(0, 150, 255, 0.2);
}

.faq-question {
    padding: 20px;
    background: rgba(0, 50, 100, 0.3);
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 50, 100, 0.5);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #00ffff;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #ccccff;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(0deg, rgba(10, 20, 50, 0.8), rgba(10, 10, 30, 0.2));
}


/* Custom features */
.custom-package {
    text-align: center;
    padding: 40px;
    margin: 50px 0;
    background: rgba(0, 50, 100, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.custom-title {
    font-size: 32px;
    color: #00ffff;
    margin-bottom: 20px;
}

.custom-desc {
    font-size: 18px;
    color: #ccccff;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(320px, 450px));
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-10px);
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

@media (max-width: 768px) {

    .price-title {
        font-size: 24px;
    }

    .price-amount {
        font-size: 36px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .comparison-table {
        width: 100%;
        overflow-x: auto;
        display: block;
    }
}
