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

:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --tertiary-color: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --bg-dark: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Elements */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 50%, #2d1b4e 100%);
    z-index: -2;
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(0, -60px);
    }
    75% {
        transform: translate(-30px, -30px);
    }
}

/* Container and Layout */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content {
    text-align: center;
    max-width: 600px;
    animation: slideUp 0.8s ease-out;
}

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

/* Header and Logo */
.header {
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
    position: relative;
    animation: pulse 3s ease-in-out infinite;
    overflow: hidden;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 20px 80px rgba(99, 102, 241, 0.6);
    }
}

.logo-text {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* Typography */
.title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--tertiary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 15px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.description {
    font-size: 18px;
    color: #d1d5db;
    margin-bottom: 50px;
    line-height: 1.6;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Countdown Timer */
.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-5px);
}

.countdown-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.countdown-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Email Form */
.email-form {
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#emailInput {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#emailInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#emailInput:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.submit-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.form-message {
    font-size: 14px;
    min-height: 20px;
    margin-top: 10px;
    animation: fadeIn 0.3s ease-out;
}

.form-message.success {
    color: #10b981;
}

.form-message.error {
    color: #ef4444;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    color: #6b7280;
    font-size: 14px;
    animation: fadeIn 0.8s ease-out 0.9s both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 48px;
    }

    .subtitle {
        font-size: 22px;
    }

    .description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .countdown {
        gap: 12px;
    }

    .countdown-number {
        font-size: 28px;
    }

    .form-group {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }

    #emailInput {
        border-radius: 12px;
    }

    .submit-btn {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    .title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown-number {
        font-size: 24px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* Smooth scrolling for all elements */
button {
    font-family: inherit;
}

input {
    font-family: inherit;
}
