/* Core Styling Rules matching Optiraze Brand Guidelines */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: #050814; /* Deep premium cosmic navy */
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 24px;
}

/* Subtle Tech Matrix/Grid Background */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Atmospheric Brand Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 2;
    opacity: 0.35;
    mix-blend-mode: screen;
}

.blue-glow {
    width: 500px;
    height: 500px;
    background: #0052d4;
    top: -10%;
    left: 10%;
    animation: floatingOrb 12s infinite alternate ease-in-out;
}

.cyan-glow {
    width: 450px;
    height: 450px;
    background: #00d2ff;
    bottom: -10%;
    right: 10%;
    animation: floatingOrb 9s infinite alternate-reverse ease-in-out;
}

@keyframes floatingOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.15); }
}

/* High-End Agency Wrapper Layout - FORCED VERTICAL ALIGNMENT */
.maintenance-card {
    position: relative;
    z-index: 10;
    max-width: 580px;      /* Restricts the width to keep it looking like a compact card */
    width: 100%;
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 28px;
    padding: 50px 40px;
    
    /* These three lines force everything to stack cleanly top-to-bottom */
    display: flex;
    flex-direction: column;
    align-items: center; 
    
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Brand Identity Styling */
.brand-header {
    margin-bottom: 40px;
}

.logo-animation-wrapper {
    position: relative;
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #050814, #0f172a);
    border: 2px solid #00d2ff;
    border-radius: 20px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.25);
}

.brand-logo-img {
    width: 80%;          /* Perfectly scales inside the animated box frame */
    height: auto;
    object-fit: contain;
    z-index: 3;          /* Sits cleanly underneath the pulsing laser bar line */
    user-select: none;
    -webkit-user-drag: none;
}


.logo-icon {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Arial, sans-serif;
    transform: skewX(-6deg); /* Mimics the angular nature of your logo icon */
}

/* Futuristic Scanning Laser Effect */
.scanning-bar {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d2ff, transparent);
    left: 0;
    animation: laserScan 2.5s infinite linear;
    box-shadow: 0 0 10px #00d2ff;
}

@keyframes laserScan {
    0% { top: -5%; }
    50% { top: 105%; }
    100% { top: -5%; }
}

.brand-name {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

.brand-name .highlight {
    background: linear-gradient(90deg, #00d2ff, #0052d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 5px;
    margin-top: 6px;
}

/* Copywriting Segment */
.status-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #f1f5f9;
}

.status-content p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Futuristic Data Pipeline Loading Sequence */
.pipeline-loader {
    margin-bottom: 45px;
}

.pipeline-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.pipeline-energy {
    position: absolute;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #0052d4, #00d2ff);
    border-radius: 4px;
    animation: flowData 2s infinite linear;
}

@keyframes flowData {
    0% { left: -40%; }
    100% { left: 140%; }
}

.status-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.status-indicators span:first-child {
    color: #00d2ff;
}

/* Button Interactive Interfaces */
.cta-text {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Fixes the button spacing so they align cleanly next to each other */
.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

/* Makes sure the buttons don't stretch weirdly */
.btn {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1; /* Gives buttons equal, professional widths */
    max-width: 200px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: #00d2ff;
    color: #050814;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
    background: #ffffff;
    box-sizing: border-box;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border-color: #25d366;
    transform: translateY(-2px);
}

/* Fully Optimized Mobile Responsiveness */
@media (max-width: 540px) {
    .maintenance-card {
        padding: 45px 24px;
    }
    .brand-name {
        font-size: 2rem;
    }
    .tagline {
        letter-spacing: 3px;
    }
    .status-content h2 {
        font-size: 1.35rem;
    }
    .btn-group {
        flex-direction: column;
        gap: 12px;
    }
    .btn {
        justify-content: center;
        width: 100%;
    }
}
