/* Pricing Note */
.pricing-note {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Pricing Wrapper */
.pricing-wrapper {
    background: #f8f9fa;
    padding: 2rem 2rem 4rem;
}

/* Pricing Section */
.pricing-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.pricing-section h2 {
    text-align: center;
    color: #333;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.highlight-section {
    background: linear-gradient(135deg, #fff5f7 0%, #fff 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-left: -1rem;
    margin-right: -1rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-grid.single {
    grid-template-columns: minmax(280px, 480px);
    justify-content: center;
}

.pricing-grid.two-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-grid.two-cards .pricing-card {
    flex: 0 1 380px;
    max-width: 400px;
}

/* Pricing Card */
.pricing-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid #c41e3a;
    padding-top: 2.5rem;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-header {
    margin-bottom: 1rem;
}

.price-header h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.price {
    color: #c41e3a;
    font-size: 1.75rem;
    font-weight: 700;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}

.pricing-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.feature-list li {
    color: #555;
    padding: 0.35rem 0;
    font-size: 0.95rem;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* Pricing Table */
.pricing-table,
.discount-table {
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pricing-table th,
.pricing-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.pricing-table th {
    background: #2d3436;
    color: #fff;
    font-weight: 600;
}

.pricing-table tr:nth-child(even) {
    background: #f8f9fa;
}

.pricing-table tr:hover {
    background: #fff5f7;
}

.pricing-table td:last-child {
    color: #c41e3a;
    font-weight: 600;
}

/* Discount Table */
.discount-table table {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.discount-table th,
.discount-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.discount-table th {
    background: #2d3436;
    color: #fff;
    font-weight: 600;
}

.discount-table tr:nth-child(even) {
    background: #f8f9fa;
}

.discount-table tr:hover {
    background: #fff5f7;
}

.discount-table td.discount {
    color: #28a745;
    font-weight: 700;
    font-size: 1.1rem;
}

.discount-table td.api-cost {
    color: #c41e3a;
    font-weight: 600;
}

/* API Info Cards */
.api-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.api-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.api-card.free {
    border: 2px solid #28a745;
}

.api-card.paid {
    border: 2px solid #c41e3a;
}

.api-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.api-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.api-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.api-card.free .api-price {
    color: #28a745;
}

.api-card.paid .api-price {
    color: #c41e3a;
}

.api-card p {
    color: #666;
    font-size: 0.9rem;
}

.credits-title {
    text-align: center;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
}

.cta-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.disclaimer p {
    color: #888;
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-section h2 {
        font-size: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}
