
        /* Additional specific styles for comparison page */
        .comparison-highlight {
            background: linear-gradient(145deg, rgba(237, 191, 70, 0.05) 0%, rgba(237, 191, 70, 0.02) 100%);
            border-radius: var(--border-radius);
            padding: 40px;
            margin: 30px 0;
            border-left: 4px solid var(--primary);
        }
        
        .pricing-card {
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
            border-radius: var(--border-radius);
            padding: 40px;
            border: 2px solid var(--primary-light);
            box-shadow: 0 10px 40px rgba(237, 191, 70, 0.15);
            position: relative;
            overflow: hidden;
        }
        
        .pricing-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
        }
        
        .feature-comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 30px 0;
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }
        
        .feature-comparison-table th {
            background: linear-gradient(145deg, var(--dark), var(--dark-light));
            color: white;
            padding: 20px;
            text-align: center;
            font-weight: 600;
            font-size: 18px;
        }
        
        .feature-comparison-table td {
            padding: 18px 20px;
            border-bottom: 1px solid rgba(237, 191, 70, 0.1);
        }
        
        .feature-comparison-table tr:last-child td {
            border-bottom: none;
        }
        
        .feature-comparison-table tr:hover {
            background: rgba(237, 191, 70, 0.03);
        }
        
        .feature-name {
            font-weight: 600;
            color: var(--dark);
        }
        
        .lite-column, .pro-column {
            text-align: center;
            width: 120px;
        }
        
        .check-icon {
            color: #27ae60;
            font-size: 20px;
        }
        
        .cross-icon {
            color: #e74c3c;
            font-size: 20px;
        }
        
        .pro-badge {
            background: linear-gradient(145deg, var(--primary), var(--primary-light));
            color: var(--dark);
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 12px;
            display: inline-block;
            margin-left: 10px;
            box-shadow: 0 3px 10px rgba(237, 191, 70, 0.3);
        }
        
        
        
        .testimonial-slider {
            background: linear-gradient(145deg, var(--dark), var(--dark-light));
            color: white;
            border-radius: var(--border-radius);
            padding: 40px;
            margin: 40px 0;
            position: relative;
            overflow: hidden;
        }
        
        .testimonial-slider:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M0,0 L100,0 L100,100 Z"></path></svg>');
            background-size: cover;
        }
        
        .testimonial-quote {
            font-size: 18px;
            font-style: italic;
            line-height: 1.7;
            margin-bottom: 20px;
            position: relative;
            padding-left: 30px;
        }
        
        .testimonial-quote:before {
            content: '"';
            position: absolute;
            left: 0;
            top: -10px;
            font-size: 60px;
            color: var(--primary);
            font-family: Georgia, serif;
            opacity: 0.5;
        }
        
        .upgrade-cta {
            background: linear-gradient(145deg, var(--primary), var(--primary-light));
            color: var(--dark);
            text-align: center;
            padding: 50px;
            border-radius: var(--border-radius);
            margin: 40px 0;
            position: relative;
            overflow: hidden;
        }
        
        .upgrade-cta:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 40%;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
        }
        
        .guarantee-badge {
            background: rgba(255, 255, 255, 0.9);
            color: var(--dark);
            padding: 10px 25px;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin: 20px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
    
		/* Pricing Cards Container */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

/* Base Pricing Card */
.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Pro Card Specific */
.pricing-card.pro-card {
    border: 3px solid var(--primary);
    overflow: visible;
}

/* Pricing Card Headers */
.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-title {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.pricing-title.pro-title {
    color: var(--primary);
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin: 20px 0;
}

.pricing-price.pro-price {
    color: var(--primary);
}

.pricing-period {
    display: block;
    font-size: 16px;
    color: var(--gray);
    font-weight: normal;
    margin-top: 5px;
}

.pricing-description {
    color: var(--gray);
    margin-bottom: 25px;
    font-style: italic;
}

/* Pricing Button */
.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pricing-btn.lite-btn {
    background: var(--dark-light);
    color: white;
}

.pricing-btn.pro-btn {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(237, 191, 70, 0.4);
}

.pricing-btn.pro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 191, 70, 0.6);
}

.pricing-btn i {
    margin-right: 10px;
}

/* Features List */
.pricing-features {
    border-top: 1px solid rgba(237, 191, 70, 0.2);
    padding-top: 25px;
}

