* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    background-image: url('/farback-desktop.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/farback-desktop.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/background-desktop.jpeg');
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

.loading-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #00BCD4, #4CAF50, #1A2E3D);
    width: 0%;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.8);
    transition: width 0.2s ease-out;
}

.countdown-timer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 700;
    color: #1A2E3D;
    z-index: 9998;
    font-family: monospace;
    text-shadow: 
        0 0 20px rgba(100, 181, 246, 1),
        0 0 40px rgba(100, 181, 246, 1),
        0 0 60px rgba(100, 181, 246, 0.9),
        0 0 80px rgba(100, 181, 246, 0.8),
        0 0 100px rgba(100, 181, 246, 0.7),
        0 0 120px rgba(100, 181, 246, 0.6);
}

@media (max-width: 768px) {
    body {
        background-image: url('/farback-mobile.jpeg');
        background-size: cover;
        background-position: center;
        min-height: 100vh;
    }
    
    body::before {
        background-image: url('/farback-mobile.jpeg');
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        display: block;
    }
    
    body::after {
        background-image: url('/background-mobile.jpeg');
        background-size: 95%;
        display: block;
    }
}

.background-image {
    display: none;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    z-index: 10;
}

.content {
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.75);
    padding: 60px 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.logo {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    transform: scaleY(0.95);
}

.logo span {
    display: inline-block;
    margin: 0 2px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.logo .storm {
    color: #64B5F6;
    text-shadow: 0 0 15px rgba(100, 181, 246, 0.8), 0 0 30px rgba(100, 181, 246, 0.5);
    font-weight: 800;
}

.logo .covenant {
    color: #CFD8DC;
    text-shadow: 0 0 15px rgba(207, 216, 220, 0.8), 0 0 30px rgba(207, 216, 220, 0.5);
    font-weight: 800;
}

.logo .ai {
    color: #FFEB3B;
    text-shadow: 0 0 15px rgba(255, 235, 59, 0.8), 0 0 30px rgba(255, 235, 59, 0.5);
    font-weight: 800;
}

.logo .trademark {
    font-size: 1.2rem;
    color: #CFD8DC;
    text-shadow: 0 0 8px rgba(207, 216, 220, 0.6);
    font-weight: 700;
    letter-spacing: 0px;
    position: relative;
    top: -0.8rem;
}

.logo {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    display: inline-block;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo:hover span {
    filter: brightness(1.15);
}

.coming-soon-text {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulseDropShadow 6s ease-in-out infinite;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
}

.business-plan-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #FFFFFF;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}

.business-plan-link:hover {
    transform: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseDropShadow {
    /* Eco Insight Green pulse */
    0% {
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    }
    16% {
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.8), 0 0 30px rgba(76, 175, 80, 0.6);
    }
    33% {
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    }
    /* Clearwater Current pulse */
    33.1% {
        text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
    }
    49% {
        text-shadow: 0 0 20px rgba(0, 188, 212, 0.8), 0 0 30px rgba(0, 188, 212, 0.6);
    }
    66% {
        text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
    }
    /* Insight Spark pulse */
    66.1% {
        text-shadow: 0 0 10px rgba(255, 235, 59, 0.3);
    }
    82% {
        text-shadow: 0 0 20px rgba(255, 235, 59, 0.8), 0 0 30px rgba(255, 235, 59, 0.6);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 235, 59, 0.3);
    }
}

@media (max-width: 768px) {
    .content {
        padding: 40px 30px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    .description {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        position: relative;
    }
}

/* Color classes for text spans */
.ai-cloud {
    color: #CFD8DC;
}

.insight-spark {
    color: #FFEB3B;
}

.skyline-clarity {
    color: #64B5F6;
}

.business-plan-link {
    color: #4CAF50;
    text-decoration: underline;
}

.business-plan-link-top {
    color: #1A2E3D;
    text-decoration: underline;
    text-decoration-color: #1A2E3D;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #4CAF50;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
    transition: all 0.3s;
}

.close-btn:hover {
    color: #64B5F6;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
    transform: scale(1.2);
}

.top-link {
    position: fixed;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.top-link.visible {
    opacity: 1;
    pointer-events: auto;
}
