/* Premium Upgrade Styles for ExploreXR */

.explorexr-premium-notice {
    border: none !important;
    border-left: 4px solid #667eea !important;
    background: white;
}

.explorexr-premium-notice h3 {
    color: #333;
    font-size: 16px;
}

.explorexr-premium-notice p {
    color: #666;
    line-height: 1.5;
}

.explorexr-premium-notice .button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.explorexr-premium-notice .button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

/* Premium Feature Cards */
.explorexr-premium-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.explorexr-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.explorexr-premium-card.disabled {
    opacity: 0.6;
    background: #f9f9f9;
}

.explorexr-premium-card .premium-feature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.explorexr-premium-card .premium-feature-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
}

.explorexr-premium-card .premium-feature-icon {
    font-size: 24px;
}

.premium-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.explorexr-premium-card .premium-feature-description {
    color: #666;
    margin: 10px 0 15px 0;
    line-height: 1.6;
}

.premium-feature-benefits,
.feature-card ul,
.addon-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.premium-feature-benefits li,
.feature-card li,
.addon-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
    color: #555;
}

.premium-feature-benefits li::before,
.feature-card li:before,
.addon-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 14px;
}

.premium-upgrade-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.premium-upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Premium Model Edit Page Styles */
.explorexr-free-version .addon-card {
    position: relative;
    opacity: 0.7;
}

.explorexr-free-version .addon-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #667eea;
    font-size: 14px;
}

.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
}

.premium-overlay-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.premium-overlay-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}

.premium-overlay-description {
    color: #666;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Admin Menu Styling */
.wp-menu-name .premium-menu-icon {
    color: #f39c12;
    font-size: 16px;
    margin-right: 5px;
}

/* Dashboard Premium Widgets */
.explorexr-premium-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.explorexr-premium-widget h3 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 24px;
}

.explorexr-premium-widget p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.6;
}