.features-title {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 18px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    margin-top: 2px;
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-main {
    color: var(--dark);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.feature-desc {
    color: var(--gray);
    font-size: 13px;
    display: block;
}

/* Upgrade Notice */
.upgrade-notice {
    margin-top: 25px;
    padding: 15px;
    background: rgba(237, 191, 70, 0.05);
    border-radius: 8px;
    text-align: center;
}

.upgrade-notice.pro-notice {
    background: rgba(237, 191, 70, 0.1);
    border: 1px dashed var(--primary-light);
}

.notice-text {
    color: var(--gray);
    font-size: 14px;
}

.notice-text.pro-notice {
    color: var(--dark);
}

/* Badges */
.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.value-ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(145deg, #059669, #10b981);
    color: white;
    padding: 6px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 5;
    white-space: nowrap;
}
		
					/* ===== FEATURE COMPARISON CONTAINER ===== */
.feature-comparison-container {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 40px 0;
    border: 1px solid rgba(237, 191, 70, 0.1);
}

/* ===== HEADER ROW ===== */
.comparison-header {
    display: flex;
    background: linear-gradient(145deg, var(--dark), var(--dark-light));
    color: white;
    font-weight: 700;
    font-size: 16px;
    border-bottom: 2px solid var(--primary);
}

.comparison-header > div {
    padding: 20px;
    flex: 1;
}

.header-feature {
    flex: 2 !important;
    padding-left: 30px !important;
}

.header-lite,
.header-pro {
    text-align: center;
}

/* ===== MAIN CATEGORY ===== */
.main-category {
    position: relative;
}

/* Add border via pseudo-element to avoid animation issues */
.main-category:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(237, 191, 70, 0.1);
    pointer-events: none; /* Prevent interference with clicks */
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: linear-gradient(145deg, var(--dark), var(--dark-light));
    color: white;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    position: relative;
    z-index: 2;
}

.category-header:hover {
    background: linear-gradient(145deg, var(--dark-light), var(--dark));
    padding-left: 30px;
}

.category-header i:first-child {
    color: var(--primary);
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.category-icon {
    margin-left: auto;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.15s ease;
}

.main-category.collapsed .category-icon {
    transform: rotate(-90deg);
}

/* ===== SUB-CATEGORY ===== */
.sub-category {
    background: rgba(237, 191, 70, 0.03);
    position: relative;
    display: block !important; /* Force block display */
    width: 100% !important; /* Force full width */
}

/* Sub-category border */
.sub-category:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(237, 191, 70, 0.05);
    pointer-events: none;
    z-index: 1;
}

/* FIXED: Sub-category header - full width in both states */
.subcategory-header {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 16px 25px 16px 50px;
    background: rgba(237, 191, 70, 0.1);
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid var(--primary-light);
    position: relative;
    z-index: 2;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Make the header span all three columns visually */
.subcategory-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
}

.subcategory-header:hover {
    background: rgba(237, 191, 70, 0.15);
    padding-left: 55px;
}

.subcategory-header i:first-child {
    color: var(--primary);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.subcategory-icon {
    margin-left: auto;
    font-size: 14px;
    color: rgba(237, 191, 70, 0.8);
    transition: transform 0.15s ease;
}

.sub-category.collapsed .subcategory-icon {
    transform: rotate(-90deg);
}

/* ===== FIX FOR EXPANDED STATE ===== */
/* When sub-category is NOT collapsed (expanded), ensure proper layout */
.sub-category:not(.collapsed) {
    display: block !important;
}

.sub-category:not(.collapsed) .subcategory-header {
    display: flex !important;
    width: 100% !important;
}

/* ===== COLLAPSED STATES - UPDATED ===== */
.main-category.collapsed .feature-row[data-parent-category],
.main-category.collapsed .sub-category,
.sub-category.collapsed .feature-row[data-parent-subcategory] {
    opacity: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    display: none !important;
}

/* EXPANDED STATES - Force proper display */
.main-category:not(.collapsed) .feature-row[data-parent-category],
.main-category:not(.collapsed) .sub-category,
.sub-category:not(.collapsed) .feature-row[data-parent-subcategory] {
    opacity: 1 !important;
    max-height: none !important;
    padding: 16px 25px !important;
    margin: 0 !important;
    display: flex !important;
    width: 100% !important;
}

/* Specifically for sub-category when expanded */
.main-category:not(.collapsed) .sub-category:not(.collapsed) {
    display: block !important;
    width: 100% !important;
}

/* Remove border from collapsed elements */
.main-category.collapsed .feature-row[data-parent-category]::after,
.main-category.collapsed .sub-category::after,
.sub-category.collapsed .feature-row[data-parent-subcategory]::after {
    display: none;
}

/* ===== FEATURE ROWS ===== */
.feature-row {
    display: flex;
    align-items: center;
    padding: 16px 25px;
    position: relative;
    transition: opacity 0.15s ease, max-height 0.15s ease, padding 0.15s ease, margin 0.15s ease;
}

/* Feature row borders - fixed to not animate */
.feature-row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(237, 191, 70, 0.05);
    pointer-events: none;
    z-index: 1;
}

.feature-row:hover {
    background: rgba(237, 191, 70, 0.02);
}

/* Feature name column */
.feature-name {
    flex: 2;
    padding: 0 15px 0 30px;
    font-weight: 500;
    color: var(--dark);
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    opacity: 0.8;
}

/* Indent features under sub-categories */
.sub-category .feature-name {
    padding-left: 70px;
    position: relative;
}

.sub-category .feature-name::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.5;
}

