.pricing-body {
    background: var(--background);
    color: var(--text-dark);
    min-height: 100vh;
}

/* Header & Back Navigation */
.pricing-header-nav {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
    margin-bottom: 60px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary);
}

/* Hero Section */
.pricing-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.pricing-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.pricing-hero p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Billing Toggle Switch */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.toggle-switch-wrapper {
    position: relative;
    display: inline-flex;
    background: var(--bg-tabs);
    border-radius: 99px;
    padding: 4px;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    border-radius: 99px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.toggle-btn.active {
    color: var(--text-dark);
    background: var(--white);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.discount-badge {
    position: absolute;
    top: -15px;
    right: -15px; 
    background: var(--white);
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-light);
    letter-spacing: 0.1px;
    z-index: 10;
    pointer-events: none;   
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto 90px;
    padding: 0 20px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--shadow-light);
    margin: 15px 0;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* Featured (Pro) Card Styling */
.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 12px 32px rgba(254, 161, 22, 0.1);
    margin: 0;
    padding: 50px 32px;
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(254, 161, 22, 0.16);
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Card Typography & Layout */
.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.plan-description {
    font-size: 13.5px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 42px;
}

.plan-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.price-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    transition: opacity 0.15s ease;
}

.price-period {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.billing-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 28px;
    min-height: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.billing-label.visible {
    opacity: 1;
}

/* Card Feature List */
.card-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.card-features-list li {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features-list li i {
    color: var(--primary);
    font-size: 15px;
    flex-shrink: 0;
}

/* Card Action Button */
.card-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.card-btn.primary {
    background: var(--primary);
    color: var(--white);
}

.card-btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 161, 22, 0.25);
}

.card-btn.secondary {
    background: var(--bg-tabs);
    color: var(--text-dark);
}

.card-btn.secondary:hover {
    background: var(--border-hover);
    color: var(--black);
}

/* Detailed Comparison Table */
.comparison-section {
    max-width: 960px;
    margin: 0 auto 90px;
    padding: 0 20px;
}

.comparison-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.table-responsive-wrapper {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 12px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.comparison-table th {
    padding: 20px 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th:first-child {
    width: 35%;
}

.comparison-table th:not(:first-child) {
    width: 21.6%;
    text-align: center;
}

.comparison-table td {
    padding: 18px 16px;
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table td i.bi-check-lg {
    color: var(--primary);
    font-weight: 900;
    font-size: 16px;
}

.comparison-table td i.bi-x-lg {
    color: var(--text-light);
    font-size: 13px;
}

.feature-info-icon {
    color: var(--text-light);
    font-size: 13px;
    margin-left: 6px;
    cursor: help;
}

.feature-info-icon:hover {
    color: var(--text-gray);
}

/* Need Help Support Banner */
.help-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.help-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.help-section p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 32px;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.support-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Dark mode overrides (no .light-mode on body) */
body:not(.light-mode).pricing-body {
    background: var(--black);
    color: var(--white-75);
}

body:not(.light-mode) .pricing-header-nav {
    background: var(--dark-200);
    border-bottom-color: var(--white-08);
}

body:not(.light-mode) .back-link {
    color: var(--white-75);
}

body:not(.light-mode) .pricing-hero h1 {
    color: var(--white);
}

body:not(.light-mode) .pricing-hero p {
    color: var(--white-65);
}

body:not(.light-mode) .toggle-switch-wrapper {
    background: var(--dark-200);
    border-color: var(--white-08);
}

body:not(.light-mode) .toggle-btn {
    color: var(--white-65);
}

body:not(.light-mode) .toggle-btn.active {
    color: var(--white);
    background: var(--dark-card);
    box-shadow: 0 2px 8px var(--shadow-dark);
}

body:not(.light-mode) .discount-badge {
    background: var(--dark-card);
    color: var(--white);
    border-color: var(--white-08);
    box-shadow: 0 4px 12px var(--shadow-dark);
}

body:not(.light-mode) .pricing-card {
    background: var(--dark-card);
    border-color: var(--white-08);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

body:not(.light-mode) .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

body:not(.light-mode) .pricing-card.featured {
    box-shadow: 0 12px 32px rgba(254, 161, 22, 0.15);
}

body:not(.light-mode) .pricing-card.featured:hover {
    box-shadow: 0 16px 40px rgba(254, 161, 22, 0.2);
}

body:not(.light-mode) .plan-name {
    color: var(--white);
}

body:not(.light-mode) .plan-description {
    color: var(--white-65);
}

body:not(.light-mode) .price-value {
    color: var(--white);
}

body:not(.light-mode) .price-period {
    color: var(--white-65);
}

body:not(.light-mode) .billing-label {
    color: var(--white-65);
}

body:not(.light-mode) .card-features-list li {
    color: var(--white-65);
}

body:not(.light-mode) .card-btn.secondary {
    background: var(--white-08);
    color: var(--white);
}

body:not(.light-mode) .card-btn.secondary:hover {
    background: var(--white-10);
    color: var(--white);
}

body:not(.light-mode) .comparison-title {
    color: var(--white);
}

body:not(.light-mode) .table-responsive-wrapper {
    background: var(--dark-card);
    border-color: var(--white-08);
    box-shadow: 0 4px 20px var(--shadow-dark);
}

body:not(.light-mode) .comparison-table th {
    color: var(--white);
    border-bottom-color: var(--white-08);
}

body:not(.light-mode) .comparison-table td {
    color: var(--white-65);
    border-bottom-color: var(--white-08);
}

body:not(.light-mode) .comparison-table td i.bi-x-lg {
    color: rgba(255,255,255,.35);
}

body:not(.light-mode) .feature-info-icon {
    color: rgba(255,255,255,.4);
}

body:not(.light-mode) .feature-info-icon:hover {
    color: var(--white-65);
}

body:not(.light-mode) .help-section h3 {
    color: var(--white);
}

body:not(.light-mode) .help-section p {
    color: var(--white-65);
}

body:not(.light-mode) .support-btn {
    background: var(--dark-card);
    border-color: var(--white-08);
    color: var(--white);
    box-shadow: 0 2px 6px var(--shadow-dark);
}

body:not(.light-mode) .support-btn:hover {
    background: var(--dark-200);
    border-color: var(--white-10);
    box-shadow: 0 4px 10px var(--shadow-dark);
}

/* Responsive */
@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        gap: 40px;
        padding: 0 10px;
    }

    .pricing-hero h1 {
        font-size: 32px;
    }

    .featured-badge {
        transform: translate(-50%, -50%);
    }

    .pricing-card {
        margin: 0 !important;
    }

    .pricing-card.featured {
        margin: 0 !important;
        padding: 36px 32px !important;
        transform: none !important;
    }

    .comparison-section{
        padding: 0 10px;
    }
}
