/* 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 — keyboard accessibility only (no mouse-click outlines on footer/nav links) */
.btn:focus-visible,
.ai-optimization-badge:focus-visible {
    outline: 3px solid #6c63ff !important;
    outline-offset: 2px !important;
}

/* Remove outline on mouse-click for all links (matches other pages behaviour) */
a:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !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);
}

/* Pricing Toggle Minimalist Style */
.pricing-toggle-wrapper {
    display: inline-flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    gap: 6px;
    border: 1px solid #e2e8f0;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.pricing-toggle-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: fit-content;
}

.pricing-toggle-btn .toggle-text {
    line-height: 1;
    position: relative;
    z-index: 2;
}

.pricing-toggle-btn:hover {
    color: #334155;
}

.pricing-toggle-btn.active {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Override accordion default styles */
.accordion-item {
    border: 1px solid #dee2e6 !important;
    background-color: #fff !important;
}

.accordion-button {
    background-color: #fff !important;
    color: #000 !important;
}

.accordion-button:not(.collapsed) {
    background-color: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    border-color: transparent !important;
    box-shadow: none !important;
}

.accordion-body {
    background-color: #fff !important;
    color: #000 !important;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .pricing-toggle-wrapper {
        padding: 4px;
        gap: 3px;
        width: 100%;
        max-width: 100%;
    }

    .pricing-toggle-btn {
        padding: 9px 14px;
        font-size: 0.75rem;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .pricing-toggle-wrapper {
        width: 100%;
        padding: 3px;
        gap: 3px;
    }

    .pricing-toggle-btn {
        padding: 8px 10px;
        font-size: 0.7rem;
        flex: 1;
    }

    #hero-lottie {
        max-width: 350px !important;
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    .pricing-toggle-wrapper {
        width: 100%;
        padding: 3px;
        gap: 2px;
    }

    .pricing-toggle-btn {
        padding: 8px 8px;
        font-size: 0.65rem;
        flex: 1;
    }
}

@media (max-width: 400px) {
    .pricing-toggle-wrapper {
        padding: 2px;
        gap: 2px;
    }

    .pricing-toggle-btn {
        padding: 7px 6px;
        font-size: 0.6rem;
        flex: 1;
    }
}

@media (max-width: 480px) {
    #hero-lottie {
        max-width: 280px !important;
        height: 250px !important;
    }
}

/* Animated Quality Text */
.animated-quality-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff 20%, #ed057b 40%, #ed057b 60%, #ffffff 80%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-text 3s linear infinite;
    display: inline-block;
    letter-spacing: 0.5px;
}

@keyframes shine-text {
    to {
        background-position: 200% center;
    }
}

.animated-gradient-text {
    background: linear-gradient(90deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    font-weight: bold;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-power-text {
    background: linear-gradient(90deg, #00ff00, #00cc00, #009900, #00ff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: speedRush 1s linear infinite;
    font-weight: 900;
    position: relative;
}

.animated-power-text::after {
    content: "⚡";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    animation: boltFlash 1.5s ease-in-out infinite;
    font-size: 1.2em;
}

@keyframes boltFlash {

    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(-50%) translateX(5px);
    }
}

/* Mobile Full Width Fix for Hero Section Video */
@media (max-width: 768px) {
    .hero-video-section {
        position: relative !important;
        width: 100vw !important;
        max-width: 100vw !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        overflow: hidden !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-video-section .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero-video-section h1 {
        font-size: 1.65rem !important;
        word-wrap: break-word;
    }

    .hero-video-wrapper {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 100vw !important;
        min-height: 100% !important;
        background: transparent !important;
        z-index: 1 !important;
        overflow: hidden !important;
    }

    .hero-overlay-gradient {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        min-width: 100vw !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.45) !important;
        z-index: 3 !important;
        pointer-events: none !important;
    }

    .hero-bg-video {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(1.05) !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        opacity: 0.9 !important;
        filter: brightness(0.95) contrast(1.05) !important;
        z-index: 2 !important;
    }
}

/* Hero Section Modular CSS Classes */
.hero-video-section {
    background-color: #0b0f19 !important;
    background: #0b0f19 !important;
    min-height: auto;
    color: #fff !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-video-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.hero-bg-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1.05) !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    opacity: 0.9 !important;
    filter: brightness(0.95) contrast(1.05) !important;
    z-index: 2 !important;
}

.hero-overlay-gradient {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

.hero-content-container {
    z-index: 10;
}

.hero-trusted-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.hero-badge-icon {
    color: #ed057b;
}

.hero-title-text {
    font-size: clamp(1.85rem, 3.8vw, 2.8rem);
    line-height: 1.15;
    color: #ffffff;
    font-weight: 900;
}

.animated-quality-stars {
    color: #ed057b;
    -webkit-text-fill-color: initial;
}

.hero-desc-text {
    max-width: 100%;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.btn-hero-cta {
    background: linear-gradient(135deg, #ed057b 0%, #b8035f 100%);
    border: none;
}

.btn-hero-outline {
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-feature-icon-wrapper {
    width: 34px;
    height: 34px;
}

.hero-icon-response {
    background: rgba(237, 5, 123, 0.2);
    border: 1px solid rgba(237, 5, 123, 0.4);
}

.hero-icon-ddos {
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.hero-icon-refund {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.hero-feature-label {
    font-size: 0.9rem;
    color: #f8fafc;
}

.hero-lottie-wrapper {
    aspect-ratio: 5/4;
    width: 100%;
    max-width: 500px;
}

.hero-lottie-player {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6));
}