/* Enhanced 3D Service Page Styles */

/* Service Hero Section */
.service-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    padding-top: 100px;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-networks {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/5475750/pexels-photo-5475750.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    animation: float-bg 20s ease-in-out infinite;
}

@keyframes float-bg {
    0%, 100% { transform: scale(1) translateY(0px); }
    50% { transform: scale(1.1) translateY(-10px); }
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 3;
}

.service-intro {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 3D Service Icon */
.service-icon-3d {
    margin-bottom: 2rem;
    perspective: 1000px;
}

.icon-sphere {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: rotate3d 15s linear infinite;
}

.icon-sphere i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
}

.orbit {
    position: absolute;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: orbit 8s linear infinite;
}

.orbit-1 {
    width: 120px;
    height: 120px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.orbit-2 {
    width: 160px;
    height: 160px;
    top: -20px;
    left: -20px;
    animation-delay: -2.67s;
    transform: rotateX(60deg);
}

.orbit-3 {
    width: 200px;
    height: 200px;
    top: -40px;
    left: -40px;
    animation-delay: -5.33s;
    transform: rotateY(60deg);
}

@keyframes orbit {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

.service-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.title-glow {
    display: block;
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        text-shadow: 0 0 20px var(--accent-glow); 
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px var(--accent-glow), 0 0 40px var(--accent-glow); 
        transform: scale(1.02);
    }
}

/* Network Visualization */
.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.network-visualization {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
}

.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px var(--accent-glow);
    animation: pulse-node 2s ease-in-out infinite;
}

@keyframes pulse-node {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px var(--accent-glow);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow);
    }
}

.connection-node {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--glass-bg);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: float-node 4s ease-in-out infinite;
}

.node-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.node-2 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.node-3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.node-4 {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation-delay: 3s;
}

@keyframes float-node {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    height: 2px;
    transform-origin: left center;
    animation: data-flow 3s linear infinite;
}

.line-1 {
    top: 50%;
    left: 50%;
    width: 100px;
    transform: translateY(-50%) rotate(-90deg);
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    left: 50%;
    width: 100px;
    transform: translateY(-50%) rotate(0deg);
    animation-delay: 0.75s;
}

.line-3 {
    top: 50%;
    left: 50%;
    width: 100px;
    transform: translateY(-50%) rotate(90deg);
    animation-delay: 1.5s;
}

.line-4 {
    top: 50%;
    left: 50%;
    width: 100px;
    transform: translateY(-50%) rotate(180deg);
    animation-delay: 2.25s;
}

@keyframes data-flow {
    0% { 
        background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        transform: translateY(-50%) rotate(var(--rotation, 0deg)) scaleX(0);
    }
    50% { 
        transform: translateY(-50%) rotate(var(--rotation, 0deg)) scaleX(1);
    }
    100% { 
        background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        transform: translateY(-50%) rotate(var(--rotation, 0deg)) scaleX(0);
    }
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: var(--secondary-bg);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-container h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
    animation: float-in 0.8s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(-15deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px var(--shadow-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotateY(180deg);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 50%);
    opacity: 0.1;
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    animation: glow-text 3s ease-in-out infinite;
}

@keyframes glow-text {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 20px var(--accent-glow); }
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced Button Styles */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    left: 100%;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px) scale(1.05) rotateX(5deg);
}

