/* Universal Features Section */
.all-hosting-features {
    background-color: #f8fbff;
    padding: 60px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 40px;
}
.feature-item {
    padding: 0px 10px;
    margin-top: -1px; /* Pull items together */
    border-bottom: 1px dashed #e9ecef;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    line-height: 1.2;
    color: #444;
    min-height: 30px; /* Force small height */
}
.feature-item::before {
    content: "•";
    color: #1062fe;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 12px;
}
@media (max-width: 991px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Prime Landing Page Feature Grid */
.prime-feature-grid {
    background-color: #fff;
    border: 1px solid #f0f4f8; /* Soft outer border */
    border-radius: 8px; /* Slight outer roundness */
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); /* Soft overall shadow */
    overflow: hidden; /* Keep borders rounded */
}
.prime-feature-item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 30px 15px; /* Adjust padding to center correctly */
    text-align: center;
    border-right: 1px solid #f0f4f8; /* Very light inner border */
    border-bottom: 1px solid #f0f4f8;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.prime-feature-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Lift effect */
    z-index: 2;
    background-color: #fff;
    border-color: transparent; /* Remove border on hover for clean lift */
    transform: translateY(-3px);
}
.prime-feature-item:nth-child(4n) {
    border-right: none; /* Remove right border for last item in row */
}
.prime-feature-item:nth-last-child(-n+4) {
    border-bottom: none; /* Remove bottom border for bottom row */
}
.prime-feature-item img {
    display: block;
    margin: 0 auto 15px auto;
    height: 55px; /* Slightly smaller to match screenshot proportions */
    width: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.prime-feature-item:hover img {
    transform: translateY(-5px);
}
.prime-feature-item h5 {
    font-size: 1.15rem;
    color: #1062fe;
    margin-bottom: 0;
    font-weight: 600;
}

@media (max-width: 991px) {
    .prime-feature-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 575px) {
    .prime-feature-item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 15px 10px;
    }
    .prime-feature-item img {
        height: 40px;
        margin-bottom: 10px;
    }
    .prime-feature-item h5 {
        font-size: 1rem;
    }
}

/* Best Applications Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.app-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.app-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: #ff5274;
}
.app-ribbon {
    position: absolute;
    top: 16px;
    left: -45px;
    background: #ff5274;
    color: #fff;
    width: 170px;
    text-align: center;
    transform: rotate(-45deg);
    font-size: 0.62rem;
    font-weight: 900;
    padding: 5px 0;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.app-item img {
    max-width: 70%;
    max-height: 60%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.app-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 1199px) {
    .app-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .app-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .app-grid { grid-template-columns: repeat(2, 1fr); }
    .app-item { padding: 40px 15px; }
}
@media (max-width: 480px) {
    .app-grid { grid-template-columns: 1fr; }
}

/* Landing Page Pricing Section - High Conversion */
.pricing-section {
    background-color: #f8fbff;
    padding-top: 60px;
    padding-bottom: 60px;
}
.pricing-badge {
    color: #1062fe;
    background-color: rgba(16, 98, 254, 0.1);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 50px;
}
.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 3rem 0 0 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
    border: 1px solid #eef2f6;
}
/* Highlight the center plan */
.pricing-card.popular {
    transform: scale(1.05);
    z-index: 2;
    border: 2px solid #1062fe;
    box-shadow: 0 20px 50px rgba(16, 98, 254, 0.15);
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}
.popular-ribbon {
    background: #1062fe;
    color: white;
    position: absolute;
    top: 20px;
    right: -35px;
    width: 140px;
    text-align: center;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 0;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.pricing-header {
    text-align: left;
    padding: 0 2.5rem 1rem;
}
.pricing-header h4 {
    font-weight: 800;
    font-size: 1.6rem;
    color: #0b163f;
    margin-bottom: 5px;
}
.pricing-header p {
    font-size: 0.95rem;
    color: #6c757d;
}
.pricing-divider {
    height: 3px;
    background: linear-gradient(90deg, #1062fe 0%, #00d2ff 100%);
    width: calc(100% - 5rem);
    margin: 0 auto 1.5rem;
    border-radius: 5px;
}
.pricing-list-wrap {
    padding: 0 2.5rem 1.5rem;
    position: relative;
    z-index: 2;
}
.pricing-feature-list li {
    padding: 0px 0;
    margin-top: -1px; /* Pull items together */
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.2;
    min-height: 30px; /* Force small height */
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #f1f3f5;
}
.pricing-feature-list li:last-child {
    border-bottom: none;
}
.pricing-feature-list li i {
    color: #1062fe !important;
    font-size: 1rem;
    margin-right: 12px;
    background: rgba(16, 98, 254, 0.1);
    padding: 5px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pricing-price-wrap {
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.pricing-price-wrap .price-display {
    display: flex;
    align-items: baseline;
    color: #0b163f;
}
.pricing-price-wrap .currency {
    font-size: 1.8rem;
    font-weight: 700;
    vertical-align: top;
    margin-right: 2px;
}
.pricing-price-wrap .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}
.pricing-price-wrap .period {
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    margin-left: 5px;
}
.pricing-bottom {
    background: #1062fe; /* Solid royal blue */
    text-align: center;
    padding-top: 45px;
    padding-bottom: 35px;
    clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 100%);
    margin-top: -35px; /* Adjust overlap */
    position: relative;
    z-index: 1;
    transition: background 0.3s ease;
}
.pricing-card.popular .pricing-bottom {
    background: linear-gradient(135deg, #1062fe 0%, #00d2ff 100%);
}
.pricing-card:hover .pricing-bottom {
    background: #0b163f;
}
.pricing-card.popular:hover .pricing-bottom {
    background: linear-gradient(135deg, #0b163f 0%, #1062fe 100%);
}
.btn-order {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-order:hover {
    background: #fff;
    color: #1062fe;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}
.pricing-card.popular .btn-order {
    background: #fff;
    color: #1062fe;
    border-color: #fff;
}
.pricing-card.popular .btn-order:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

@media (max-width: 991px) {
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* WP Call to Action Section */
.wp-cta-section .wp-cta-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-color: #f0f0f0 !important;
}
.wp-cta-section .wp-cta-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}
.wp-cta-section .btn-primary {
    background-color: #006aff; /* Exact bright blue matches razorhost */
    border-color: #006aff;
}
.wp-cta-section .btn-primary:hover {
    background-color: #0056cc;
    border-color: #0056cc;
}

/* Landing Page FAQ Section specific styling */
#faq .accordion-button {
    font-weight: 500;
    color: #333;
    font-size: 15px;
}
#faq .accordion-button:not(.collapsed) {
    color: #1062fe;
    background-color: transparent;
    box-shadow: none;
}
#faq .accordion-button:focus {
    box-shadow: none;
}
#faq .accordion-button::after {
    background-size: 1rem;
}
#faq .accordion-body {
    font-size: 14px;
    line-height: 1.6;
}
/* Ensure borders look clean on transparent accordions */
#faq .accordion-item {
    border-color: #eee !important;
}

