/* Hosting pages — aligned with existing Progix service-page design system */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate; /* keep overlays inside this stacking context */
}

.hero-section.h-bg {
    background-size: cover;
    background-position: center;
    /* Gradient overlay baked into background — no clickable ::after layer */
    background-image:
        linear-gradient(135deg, rgba(118, 77, 240, 0.88) 0%, rgba(26, 30, 66, 0.92) 100%),
        var(--hero-bg-image, none);
}

/* Kill any leftover overlay pseudo-elements from older CSS */
.hero-section.h-bg::before,
.hero-section.h-bg::after {
    content: none !important;
    display: none !important;
    pointer-events: none !important;
}

.hero-section .container {
    position: relative;
    z-index: 5;
}

.hero-buttons {
    position: relative;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    align-items: center;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    border-radius: 30px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 21;
    pointer-events: auto !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Match web_development page: keep outline button text visible on hover */
.btn-outline-light {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.btn-outline-light i {
    color: inherit !important;
}

.bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
    z-index: 0;
    pointer-events: none !important;
}

.breadcrumb-nav {
    background: transparent;
    margin-top: 70px;
}

.services-overview,
.pricing,
.benefits-section,
.faq-section {
    background: var(--bg-dark-2);
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.tech-stack,
.hosting-cta-section,
.plan-detail-section {
    background: var(--bg-dark-1);
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.section-header h2 {
    color: #fff;
    font-weight: 800;
}

.section-header p,
.text-muted-hosting {
    color: rgba(255, 255, 255, 0.65) !important;
}

.service-card,
.tech-card,
.pricing-card,
.benefit-card,
.plan-side-card {
    background: rgba(26, 30, 66, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(118, 77, 240, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(118, 77, 240, 0.2);
    position: relative;
    height: 100%;
    color: inherit;
    text-decoration: none;
    display: block;
}

.service-card:hover,
.tech-card:hover,
.pricing-card:hover,
.benefit-card:hover,
a.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(118, 77, 240, 0.2), 0 0 0 1px rgba(118, 77, 240, 0.25);
    color: inherit;
    text-decoration: none;
}

.service-card h3,
.tech-card h3,
.pricing-header h3,
.benefit-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p,
.tech-card p,
.pricing-header p,
.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0;
}

.service-icon,
.tech-icon,
.benefit-icon {
    color: var(--primary-color);
    margin-bottom: 18px;
}

.pricing-card {
    padding: 40px 30px;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(118, 77, 240, 0.2), 0 0 0 1px rgba(118, 77, 240, 0.25);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    white-space: nowrap;
}

.price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.price small {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features ul,
.service-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 24px;
}

.pricing-features li,
.service-features li {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.pricing-footer {
    margin-top: auto;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), #5a35c7);
    border: none;
    color: #fff !important;
    border-radius: 30px;
    font-weight: 700;
    padding: 12px 28px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(118, 77, 240, 0.35);
    color: #fff !important;
}

.btn-primary-custom.is-disabled,
.btn.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.plan-spec-table {
    width: 100%;
    margin: 0;
}

.plan-spec-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-spec-table th,
.plan-spec-table td {
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.85);
}

.plan-spec-table th {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    width: 42%;
}

.hosting-stat-row .tech-card {
    text-align: center;
}

.hosting-stat-row .tech-card strong {
    display: block;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 6px;
}

.category-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(118, 77, 240, 0.18);
    border: 1px solid rgba(118, 77, 240, 0.35);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
}

@media (max-width: 991.98px) {
    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}