/* Responsive Design for Service Pages */
@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .service-title {
        font-size: 2rem;
    }
    
    .network-visualization {
        width: 250px;
        height: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Custom 3D Transforms for Different Services */
.wireless-page .service-icon-3d .icon-sphere {
    animation: wireless-rotate 12s linear infinite;
}

@keyframes wireless-rotate {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    33% { transform: rotateX(120deg) rotateY(120deg) rotateZ(120deg); }
    66% { transform: rotateX(240deg) rotateY(240deg) rotateZ(240deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* Data Center 3D Effects */
.datacenter-page .datacenter-rack {
    position: relative;
    width: 120px;
    height: 150px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: datacenter-pulse 3s ease-in-out infinite;
}

.datacenter-rack i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
}

.server-lights {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-glow);
    animation: server-blink 2s ease-in-out infinite;
}

.light-1 { top: 20px; left: 20px; animation-delay: 0s; }
.light-2 { top: 20px; right: 20px; animation-delay: 0.5s; }
.light-3 { bottom: 20px; left: 20px; animation-delay: 1s; }
.light-4 { bottom: 20px; right: 20px; animation-delay: 1.5s; }

@keyframes server-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

@keyframes datacenter-pulse {
    0%, 100% { transform: scale(1) rotateY(0deg); }
    50% { transform: scale(1.05) rotateY(5deg); }
}

.data-flow {
    position: absolute;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: data-stream 1.5s linear infinite;
}

.flow-1 { left: 30px; top: 0; animation-delay: 0s; }
.flow-2 { right: 30px; top: 0; animation-delay: 0.75s; }

@keyframes data-stream {
    0% { transform: translateY(-40px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(150px); opacity: 0; }
}

.datacenter-visualization {
    position: relative;
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.server-stack {
    position: absolute;
    width: 60px;
    height: 80px;
    background: var(--glass-bg);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    animation: server-hum 4s ease-in-out infinite;
}

.stack-1 { left: 50px; top: 50px; animation-delay: 0s; }
.stack-2 { left: 120px; top: 50px; animation-delay: 1.33s; }
.stack-3 { left: 190px; top: 50px; animation-delay: 2.66s; }

@keyframes server-hum {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg);
        box-shadow: 0 0 20px var(--accent-glow);
    }
    50% { 
        transform: translateY(-5px) rotateX(2deg);
        box-shadow: 0 5px 30px var(--accent-glow);
    }
}

/* SMS Marketing 3D Effects */
.sms-page .message-hub {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: message-spin 8s linear infinite;
}

.message-hub i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
}

.message-bubble {
    position: absolute;
    background: var(--accent-color);
    color: #000;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: bubble-float 3s ease-in-out infinite;
    white-space: nowrap;
}

.bubble-1 { 
    top: -20px; 
    left: -30px; 
    animation-delay: 0s;
    transform: rotateX(15deg);
}
.bubble-2 { 
    top: -20px; 
    right: -40px; 
    animation-delay: 1s;
    transform: rotateY(15deg);
}
.bubble-3 { 
    bottom: -20px; 
    left: 50%; 
    transform: translateX(-50%) rotateZ(-15deg);
    animation-delay: 2s;
}

@keyframes bubble-float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes message-spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.signal-waves {
    position: absolute;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: signal-pulse 2s ease-out infinite;
}

.wave-1 { 
    width: 100px; 
    height: 100px; 
    top: 10px; 
    left: 10px;
    animation-delay: 0s;
}
.wave-2 { 
    width: 140px; 
    height: 140px; 
    top: -10px; 
    left: -10px;
    animation-delay: 0.66s;
}
.wave-3 { 
    width: 180px; 
    height: 180px; 
    top: -30px; 
    left: -30px;
    animation-delay: 1.33s;
}

@keyframes signal-pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.sms-visualization {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.phone-mockup {
    width: 200px;
    height: 350px;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 20px;
    position: relative;
    animation: phone-glow 4s ease-in-out infinite;
    border: 3px solid var(--accent-color);
}

@keyframes phone-glow {
    0%, 100% { 
        box-shadow: 0 0 30px var(--accent-glow);
        transform: rotateY(0deg);
    }
    50% { 
        box-shadow: 0 0 50px var(--accent-glow), 0 0 70px var(--accent-glow);
        transform: rotateY(5deg);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    border-radius: 15px;
    padding: 15px;
    overflow: hidden;
}

.message-thread {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.message-item {
    background: var(--accent-color);
    color: #000;
    padding: 12px;
    border-radius: 18px;
    font-size: 0.9rem;
    animation: message-slide 0.8s ease-out;
    animation-fill-mode: both;
}

.message-item:nth-child(1) { animation-delay: 1s; }
.message-item:nth-child(2) { animation-delay: 2s; }
.message-item:nth-child(3) { animation-delay: 3s; }

@keyframes message-slide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.delivery-indicators {
    display: flex;
    gap: 20px;
}

.indicator {
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    animation: indicator-pop 0.5s ease-out;
    animation-fill-mode: both;
}

.ind-1 { animation-delay: 1.5s; }
.ind-2 { animation-delay: 2.5s; }
.ind-3 { animation-delay: 3.5s; }

@keyframes indicator-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Security Page 3D Effects */
.security-page .security-shield {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: shield-protect 6s ease-in-out infinite;
}

.security-shield i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
}

.protection-ring {
    position: absolute;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.7;
    animation: shield-pulse 3s ease-in-out infinite;
}

.ring-1 { 
    width: 100px; 
    height: 100px; 
    top: 10px; 
    left: 10px;
    animation-delay: 0s;
}
.ring-2 { 
    width: 140px; 
    height: 140px; 
    top: -10px; 
    left: -10px;
    animation-delay: 1s;
}
.ring-3 { 
    width: 180px; 
    height: 180px; 
    top: -30px; 
    left: -30px;
    animation-delay: 2s;
}

@keyframes shield-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 20px var(--accent-glow);
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 40px var(--accent-glow);
    }
}

@keyframes shield-protect {
    0%, 100% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(90deg) rotateX(0deg); }
    50% { transform: rotateY(90deg) rotateX(90deg); }
    75% { transform: rotateY(0deg) rotateX(90deg); }
}

.security-scanner {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 130px;
    height: 130px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    border-style: dashed;
    animation: scanner-rotate 4s linear infinite;
}

@keyframes scanner-rotate {
    0% { transform: rotate(0deg); opacity: 1; }
    100% { transform: rotate(360deg); opacity: 1; }
}

.security-visualization {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatIn 1s ease forwards;
}

.camera-grid {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    top: 10px;
    left: 10px;
    width: 160px;
}

.camera-node {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: blinkCamera 4s infinite ease-in-out;
}

.camera-node i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

