@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;700;800&family=Outfit:wght@300;500;700&display=swap');

:root {
    --primary-cyan: #00bcd4;
    --primary-blue: #027ac2;
    --accent: #00e5ff;
    --dark-grey: #2d3748;
    --light-grey: #edf2f7;
    --text-color: #1a202c;
    --bg-color: #f8fafc;
}

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    direction: rtl;
    padding: 2rem 0;
}

/* Hyper-Premium Background Animation */
.bg-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 188, 212, 0.08), transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(2, 122, 194, 0.08), transparent 30%);
}

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.shape-1 {
    top: -15%; left: -10%;
    width: 600px; height: 600px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.shape-2 {
    bottom: -15%; right: -10%;
    width: 700px; height: 700px;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    border-radius: 60% 40% 30% 70% / 50% 40% 60% 50%;
    animation-direction: alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(120px, 60px) rotate(20deg) scale(1.15); }
}

/* Container */
.container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 40px;
    padding: 4rem 6rem;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    text-align: center;
    max-width: 950px;
    width: 92%;
    margin: auto 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

/* Logo */
.logo-wrapper {
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, transparent 60%);
    z-index: -1;
    filter: blur(15px);
}

.logo {
    max-width: 320px;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
}

.logo:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Countdown */
.countdown-wrapper {
    margin-bottom: 4rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    direction: ltr;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.8rem 2.2rem;
    border-radius: 24px;
    min-width: 130px;
    border: 1px solid rgba(0, 188, 212, 0.15);
    box-shadow: 0 15px 35px rgba(2, 122, 194, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.time-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
}

.time-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(2, 122, 194, 0.12);
    border-color: rgba(0, 188, 212, 0.3);
}

.time-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.time-label {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

/* Text */
.coming-soon-text {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-grey);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    letter-spacing: -0.5px;
}

.separator {
    color: #cbd5e1;
    font-weight: 300;
}

.english-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
.footer {
    position: relative;
    margin-top: 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #64748b;
    z-index: 10;
    backdrop-filter: blur(15px);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.footer p {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        padding: 3rem 2rem;
    }
    .countdown {
        gap: 1rem;
    }
    .time-box {
        min-width: 100px;
        padding: 1.5rem 1.2rem;
    }
    .time-value {
        font-size: 3rem;
    }
    .time-label {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 2rem 1.2rem;
        border-radius: 30px;
    }
    .countdown {
        gap: 0.6rem;
    }
    .time-box {
        min-width: 75px;
        padding: 1.2rem 0.6rem;
        border-radius: 18px;
    }
    .time-value {
        font-size: 2rem;
    }
    .time-label {
        font-size: 0.85rem;
    }
    .coming-soon-text {
        font-size: 2rem;
    }
    .logo {
        max-width: 220px;
    }
    .footer {
        font-size: 0.85rem;
        margin-top: 1.5rem;
        padding: 0.6rem 1.5rem;
    }
}
