:root {
    --bg-color: #f8fafc;            /* Clean clinical white-gray */
    --text-main: #0f172a;           /* Deep scientific navy */
    --text-muted: #64748b;          /* Soft academic gray */
    --accent-1: #0ea5e9;            /* Trustworthy medical cyan/blue */
    --accent-2: #10b981;            /* Clinical green */
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(226, 232, 240, 0.8);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    /* Scientific dot grid background resembling a lab setting */
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Animations - Soft abstract cellular/liquid feel */
.blob {
    position: absolute;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.6;
    animation: float 25s infinite alternate ease-in-out;
    border-radius: 50%;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
    top: -150px;
    left: -150px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(150px, 50px) scale(1.05); }
    100% { transform: translate(-50px, 150px) scale(0.95); }
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.content {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #ffffff;
    border-radius: 24px;
    padding: 3.5rem;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.5);
    animation: fadeIn 1s ease-out forwards;
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--accent-1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Add a plus/medical cross element to the logo via pseudo-element */
.logo::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: var(--accent-2);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z'/%3E%3C/svg%3E");
    mask-size: cover;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z'/%3E%3C/svg%3E");
    -webkit-mask-size: cover;
}

.affiliation {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.affiliation a {
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.affiliation a:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Main Content */
main {
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}

/* Countdown */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    min-width: 120px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Microscopic grid aesthetic for countdown boxes */
.countdown-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    opacity: 0.8;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
}

.countdown-item span:first-child {
    font-size: 3.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--accent-1);
}

.countdown-item .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Footer contacts */
footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 2px solid #e2e8f0;
    padding-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--text-main);
}

.contact-item:hover .icon {
    transform: scale(1.1);
}

.contact-item .icon {
    width: 20px;
    height: 20px;
    color: var(--accent-1);
    transition: transform 0.3s ease;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-1);
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
    }
    
    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .countdown-wrapper {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: calc(50% - 0.5rem);
        padding: 1.25rem 1rem;
    }
    
    .countdown-item span:first-child {
        font-size: 2.5rem;
    }
    
    footer {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        text-align: center;
    }
}
