/* ===========================================
   Terminal Server Section - Optimized
   Version: 2.0 | Fully Responsive
=========================================== */

.terminalserver-section {
    width: 100%;
    padding: clamp(60px, 8vw, 100px) 20px;
    position: relative;
    overflow: hidden;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* Background Variants */
.terminalserver-section.light-bg {
    background: #ffffff;
    color: #111;
}
.terminalserver-section.dark-bg {
    background: linear-gradient(145deg, #264065 0%, #264065 100%);
}

/* Decorative Gradients */
.gradient-top-right, 
.gradient-bottom-left {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.gradient-top-right {
    top: min(-10vw, -200px);
    right: min(-10vw, -200px);
    width: min(60vw, 600px);
    height: min(60vw, 600px);
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
}

.gradient-bottom-left {
    bottom: min(-15vw, -300px);
    left: min(-15vw, -300px);
    width: min(70vw, 700px);
    height: min(70vw, 700px);
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
}

/* Content Container */
.container {
    max-width: min(1200px, 95%);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    position: relative;
    z-index: 2;
}

/* Grid Layout */
.grid-two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(30px, 4vw, 60px);
    align-items: center;
}

/* Typography */
h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: clamp(20px, 3vw, 30px);
    letter-spacing: -0.5px;
}

h2 span {
    color: #38bdf8;
}

/* Glass Box */
.glass-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: clamp(15px, 2vw, 20px);
    padding: clamp(25px, 3vw, 40px);
    margin-bottom: clamp(25px, 3vw, 40px);
    border: 1px solid rgba(255,255,255,0.15);
}

.light-bg .glass-box {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
}

/* Highlight Text */
.highlight {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    margin-bottom: clamp(20px, 3vw, 30px);
    color: #a3cef1;
}

.light-bg .highlight {
    color: #1E87B5;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: clamp(12px, 1.5vw, 14px) clamp(24px, 2.5vw, 32px);
    background: linear-gradient(135deg, #264065, #00d2ff);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(38, 64, 101, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(38, 64, 101, 0.4);
}

.light-bg .cta-button {
    background: linear-gradient(135deg, #00d2ff, #264065);
}

.cta-button i {
    margin-right: clamp(10px, 1vw, 12px);
    transition: margin 0.3s ease;
}

.cta-button:hover i {
    margin-right: clamp(12px, 1.2vw, 16px);
}

/* Image Container */
.image-box {
    position: relative;
    height: 100%;
}

.image-inner {
    background: rgba(255,255,255,0.05);
    border-radius: clamp(15px, 2vw, 20px);
    padding: clamp(20px, 3vw, 30px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255,255,255,0.2);
}

.light-bg .image-inner {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
}

/* Image Styles */
.image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Badges */
.badge {
    position: absolute;
    padding: clamp(8px, 1.2vw, 12px) clamp(15px, 2vw, 20px);
    border-radius: 50px;
    font-weight: bold;
    font-size: clamp(0.8rem, 1vw, 1rem);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .grid-two-columns {
        grid-template-columns: 1fr;
    }
    
    .image-box {
        order: -1;
        margin-bottom: 30px;
    }
    
    .image-inner {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .glass-box {
        padding: 20px;
    }
    
    .badge {
        transform: scale(0.9);
    }
}