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

:root {
    --bg-dark: #050505;
    --bg-accent: #0f172a;
    --accent-primary: #38bdf8;
    --accent-secondary: #818cf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Background mesh gradient effect */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(129, 140, 248, 0.15) 0%, transparent 40%);
}

.container {
    max-width: 1200px;
    width: 90%;
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

/* Logo Styling */
.logo-container {
    margin-bottom: 3rem;
    animation: float 6s ease-in-out infinite;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
}

p.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.2s both;
}

/* Countdown Grid */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out 0.4s both;
}

.countdown-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 2rem 1rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.countdown-item:hover::before {
    left: 100%;
}

.countdown-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.1);
}

.countdown-value {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

/* Stay Tuned Section */
.stay-tuned {
    max-width: 500px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out 0.6s both;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    background: var(--glass-bg);
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.email-form:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
}

button {
    background: var(--accent-primary);
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

button:hover {
    background: #fff;
    transform: scale(1.05);
}

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

/* Responsive */
@media (max-width: 768px) {
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .email-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    input[type="email"] {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 100px;
        margin-bottom: 0.5rem;
    }
}
