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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.logo-section {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.logo {
    width: 80px;
    height: 80px;
    color: #3b82f6;
    display: inline-block;
    filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.3));
}

h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 300;
}

.email-form {
    margin-bottom: 3rem;
}

form {
    display: flex;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

input {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
}

input::placeholder {
    color: #64748b;
}

input:focus {
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

button {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
    white-space: nowrap;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

button:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.5rem;
    color: #60a5fa;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message.show {
    opacity: 1;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    color: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
}

/* Animated background blobs */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    opacity: 0.3;
    mix-blend-mode: screen;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -50px;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    bottom: -80px;
    left: 40%;
    animation-delay: 4s;
}

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

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

/* Responsive design */
@media (max-width: 640px) {
    .content {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    form {
        flex-direction: column;
        gap: 0.75rem;
    }

    input {
        min-width: unset;
        width: 100%;
    }

    button {
        width: 100%;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }

    .blob-1 {
        width: 200px;
        height: 200px;
    }

    .blob-2 {
        width: 250px;
        height: 250px;
    }

    .blob-3 {
        width: 200px;
        height: 200px;
    }
}