@keyframes blinkCamera {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.control-center {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulseCenter 3s ease-in-out infinite;
    box-shadow: 0 0 20px var(--accent-glow);
}

.alert-light {
    position: absolute;
    top: 10px;
    width: 15px;
    height: 15px;
    background-color: red;
    border-radius: 50%;
    box-shadow: 0 0 10px red;
    animation: alertBlink 1s ease-in-out infinite;
}

.monitoring-screen {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    animation: screenGlow 3s ease-in-out infinite;
}

@keyframes alertBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

@keyframes screenGlow {
    0%, 100% { box-shadow: 0 0 10px var(--accent-glow); }
    50% { box-shadow: 0 0 20px var(--accent-glow); }
}

@keyframes pulseCenter {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* RoboCall Page 3D Effects */
.robocall-page .call-system {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: call-broadcast 8s ease-in-out infinite;
}

.call-system i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
}

.call-wave {
    position: absolute;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.8;
    animation: call-ripple 2s ease-out infinite;
}

.wave-1 { 
    width: 120px; 
    height: 120px; 
    top: 15px; 
    left: 15px;
    animation-delay: 0s;
}
.wave-2 { 
    width: 160px; 
    height: 160px; 
    top: -5px; 
    left: -5px;
    animation-delay: 0.5s;
}
.wave-3 { 
    width: 200px; 
    height: 200px; 
    top: -25px; 
    left: -25px;
    animation-delay: 1s;
}

@keyframes call-ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.phone-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.phone-node {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--glass-bg);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    animation: phone-ring 3s ease-in-out infinite;
}

.node-1 { top: -20px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { bottom: -20px; right: -20px; animation-delay: 1s; }
.node-3 { bottom: -20px; left: -20px; animation-delay: 2s; }

@keyframes phone-ring {
    0%, 100% { 
        transform: scale(1) translateX(-50%);
        box-shadow: 0 0 10px var(--accent-glow);
    }
    50% { 
        transform: scale(1.2) translateX(-50%);
        box-shadow: 0 0 20px var(--accent-glow);
    }
}

@keyframes call-broadcast {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.robocall-visualization {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatIn 1s ease forwards;
}

.call-center {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 20px var(--accent-glow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-dialer {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px var(--accent-glow);
    animation: dialPulse 2s infinite ease-in-out;
}

.main-dialer i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.call-queue {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.queue-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-left: 4px solid var(--accent-color);
    color: #fff;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.queue-item.active {
    background: var(--accent-color);
    color: #000;
    font-weight: bold;
    animation: queueHighlight 2s ease-in-out infinite;
}

.success-rate {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--accent-color);
}

.rate-bar {
    position: relative;
    width: 100px;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--accent-color);
}

.rate-fill {
    height: 100%;
    width: 85%;
    background: var(--accent-color);
    animation: fillRate 3s ease-in-out infinite;
}

@keyframes dialPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px var(--accent-glow); }
    50% { transform: scale(1.1); box-shadow: 0 0 25px var(--accent-glow); }
}

@keyframes queueHighlight {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes fillRate {
    0% { width: 0%; }
    50% { width: 85%; }
    100% { width: 0%; }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Consultancy Page 3D Effects */
.consultancy-page .consulting-brain {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: brain-think 10s ease-in-out infinite;
}

.consulting-brain i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
}

.idea-bulb {
    position: absolute;
    color: var(--accent-color);
    font-size: 1.5rem;
    animation: bulb-illuminate 4s ease-in-out infinite;
}

.bulb-1 { 
    top: -30px; 
    left: -30px; 
    animation-delay: 0s;
    transform: rotateZ(-45deg);
}
.bulb-2 { 
    top: -30px; 
    right: -30px; 
    animation-delay: 1.33s;
    transform: rotateZ(45deg);
}
.bulb-3 { 
    bottom: -30px; 
    left: 50%; 
    transform: translateX(-50%);
    animation-delay: 2.66s;
}

@keyframes bulb-illuminate {
    0%, 70%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
        text-shadow: 0 0 10px var(--accent-glow);
    }
    15%, 55% { 
        opacity: 1; 
        transform: scale(1.2);
        text-shadow: 0 0 30px var(--accent-glow);
    }
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    animation: data-pulse 3s ease-in-out infinite;
}

.line-1 { 
    top: 20px; 
    left: 20px; 
    width: 60px; 
    transform: rotate(-45deg);
    animation-delay: 0s;
}
.line-2 { 
    top: 20px; 
    right: 20px; 
    width: 60px; 
    transform: rotate(45deg);
    animation-delay: 1s;
}
.line-3 { 
    bottom: 20px; 
    left: 50%; 
    width: 60px; 
    transform: translateX(-50%) rotate(90deg);
    animation-delay: 2s;
}

@keyframes data-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes brain-think {
    0%, 100% { 
        transform: rotateX(0deg) rotateY(0deg);
    }
    25% { 
        transform: rotateX(15deg) rotateY(15deg);
    }
    50% { 
        transform: rotateX(0deg) rotateY(30deg);
    }
    75% { 
        transform: rotateX(-15deg) rotateY(15deg);
    }
}

.consultancy-visualization {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float-in 1s ease forwards;
}

.strategy-board {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 0 20px var(--accent-color);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transform-style: preserve-3d;
    animation: rotateBoard 15s linear infinite;
}

.board-section {
    text-align: center;
}

.board-section h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.progress-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--accent-color);
    transition: background-color 0.3s;
}