.explorexr-premium-widget .button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.explorexr-premium-widget .button:hover {
    background: white;
    color: #667eea;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Feature Teasers */
.explorexr-feature-teaser {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.explorexr-feature-teaser:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.feature-teaser-icon {
    font-size: 32px;
    margin-right: 15px;
}

.feature-teaser-content {
    flex: 1;
}

.feature-teaser-title {
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #333;
}

.feature-teaser-description {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.feature-teaser-cta {
    margin-left: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .explorexr-premium-notice > div {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .explorexr-premium-notice .button {
        align-self: flex-start;
    }
    
    .explorexr-premium-card .premium-feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .explorexr-feature-teaser {
        flex-direction: column;
        text-align: center;
    }
    
    .explorexr-feature-teaser .feature-teaser-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .explorexr-feature-teaser .feature-teaser-cta {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .explorexr-premium-upgrade-page .explorexr-premium-hero {
        flex-direction: column;
        text-align: center;
    }

    .explorexr-premium-upgrade-page .hero-content h1 {
        font-size: 2em;
    }

    .explorexr-premium-upgrade-page .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .explorexr-premium-upgrade-page .comparison-table {
        overflow-x: auto;
    }

    .explorexr-premium-upgrade-page .addon-tier-overview {
        flex-direction: column;
        gap: 15px;
    }

    .explorexr-premium-upgrade-page .tier-overview-card {
        min-width: auto;
    }

    .explorexr-premium-upgrade-page .addons-grid {
        grid-template-columns: 1fr;
    }

    .explorexr-premium-upgrade-page .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Effects */
@keyframes premium-glow {
    0% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.8); }
    100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
}

.premium-highlight {
    animation: premium-glow 2s infinite;
}

/* Premium Feature Indicators */
.has-premium-feature {
    position: relative;
}

.has-premium-feature::before {
    content: "PREMIUM";
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    z-index: 5;
    transform: rotate(15deg);
}

/* Disabled State for Premium Features */
.premium-disabled {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.premium-disabled::after {
    content: "🔒 Premium Feature";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
}



    .explorexr-premium-upgrade-page {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .explorexr-premium-upgrade-page .explorexr-premium-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 40px 20px;
        margin: 0 -20px 30px -20px;
    }

    .explorexr-premium-upgrade-page .explorexr-premium-hero {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .explorexr-premium-upgrade-page .hero-content {
        flex: 1;
    }

    .explorexr-premium-upgrade-page .hero-content h1 {
        font-size: 3em;
        margin: 0 0 20px 0;
        color: white;
    }

    .explorexr-premium-upgrade-page .hero-subtitle {
        font-size: 1.4em;
        margin: 0 0 30px 0;
        opacity: 0.9;
    }

    .explorexr-premium-upgrade-page .hero-cta {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    /* Scoped to ExploreXR premium upgrade page only */
    .explorexr-premium-upgrade-page .button-hero {
        padding: 15px 30px !important;
        font-size: 18px !important;
        height: auto !important;
    }

    .explorexr-premium-upgrade-page .price-info {
        color: rgba(255,255,255,0.8);
        font-size: 14px;
    }

    .explorexr-premium-upgrade-page .hero-image {
        flex: 1;
        text-align: center;
    }

    .explorexr-premium-upgrade-page .hero-image img {
        max-width: 50%;
        height: auto;
    }

    .explorexr-premium-upgrade-page .explorexr-premium-content {
        margin: 0 auto;
        padding: 0;
    }

    .explorexr-premium-upgrade-page .addon-summary {
        text-align: center;
        margin-bottom: 40px;
        padding: 30px;
        border-radius: 12px;
    }

    .explorexr-premium-upgrade-page .summary-description {
        font-size: 1.1em;
        color: #666;
        margin: 15px 0 30px 0;
        line-height: 1.6;
    }

    .explorexr-premium-upgrade-page .addon-tier-overview {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    .explorexr-premium-upgrade-page .tier-overview-card {
        background: white;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        padding: 20px;
        min-width: 150px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .explorexr-premium-upgrade-page .tier-overview-card:hover {
        border-color: #667eea;
        transform: translateY(-2px);
    }

    .explorexr-premium-upgrade-page .tier-overview-card h4 {
        margin: 0 0 15px 0;
        color: #333;
        font-size: 1.1em;
    }

    .explorexr-premium-upgrade-page .tier-number {
        font-size: 2.5em;
        font-weight: bold;
        color: #667eea;
        margin: 0 0 10px 0;
    }

    .explorexr-premium-upgrade-page .tier-overview-card p {
        margin: 0;
        color: #666;
        font-size: 0.9em;
    }

    .explorexr-premium-upgrade-page .comparison-table {
        margin: 30px 0;
    }

    .explorexr-premium-upgrade-page .comparison-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .explorexr-premium-upgrade-page .comparison-table th,
    .explorexr-premium-upgrade-page .comparison-table td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .explorexr-premium-upgrade-page .free-column {
        background-color: #f9f9f9;
        text-align: center;
    }

    .explorexr-premium-upgrade-page .premium-column {
        background-color: #e8f5e8;
        text-align: center;
        font-weight: bold;
    }

    .explorexr-premium-upgrade-page .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }

    .explorexr-premium-upgrade-page .feature-card {
        background: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 25px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.2s;
    }

    .explorexr-premium-upgrade-page .feature-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .explorexr-premium-upgrade-page .feature-icon {
        font-size: 3em;
        margin-bottom: 15px;
    }

    .explorexr-premium-upgrade-page .feature-card h3 {
        margin: 0 0 15px 0;
        color: #333;
    }

    .explorexr-premium-upgrade-page .feature-card p {
        margin: 0 0 15px 0;
        color: #666;
        line-height: 1.6;
    }

    .explorexr-premium-upgrade-page .pricing-grid {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin: 30px 0;
    }

    .explorexr-premium-upgrade-page .pricing-card {
        background: white;
        border: 2px solid #ddd;
        border-radius: 12px;
        padding: 30px;
        text-align: center;
        position: relative;
        transition: transform 0.2s;
        min-width: 300px;
    }

    .explorexr-premium-upgrade-page .pricing-card:hover {
        transform: translateY(-4px);
    }

    .explorexr-premium-upgrade-page .pricing-card.featured {
        border-color: #667eea;
        transform: scale(1.05);
    }

    .explorexr-premium-upgrade-page .pricing-card .badge {
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        background: #667eea;
        color: white;
        padding: 5px 15px;
        border-radius: 15px;
        font-size: 12px;
    }

    .explorexr-premium-upgrade-page .pricing-card h3 {
        margin: 0 0 20px 0;
        font-size: 1.5em;
    }

    .explorexr-premium-upgrade-page .price {
        font-size: 2.5em;
        font-weight: bold;
        color: #333;
        margin: 0 0 20px 0;
    }

    .explorexr-premium-upgrade-page .price span {
        font-size: 0.4em;
        color: #666;
    }

    .explorexr-premium-upgrade-page .addon-count {
        background: #e8f5e8;
        color: #2d7a2d;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
        margin: 0 0 20px 0;
        display: inline-block;
    }

    .explorexr-premium-upgrade-page .pricing-card.featured .addon-count {
        background: #667eea;
        color: white;
    }

    .explorexr-premium-upgrade-page .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }

    .explorexr-premium-upgrade-page blockquote {
        background: #f9f9f9;
        border-left: 4px solid #667eea;
        margin: 0;
        padding: 20px;
        border-radius: 4px;
        font-style: italic;
    }

    .explorexr-premium-upgrade-page cite {
        display: block;
        margin-top: 10px;
        font-style: normal;
        font-weight: bold;
        color: #666;
    }

    .explorexr-premium-upgrade-page .upgrade-cta {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 60px 40px;
        margin: 60px 0 0 0;
        text-align: center;
    }

    .explorexr-premium-upgrade-page .cta-content h2 {
        color: white;
        margin: 0 0 20px 0;
        font-size: 2.5em;
    }

    .explorexr-premium-upgrade-page .cta-content p {
        font-size: 1.2em;
        margin: 0 0 30px 0;
        opacity: 0.9;
    }
    .explorexr-premium-upgrade-page .cta-content span {
        color: white
    }

    .explorexr-premium-upgrade-page .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 20px;
        align-content: center;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

    .explorexr-premium-upgrade-page .guarantee {
        font-size: 14px;
        opacity: 0.8;
    }

    .explorexr-premium-upgrade-page .addons-note {
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 20px;
        margin-top: 30px;
    }

    .explorexr-premium-upgrade-page .tier-addon-list {
        list-style: none;
        padding: 0;
        margin: 15px 0;
    }

    .explorexr-premium-upgrade-page .tier-addon-list li {
        padding: 8px 0;
        border-bottom: 1px solid #e9ecef;
    }

    .explorexr-premium-upgrade-page .tier-addon-list li:last-child {
        border-bottom: none;
    }

    .explorexr-premium-upgrade-page .addons-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
        margin: 30px 0;
    }

    .explorexr-premium-upgrade-page .addon-card {
        background: white;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 25px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

    .explorexr-premium-upgrade-page .addon-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    /* Coming Soon Addon Card Styles */
    .explorexr-premium-upgrade-page .addon-card.addon-coming-soon {
        background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 100%);
        border: 2px solid #667eea;
        position: relative;
        overflow: hidden;
    }

    .explorexr-premium-upgrade-page .addon-card.addon-coming-soon::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    }

    .explorexr-premium-upgrade-page .addon-card.addon-coming-soon .addon-icon {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        font-size: 3em;
        margin-bottom: 10px;
    }

    .explorexr-premium-upgrade-page .addon-card.addon-coming-soon h3 {
        color: #667eea;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .explorexr-premium-upgrade-page .addon-card.addon-coming-soon .addon-description {
        color: #555;
        font-style: italic;
    }

    .explorexr-premium-upgrade-page .coming-soon-badge {
        position: inherit;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 5px 12px;
        border-radius: 0;
        font-size: 0.8em;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    }

    .explorexr-premium-upgrade-page .addon-card.addon-coming-soon .addon-features li {
        color: #666;
        font-size: 0.95em;
    }

    .explorexr-premium-upgrade-page .addon-card.addon-coming-soon:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    }

    .explorexr-premium-upgrade-page .addon-icon {
        font-size: 2.5em;
        margin-bottom: 15px;
        text-align: center;
    }

    .explorexr-premium-upgrade-page .addon-card h3 {
        margin: 0 0 15px 0;
        color: #333;
        font-size: 1.3em;
        text-align: center;
    }

    .explorexr-premium-upgrade-page .addon-description {
        color: #666;
        line-height: 1.6;
        margin: 0 0 15px 0;
        text-align: center;
    }

    .explorexr-premium-metabox {
            padding: 15px;
        }
        
        .explorexr-premium-metabox .premium-addon-item {
            display: flex;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .explorexr-premium-metabox .premium-addon-item:last-child {
            border-bottom: none;
        }
        
        .explorexr-premium-metabox .addon-icon {
            margin-right: 10px;
            font-size: 16px;
        }
        
        .explorexr-premium-metabox .addon-name {
            flex: 1;
            font-weight: 500;
        }
        
        .explorexr-premium-metabox .premium-badge {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: bold;
        }
        
        .explorexr-premium-metabox .premium-upgrade-cta ul {
            margin: 10px 0;
            padding-left: 0;
            list-style: none;
        }
        
        .explorexr-premium-metabox .premium-upgrade-cta li {
            padding: 3px 0;
            font-size: 13px;
        }

        .explorexr-premium-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 999999;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .explorexr-premium-popup {
            background: white;
            border-radius: 12px;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }
        
        .explorexr-premium-popup .premium-popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 25px 15px;
            border-bottom: 1px solid #eee;
        }
        
        .explorexr-premium-popup .premium-popup-header h3 {
            margin: 0;
            font-size: 1.4em;
        }
        
        .explorexr-premium-popup .close-popup {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #999;
        }
        
        .explorexr-premium-popup .premium-popup-content {
            padding: 20px 25px 25px;
        }
        
        .explorexr-premium-popup .premium-popup-content ul {
            margin: 15px 0;
            padding-left: 0;
            list-style: none;
        }
        
        .explorexr-premium-popup .premium-popup-content li {
            padding: 3px 0;
            font-size: 14px;
        }
        
        .explorexr-premium-popup .premium-upgrade-btn {
            display: block;
            width: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-align: center;
            padding: 12px 20px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 15px;
            transition: transform 0.2s;
        }
        
        .explorexr-premium-popup .premium-upgrade-btn:hover {
            transform: translateY(-2px);
            text-decoration: none;
            color: white;
        }

        .explorexr-premium-metabox .premium-tier-overview {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin: 30px 0;
        }
