/* Fix anchor link positioning for #pricing section */
#pricing {
    scroll-margin-top: 80px;
}

.whatsapp-popup {
    position: fixed;
    width: 170px;
    height: 46px;
    bottom: 80px;
    right: 32px;
    background-color: #4fa06e;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 20px;
    box-shadow: 1px 1px 2px #888;
    z-index: 10000;
    text-decoration: none
}

@media(max-width: 767px) {
    .whatsapp-popup {
        right: 20px !important;
        bottom: 100px !important;
        /* Raised to avoid collision with standard mobile buttons */
        width: 45px !important;
        /* Become a circle on mobile to save space */
        height: 45px !important;
        overflow: hidden;
    }

    .whatsapp-popup .wpp-text-p {
        display: none !important;
    }

    .whatsapp-popup i.wpp-icon-p {
        margin: 0 !important;
        line-height: 45px !important;
    }
}

.whatsapp-popup:hover {
    color: #fff;
    background-color: #38b769;
    text-decoration: none
}

i.wpp-icon-p {
    font-size: 30px;
    margin: 8px 8px 12px 0;
    vertical-align: middle
}

.wpp-text-p {
    margin-bottom: 10px;
    font-family: Sora, Helvetica Neue, Helvetica, Arial, sans-serif
}

/* ========== New Hero Styles Fixed ========== */
/* Home Hero Theme - Cloud Trader Sync */
.ud-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #3056D3 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    padding-top: 91px !important;
    padding-bottom: 80px !important;
    color: #fff !important;
    z-index: 1 !important;
}

.ud-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(48, 86, 211, 0.15) 0%, transparent 70%) !important;
    transform: translate(-50%, -50%) !important;
    z-index: -1 !important;
}

.hero-content-wrapper {
    position: relative !important;
    z-index: 10 !important;
}

.ud-hero-title {
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    margin-bottom: 25px !important;
    background: linear-gradient(to right, #ffffff 0%, #3056D3 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #fff !important;
    /* Fallback */
}


.hero-features-list {
    list-style: none !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
}

.hero-features-list li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    font-size: 1.05rem !important;
    color: #cbd5e1 !important;
}

.hero-features-list li i {
    color: #3056D3 !important;
    font-size: 1.4rem !important;
}

.ud-hero-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    justify-content: flex-start !important;
}

.ud-hero-buttons li {
    margin: 0 !important;
}

.ud-hero-buttons .ud-main-btn {
    padding: 18px 40px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.ud-yellow-btn {
    background: #facc15 !important;
    color: #0c0a09 !important;
    border: none !important;
}

.ud-yellow-btn:hover {
    background: #eab308 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(250, 204, 21, 0.4) !important;
}

.hero-price-tag {
    font-size: 1.2rem !important;
    color: #f8fafc !important;
    font-weight: 500 !important;
}

.hero-price-tag span {
    color: #facc15 !important;
    font-weight: 800 !important;
    font-size: 1.4rem !important;
}

.os-icons-wrapper {
    display: flex !important;
    gap: 25px !important;
    margin-top: 50px !important;
    align-items: center !important;
}

.os-icons-wrapper img {
    height: 30px !important;
    opacity: 0.8 !important;
    transition: all 0.4s ease !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)) !important;
}

.os-icons-wrapper img:hover {
    opacity: 1 !important;
    filter: drop-shadow(0 0 10px rgba(48, 86, 211, 0.5)) !important;
    transform: scale(1.1) translateY(-5px) !important;
}

/* --- Visual Side Fix --- */
.hero-visual-container {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 36px !important;
    width: 100% !important;
    isolation: isolate !important;
    /* Helps with mix-blend-mode */
}

.floating-element {
    position: absolute !important;
    animation: floating 6.5s ease-in-out infinite !important;
    transform-origin: center center;
    mix-blend-mode: screen !important;
    /* Forces black background to disappear */
    background-color: transparent !important;
    pointer-events: none !important;
    display: block !important;
}

.tv-display {
    z-index: 2 !important;
    width: 32vw !important;
    max-width: 600px !important;
    top: -40px !important;
    right: -10% !important;
    animation-delay: -1s !important;
    opacity: 0.9 !important;
}

.badge-30-off {
    z-index: 4 !important;
    width: 17vw !important;
    max-width: 320px !important;
    top: -20px !important;
    right: 35% !important;
    animation-delay: -2s !important;
}