.progress-dots .dot.active {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

@keyframes rotateBoard {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes float-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Web Development Page 3D Effects */
.webdev-page .code-sphere {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: code-spin 12s linear infinite;
}

.code-sphere i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
}

.code-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.code-particles span {
    position: absolute;
    color: var(--accent-color);
    font-weight: bold;
    font-family: 'Courier New', monospace;
    animation: code-float 6s ease-in-out infinite;
}

.code-particles span:nth-child(1) { 
    top: -20px; 
    left: 20px; 
    animation-delay: 0s;
    font-size: 1.2rem;
}
.code-particles span:nth-child(2) { 
    top: 20px; 
    right: -20px; 
    animation-delay: 1.2s;
    font-size: 1rem;
}
.code-particles span:nth-child(3) { 
    bottom: -20px; 
    left: -20px; 
    animation-delay: 2.4s;
    font-size: 1.1rem;
}
.code-particles span:nth-child(4) { 
    bottom: 20px; 
    right: 20px; 
    animation-delay: 3.6s;
    font-size: 0.9rem;
}
.code-particles span:nth-child(5) { 
    top: -10px; 
    left: 50%; 
    transform: translateX(-50%);
    animation-delay: 4.8s;
    font-size: 1rem;
}

@keyframes code-float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
        text-shadow: 0 0 20px var(--accent-glow);
    }
}

@keyframes code-spin {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* Browser Mockup */
.browser-mockup {
    width: 300px;
    height: 200px;
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: browser-glow 4s ease-in-out infinite;
}

@keyframes browser-glow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 15px 40px var(--accent-glow);
        transform: scale(1.02);
    }
}

.browser-header {
    background: #3a3a3a;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.browser-buttons {
    display: flex;
    gap: 6px;
}

.browser-buttons div {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27ca3f; }

.address-bar {
    background: #2a2a2a;
    color: var(--accent-color);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    flex: 1;
}

.browser-content {
    padding: 15px;
    height: 140px;
    overflow: hidden;
}

.code-editor {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    color: var(--text-primary);
    animation: type-in 0.8s ease-out;
    animation-fill-mode: both;
}

.code-line:nth-child(1) { animation-delay: 1s; }
.code-line:nth-child(2) { animation-delay: 1.5s; }
.code-line:nth-child(3) { animation-delay: 2s; }
.code-line:nth-child(4) { animation-delay: 2.5s; }
.code-line:nth-child(5) { animation-delay: 3s; }

