/*
=========================================
AvxBrand - Dedicated Servers Detail page styling
=========================================
*/

/* 1. HERO SECTION */
.service-hero {
    position: relative;
    background: linear-gradient(135deg, #050B18 0%, #0D162B 100%);
    padding: 180px 0 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 5;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.service-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-hero-left .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    background-color: rgba(10, 61, 255, 0.08);
    border: 1px solid rgba(10, 61, 255, 0.22);
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 1.75rem;
}

.service-hero-left h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.service-hero-left p {
    font-size: clamp(0.95rem, 1.15vw, 1.15rem);
    line-height: 1.65;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.service-hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
}

.service-hero-buttons .btn-primary,
.service-hero-buttons .btn-secondary {
    padding: 16px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.service-hero-buttons .btn-primary {
    background: linear-gradient(90deg, #0A3DFF, #00C2FF);
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 194, 255, 0.25);
    border: none;
}

.service-hero-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 194, 255, 0.45);
}

.service-hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.service-hero-buttons .btn-secondary:hover {
    background: #0A3DFF;
    border-color: #0A3DFF;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* Hero Right - Cloud Illustration */
.service-hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-illustration-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    z-index: 2;
}

.service-central-image {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(10, 61, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-central-image img {
    width: 100%;
    height: auto;
    display: block;
    animation: floatIllustration 6s infinite ease-in-out;
}

.service-hero-glow {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background-color: var(--color-primary);
    filter: blur(85px);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    animation: floatGlow 8s infinite ease-in-out;
}

@keyframes floatIllustration {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatGlow {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

/* 2. FEATURES GRID */
.features-section {
    padding: 100px 0;
    background: #050B18;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    pointer-events: none;
}

.features-section .section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem;
}

.features-section .section-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    background-color: rgba(10, 61, 255, 0.08);
    border: 1px solid rgba(10, 61, 255, 0.22);
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.features-section h2 {
    font-size: 2.25rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.features-section p {
    color: var(--color-text);
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(13, 22, 43, 0.5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: rgba(13, 22, 43, 0.9);
    border-color: rgba(0, 194, 255, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 194, 255, 0.12);
}

.feature-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.feature-card-icon.blue {
    color: var(--color-primary);
    background: rgba(10, 61, 255, 0.12);
}

.feature-card-icon.cyan {
    color: var(--color-secondary);
    background: rgba(0, 194, 255, 0.12);
}

.feature-card-icon.purple {
    color: var(--color-accent);
    background: rgba(124, 77, 255, 0.12);
}

.feature-card-icon.green {
    color: #00E676;
    background: rgba(0, 230, 118, 0.12);
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1);
}

.feature-card:hover .feature-card-icon.blue {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(10, 61, 255, 0.45);
}

.feature-card:hover .feature-card-icon.cyan {
    background: var(--color-secondary);
    color: var(--color-background);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.45);
}

.feature-card:hover .feature-card-icon.purple {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(124, 77, 255, 0.45);
}

.feature-card:hover .feature-card-icon.green {
    background: #00E676;
    color: var(--color-background);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.45);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-family: var(--font-primary);
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 3. BENEFITS SECTION */
.benefits-section {
    padding: 100px 0;
    background: var(--color-bg-section);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.benefits-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefits-left .section-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    background-color: rgba(10, 61, 255, 0.08);
    border: 1px solid rgba(10, 61, 255, 0.22);
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.benefits-left h2 {
    font-size: 2.25rem;
    color: var(--color-white);
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.benefits-left p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.benefits-right {
    background: rgba(13, 22, 43, 0.5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(0, 194, 255, 0.1);
    color: var(--color-secondary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 194, 255, 0.15);
}

.benefit-item span {
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--color-text-light);
    font-weight: 500;
}

/* 4. FAQ SECTION */
.faq-section {
    padding: 100px 0;
    background: #050B18;
    position: relative;
}

.faq-section .section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem;
}

.faq-section .section-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    background-color: rgba(10, 61, 255, 0.08);
    border: 1px solid rgba(10, 61, 255, 0.22);
    color: var(--color-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.faq-section h2 {
    font-size: 2.25rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.faq-section p {
    color: var(--color-text);
    font-size: 1rem;
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(13, 22, 43, 0.5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    background: rgba(13, 22, 43, 0.75);
    border-color: rgba(0, 194, 255, 0.18);
}

.faq-item.active {
    background: rgba(13, 22, 43, 0.85);
    border-color: rgba(0, 194, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 194, 255, 0.04);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    gap: 1.5rem;
}

.faq-header h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.faq-item.active .faq-header h3 {
    color: var(--color-secondary);
}

.faq-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    border-color: transparent;
    transform: rotate(180deg);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.25);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-body-content {
    padding: 0 2rem 1.75rem;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 5. RESPONSIVE BREAKPOINTS */

@media screen and (max-width: 1200px) {
    .service-hero {
        padding-top: 150px;
    }
    .service-hero-content {
        gap: 2.5rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .benefits-grid {
        gap: 2.5rem;
    }
}

@media screen and (max-width: 992px) {
    .service-hero {
        padding-top: 140px;
        padding-bottom: 80px;
        min-height: auto;
    }
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .service-hero-left {
        align-items: center;
    }
    .service-hero-left p {
        margin-left: auto;
        margin-right: auto;
    }
    .service-hero-right {
        margin-top: 1.5rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .service-hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .service-hero-buttons .btn {
        width: 100%;
        display: block;
        text-align: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .benefits-right {
        padding: 2rem 1.5rem;
    }
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .faq-header {
        padding: 1.25rem 1.5rem;
    }
    .faq-body-content {
        padding: 0 1.5rem 1.5rem;
    }
}