.mascot-robot {
    z-index: 10 !important;
    /* Bring to very front */
    width: 31vw !important;
    max-width: 580px !important;
    bottom: -150px !important;
    right: -5% !important;
    animation-delay: -0.5s !important;
    filter: drop-shadow(0 0 30px rgba(48, 86, 211, 0.4)) !important;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* --- Search Bar Fix --- */
.hero-config-bar {
    margin-top: 30px !important;
    background: #fff !important;
    /* solid white like reference */
    padding: 8px 8px 8px 25px !important;
    border-radius: 100px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.hero-config-bar-label {
    white-space: nowrap !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
    /* Darker text */
    font-size: 1rem !important;
}

.hero-config-input-group {
    flex-grow: 1 !important;
    display: flex !important;
}

.hero-config-input-group input {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    color: #1f2937 !important;
    padding: 12px 10px !important;
    outline: none !important;
    font-size: 1rem !important;
}

.hero-config-btn {
    background: #facc15 !important;
    border: none !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000 !important;
    cursor: pointer !important;
}

.os-icons-wrapper {
    display: flex !important;
    gap: 30px !important;
    margin-top: 40px !important;
    align-items: center !important;
}

.os-icons-wrapper img {
    height: 35px !important;
    width: auto !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    filter: none !important;
}

.os-icons-wrapper img:hover {
    opacity: 1 !important;
    transform: translateY(-5px) scale(1.1) !important;
}

/* Header Adjustments */
.ud-header {
    background: transparent !important;
    padding: 15px 0 !important;
}

.ud-header.sticky {
    background: rgba(10, 25, 47, 0.95) !important;
}

.ud-header .navbar-brand img {
    height: 40px !important;
}

.ud-header .ud-link-btn {
    color: #fff !important;
    font-weight: 500 !important;
}

.ud-header .ud-main-btn {
    background: #fff !important;
    color: #3056d3 !important;
    font-weight: 700 !important;
}

/* --- High Res (1440px) --- */
@media (max-width: 1440px) {
    .ud-hero-title {
        font-size: 2.8rem !important;
    }
}

/* --- Small Laptops (720px / 1280px / 1366px) --- */
@media (max-width: 1366px) {
    .ud-hero {
        padding-top: 110px !important;
        padding-bottom: 80px !important;
    }

    .ud-hero-title {
        font-size: 2.1rem !important;
    }

    .tv-display {
        width: 350px !important;
        right: -2% !important;
        top: 0px !important;
    }

    .badge-30-off {
        width: 170px !important;
        right: 28% !important;
        top: -10px !important;
    }

    .mascot-robot {
        width: 350px !important;
        bottom: 15px !important;
        right: 0% !important;
    }

    .hero-features-list li {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
    }

    .os-icons-wrapper {
        margin-top: 30px !important;
    }
}

/* --- Mobile / Tablet (991px) --- */
@media (max-width: 991px) {
    .ud-hero {
        padding-top: 100px !important;
        /* Significantly reduced for better mobile viewport */
        padding-bottom: 40px !important;
    }

    .ud-hero-title {
        font-size: 1.6rem !important;
        /* Slightly smaller to avoid overflow */
        text-align: center !important;
        line-height: 1.2 !important;
        margin-top: 20px;
        -webkit-text-fill-color: #fff !important;
        /* Ensure visibility on mobile */
    }

    .hero-features-list {
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
        margin: 0 auto 30px !important;
        max-width: 100%;
        padding: 0 15px !important;
    }

    .hero-features-list li {
        font-size: 0.9rem !important;
        gap: 8px !important;
    }

    .ud-hero-buttons {
        justify-content: center !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
        padding: 0 20px;
    }

    .ud-hero-buttons li {
        width: 100% !important;
    }

    .ud-hero-buttons .ud-main-btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 0.9rem !important;
    }

    .hero-visual-container {
        min-height: 300px !important;
        margin-top: 20px !important;
    }

    .badge-30-off {
        width: 120px !important;
        top: 0px !important;
        right: 10% !important;
    }

    .mascot-robot {
        width: 280px !important;
        bottom: -20px !important;
        right: 0% !important;
    }

    .os-icons-wrapper {
        justify-content: center !important;
        gap: 15px !important;
        margin-top: 30px !important;
        padding: 0 10px;
    }

    /* Removed invalid stray CSS declaration */
}

/* Fixed Broken Mobile Menu (White Box Issue) - Reinforced with higher specificity */
body .ud-header #navbarNav.navbar-collapse.show {
    display: block !important;
    background: #0f172a !important;
    border-radius: 12px !important;
    margin-top: 15px !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}