@keyframes type-in {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

/* Holographic Effects */
.hologram-effect {
    position: relative;
    background: linear-gradient(45deg, transparent 30%, var(--accent-glow) 50%, transparent 70%);
    background-size: 20px 20px;
    animation: hologram 2s linear infinite;
}

@keyframes hologram {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* 3D Text Effects */
.text-3d {
    text-shadow: 
        1px 1px 0 var(--accent-color),
        2px 2px 0 var(--accent-color),
        3px 3px 0 var(--accent-color),
        4px 4px 0 var(--accent-color),
        5px 5px 0 var(--accent-color),
        6px 6px 10px rgba(0,0,0,0.3);
    transform: rotateX(10deg) rotateY(-10deg);
}

/* Matrix Rain Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.05;
}

.matrix-bg::before {
    content: '01001001010100100100100001010101010110100010101010101010100010101';
    position: absolute;
    color: var(--accent-color);
    font-family: monospace;
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-all;
    animation: matrix-flow 20s linear infinite;
}

@keyframes matrix-flow {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

.network-page .network-globe {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: rotate-globe 8s linear infinite;
}

.network-globe i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--accent-color);
    text-shadow: 0 0 25px var(--accent-glow);
    z-index: 10;
}

.network-rings .ring {
    position: absolute;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: ring-spin 5s linear infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
    top: 0;
    left: 0;
    transform: rotateX(60deg);
}
.ring-2 {
    width: 140px;
    height: 140px;
    top: -10px;
    left: -10px;
    transform: rotateY(60deg);
    animation-delay: 1s;
}
.ring-3 {
    width: 160px;
    height: 160px;
    top: -20px;
    left: -20px;
    transform: rotateZ(60deg);
    animation-delay: 2s;
}

.data-packets .packet {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: packet-move 4s linear infinite;
    opacity: 0.8;
}

.packet-1 { top: 0; left: 50%; animation-delay: 0s; }
.packet-2 { top: 50%; left: 0; animation-delay: 1s; }
.packet-3 { top: 100%; left: 50%; animation-delay: 2s; }

@keyframes rotate-globe {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes ring-spin {
    0% { transform: rotate(0deg); opacity: 0.3; }
    100% { transform: rotate(360deg); opacity: 0.6; }
}

@keyframes packet-move {
    0% { transform: scale(1) translateY(0); opacity: 1; }
    50% { transform: scale(1.2) translateY(-10px); opacity: 0.8; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Network Topology Visual */

.network-visualization {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.topology-diagram {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Central router */
.router-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    background: var(--glass-bg);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
    z-index: 2;
}

/* Switch nodes around the center */
.switch-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 1;
}

.switch-1 {
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.switch-2 {
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Endpoint devices around the edges */
.endpoint-devices .device {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 1;
}

.pc-1 { top: 25%; left: 15%; }
.pc-2 { top: 25%; right: 15%; }
.pc-3 { bottom: 15%; left: 50%; transform: translateX(-50%); }

/* Glowing connection lines using ::before trick */
.network-connections .connection {
    position: absolute;
    width: 2px;
    background: var(--accent-color);
    opacity: 0.5;
    animation: pulse-line 2s infinite ease-in-out;
    transform-origin: top left;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Custom line placements (manual for simplicity) */
.conn-1 { top: 50%; left: 50%; height: 140px; transform: translate(-1px, -50%) rotate(-90deg); }
.conn-2 { top: 50%; left: 50%; height: 150px; transform: translate(-1px, -50%) rotate(90deg); }
.conn-3 { top: 50%; left: 50%; height: 170px; transform: translate(-1px, -50%) rotate(150deg); }
.conn-4 { top: 50%; left: 50%; height: 170px; transform: translate(-1px, -50%) rotate(30deg); }

@keyframes pulse-line {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 6px var(--accent-glow);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 14px var(--accent-glow);
    }
}
.topology-diagram {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 320px;
  margin: 40px auto;
  background: #121212;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
}

.topology-diagram .node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #222;
  border: 2px solid var(--accent-color, #FFC107);
  border-radius: 12px;
  color: var(--accent-color, #FFC107);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 10px var(--accent-color, #FFC107);
  user-select: none;
}

.topology-diagram .node span {
  font-size: 0.75rem;
  margin-top: 6px;
  color: #ddd;
}

/* Positioning nodes */
.node.main-router {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.node.switch-1 {
  top: 130px;
  left: 25%;
  transform: translateX(-50%);
}

.node.switch-2 {
  top: 130px;
  left: 75%;
  transform: translateX(-50%);
}

.node.device-1 {
  top: 250px;
  left: 15%;
  transform: translateX(-50%);
}

.node.device-2 {
  top: 250px;
  left: 35%;
  transform: translateX(-50%);
}

.node.device-3 {
  top: 250px;
  left: 70%;
  transform: translateX(-50%);
}

/* Connections lines using SVG */
.topology-diagram .connections {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}

.topology-diagram .connections line {
  stroke: var(--accent-color, #FFC107);
  stroke-width: 2;
  stroke-linecap: round;
}

/* 3D Effects & Animations for IT Support Page */

/* Container perspective for 3D */
.support-page .service-icon-3d {
  perspective: 800px;
  width: 140px;
  height: 140px;
  margin-bottom: 1.5rem;
}

/* Headset icon container with 3D rotation animation */
.support-center {
  position: relative;
  width: 140px;
  height: 140px;
  transform-style: preserve-3d;
  animation: headset-spin 8s ease-in-out infinite;
  margin: 0 auto;
}

/* Headset icon styling */
.support-center i.fas.fa-headset {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 4rem;
  color: #1abc9c; /* Accent color */
  text-shadow: 0 0 20px #16a085;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Signal waves container */
.support-signals {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

/* Each signal circle */
.signal {
  position: absolute;
  border: 3px solid #1abc9c;
  border-radius: 50%;
  opacity: 0.5;
  box-shadow: 0 0 10px #16a085;
  animation: signal-wave 3.5s ease-out infinite;
}

.signal-1 {
  width: 80px;
  height: 80px;
  top: 30px;
  left: 30px;
  animation-delay: 0s;
}

.signal-2 {
  width: 110px;
  height: 110px;
  top: 15px;
  left: 15px;
  animation-delay: 1.2s;
}

.signal-3 {
  width: 140px;
  height: 140px;
  top: 0;
  left: 0;
  animation-delay: 2.4s;
}

/* Signal wave animation */
@keyframes signal-wave {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
    box-shadow: 0 0 10px #16a085;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
    box-shadow: 0 0 30px #16a085;
  }
}

/* Ticket queue container */
.ticket-queue {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  user-select: none;
}

/* Ticket styles */
.ticket {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  cursor: default;
  background-color: #ddd;
}

/* Ticket states with glow */
.ticket.resolved {
  background-color: #27ae60;
  box-shadow: 0 0 12px #27ae60;
}

.ticket.pending {
  background-color: #f39c12;
  box-shadow: 0 0 12px #f39c12;
}

.ticket.new {
  background-color: #e74c3c;
  box-shadow: 0 0 12px #e74c3c;
}

/* Headset spin animation */
@keyframes headset-spin {
  0%, 100% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  25% {
    transform: rotateY(90deg) rotateX(15deg);
  }
  50% {
    transform: rotateY(180deg) rotateX(0deg);
  }
  75% {
    transform: rotateY(90deg) rotateX(-15deg);
  }
}

/* Support Visualization Box */


/* Help Desk container layout */
.help-desk {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 30px; /* a bit more gap */
}

/* Response time box */
.response-time {
    background: rgba(255, 255, 255, 0.07);
    border: 1.2px solid var(--accent-color);
    border-radius: 15px;
    padding: 15px 25px;
    text-align: center;
    box-shadow: 0 0 12px var(--accent-glow);
    animation: pulseGlow 3s ease-in-out infinite;
}

.timer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.time {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-color);
}

/* Support stats container */
.support-stats {
    display: flex;
    justify-content: space-between; /* spread out stats more */
    gap: 25px; /* slightly bigger gap */
    font-weight: 600;
}


/* Each stat box */
.stat {
    flex: 1;
    min-width: 140px; /* ensures minimum width so stats don't shrink too much */
    background: rgba(255, 255, 255, 0.07);
    border: 1.2px solid var(--accent-color);
    border-radius: 15px;
    padding: 18px 20px; /* slightly bigger padding */
    box-shadow: 0 0 12px var(--accent-glow);
    text-align: center;
    animation: pulseGlow 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.number {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.label {
    font-size: 1rem;
    color: var(--accent-color);
}

/* Reuse floatIn animation */
@keyframes floatIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glow pulse animation */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px var(--accent-glow);
    }
    50% {
        box-shadow: 0 0 25px var(--accent-glow);
    }
}

/* VPN Page 3D Effects */
.vpn-page .vpn-tunnel {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: tunnel-rotate 8s ease-in-out infinite;
}

.vpn-tunnel i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
    animation: lock-pulse 2s ease-in-out infinite;
}

@keyframes lock-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        color: var(--accent-color);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        color: #00ff88;
        text-shadow: 0 0 40px #00ff88;
    }
}

.tunnel-entrance, .tunnel-exit {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tunnel-entrance {
    transform: translate(-50%, -50%) translateZ(-20px) scale(0.8);
    opacity: 0.6;
    animation: entrance-glow 3s ease-in-out infinite;
}

.tunnel-exit {
    transform: translate(-50%, -50%) translateZ(20px) scale(1.2);
    opacity: 0.4;
    animation: exit-glow 3s ease-in-out infinite reverse;
}

@keyframes entrance-glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--accent-glow);
        opacity: 0.6;
    }
    50% {
        box-shadow: 0 0 40px var(--accent-glow);
        opacity: 1;
    }
}

@keyframes exit-glow {
    0%, 100% {
        box-shadow: 0 0 15px var(--accent-glow);
        opacity: 0.4;
    }
    50% {
        box-shadow: 0 0 30px var(--accent-glow);
        opacity: 0.8;
    }
}

@keyframes tunnel-rotate {
    0%, 100% { 
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% { 
        transform: rotateY(180deg) rotateX(0deg);
    }
    50% { 
        transform: rotateY(180deg) rotateX(180deg);
    }
    75% { 
        transform: rotateY(0deg) rotateX(180deg);
    }
}

.encrypted-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.data-packet {
    position: absolute;
    font-size: 1.2rem;
    color: var(--accent-color);
    animation: packet-flow 4s linear infinite;
}

.packet-1 {
    top: 40%;
    left: 0;
    animation-delay: 0s;
}

.packet-2 {
    top: 50%;
    left: 0;
    animation-delay: 1.3s;
}

.packet-3 {
    top: 60%;
    left: 0;
    animation-delay: 2.6s;
}

@keyframes packet-flow {
    0% {
        left: 0;
        opacity: 0;
        transform: scale(0.5);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

.security-shield {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 140px;
    height: 140px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    animation: shield-scan 6s linear infinite;
    opacity: 0.7;
}

@keyframes shield-scan {
    0% { 
        transform: rotate(0deg);
        opacity: 0.7;
    }
    100% { 
        transform: rotate(360deg);
        opacity: 0.7;
    }
}

.vpn-visualization {
    position: relative;
    width: 400px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatIn 1s ease forwards;
    margin: 0 auto;
}

.connection-map {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.location {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
    animation: location-pulse 4s ease-in-out infinite;
    min-width: 90px;
    transition: all 0.3s ease;
}

.location:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-glow);
}

.location i {
    font-size: 2.2rem;
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--accent-glow);
}

.location span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    white-space: nowrap;
}

.home {
    top: 30px;
    left: 30px;
    animation-delay: 0s;
}

.office {
    top: 30px;
    right: 30px;
    animation-delay: 0.7s;
}

.vpn-server {
    position: absolute;
    top: -40px;              /* Vertically between home (30px) and office (30px) + a bit lower */
    left: 36%;              /* Center horizontally */
    transform: translateX(-50%); /* Perfect center horizontally */
    animation-delay: 1.4s;
    background: rgba(0, 255, 136, 0.15);
    border: 2px solid #00ff88;
    border-radius: 20px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 255, 136, 0.4);
    animation: location-pulse 4s ease-in-out infinite;
    min-width: 90px;
    transition: all 0.3s ease;
}


.vpn-server i {
    color: #00ff88;
    text-shadow: 0 0 15px #00ff88;
}

.vpn-server span {
    color: #00ff88;
}

@keyframes location-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-glow);
    }
}