/* --- Free Features Grid --- */
.free-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.free-feature-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.free-feature-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .free-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .free-features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Promo & Services Modernization --- */
.single-promo-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
}

.single-promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 98, 254, 0.08) !important;
}

.feature-hover-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(16, 98, 254, 0.2) !important;
}

.custom-icon-wrap {
    background-color: rgba(16, 98, 254, 0.05);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-hover-card:hover .custom-icon-wrap {
    background-color: rgba(16, 98, 254, 0.1);
    transform: scale(1.05) rotate(5deg);
}

.single-service h4 {
    color: #0b163f;
    line-height: 1.3;
}

.single-service .btn-outline-primary {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

/* --- Global Animations & Micro-Interactions --- */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Floating Utility */
.animated-float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Utility */
.animated-pulse {
    animation: pulse-soft 3s ease-in-out infinite;
}

/* Hero Section Specifics */
.hero-slider-content h1 {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-slider-content .headline {
    display: inline-block;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Enhanced Transitions for Interactive Elements */
.nav-link, .btn, .single-promo-card, .feature-hover-card, .app-item, .pricing-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Shimmer Effect for Buttons */
.btn-tertiary.shimmer-btn {
    position: relative;
    overflow: hidden;
}

.btn-tertiary.shimmer-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s;
}

.btn-tertiary.shimmer-btn:hover::after {
    left: 150%;
}

/* Network Map pulsing dots */
.custom-map-location li span {
    position: relative;
}

.custom-map-location li span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-soft 2s infinite;
    z-index: -1;
}

/* Smooth Accordion Item Shift */
#faq .accordion-item {
    transition: all 0.3s ease;
}

#faq .accordion-item:hover {
    border-color: rgba(16, 98, 254, 0.3) !important;
    background-color: rgba(16, 98, 254, 0.02);
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- Legal Documentation Styles --- */
.legal-content-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-sidebar {
    position: sticky;
    top: 100px;
}

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

.legal-nav li {
    margin-bottom: 8px;
}

.legal-nav li a {
    display: block;
    padding: 10px 15px;
    color: #4b5a76;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.legal-nav li a:hover {
    background: rgba(16, 98, 254, 0.05);
    color: var(--primary);
    transform: translateX(5px);
}

.legal-nav li a.active {
    background: var(--primary);
    color: #fff;
}

.legal-section-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    border-bottom: 2px solid rgba(16, 98, 254, 0.1);
    padding-bottom: 10px;
}

@media (max-width: 991px) {
    .legal-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

