/**
 * BlindCalc Pricing Page Styles
 */

/* Remove sidebar and make full width */
body.page .site-content,
body.page .entry-content,
body.page #primary,
body.page .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page #secondary,
body.page .sidebar,
body.page aside {
    display: none !important;
}

body.page .site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.blindcalc-pricing-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Hero Section */
.pricing-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    margin-bottom: 60px;
    color: white;
}

.pricing-logo {
    margin-bottom: 15px;
    text-align: center;
}

.pricing-logo img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    border-radius: 15px;
}

.pricing-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
}

.pricing-subtitle {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Cards Container */
.pricing-container {
    margin-bottom: 80px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Pricing Card */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.25);
}

.pricing-card.featured:hover {
    box-shadow: 0 16px 50px rgba(102, 126, 234, 0.35);
}

.pricing-card.current-plan {
    border-color: #4CAF50;
    background: linear-gradient(to bottom, #ffffff 0%, #f1f8f4 100%);
}

/* Plan Badge */
.plan-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-badge.recommended {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.plan-price {
    margin: 20px 0;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: #666;
    vertical-align: top;
}

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: #999;
    margin-left: 5px;
}

.plan-description {
    font-size: 15px;
    color: #666;
    margin: 15px 0;
}

.plan-quota {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
}

.plan-quota strong {
    display: block;
    color: #333;
    font-size: 16px;
    margin-bottom: 4px;
}

.plan-quota small {
    color: #666;
    font-size: 13px;
}

/* Plan Features */
.plan-features {
    margin-bottom: 30px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 12px 0;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
    flex-shrink: 0;
}

/* Plan Action Buttons */
.plan-action {
    margin-bottom: 15px;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 14px 28px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    background: white;
    color: #333;
    cursor: pointer;
}

.btn-plan:hover {
    background: #f8f9fa;
    border-color: #999;
    color: #333;
    transform: scale(1.02);
}

.btn-plan.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-plan.primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    color: white !important;
    transform: scale(1.05);
}

.btn-plan.current {
    background: #4CAF50;
    color: white;
    border: none;
    cursor: default;
}

.btn-plan.current:hover {
    transform: none;
}

.btn-plan:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-plan:disabled:hover {
    transform: none;
}

.plan-cost-per-job {
    text-align: center;
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* FAQ Section */
.pricing-faq {
    max-width: 1000px;
    margin: 80px auto;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-faq h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.faq-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Feature Comparison */
.pricing-comparison {
    max-width: 1000px;
    margin: 80px auto;
}

.pricing-comparison h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.comparison-table th:first-child {
    border-top-left-radius: 8px;
}

.comparison-table th:last-child {
    border-top-right-radius: 8px;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #333;
}

/* CTA Section */
.pricing-cta {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    margin-top: 80px;
}

.pricing-cta h2 {
    font-size: 42px;
    margin: 0 0 20px 0;
}

.pricing-cta p {
    font-size: 20px;
    margin: 0 0 40px 0;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    padding: 18px 48px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-title {
        font-size: 36px;
    }

    .pricing-subtitle {
        font-size: 18px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrapper {
        padding: 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 14px;
    }

    .pricing-cta h2 {
        font-size: 32px;
    }

    .pricing-cta p {
        font-size: 18px;
    }
}