.secure-connection {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), #00ff88, var(--accent-color), transparent);
    border-radius: 3px;
    box-shadow: 0 0 15px var(--accent-glow);
    animation: connection-flow 3s ease-in-out infinite;
    z-index: 1;
}

.secure-connection::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), rgba(0, 255, 136, 0.3), transparent);
    border-radius: 5px;
    animation: connection-pulse 3s ease-in-out infinite;
}

.conn-1 {
    top: 80px;
    left: 80px;
    width: 120px;
    transform: rotate(-35deg);
    transform-origin: left center;
    animation-delay: 0s;
}

.conn-2 {
    top: 80px;
    right: 80px;
    width: 120px;
    transform: rotate(35deg);
    transform-origin: right center;
    animation-delay: 1.5s;
}

@keyframes connection-flow {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 15px var(--accent-glow);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 25px #00ff88;
    }
}

@keyframes connection-pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.encryption-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid #00ff88;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #00ff88;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.3);
    animation: encryption-glow 4s ease-in-out infinite;
    text-shadow: 0 0 10px #00ff88;
    letter-spacing: 0.5px;
    z-index: 2;
}

.encryption-indicator::before {
    content: '🔒';
    margin-right: 8px;
    font-size: 1.1rem;
}

@keyframes encryption-glow {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.3);
        transform: translateX(-50%) scale(1);
    }
    50% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 35px rgba(0, 255, 136, 0.6);
        transform: translateX(-50%) scale(1.03);
    }
}

