:root {
    --primary-blue: #1a1b3b;
    --accent-purple: #6b46c1;
    --gradient: linear-gradient(135deg, #1a1b3b 0%, #6b46c1 100%);
    --accent-light: #8b5cf6;
    --accent-bright: #7c3aed;
    --accent-blue: #2563eb;
    --text-color-1: #ffffff;
    --text-color-2: #e0e7ff;
    --text-color-3: #c7d2fe;
    --text-color-4: #818cf8;
}

body {
    margin: 0;
    padding: 0;
    background: var(--primary-blue);
    color: white;
    font-family: 'Inter', sans-serif;
}

.container {
    min-height: 100vh;
    overflow-x: hidden;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(-45deg, var(--primary-blue), var(--accent-blue), var(--accent-purple), var(--accent-light), var(--accent-bright));
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    padding: 0;
    gap: 0;  /* Add this to remove default gap between flex items */
}

.hero-visual {
    margin: 0;  /* Remove bottom margin completely */
    animation: float 6s ease-in-out infinite;
    position: relative;
    top: -5rem; /* Increased from -2rem to move logo higher up */
}

.logo-image {
    width: 400px;  /* increased from 300px */
    height: auto;
    filter: drop-shadow(0 0 25px rgba(107, 70, 193, 0.4));
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 2rem; /* Add some padding to ensure separation from logo */
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(
        135deg,
        var(--text-color-1) 0%,
        var(--text-color-2) 25%,
        var(--text-color-3) 50%,
        var(--text-color-4) 75%,
        var(--text-color-1) 100%
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowingText 3s ease-in-out infinite,
              textGradient 8s linear infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e7ff;
    opacity: 0;
    background: linear-gradient(
        135deg,
        var(--text-color-1) 0%,
        var(--text-color-4) 50%,
        var(--text-color-1) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out forwards,
              textGradient 6s linear infinite;
    animation-delay: 0.5s;
}

.countdown-container {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.countdown-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    background: linear-gradient(
        135deg,
        var(--text-color-1) 0%,
        var(--text-color-2) 50%,
        var(--text-color-1) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowingText 3s ease-in-out infinite,
              textGradient 6s linear infinite;
}

.countdown {
    margin-top: 1rem;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.countdown-label {
    font-size: 1rem;
    margin-left: 0.5rem;
    opacity: 0.8;
}

.time-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 2.5rem;
    font-weight: bold;
    min-width: 3ch;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--text-color-1) 0%,
        var(--text-color-4) 50%,
        var(--text-color-1) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowingText 3s ease-in-out infinite,
              textGradient 6s linear infinite;
}

.time-value .number {
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

.time-value .number.old {
    transform: translateY(-100%);
}

.time-value .number.new {
    position: relative;
}

.time-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    background: linear-gradient(
        135deg,
        var(--text-color-2) 0%,
        var(--text-color-3) 50%,
        var(--text-color-2) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 6s linear infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes glowingText {
    0%, 100% { text-shadow: 0 0 20px rgba(37, 99, 235, 0.2); }
    50% { text-shadow: 0 0 30px rgba(37, 99, 235, 0.4); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

/* AOS custom animations */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
