/* Pricing page specific styles */
body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 70px;
    background-color: var(--primary-bg);
    color: var(--primary-text);
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.pricing-header p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto;
}

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

.pricing-card {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    min-height: 600px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* Removed featured card styling - all cards are equal */

.tier-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #555;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
}

.pricing-card:hover .tier-badge {
    background: linear-gradient(135deg, var(--highlight-color), #ff6699);
    box-shadow: 0 3px 15px rgba(255, 51, 102, 0.3);
}

/* Removed best-value styling - no marketing gimmicks */

.tier-name {
    font-size: 1.8rem;
    margin: 20px 0 10px;
    color: var(--primary-text);
    text-align: center;
}

.tier-price {
    text-align: center;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--highlight-color);
}

.price-period {
    font-size: 1.2rem;
    color: var(--secondary-text);
}

.tier-subtitle {
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pricing Details */
.pricing-details {
    background-color: var(--primary-bg);
    border-radius: 8px;
    padding: 20px 16px;
    margin-bottom: 15px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    gap: 12px;
}

.pricing-row.highlight {
    color: var(--highlight-color);
    font-weight: 600;
    font-size: 1rem;
}

.pricing-row.token-count,
.pricing-row.token-cost {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    padding-top: 12px;
    color: #aaa;
    font-size: 0.85rem;
}

.pricing-row.downgrade-threshold {
    color: #ffaa00;
    font-size: 0.85rem;
    font-style: italic;
}

.pricing-label {
    color: var(--secondary-text);
}

.pricing-value {
    font-weight: 600;
    color: var(--primary-text);
    white-space: nowrap;
    text-align: right;
}

.pricing-row.highlight .pricing-value {
    color: var(--highlight-color);
}

/* Features List */
.tier-features {
    flex-grow: 1;
    margin-bottom: 0;
    padding-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    fill: var(--highlight-color);
    flex-shrink: 0;
}

/* Batch Info Section */
.batch-info-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 12px;
    padding-top: 12px;
}

.batch-info-header {
    color: #aaa;
    font-size: 0.85rem;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.batch-scenario {
    color: var(--secondary-text);
    font-size: 0.9rem;
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.batch-scenario strong {
    color: var(--highlight-color);
    font-weight: 600;
}

/* Tier Button */
.tier-button {
    display: block;
    width: calc(100% - 40px);
    max-width: 240px;
    margin: 0 auto 30px;
    padding: 14px 20px;
    background-color: #444;
    color: white;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover .tier-button {
    background: linear-gradient(135deg, var(--highlight-color), #ff6699);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 51, 102, 0.3);
}

/* Pricing Description Section */
.pricing-description {
    background-color: var(--secondary-bg);
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 60px;
    box-shadow: var(--box-shadow);
}

.pricing-description h2 {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-text);
    text-align: center;
}

.pricing-subtitle {
    color: var(--secondary-text);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Billing Steps */
.billing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.billing-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

.step-content h4 {
    margin: 0 0 10px;
    color: var(--primary-text);
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: var(--secondary-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Billing Example */
.billing-example {
    background-color: var(--primary-bg);
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.billing-example h4 {
    margin: 0 0 20px;
    color: var(--primary-text);
    font-size: 1.3rem;
    text-align: center;
}

.example-calculation {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--secondary-text);
    font-size: 1rem;
}

.calc-row.total {
    border-top: 2px solid var(--highlight-color);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-text);
}

.calc-row.total span:last-child {
    color: var(--highlight-color);
}

.example-note {
    color: #ffaa00;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.cta-section p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--highlight-color), #ff6699);
    color: white;
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.3);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-text);
    text-align: center;
}

.faq-item {
    background-color: var(--secondary-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-text);
    transition: var(--transition);
    user-select: none;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question::after {
    content: "+";
    font-size: 1.8rem;
    color: var(--highlight-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    color: var(--secondary-text);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-question.active + .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 40px 20px;
    }

    .pricing-header h1 {
        font-size: 2.2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .billing-steps {
        grid-template-columns: 1fr;
    }

    .pricing-description {
        padding: 30px 20px;
    }

    .billing-example {
        padding: 20px;
    }

    .tier-name {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 1.8rem;
    }

    .pricing-header p {
        font-size: 1rem;
    }

    .tier-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .calc-row {
        flex-direction: column;
        gap: 5px;
        text-align: left;
    }

    .calc-row span:last-child {
        font-weight: 600;
    }
}
