/* Design Tokens - Light Theme */
:root {
    --bg-light: #0097b2;          /* Solid logo color in background */
    --card-bg: rgba(255, 255, 255, 0.92);           /* Elegant translucent card for glassmorphism */
    --card-border: rgba(255, 255, 255, 0.5);
    --text-primary: #0f172a;      /* Slate 900 */
    --text-secondary: #475569;    /* Slate 600 */
    --text-muted: #64748b;        /* Slate 500 */
    --primary: #0097b2;           /* Logo Teal */
    --primary-glow: rgba(0, 151, 178, 0.15);
    --secondary: #0097b2;         /* Logo Teal */
    --secondary-glow: rgba(0, 151, 178, 0.15);
    --accent: #0097b2;            /* Logo Teal */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, rgba(0, 151, 178, 0.82), rgba(15, 23, 42, 0.92)), url('chemical_plant_bg.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    padding: 1.5rem;
}

/* Background Animated Blobs - Hidden for Flat Layout */
.blob-wrapper {
    display: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12; /* Lower opacity for soft light mode appearance */
    mix-blend-mode: multiply;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 550px;
    height: 550px;
    background: var(--secondary);
    bottom: -150px;
    right: -100px;
    animation-delay: 4s;
}

.blob-3 {
    width: 380px;
    height: 380px;
    background: var(--accent);
    top: 35%;
    left: 55%;
    animation-delay: 8s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, 40px) scale(1.15);
    }
    100% {
        transform: translate(-40px, 80px) scale(0.85);
    }
}

/* Maintenance Card */
.maintenance-wrapper {
    width: 100%;
    max-width: 650px;
    z-index: 10;
    position: relative;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.25),
                0 0 50px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Logo Section */
.logo-container {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    max-height: 75px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
}

.fallback-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--primary);
    text-transform: uppercase;
}

/* Content Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 151, 178, 0.07);
    border: 1px solid rgba(0, 151, 178, 0.15);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(0, 151, 178, 0.4);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 151, 178, 0.4);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 151, 178, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 151, 178, 0);
    }
}

/* Heading & Subtext */
h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#progress-value {
    color: var(--primary);
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    border-radius: 100px;
    box-shadow: 0 0 10px rgba(0, 151, 178, 0.15);
    animation: progressFill 2.5s ease-out forwards;
}

@keyframes progressFill {
    from {
        width: 0%;
    }
}

/* Footer Section */
.footer-section {
    margin-top: 3rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.contact-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: block;
}

.phone-numbers {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary);
}

.contact-icon {
    opacity: 0.8;
    transition: var(--transition);
}

.contact-link:hover .contact-icon {
    opacity: 1;
}

.separator {
    color: rgba(15, 23, 42, 0.15);
    font-weight: 300;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
    
    .glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .footer-section {
        margin-top: 2.5rem;
    }

    .phone-numbers {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .separator {
        display: none;
    }
}
