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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    z-index: 10;
    position: relative;
}

.content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.logo {
    margin-bottom: 2.5rem;
}

.logo h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.logo h1 span {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-content h2 {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.main-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.newsletter {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.newsletter h3 {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.newsletter input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.newsletter input:focus {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.newsletter button {
    padding: 1rem 1.8rem;
    background: linear-gradient(to right, #2563eb, #7c3aed);
    border: none;
    border-radius: 0 50px 50px 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter button:hover {
    background: linear-gradient(to right, #7c3aed, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    background: linear-gradient(to right, #2563eb, #7c3aed);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: backgroundAnimation 20s linear infinite;
}

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

/* Success message styling */
.success-message {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    animation: fadeIn 0.5s ease;
}

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

/* Responsive styles */
@media (max-width: 768px) {
    .content {
        padding: 3rem 2rem;
    }
    
    .logo h1 {
        font-size: 2.2rem;
    }
    
    .main-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .content {
        padding: 2.5rem 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .main-content h2 {
        font-size: 1.8rem;
    }
    
    .main-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: 50px;
        margin-bottom: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .newsletter button {
        border-radius: 50px;
        padding: 0.8rem 1.2rem;
    }
    
    .social-links {
        gap: 1.2rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}