body .ud-header #navbarNav.navbar-collapse.show .navbar-nav .nav-item .ud-link-btn {
    color: #fff !important;
    padding: 12px 0 !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 1rem !important;
    opacity: 1 !important;
    text-align: left !important;
}
.navbar-nav .nav-item:last-child .ud-link-btn {
    border-bottom: none !important;
}

.navbar-toggler .toggler-icon {
    background-color: #fff !important;
}

/* Mobile Menu Fix - Override sticky header gray color */
body .ud-header.sticky .navbar-toggler .toggler-icon {
    background-color: #ffffff !important;
}

/* Mobile Menu Fix - Override sticky header gray color with higher specificity */
body .ud-header.sticky #navbarNav.navbar-collapse.show .navbar-toggler .toggler-icon {
    background-color: #ffffff !important;
}

/* MAXIMUM SPECIFICITY - Force white color for mobile menu */
html body .ud-header.sticky .navbar-toggler .toggler-icon,
html body .ud-header .navbar-toggler .toggler-icon,
html body .navbar-toggler .toggler-icon {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* ========== Server Configurator Styles ========== */
/* ========== Global Improvements ========== */
:root {
    --primary-color: #3056D3;
    --secondary-color: #1e3a8a;
}

/* ========== Intro Section Improvements ========== */
.ud-intro {
    background: #f8fafc;
}

.intro-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.feature-item-modern {
    text-align: center;
    padding: 25px 20px;
    background: transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item-modern:hover {
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #3056D3 0%, #1e3a8a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-item-modern:hover .feature-icon-wrapper {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(48, 86, 211, 0.25);
}

.feature-icon-wrapper i {
    font-size: 2rem;
    color: #fff;
}

.feature-item-modern h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

/* ========== Pricing Cards Enhanced ========== */
.ud-single-pricing {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.4s ease;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
    text-align: center;
}

.ud-single-pricing:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(48, 86, 211, 0.15);
    border-color: #3056D3;
}

.ud-single-pricing.active {
    border-color: #3056D3;
    border-width: 3px;
    background: #fff !important;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(48, 86, 211, 0.25);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(48, 86, 211, 0);
    }
}

.ud-single-pricing.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3056D3 0%, #1e3a8a 100%);
    border-radius: 20px 20px 0 0;
}

.ud-single-pricing.active .ud-pricing-header h4 {
    color: #3056D3 !important;
}

.ud-single-pricing.active .ud-pricing-header h3 {
    color: #64748b !important;
}

.ud-single-pricing.active .ud-main-btn {
    color: #ffffff !important;
}

.ud-single-pricing.active .ud-pricing-body ul li {
    color: #475569 !important;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    z-index: 10;
    white-space: nowrap;
}

.ud-pricing-header h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3056D3;
    margin: 15px 0;
}

.ud-pricing-header h3 {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 10px;
}

.ud-popular-tag {
    background: #ff592a;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 5px;
}

.server-os-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin: 20px 0 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 12px;
    display: inline-flex;
}

.ud-pricing-body ul {
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.ud-pricing-body ul li {
    padding: 12px 25px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #475569;
}

.ud-pricing-body ul li:hover {
    background: #f8fafc;
    padding-left: 30px;
}

.ud-pricing-body ul li:last-child {
    border-bottom: none;
}

.ud-pricing-body ul li strong {
    color: #3056D3;
}

.ud-main-btn.ud-border-btn {
    background: linear-gradient(135deg, #3056D3 0%, #1e3a8a 100%);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(48, 86, 211, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ud-main-btn.ud-border-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(48, 86, 211, 0.4);
}

/* ========== Exclusive Features Enhanced ========== */
.feature-card-modern {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    height: 100%;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(48, 86, 211, 0.1);
    border-color: #3056D3;
}

.icon-gradient {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3056D3 0%, #1e3a8a 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 15px rgba(48, 86, 211, 0.2);
}

.icon-gradient i {
    font-size: 1.8rem;
    color: #fff;
}

.feature-card-modern h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
}

/* ========== Testimonials Enhanced ========== */
.ud-single-testimonial {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s ease;
    height: 100%;
}

.ud-single-testimonial:hover {
    border-color: #3056D3;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(48, 86, 211, 0.1);
}

.ud-testimonial-content p {
    font-size: 1rem;
    font-style: italic;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
}

.ud-testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: #3056D3;
    opacity: 0.1;
    position: absolute;
    top: -20px;
    left: -20px;
}