/* ===== LITE AND PRO COLUMNS ===== */
.lite-column,
.pro-column {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lite-column {
    background: rgba(231, 76, 60, 0.05);
    border-radius: 6px;
    margin: 0 5px;
    padding: 12px 15px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pro-column {
    background: rgba(39, 174, 96, 0.05);
    border-radius: 6px;
    margin: 0 5px;
    padding: 12px 15px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ===== FEATURE VALUE CONTAINER ===== */
.feature-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    width: 100%;
}

.value-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    text-align: center;
}

.value-subtext {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

.highlight {
    color: var(--success) !important;
    font-weight: 700 !important;
}

/* ===== STATUS ICONS ===== */
.check-icon {
    color: var(--success);
    font-size: 16px;
}

.check-icon.limited {
    color: var(--warning);
}

.check-icon.full {
    color: var(--success);
}

.cross-icon {
    color: var(--danger);
    font-size: 16px;
}

/* ===== FEATURE DETAILS ===== */
.feature-details {
    margin-top: 8px;
    width: 100%;
    text-align: left;
    padding: 0 10px;
}

.feature-details ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-details li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 3px 0;
    position: relative;
    line-height: 1.4;
    text-align: left;
}

.feature-details li:before {
    content: "✓";
    position: absolute;
    left: -15px;
    color: var(--success);
    font-weight: bold;
    font-size: 12px;
}

/* ===== PRO BADGE ===== */
.pro-badge {
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    color: var(--dark);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 2px 5px rgba(237, 191, 70, 0.3);
    display: inline-block;
}

/* ===== COLLAPSED STATES ===== */
.main-category.collapsed .feature-row[data-parent-category],
.main-category.collapsed .sub-category,
.sub-category.collapsed .feature-row[data-parent-subcategory] {
    opacity: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    display: none !important;
}

.main-category:not(.collapsed) .feature-row[data-parent-category],
.main-category:not(.collapsed) .sub-category,
.sub-category:not(.collapsed) .feature-row[data-parent-subcategory] {
    opacity: 1 !important;
    max-height: 1000px !important;
    padding: 16px 25px !important;
    margin: 0 !important;
    display: flex !important;
}

/* Remove border from collapsed elements */
.main-category.collapsed .feature-row[data-parent-category]::after,
.main-category.collapsed .sub-category::after,
.sub-category.collapsed .feature-row[data-parent-subcategory]::after {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
        gap: 12px;
    }
    
    .feature-name {
        padding: 0 !important;
        width: 100%;
        margin-bottom: 5px;
    }
    
    .sub-category .feature-name::before {
        display: none;
    }
    
    .lite-column,
    .pro-column {
        width: 100%;
        margin: 5px 0;
        padding: 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-height: auto;
    }
    
    .feature-value {
        justify-content: space-between;
        margin-bottom: 0;
        width: 100%;
    }
    
    .feature-details {
        width: 100%;
        margin-top: 10px;
        padding: 10px 0 0 20px;
        border-top: 1px solid rgba(237, 191, 70, 0.1);
    }
    
    .category-header,
    .subcategory-header {
        padding: 15px;
    }
    
    .subcategory-header {
        padding-left: 40px;
    }
    
    .value-text {
        text-align: left;
    }
    
    .comparison-header {
        font-size: 14px;
    }
    
    .comparison-header > div {
        padding: 15px 10px;
    }
}
	
