:root {
    --primary: #00f2ff;
    --secondary: #7000ff;
    --accent: #ff00c8;
    --bg-dark: #05050a;
    --text-main: #f0f0f5;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    line-height: 1.6;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.15), transparent 70%);
}

/* Dynamically injected background image fallback handled in index.css */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png'); /* Local copy of generated background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    filter: blur(10px);
    z-index: -2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0;
}

/* Logo */
.logo-section {
    margin-bottom: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-text span {
    color: var(--primary);
    font-weight: 400;
}

/* Hero Section */
.hero {
    max-width: 800px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(3.5); opacity: 0; }
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
    filter: drop-shadow(0 0 10px rgba(112, 0, 255, 0.3));
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-100vh) translateX(20px); }
    66% { transform: translateY(-200vh) translateX(-20px); }
    100% { transform: translateY(-300vh) translateX(0); }
}


@keyframes shine {
    to { background-position: 200% center; }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

.team-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    backdrop-filter: blur(15px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.photo-zoom-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, border-radius 0.3s ease;
}

.team-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Forces aspect ratio preservation */
    object-position: center top; 
    --base-zoom: 1;
    transform: scale(var(--base-zoom));
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.team-photo.zoomed {
    --base-zoom: 1.35;
    object-position: center 25%;
}

.team-card:hover .photo-zoom-wrapper {
    transform: translateY(-5px);
    border-color: var(--secondary);
    border-radius: 30px;
}

.team-card:hover .team-photo {
    transform: scale(calc(var(--base-zoom) * 1.08));
    filter: brightness(1.1);
}



.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.team-card p {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Action Box */
.action-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    margin-bottom: 60px;
}

.action-box p {
    margin-bottom: 20px;
    color: var(--text-dim);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: 14px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 242, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 0 32px;
    border-radius: 14px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(112, 0, 255, 0.3);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px) translateY(-2px);
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: auto;
}



.footer-links {
    margin-bottom: 12px;
}

.site-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.site-link:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px var(--primary);
}

footer p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Helper Classes */
.hidden { display: none; }

#form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

#form-message.success { color: var(--primary); }
#form-message.error { color: #ff4d4d; }

/* Responsive Enhancements */
@media (max-width: 1024px) {
    .container { width: 95%; }
    h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
}

@media (max-width: 768px) {
    .container { padding: 40px 15px; }
    
    .logo-section { margin-bottom: 40px; }
    .logo-icon { width: 40px; height: 40px; font-size: 1rem; }
    .logo-text { font-size: 1.5rem; }

    .hero { width: 100%; }
    h1 { margin-bottom: 20px; }
    .subtitle { font-size: 1.1rem; margin-bottom: 40px; }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }

    .team-card {
        padding: 20px 15px;
        border-radius: 15px;
    }


    .time-block span { font-size: 2rem; }

    .action-box {
        padding: 30px 20px;
        border-radius: 20px;
        margin-bottom: 40px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    input[type="email"] {
        width: 100%;
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        padding: 16px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 30px 10px; }
    
    h1 { font-size: 1.8rem; letter-spacing: -1px; }
    .subtitle { font-size: 1rem; }

    .team-grid { 
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .team-card { padding: 15px; }

    .status-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}


/* Landscape Mode Fix */
@media (max-height: 600px) and (orientation: landscape) {
    .container { padding: 20px 0; }
    .logo-section { margin-bottom: 20px; }
    .countdown { margin-bottom: 20px; }
}