.ud-testimonial-image img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #3056D3;
    padding: 2px;
    margin-right: 15px;
}

/* ========== FAQ Modern ========== */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: #1a202c;
    background: #fff !important;
    border: 1px solid #e2e8f0;
}

.accordion-button:not(.collapsed) {
    background: #3056D3 !important;
    color: #fff !important;
    box-shadow: none;
}

.accordion-body {
    padding: 25px;
    color: #475569;
    line-height: 1.7;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: none;
}

/* ========== Premium Pricing Tab (Slide Toggle) ========== */
.premium-billing-toggle {
    position: relative;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.04);
    display: inline-block;
    width: 100%;
}

.floating-toggle {
    position: absolute;
    top: -30px;
    /* Floating on top */
    left: 45%;
    /* Centered over the divider (since left is 60-70% usually, 45-50% works) */
    transform: translateX(-50%);
    width: 600px;
    max-width: 90%;
    z-index: 100;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
}

.pricing-tab-premium {
    position: relative;
    z-index: 2;
    margin: 0;
}

.pricing-tab-premium .nav-link {
    color: #475569;
    border-radius: 50px;
    padding: 14px 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 0.95rem;
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing-tab-premium .nav-link:hover:not(.active) {
    color: #1e293b;
    background: transparent;
}

.pricing-tab-premium .nav-link.active {
    color: #3056D3;
    font-weight: 800;
    background: transparent;
}

.pricing-tab-premium strong {
    display: block;
    margin-bottom: 2px;
}

.toggle-bg {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Base Badges Setup */
.premium-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #e2e8f0;
    color: #64748b;
    transition: all 0.3s ease;
    margin-top: 4px;
}

/* Active State Colors */
.pricing-tab-premium .nav-link.active .premium-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.pricing-tab-premium .nav-link.active#triennially-tab .premium-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.pulse-premium {
    animation: pulsePremium 2s infinite;
}

@keyframes pulsePremium {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .configurator-wrapper {
        padding-top: 20px;
    }

    .floating-toggle {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-bottom: 30px;
        box-shadow: none;
    }

    .premium-billing-toggle {
        border-radius: 20px;
        padding: 10px;
    }

    .toggle-bg {
        display: none;
        /* Disable sliding bg on mobile wrap */
    }

    .pricing-tab-premium {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pricing-tab-premium .nav-item {
        flex: 1 1 calc(50% - 10px);
    }

    .pricing-tab-premium .nav-link {
        background: #e2e8f0;
        border-radius: 12px;
    }

    .pricing-tab-premium .nav-link.active {
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    }

    /* Location Dark Overrides for Mobile */
    .location-toggle-dark .pricing-tab-premium .nav-link {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
    }

    .location-toggle-dark .pricing-tab-premium .nav-link.active {
        background: #10b981;
        color: #fff;
    }
}

/* ========== VM Configurator ========== */
.configurator-wrapper {
    display: flex;
    background: #fff;
    border-radius: 24px;
    overflow: visible;
    /* Allow floating toggle to overlap */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    /* Increased shadow depth */
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    padding-top: 40px;
    /* Space for floating toggle */
}

.configurator-left {
    flex: 1;
    padding: 60px 40px 45px 40px;
    /* Increased top padding to match right */
}

.configurator-right {
    width: 360px;
    min-width: 320px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3056D3 100%);
    padding: 60px 35px 40px 35px;
    /* Increased top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-top: -40px;
    /* Offset the wrapper's padding-top to hit the edge */
    border-radius: 0 24px 24px 0;
}

.configurator-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 35px;
}

/* Slider Groups */
.slider-group {
    margin-bottom: 30px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.slider-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #3056D3;
    background: #eef2ff;
    padding: 4px 14px;
    border-radius: 8px;
}

.slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Custom Range Slider */
.config-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    transition: all 0.2s;
}

.config-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3056D3;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(48, 86, 211, 0.4);
    transition: all 0.2s;
}

.config-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 14px rgba(48, 86, 211, 0.5);
}

.config-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3056D3;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(48, 86, 211, 0.4);
}

/* Price Summary Panel */
.price-summary-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.price-summary-value {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
    margin-bottom: 4px;
}

.price-currency {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 10px;
    margin-right: 4px;
    text-decoration: line-through;
    opacity: 0.5;
}