/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1200px) {
    /* Large tablets and small laptops */
}

@media (max-width: 992px) {
    /* Tablets */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pricing-card.pro-card {
        margin-top: 0;
    }
    
    .value-ribbon {
        top: 10px;
        right: -30px;
        padding: 5px 35px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    /* Mobile landscape and small tablets */
    
    /* Feature Comparison Table */
    .feature-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 15px;
        margin: 0;
    }
    
    .feature-name {
        padding: 0 !important;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    .feature-desc {
        font-size: 12px;
    }
    
    .sub-category .feature-name::before {
        display: none;
    }
    
    .lite-column,
    .pro-column {
        width: 100%;
        margin: 5px 0;
        padding: 12px 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-height: auto;
    }
    
    .feature-value {
        justify-content: space-between;
        margin-bottom: 0;
        width: 100%;
    }
    
    .value-text {
        text-align: left;
        font-size: 13px;
    }
    
    .feature-details {
        width: 100%;
        margin-top: 10px;
        padding: 10px 0 0 20px;
        border-top: 1px solid rgba(237, 191, 70, 0.1);
    }
    
    /* Category Headers */
    .category-header,
    .subcategory-header {
        padding: 15px;
        font-size: 16px;
    }
    
    .category-header {
        font-size: 17px;
    }
    
    .subcategory-header {
        padding-left: 35px;
        font-size: 15px;
    }
    
    .subcategory-header i:first-child {
        font-size: 16px;
        width: 18px;
    }
    
    /* Comparison Header */
    .comparison-header {
        font-size: 14px;
    }
    
    .comparison-header > div {
        padding: 15px 10px;
    }
    
    .header-feature {
        padding-left: 15px !important;
    }
    
    /* Pricing Cards */
    .pricing-card {
        padding: 25px 20px;
    }
    
    .pricing-title {
        font-size: 22px;
    }
    
    .pricing-price {
        font-size: 40px;
    }
    
    .pricing-btn {
        font-size: 15px;
        padding: 12px 25px;
        width: 100%;
        justify-content: center;
    }
    
    .pricing-badge {
        top: -12px;
    }
    
    .pricing-badge .badge {
        font-size: 12px;
        padding: 6px 20px;
    }
    
    /* Hide value ribbon on mobile */
    .value-ribbon {
        display: none;
    }
    
    /* Feature Items */
    .feature-item {
        padding: 8px 0;
    }
    
    .feature-main {
        font-size: 14px;
    }
    
    .feature-desc {
        font-size: 12px;
    }
    
    /* Main Content */
    .content-section {
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    /* Mobile portrait */
    
    /* Pricing Grid */
    .pricing-grid {
        gap: 20px;
        margin-top: 20px;
    }
    
    /* Cards */
    .pricing-card {
        padding: 20px 15px;
    }
    
    .pricing-title {
        font-size: 20px;
    }
    
    .pricing-price {
        font-size: 36px;
        margin: 15px 0;
    }
    
    .pricing-period {
        font-size: 14px;
    }
    
    .pricing-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    /* Feature Comparison */
    .feature-comparison-container {
        margin: 25px 0;
    }
    
    .feature-row {
        padding: 12px;
    }
    
    .lite-column,
    .pro-column {
        padding: 10px 12px;
    }
    
    /* Headers */
    .category-header {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .subcategory-header {
        font-size: 14px;
        padding: 12px 15px 12px 30px;
    }
    
    /* Badges */
    .pricing-badge {
        top: -10px;
    }
    
    .pricing-badge .badge {
        font-size: 11px;
        padding: 5px 15px;
    }
    
    /* Buttons */
    .pricing-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    /* Feature Lists */
    .feature-item {
        padding: 6px 0;
    }
    
    .feature-icon {
        margin-right: 8px;
    }
    
    .feature-main {
        font-size: 13px;
    }
    
    .feature-desc {
        font-size: 11px;
    }
    
    /* Upgrade Notices */
    .upgrade-notice {
        padding: 12px;
        margin-top: 20px;
    }
    
    .notice-text {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    /* Small mobile devices */
    
    .pricing-grid {
        grid-template-columns: 1fr;
        min-width: 280px;
    }
    
    .pricing-card {
        padding: 15px;
    }
    
    .pricing-title {
        font-size: 18px;
    }
    
    .pricing-price {
        font-size: 32px;
    }
    
    .feature-row {
        padding: 10px;
    }
    
    .category-header,
    .subcategory-header {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .pricing-btn {
        font-size: 13px;
        padding: 8px 15px;
    }
    
    .pricing-badge .badge {
        font-size: 10px;
        padding: 4px 12px;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    /* For touch devices */
    .category-header:hover,
    .subcategory-header:hover {
        padding-left: inherit;
        background: inherit;
    }
    
    .feature-row:hover {
        background: inherit;
    }
    
    .pricing-card:hover {
        transform: none;
    }
    
    /* Larger tap targets */
    .category-header,
    .subcategory-header {
        padding: 16px 20px;
    }
    
    .pricing-btn {
        padding: 14px 30px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .pricing-badge,
    .value-ribbon,
    .pricing-btn,
    .upgrade-cta {
        display: none;
    }
    
    .feature-comparison-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .pricing-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --dark: #f8f9fa;
        --dark-light: #e9ecef;
        --gray: #adb5bd;
    }
    
    .pricing-card {
        background: #2d3748;
        color: white;
    }
    
    .feature-name,
    .feature-text,
    .pricing-title {
        color: white;
    }
    
    .feature-desc,
    .pricing-description,
    .pricing-period {
        color: #cbd5e0;
    }
    
    .lite-column {
        background: rgba(231, 76, 60, 0.1);
    }
    
    .pro-column {
        background: rgba(39, 174, 96, 0.1);
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .pricing-card {
        border: 2px solid black;
    }
    
    .pro-card {
        border: 3px solid black;
    }
    
    .check-icon {
        color: #006600;
    }
    
    .cross-icon {
        color: #990000;
    }
}

/* ===== REMOVE CONFLICTING STYLES ===== */
/* Remove these duplicate/conflicting styles */
.feature-comparison-table {
    display: none !important; /* This was conflicting */
}

/* ===== GUARANTEE SECTION FIX ===== */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px auto;
    max-width: 800px;
}

.guarantee-item {
    text-align: center;
    padding: 25px 20px;
    background: rgba(237, 191, 70, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(237, 191, 70, 0.1);
    transition: transform 0.3s ease;
}

.guarantee-item:hover {
    transform: translateY(-5px);
    background: rgba(237, 191, 70, 0.08);
}

.guarantee-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.guarantee-item h5 {
    color: var(--dark);
    margin: 10px 0;
    font-size: 18px;
}

.guarantee-item p {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* ===== RESPONSIVE FIXES FOR PRICING ===== */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    
    .pricing-card {
        margin: 0 !important;
        padding: 25px 20px !important;
    }
    
    .pricing-card.pro-card {
        margin-top: 15px !important;
    }
    
    .value-ribbon {
        display: none; /* Hide on mobile - causes overflow */
    }
    
    .pricing-badge {
        top: -12px;
    }
    
    .pricing-badge .badge {
        font-size: 12px;
        padding: 6px 20px;
        white-space: nowrap;
    }
    
    .pricing-btn {
        width: 100% !important;
        justify-content: center;
        text-align: center;
    }
    
    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .guarantee-item {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        padding: 20px 15px !important;
    }
    
    .pricing-title {
        font-size: 22px !important;
    }
    
    .pricing-price {
        font-size: 36px !important;
        margin: 15px 0 !important;
    }
    
    .pricing-description {
        font-size: 15px !important;
    }
    
    .pricing-btn {
        padding: 12px 20px !important;
        font-size: 15px !important;
    }
    
    .feature-item {
        padding: 8px 0 !important;
    }
    
    .feature-main {
        font-size: 14px !important;
    }
    
    .feature-desc {
        font-size: 12px !important;
    }
}

/* ===== FIX OVERFLOW ISSUES ===== */
.pricing-card.pro-card {
    overflow: visible !important;
}

.value-ribbon {
    position: absolute;
    top: 20px;
    right: -40px;
    background: linear-gradient(145deg, #059669, #10b981);
    color: white;
    padding: 8px 45px;
    transform: rotate(45deg);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    z-index: 5;
    white-space: nowrap;
    pointer-events: none;
}

/* Ensure parent containers don't clip */
.content-section {
    overflow: visible !important;
}

.section-header {
    overflow: visible !important;
}

/* ===== ENSURE PROPER LAYOUT ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
    align-items: start;
    position: relative;
    z-index: 1;
}