.floating-tunnels {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-tunnels::before,
.floating-tunnels::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-tunnel 15s linear infinite;
}

.floating-tunnels::before {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.floating-tunnels::after {
    top: 60%;
    left: -60px;
    animation-delay: 7.5s;
}

@keyframes float-tunnel {
    0% {
        left: -60px;
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        left: calc(100% + 60px);
        transform: rotate(360deg);
    }
}

@keyframes floatIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* VoIP Page 3D Effects */
.voip-page .voip-system {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: voip-float 8s ease-in-out infinite;
}

.voip-system i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 10;
    animation: phone-pulse 3s ease-in-out infinite;
}

@keyframes phone-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        color: var(--accent-color);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        color: #00d4ff;
        text-shadow: 0 0 40px #00d4ff;
    }
}

@keyframes voip-float {
    0%, 100% { 
        transform: translateY(0px) rotateY(0deg);
    }
    25% { 
        transform: translateY(-10px) rotateY(90deg);
    }
    50% { 
        transform: translateY(0px) rotateY(180deg);
    }
    75% { 
        transform: translateY(-10px) rotateY(270deg);
    }
}

.voice-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: voice-wave 4s ease-out infinite;
}

.wave-1 {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.wave-2 {
    width: 110px;
    height: 110px;
    animation-delay: 0.5s;
}

.wave-3 {
    width: 140px;
    height: 140px;
    animation-delay: 1s;
}

.wave-4 {
    width: 170px;
    height: 170px;
    animation-delay: 1.5s;
}

@keyframes voice-wave {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.phone-endpoints {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
}

.endpoint {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: endpoint-pulse 3s ease-in-out infinite;
}

.endpoint i {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
    position: static;
    transform: none;
}

.ep-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.ep-2 {
    bottom: 20px;
    left: 20px;
    animation-delay: 1s;
}

.ep-3 {
    bottom: 20px;
    right: 20px;
    animation-delay: 2s;
}

@keyframes endpoint-pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 20px var(--accent-glow);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
        box-shadow: 0 0 30px #00d4ff;
    }
}

.ep-2 {
    animation-name: endpoint-pulse-left;
}

.ep-3 {
    animation-name: endpoint-pulse-right;
}

@keyframes endpoint-pulse-left {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--accent-glow);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px #00d4ff;
    }
}

@keyframes endpoint-pulse-right {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--accent-glow);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px #00d4ff;
    }
}

.voip-visualization {
    position: relative;
    width: 400px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatIn 1s ease forwards;
    margin: 0 auto;
}

.pbx-system {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.pbx-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px var(--accent-glow);
    animation: pbx-glow 4s ease-in-out infinite;
    min-width: 280px;
}

@keyframes pbx-glow {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px var(--accent-glow);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 35px var(--accent-glow);
        transform: scale(1.02);
    }
}

.pbx-display {
    margin-bottom: 20px;
}

.call-status {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 15px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.call-status.active {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    animation: active-call 2s ease-in-out infinite;
}

@keyframes active-call {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
    }
}

.pbx-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.control-light {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: control-standby 3s ease-in-out infinite;
}

.control-light.active {
    background: #00d4ff;
    border-color: #00d4ff;
    box-shadow: 0 0 15px #00d4ff;
    animation: control-active 1.5s ease-in-out infinite;
}

@keyframes control-standby {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes control-active {
    0%, 100% { 
        box-shadow: 0 0 15px #00d4ff;
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 25px #00d4ff;
        transform: scale(1.1);
    }
}

.call-quality {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid #00ff88;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.3);
    animation: quality-pulse 3s ease-in-out infinite;
}

@keyframes quality-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 136, 0.5);
    }
}

.quality-bar {
    width: 200px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quality-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #00ff88);
    border-radius: 6px;
    animation: quality-flow 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

@keyframes quality-flow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
}

.call-quality span {
    color: #00ff88;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 0 10px #00ff88;
}

.floating-voices {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-voices::before,
.floating-voices::after {
    content: '📞';
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.2;
    animation: float-voice 20s linear infinite;
}

.floating-voices::before {
    top: 20%;
    left: -50px;
    animation-delay: 0s;
}

.floating-voices::after {
    top: 70%;
    left: -50px;
    animation-delay: 10s;
}

@keyframes float-voice {
    0% {
        left: -50px;
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        left: calc(100% + 50px);
        transform: rotate(360deg);
    }
}

@keyframes floatIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* IT Virtualization Page 3D Effects */
.virtualization-page .virtual-environment {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: virtual-rotate 12s linear infinite;
}

.virtual-environment > i {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px var(--accent-glow);
    z-index: 20;
    animation: cloud-pulse 4s ease-in-out infinite;
}

@keyframes cloud-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        color: var(--accent-color);
        text-shadow: 0 0 30px var(--accent-glow);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.15);
        color: #00d4ff;
        text-shadow: 0 0 45px #00d4ff;
    }
}