.price-main {
    font-size: 4rem;
    font-weight: 900;
}

.price-cents {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 8px;
}

.price-period {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.economy-summary {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    width: 100%;
}

.price-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li i {
    color: #6ee7b7;
    font-size: 1rem;
}

.btn-contratar {
    display: block;
    width: 100%;
    padding: 16px 30px;
    background: #fff;
    color: #1e3a8a;
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-contratar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #1e3a8a;
}

/* Responsive */
@media (max-width: 991px) {
    .configurator-wrapper {
        flex-direction: column;
    }

    .configurator-right {
        width: 100%;
        min-width: unset;
        padding: 30px 25px;
    }

    .configurator-left {
        padding: 30px 25px;
    }
}

/* OS Selection Modern */
.os-selection-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.os-option {
    cursor: pointer;
    margin: 0;
}

.os-option input {
    display: none;
}

.os-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8fafc;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.os-card i {
    font-size: 2rem;
    color: #64748b;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.os-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 4px;
}

.os-price {
    font-size: 0.8rem;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.os-option input:checked+.os-card {
    border-color: #3056D3;
    background: #eef2ff;
    box-shadow: 0 4px 15px rgba(48, 86, 211, 0.15);
}

.os-option input:checked+.os-card i {
    color: #3056D3;
}

.os-option input:checked+.os-card .os-price {
    background: #3056D3;
    color: #fff;
}

/* Select Moderno / Chique */
.form-select.spec-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233056D3' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-select.spec-select:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.form-select.spec-select:focus {
    outline: none;
    border-color: #3056D3;
    box-shadow: 0 0 0 3px rgba(48, 86, 211, 0.1);
    background: #fff;
}

/* Dark Variant for Right Panel */
.os-selection-dark .os-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.os-selection-dark .os-card i {
    color: rgba(255, 255, 255, 0.8);
}

.os-selection-dark .os-name {
    color: #fff;
}

.os-selection-dark .os-price {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.os-selection-dark .os-option input:checked+.os-card {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.os-selection-dark .os-option input:checked+.os-card i {
    color: #10b981;
}

.os-selection-dark .os-option input:checked+.os-card .os-price {
    background: #10b981;
    color: #fff;
    font-weight: bold;
}

.form-select.spec-select-dark {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-select.spec-select-dark:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-select.spec-select-dark:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-select.spec-select-dark option {
    background-color: #1e3a8a;
    color: #fff;
}

@media (max-width: 768px) {
    .configurator-wrapper {
        flex-direction: column;
    }

    .configurator-right {
        width: 100%;
        min-width: 100%;
        border-radius: 0 0 24px 24px;
        padding: 30px 20px;
        margin-top: 0;
        /* Reset offset on mobile */
    }
}

/* Dark Variant for Location Pill on Right Panel */
.location-toggle-dark {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.location-toggle-dark .pricing-tab-premium {
    flex-wrap: nowrap;
}

.location-toggle-dark .pricing-tab-premium .nav-item {
    flex: 1 1 0;
}

.location-toggle-dark .toggle-bg {
    background: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    top: 4px;
    height: calc(100% - 8px);
}

.location-toggle-dark .pricing-tab-premium .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 8px;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.location-toggle-dark .pricing-tab-premium .nav-link:hover:not(.active) {
    color: #fff;
}

.location-toggle-dark .pricing-tab-premium .nav-link.active {
    color: #fff;
    font-weight: 800;
}

.location-toggle-dark .pricing-tab-premium strong {
    font-size: 0.85rem;
    line-height: 1.1;
    white-space: nowrap;
}

.location-toggle-dark .pricing-tab-premium .premium-badge {
    white-space: nowrap;
    margin-top: 4px;
}

.location-toggle-dark .premium-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Feature Selection Grids (Fixed) */
.feature-selection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ipv4-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

.feature-option {
    cursor: pointer;
    position: relative;
    display: block;
    user-select: none;
    height: 100%;
}

.feature-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.feature-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-card i {
    font-size: 1.6rem;
    color: #94a3b8;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.feature-card .feat-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.2;
}

.feature-card .feat-price {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.feature-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Feature Grid Selected State */
.feature-option input:checked+.feature-card {
    border-color: #3056D3;
    background: rgba(48, 86, 211, 0.04);
    box-shadow: 0 6px 15px rgba(48, 86, 211, 0.1);
    transform: translateY(-2px);
}

.feature-option input:checked+.feature-card i {
    color: #3056D3;
    transform: scale(1.1);
}

.feature-option input:checked+.feature-card .feat-name {
    color: #3056D3;
}

.feature-option input:checked+.feature-card .feat-price {
    color: #3056D3;
    font-weight: 700;
}

@media (max-width: 991px) {
    .feature-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .feature-selection-grid,
    .ipv4-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Modern Thin Menu & Top Bar ========== */
:root {
    --promo-bg: linear-gradient(90deg, #090e1a 0%, #1e3a8a 50%, #090e1a 100%) !important;
    --header-height: 70px !important;
    --promo-height: 45px !important;
}

/* Promo Bar */
.ud-promo-bar.promo-hidden {
    display: none !important;
}

.ud-promo-bar {
    background: #090e1a !important;
    /* Fallback */
    background: var(--promo-bg) !important;
    height: var(--promo-height) !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.9rem !important;
    z-index: 9999 !important;
    position: relative !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
}

.promo-badge {
    background: #facc15 !important;
    color: #000 !important;
    padding: 2px 10px !important;
    border-radius: 4px !important;
    font-weight: 800 !important;
    margin-right: 12px !important;
    font-size: 0.75rem !important;
}

.promo-text {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}

.promo-action {
    color: #facc15 !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
}

.promo-action:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

.promo-close {
    position: absolute !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    opacity: 0.7 !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    transition: opacity 0.3s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.promo-close:hover {
    opacity: 1 !important;
}

/* Thin Header Styles */
header.ud-header {
    top: var(--promo-height) !important;
    height: var(--header-height) !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    background: rgba(15, 23, 42, 0.8) !important;
    /* Semi-transparent dark bg */
    backdrop-filter: blur(8px) !important;
}

.ud-header.sticky {
    top: 0 !important;
    height: 60px !important;
    background: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.navbar {
    padding: 0 !important;
}

.navbar-brand img {
    max-height: 45px !important;
    transition: all 0.3s ease !important;
}

.sticky .navbar-brand img {
    max-height: 38px !important;
}

.navbar-nav .nav-item a {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 10px 18px !important;
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item a.active {
    opacity: 1 !important;
    color: #facc15 !important;
}

.sticky .navbar-nav .nav-item a {
    color: #ffffff !important;
}

/* Navbar Icons Group */
.navbar-icons-group {
    gap: 22px !important;
    margin-right: 0 !important;
}

.nav-icon-link {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    position: relative !important;
    transition: all 0.3s !important;
    opacity: 0.8 !important;
}

.nav-icon-link:hover {
    color: #facc15 !important;
    opacity: 1 !important;
    transform: translateY(-2px) !important;
}

.icon-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    width: 9px !important;
    height: 9px !important;
    background: #ff4b4b !important;
    border-radius: 50% !important;
    border: 2px solid #090e1a !important;
}

/* Thin Header - 720p/Small laptop tuning (keeps desktop menu, but less "grosso") */
@media (max-width: 1366px) and (min-width: 992px) {
    .ud-promo-bar {
        height: 38px !important;
        font-size: 0.8rem !important;
    }

    .promo-text {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    header.ud-header {
        height: 56px !important;
    }

    .ud-header.sticky {
        height: 52px !important;
    }

    .navbar-brand img {
        max-height: 40px !important;
    }

    .navbar-brand {
        margin-left: -30px !important;
    }

    header.ud-header .container {
        padding-left: 0 !important;
        padding-right: 10px !important;
    }

    .sticky .navbar-brand img {
        max-height: 34px !important;
    }

    .navbar-nav .nav-item a {
        font-size: 0.85rem !important;
        padding: 6px 10px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .navbar-nav .nav-item {
        padding: 0 8px !important;
    }

    .navbar-nav {
        flex-wrap: nowrap !important;
    }

    .navbar-nav .nav-item {
        white-space: nowrap !important;
    }

    .navbar-icons-group {
        gap: 14px !important;
    }

    .nav-icon-link {
        font-size: 1.15rem !important;
    }
}

/* Responsive Thin Menu */
@media (max-width: 991px) {
    .ud-promo-bar {
        height: auto !important;
        padding: 10px 0 !important;
    }

    .promo-text {
        padding: 0 40px !important;
        text-align: center !important;
    }

    header.ud-header {
        top: 0 !important;
        position: relative !important;
    }

    .navbar-icons-group {
        display: none !important;
    }
}