/* Premium Server Room Styles - Enhanced Professional Theme */
:root {
    --primary-deep: #0a1629;
    --primary-dark: #1a365d;
    --primary-medium: #2d5aa9;
    --primary-light: #3b82f6;
    --primary-accent: #60a5fa;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --light-gray: #e2e8f0;
    --medium-gray: #94a3b8;
    --dark-gray: #475569;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 50%, var(--primary-medium) 100%);
}

/* Reset and Base Styles */
.premium-server-room {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

.premium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Animation */
.premium-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.premium-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-core {
    position: relative;
    width: 80px;
    height: 80px;
}

.hexagon-hex {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 3s linear infinite;
}

.hexagon-inner, .hexagon-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, var(--primary-accent), var(--white), var(--primary-accent));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon-outer {
    transform: scale(1.2);
    opacity: 0.3;
}

.loading-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    margin-top: 20px;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Enhanced Hero Section */
.premium-hero {
    position: relative;
    background: var(--gradient-hero);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: orbit 20s linear infinite;
}

.ring-1 { width: 50vw; height: 50vw; animation-duration: 25s; }
.ring-2 { width: 80vw; height: 80vw; animation-duration: 30s; animation-direction: reverse; }
.ring-3 { width: 110vw; height: 110vw; animation-duration: 35s; }

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; width: 4px; height: 4px; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; width: 6px; height: 6px; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 90%; width: 3px; height: 3px; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 20%; width: 5px; height: 5px; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 50%; width: 4px; height: 4px; animation-delay: 4s; }

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Text Content */
.premium-breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: var(--white);
}

.breadcrumb-divider {
    margin: 0 10px;
    color: var(--medium-gray);
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 600;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: var(--light-gray);
    max-width: 500px;
}

/* Critical Indicators */
.critical-indicators {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.indicator-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.indicator-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.indicator-label {
    font-size: 0.9rem;
    color: var(--primary-accent);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::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.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-light);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-medium);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-icon {
    padding: 12px 25px;
}

/* Hero Visualization */
.server-visualization {
    position: relative;
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
}

.server-rack {
    position: relative;
    width: 200px;
    height: 300px;
    background: var(--primary-dark);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.rack-unit {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.server-led {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.server-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

.slot {
    height: 40px;
    background: var(--primary-medium);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.slot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.slot[data-load="40"]::after { width: 40%; }
.slot[data-load="60"]::after { width: 60%; }
.slot[data-load="85"]::after { width: 85%; background: var(--warning); }
.slot[data-load="30"]::after { width: 30%; }

.cooling-flow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, var(--primary-accent), var(--primary-light));
    opacity: 0.6;
    animation: flow 3s ease-in-out infinite;
}

.environment-data {
    position: absolute;
    top: 30px;
    right: 30px;
}

.data-panel {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.data-item {
    margin-bottom: 15px;
}

.data-item:last-child {
    margin-bottom: 0;
}

.data-label {
    font-size: 0.8rem;
    color: var(--primary-accent);
    margin-bottom: 5px;
}

.data-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.data-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
}

.data-status.optimal {
    background: var(--success);
}

/* Solutions Showcase */
.solutions-showcase {
    padding: 120px 0;
    background: var(--light-bg);
}

.showcase-header {
    text-align: center;
    margin-bottom: 80px;
}

.showcase-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.showcase-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.solution-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 22, 41, 0.1);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(10, 22, 41, 0.15);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .card-glow {
    opacity: 0.1;
}

.card-inner {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    background: var(--white);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.icon-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-light);
    border-radius: 17px;
    opacity: 0;
    animation: pulse 2s infinite;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}

.card-description {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-ideal {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-light);
}

.card-ideal strong {
    color: var(--primary-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--dark-gray);
}

.feature-list i {
    color: var(--success);
    font-size: 0.9rem;
}

.card-footer {
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.performance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Performance Section */
.performance-section {
    padding: 120px 0;
    background: var(--white);
}

.performance-header {
    text-align: center;
    margin-bottom: 80px;
}

.performance-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.performance-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.metric-item {
    text-align: center;
}

.metric-visual {
    margin-bottom: 30px;
}

.metric-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.circular-chart {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    max-height: 150px;
}

.circle-bg {
    fill: none;
    stroke: var(--light-gray);
    stroke-width: 2;
}

.circle {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.circle:nth-child(2) { stroke: var(--success); }
.circle:nth-child(3) { stroke: var(--primary-light); }
.circle:nth-child(4) { stroke: var(--warning); }

.percentage {
    fill: var(--primary-dark);
    font-size: 0.5em;
    font-weight: 700;
    text-anchor: middle;
}

.metric-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.metric-content p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* CTA Section */
.premium-cta {
    padding: 120px 0;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content > p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: var(--light-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

.cta-alert {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: var(--error);
    font-weight: 600;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes flow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .critical-indicators {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .showcase-title,
    .performance-header h2,
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .critical-indicators {
        flex-direction: column;
        align-items: center;
    }
    
    .indicator {
        width: 100%;
        max-width: 250px;
    }
}