:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #10b981;
    --error-color: #ef4444;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
}

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

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

/* Loader Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--glass-border);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    z-index: 1;
}

/* Header Styles */
.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin-bottom: 3rem;
}

.status-indicator p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero Section */
.hero-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.countdown-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.countdown-item p {
    margin-bottom: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Notify Section */
.notify-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.notify-section p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.form-group {
    display: flex;
    gap: 10px;
    background: var(--glass-bg);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.form-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.form-group button:hover {
    background: var(--primary-hover);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.4rem;
}

.form-message.success { color: var(--accent-color); }
.form-message.error { color: var(--error-color); }

/* Footer Styles */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    .countdown-container {
        gap: 0.8rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }
    
    .countdown-item span {
        font-size: 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .form-group input, .form-group button {
        width: 100%;
        border-radius: 8px;
    }
    
    .form-group input {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        margin-bottom: 10px;
    }
}
