/* AI Engine Optimization Styling */
.ai-optimization-badge {
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ai-optimization-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
}

.ai-optimization-badge i {
    display: block;
    margin-bottom: 0.5rem;
}

/* AI Content Highlighting */
[data-ai-optimized] {
    position: relative;
}

[data-ai-optimized]::before {
    content: '🤖';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 12px;
    opacity: 0.7;
    pointer-events: none;
}

/* AI-Friendly Content Indicators */
.ai-content-indicator {
    background: linear-gradient(45deg, #6c63ff, #28a745);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 0.5rem;
}

/* AI Search Engine Compatibility */
.ai-search-compatible {
    border-left: 4px solid #28a745;
    padding-left: 1rem;
    background: rgba(40, 167, 69, 0.1);
}

/* AI Content Quality Indicators */
.ai-quality-high {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin: 1rem 0;
}

/* Performance and Accessibility CSS */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .ai-optimization-badge,
    .animate__animated,
    .animate__fadeInUp {
        animation: none !important;
        transition: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-muted {
        color: #000 !important;
    }
    .bg-light {
        background-color: #fff !important;
    }
    .card {
        border: 2px solid #000 !important;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.ai-optimization-badge:focus,
a:focus {
    outline: 3px solid #6c63ff !important;
    outline-offset: 2px !important;
}

/* Performance optimizations */
.ai-optimization-badge,
.card,
.btn {
    will-change: transform;
    backface-visibility: hidden;
}

/* Animated Button Styling - Same as WordPress Hosting */
.animated-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.animated-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.animated-button:active {
    transform: translateY(-1px) scale(0.98);
}

.animated-button .button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
}

.animated-button .button-content i {
    color: white !important;
}

.animated-button .button-content span {
    color: white !important;
}

.animated-button .button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.animated-button:hover .button-shine {
    left: 100%;
}

/* Different background colors for different button types - Force override Bootstrap */
.animated-button.btn-success,
.btn.animated-button.btn-success {
    background: linear-gradient(45deg, #dc3545, #c82333) !important;
    border: none !important;
    color: white !important;
    background-image: linear-gradient(45deg, #dc3545, #c82333) !important;
}

.animated-button.btn-success:hover,
.btn.animated-button.btn-success:hover {
    background: linear-gradient(45deg, #c82333, #dc3545) !important;
    background-image: linear-gradient(45deg, #c82333, #dc3545) !important;
    color: white !important;
}

.animated-button.btn-custom-primary,
.btn.animated-button.btn-custom-primary {
    background: linear-gradient(45deg, #1a237e, #2979ff) !important;
    background-image: linear-gradient(45deg, #1a237e, #2979ff) !important;
    border: none !important;
    color: white !important;
}

.animated-button.btn-custom-primary:hover,
.btn.animated-button.btn-custom-primary:hover {
    background: linear-gradient(45deg, #2979ff, #1a237e) !important;
    background-image: linear-gradient(45deg, #2979ff, #1a237e) !important;
    color: white !important;
}

/* Force override any Bootstrap button styles */
.pricing-card .animated-button,
.pricing-card .btn.animated-button {
    background: none !important;
    border: none !important;
}

/* Ensure button content is white */
.animated-button .button-content,
.animated-button .button-content *,
.animated-button .button-content i,
.animated-button .button-content span {
    color: white !important;
}

/* Additional specificity to override Bootstrap */
.pricing-card .btn.animated-button.btn-success {
    background: linear-gradient(45deg, #dc3545, #c82333) !important;
    background-image: linear-gradient(45deg, #dc3545, #c82333) !important;
}

.pricing-card .btn.animated-button.btn-custom-primary {
    background: linear-gradient(45deg, #1a237e, #2979ff) !important;
    background-image: linear-gradient(45deg, #1a237e, #2979ff) !important;
}

/* Force remove any default button styling */
.animated-button,
.btn.animated-button {
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Stylish Title Design */
.stylish-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.gradient-text {
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd23f, #06ffa5, #ff6b35);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    display: inline-block;
    animation: speedRush 2s ease-in-out infinite;
    transform: skewX(-10deg);
}

.gradient-text::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: speedTrail 2s ease-in-out infinite;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 100%;
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: speedTrail 2s ease-in-out infinite 0.1s;
}

@keyframes speedRush {
    0%, 100% {
        background-position: 0% 0%;
        transform: skewX(-10deg) translateX(0px);
    }
    50% {
        background-position: 100% 0%;
        transform: skewX(-10deg) translateX(3px);
    }
}

@keyframes speedTrail {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    50% {
        opacity: 1;
        transform: translateX(0px);
    }
    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

.stylish-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    border-radius: 15px;
    z-index: -1;
    opacity: 0.7;
    filter: blur(20px);
}