@keyframes virtual-rotate {
    0% { 
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% { 
        transform: rotateY(90deg) rotateX(5deg);
    }
    50% { 
        transform: rotateY(180deg) rotateX(0deg);
    }
    75% { 
        transform: rotateY(270deg) rotateX(-5deg);
    }
    100% { 
        transform: rotateY(360deg) rotateX(0deg);
    }
}

.vm-instances {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

.vm-box {
    position: absolute;
    width: 50px;
    height: 35px;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
    box-shadow: 0 0 15px var(--accent-glow);
    animation: vm-float 6s ease-in-out infinite;
}

.vm-1 {
    top: 10px;
    left: 75px;
    animation-delay: 0s;
}

.vm-2 {
    top: 60px;
    left: 20px;
    animation-delay: 2s;
}

.vm-3 {
    top: 60px;
    right: 20px;
    animation-delay: 4s;
}

@keyframes vm-float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 0 15px var(--accent-glow);
    }
    33% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 0 25px #00d4ff;
    }
    66% {
        transform: translateY(4px) scale(0.98);
        box-shadow: 0 0 20px var(--accent-glow);
    }
}

.hypervisor-layer {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-color), #00ff88, var(--accent-color));
    border-radius: 4px;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: hypervisor-pulse 3s ease-in-out infinite;
}

@keyframes hypervisor-pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--accent-glow);
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        box-shadow: 0 0 30px #00ff88;
        transform: translateX(-50%) scaleX(1.1);
    }
}

.physical-hardware {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.physical-hardware i {
    font-size: 2.5rem;
    color: #888;
    text-shadow: 0 0 15px rgba(136, 136, 136, 0.5);
    animation: hardware-glow 4s ease-in-out infinite;
}

@keyframes hardware-glow {
    0%, 100% {
        color: #888;
        text-shadow: 0 0 15px rgba(136, 136, 136, 0.5);
    }
    50% {
        color: #aaa;
        text-shadow: 0 0 25px rgba(170, 170, 170, 0.8);
    }
}

.floating-clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-clouds::before,
.floating-clouds::after {
    content: '☁️';
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: float-cloud 25s linear infinite;
}

.floating-clouds::before {
    top: 15%;
    left: -100px;
    animation-delay: 0s;
}

.floating-clouds::after {
    top: 75%;
    left: -100px;
    animation-delay: 12s;
}

@keyframes float-cloud {
    0% {
        left: -100px;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        left: calc(100% + 100px);
        transform: scale(0.8);
    }
}

.virtualization-visualization {
    position: relative;
    width: 450px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatIn 1s ease forwards;
    margin: 0 auto;
}

.resource-pool {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.physical-servers {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.server {
    position: relative;
    width: 120px;
    height: 80px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
    animation: server-glow 5s ease-in-out infinite;
    overflow: hidden;
}

.server-1 {
    animation-delay: 0s;
}

.server-2 {
    animation-delay: 2.5s;
}

@keyframes server-glow {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-glow);
        transform: scale(1.02);
    }
}

.server-load {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent, var(--accent-color));
    border-radius: 0 0 10px 10px;
    animation: load-pulse 3s ease-in-out infinite;
}

@keyframes load-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.server span {
    position: relative;
    z-index: 10;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--text-color);
    text-align: center;
}

.virtualization-arrow {
    font-size: 2rem;
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
    animation: arrow-pulse 2s ease-in-out infinite;
    flex: 0;
}

@keyframes arrow-pulse {
    0%, 100% {
        transform: scale(1) translateX(0);
        color: var(--accent-color);
    }
    50% {
        transform: scale(1.2) translateX(5px);
        color: #00d4ff;
        text-shadow: 0 0 30px #00d4ff;
    }
}

.virtual-machines {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 200px;
}

.vm-instance {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid #00ff88;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    animation: vm-instance-glow 4s ease-in-out infinite;
}

.vm-instance:nth-child(1) { animation-delay: 0s; }
.vm-instance:nth-child(2) { animation-delay: 1s; }
.vm-instance:nth-child(3) { animation-delay: 2s; }
.vm-instance:nth-child(4) { animation-delay: 3s; }

@keyframes vm-instance-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
        transform: scale(1);
    }
    25% {
        box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
        transform: scale(1.05);
    }
    75% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
        transform: scale(0.98);
    }
}

@keyframes floatIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Data flow effects */
.resource-pool::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: data-flow 3s ease-in-out infinite;
}

@keyframes data-flow {
    0% {
        opacity: 0;
        transform: translateX(-50px) scaleX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(0) scaleX(1);
    }
    100% {
        opacity: 0;
        transform: translateX(50px) scaleX(0);
    }
}

.exclusive-buttons-section {
  margin: 2rem 0;
  text-align: center;
}

.exclusive-buttons-container button {
  margin: 0 10px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.exclusive-buttons-container .btn-primary {
  background-color: #007bff;
  color: white;
}

.exclusive-buttons-container .btn-primary:hover {
  background-color: #0056b3;
}

.exclusive-buttons-container .btn-secondary {
  background-color: #6c757d;
  color: white;
}

.exclusive-buttons-container .btn-secondary:hover {
  background-color: #565e64;
}
