/* Pricing Styles */
.pricing-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
    border-color: var(--bs-primary);
    box-shadow: 0 10px 15px -3px rgba(var(--bs-primary-rgb), 0.2), 0 4px 6px -2px rgba(var(--bs-primary-rgb), 0.1);
}

.plan-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.plan-icon i {
    font-size: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
}

.pricing-toggle-group {
    border: 1px solid var(--bs-primary);
    border-radius: 30px;
    overflow: hidden;
}

.pricing-toggle-group .btn {
    border: none;
    border-radius: 0;
    padding: 0.5rem 1rem;
}

.pricing-toggle-group .btn.active {
    background-color: var(--bs-primary);
    color: white;
}

.ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    transform: rotate(45deg);
    width: 150px;
    background-color: var(--bs-primary);
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
}

.ribbon span {
    display: block;
    padding: 5px 0;
}

.price-wrapper {
    text-align: center;
}

.features-list ul li {
    font-size: 0.95rem;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #0c2e60 0%, #1a4f9c 100%);
    color: white;
    position: relative;
    z-index: 1;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.hero-bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.text-gradient {
    background: linear-gradient(90deg, #00b4db 0%, #0083b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-image-container {
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 6px 10px;
    z-index: 2;
    font-size: 0.85rem;
}

.floating-card-1 {
    bottom: -10px;
    left: 15px;
}

.floating-card-2 {
    top: 15px;
    right: 15px;
}

.floating-card-3 {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

/* Animation Delays */
.animate__delay-1s {
    animation-delay: 0.1s;
}

.animate__delay-2s {
    animation-delay: 0.2s;
}

.animate__delay-3s {
    animation-delay: 0.3s;
}

.animate__delay-4s {
    animation-delay: 0.4s;
}

/* Circular icon backgrounds */
.performance-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.compliance-icon-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Advanced 3D Data Center Animation */
.datacenter-animation-wrapper {
    position: relative;
    width: 100%;
    height: 370px;
    perspective: 1000px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.datacenter-container {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    background: radial-gradient(ellipse at center, #0a1a2e 0%, #050e1a 100%);
    animation: rotateDataCenter 30s infinite ease-in-out;
    overflow: hidden;
}

/* Server Racks Styling */
.server-rack {
    position: absolute;
    width: 120px;
    height: 260px;
    transform-style: preserve-3d;
    background: rgba(20, 40, 70, 0.7);
    border: 1px solid rgba(50, 100, 180, 0.5);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.rack-1 {
    top: 50px;
    left: 50%;
    transform: translateX(-50%) translateZ(40px) rotateY(0deg);
}

.rack-2 {
    top: 70px;
    left: 40%;
    transform: translateX(-50%) translateZ(-60px) rotateY(15deg);
}

.rack-3 {
    top: 65px;
    left: 60%;
    transform: translateX(-50%) translateZ(-40px) rotateY(-10deg);
}

.rack-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(30, 60, 100, 0.8);
    border-radius: 8px;
    box-shadow: inset 0 0 15px rgba(0, 100, 255, 0.2);
    pointer-events: none;
}

/* Server Units */
.server-unit {
    position: relative;
    width: 90%;
    height: 30px;
    margin: 10px auto;
    background: linear-gradient(to bottom, #1c2b3f 0%, #263850 100%);
    border-radius: 4px;
    border: 1px solid rgba(40, 80, 130, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    padding: 0 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    transform: translateX(0);
    overflow: hidden;
}

.server-unit:hover {
    transform: translateX(5px);
    background: linear-gradient(to bottom, #263850 0%, #304764 100%);
    box-shadow: 0 0 10px rgba(30, 140, 255, 0.4);
}

.server-unit:nth-child(odd) {
    animation: serverPulse 3s infinite alternate;
}

.server-unit:nth-child(even) {
    animation: serverPulse 4s 1s infinite alternate;
}

.server-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
    animation: blinkServerLight 2s infinite;
}

.unit-1 .server-light { background-color: #4CAF50; animation-delay: 0.1s; }
.unit-2 .server-light { background-color: #2196F3; animation-delay: 0.7s; }
.unit-3 .server-light { background-color: #FF9800; animation-delay: 1.3s; }
.unit-4 .server-light { background-color: #E91E63; animation-delay: 1.9s; }
.unit-5 .server-light { background-color: #9C27B0; animation-delay: 2.5s; }
.unit-6 .server-light { background-color: #00BCD4; animation-delay: 3.1s; }

.server-panel {
    flex-grow: 1;
    height: 10px;
    background: linear-gradient(90deg, 
        rgba(40, 80, 130, 0.5) 0%, 
        rgba(60, 100, 150, 0.8) 20%, 
        rgba(40, 80, 130, 0.5) 40%, 
        rgba(60, 100, 150, 0.8) 60%, 
        rgba(40, 80, 130, 0.5) 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.server-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: panelScan 4s infinite;
}

/* Server Glow Effects */
.glow-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    animation: glowPulse 8s infinite alternate;
}

.glow-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.8) 0%, rgba(0, 100, 200, 0) 70%);
    top: 50px;
    left: 30%;
    animation-delay: 0s;
}

.glow-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 100, 100, 0.8) 0%, rgba(200, 0, 0, 0) 70%);
    bottom: 30px;
    right: 20%;
    animation-delay: 3s;
}

.glow-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(100, 255, 100, 0.8) 0%, rgba(0, 200, 0, 0) 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: 5s;
}

/* Network Cables */
.network-cables {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20% 30%, rgba(0, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 40%, rgba(0, 255, 0, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 50%, rgba(255, 0, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 60%, rgba(255, 255, 0, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 70%, rgba(0, 0, 255, 0.7) 0%, transparent 100%);
    opacity: 0.3;
}

/* Data Particles */
.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(1px);
    box-shadow: 0 0 5px currentColor;
}

.p1, .p4, .p7, .p10 { 
    background-color: #4CAF50; 
    color: #4CAF50;
}

.p2, .p5, .p8, .p11 { 
    background-color: #2196F3; 
    color: #2196F3;
}

.p3, .p6, .p9, .p12 { 
    background-color: #FF9800; 
    color: #FF9800;
}

.p1 { animation: particleMove1 8s infinite; }
.p2 { animation: particleMove2 7s 0.5s infinite; }
.p3 { animation: particleMove3 5s 1s infinite; }
.p4 { animation: particleMove4 6s 1.5s infinite; }
.p5 { animation: particleMove5 9s 2s infinite; }
.p6 { animation: particleMove6 5.5s 2.5s infinite; }
.p7 { animation: particleMove3 7.5s 3s infinite; }
.p8 { animation: particleMove5 6.5s 3.5s infinite; }
.p9 { animation: particleMove1 8.5s 4s infinite; }
.p10 { animation: particleMove2 5.5s 4.5s infinite; }
.p11 { animation: particleMove4 9.5s 5s infinite; }
.p12 { animation: particleMove6 7s 5.5s infinite; }

/* Performance Monitor */
.performance-monitor {
    position: absolute;
    background: rgba(20, 40, 70, 0.7);
    border: 1px solid rgba(30, 100, 255, 0.5);
    border-radius: 8px;
    width: 180px;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #8df;
    backdrop-filter: blur(3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.monitor-1 {
    top: 10px;
    right: 10px;
}

.monitor-header {
    text-align: center;
    border-bottom: 1px solid rgba(30, 100, 255, 0.5);
    padding-bottom: 5px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

.monitor-metric {
    margin-bottom: 5px;
}

.metric-label {
    display: inline-block;
    width: 60px;
    margin-right: 5px;
}

.metric-bar {
    display: inline-block;
    width: 80px;
    height: 6px;
    background: rgba(30, 60, 100, 0.5);
    border-radius: 3px;
    overflow: hidden;
    vertical-align: middle;
}

.metric-value {
    height: 100%;
    border-radius: 3px;
    width: 80%;
}

.cpu-value {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    animation: cpuUsage 8s infinite;
}

.ram-value {
    background: linear-gradient(90deg, #2196F3, #03A9F4);
    animation: ramUsage 12s infinite;
}

.disk-value {
    background: linear-gradient(90deg, #FF9800, #FFC107);
    animation: diskUsage 15s infinite;
}

.network-value {
    background: linear-gradient(90deg, #9C27B0, #E040FB);
    animation: networkUsage 7s infinite;
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.5), transparent);
    height: 1px;
    opacity: 0;
}

.line-1 {
    width: 60%;
    top: 28%;
    left: 20%;
    animation: lineFlash 3s infinite;
}

.line-2 {
    width: 40%;
    top: 35%;
    right: 20%;
    animation: lineFlash 2.5s 0.5s infinite;
}

.line-3 {
    width: 30%;
    top: 42%;
    left: 35%;
    animation: lineFlash 4s 1s infinite;
}

.line-4 {
    width: 50%;
    top: 50%;
    right: 25%;
    animation: lineFlash 3.5s 1.5s infinite;
}

.line-5 {
    width: 70%;
    top: 57%;
    left: 15%;
    animation: lineFlash 5s 2s infinite;
}

/* Advanced Animation Keyframes */
@keyframes rotateDataCenter {
    0%, 100% { transform: rotateY(0deg) rotateX(5deg); }
    25% { transform: rotateY(3deg) rotateX(2deg); }
    50% { transform: rotateY(0deg) rotateX(7deg); }
    75% { transform: rotateY(-3deg) rotateX(4deg); }
}

@keyframes serverPulse {
    0% { transform: translateX(0); }
    100% { transform: translateX(5px); }
}

@keyframes blinkServerLight {
    0%, 100% { opacity: 1; box-shadow: 0 0 5px currentColor; }
    50% { opacity: 0.5; box-shadow: 0 0 2px currentColor; }
}

@keyframes panelScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes glowPulse {
    0% { opacity: 0.05; transform: scale(0.8); }
    100% { opacity: 0.25; transform: scale(1.1); }
}

@keyframes particleMove1 {
    0% { left: 20%; top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 60%; top: 90%; opacity: 0; }
}

@keyframes particleMove2 {
    0% { left: 30%; top: 20%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 70%; top: 70%; opacity: 0; }
}

@keyframes particleMove3 {
    0% { left: 80%; top: 15%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 40%; top: 80%; opacity: 0; }
}

@keyframes particleMove4 {
    0% { left: 40%; top: 85%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 65%; top: 20%; opacity: 0; }
}

@keyframes particleMove5 {
    0% { left: 60%; top: 90%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 25%; top: 30%; opacity: 0; }
}

@keyframes particleMove6 {
    0% { left: 70%; top: 60%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 35%; top: 30%; opacity: 0; }
}

@keyframes cpuUsage {
    0% { width: 60%; }
    20% { width: 85%; }
    40% { width: 72%; }
    60% { width: 90%; }
    80% { width: 65%; }
    100% { width: 78%; }
}

@keyframes ramUsage {
    0% { width: 70%; }
    25% { width: 65%; }
    50% { width: 80%; }
    75% { width: 75%; }
    100% { width: 70%; }
}

@keyframes diskUsage {
    0% { width: 45%; }
    30% { width: 55%; }
    60% { width: 50%; }
    100% { width: 45%; }
}

@keyframes networkUsage {
    0% { width: 30%; }
    15% { width: 90%; }
    30% { width: 60%; }
    45% { width: 85%; }
    60% { width: 40%; }
    75% { width: 70%; }
    100% { width: 30%; }
}

@keyframes lineFlash {
    0% { opacity: 0; }
    50% { opacity: 0.8; }
    100% { opacity: 0; }
} 