/* cPanel Section Specific Styles */
.cpanel-section {
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.cpanel-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}



.cpanel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-solid);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.cpanel-badge svg {
    width: 16px;
    height: 16px;
}

.cpanel-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cpanel-content h2 span {
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cpanel-content > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Features Grid */
.cpanel-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.cpanel-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.cpanel-feature:hover {
    border-color: var(--primary-solid);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.cpanel-feature .icon-box {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cpanel-feature .icon-box svg {
    width: 18px;
    height: 18px;
    color: white;
    stroke-width: 2;
}

.cpanel-feature .info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.cpanel-feature .info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* CTA Buttons */
.cpanel-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cpanel-btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.cpanel-btn.primary {
    background: var(--primary);
    color: white;
}

.cpanel-btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.cpanel-btn.secondary {
    background: transparent;
    color: var(--primary-solid);
    border: 2px solid var(--primary-solid);
}

.cpanel-btn.secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.cpanel-btn svg {
    width: 18px;
    height: 18px;
}

/* Trust Badges */
.cpanel-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

/* Right Image Side */
.cpanel-image {
    position: relative;
}



.cpanel-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid white;
    background: white;
}

.cpanel-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(99, 102, 241, 0.08));
    z-index: 1;
    pointer-events: none;
}

.cpanel-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.cpanel-image-wrapper:hover img {
    transform: scale(1.03);
}

/* cPanel Interface Mockup Elements */
.cpanel-mockup-header {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #28c940; }

/* Floating Feature Cards */
.cpanel-floating {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cpanel-floating.email {
    top: 20%;
    right: -15px;
    animation-delay: 0s;
}

.cpanel-floating.files {
    bottom: 25%;
    left: -20px;
    animation-delay: 1.5s;
}

.cpanel-floating svg {
    width: 20px;
    height: 20px;
    color: var(--primary-solid);
}

/* Stats Grid */
.cpanel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.stat-box {
    text-align: center;
    padding: 15px 10px;
    background: var(--primary-light);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.stat-box .value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-solid);
    line-height: 1;
}

.stat-box .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cpanel-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cpanel-content {
        order: 2;
    }
    
    .cpanel-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cpanel-content h2 {
        font-size: 2rem;
    }
    
    .cpanel-features {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cpanel-cta {
        justify-content: center;
    }
    
    .cpanel-trust {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cpanel-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cpanel-floating {
        display: none;
    }
}

@media (max-width: 480px) {
    .cpanel-section {
        padding: 60px 15px;
    }
    
    .cpanel-content h2 {
        font-size: 1.75rem;
    }
    
    .cpanel-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cpanel-cta {
        flex-direction: column;
    }
    
    .cpanel-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-box .value {
        font-size: 1.3rem;
    }
}

/* Animation for floating elements */

