body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    text-align: center;
    padding: 50px;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(106, 90, 205, 0.15);
    max-width: 680px;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

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

.logo {
    width: 450px;
    max-width: 80%;
    margin-bottom: 30px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.4em;
    margin-bottom: 25px;
    color: #34495e;
    line-height: 1.6;
}

p {
    color: #525f7f;
    line-height: 1.7;
}

.newsletter {
    margin-top: 40px;
}

.newsletter p {
    font-size: 1.1em;
    color: #34495e;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 15px;
    width: 100%;
}

input[type="email"],
input[type="text"] {
    padding: 18px 24px;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    width: 100%;
    font-size: 1em;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="email"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #7B68EE;
    box-shadow: 0 0 0 4px rgba(123, 104, 238, 0.1), 0 2px 8px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

button {
    padding: 18px 36px;
    background: linear-gradient(45deg, #7B68EE, #6A5ACD);
    color: #fff;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3);
    width: 100%;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    margin: auto;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal.show .modal-content {
    animation: slideUp 0.3s ease 0.1s forwards;
}

.modal-icon {
    margin-bottom: 24px;
}

.modal h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.modal p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-close {
    background: linear-gradient(45deg, #7B68EE, #6A5ACD);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.4);
}

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

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

.form-message {
    margin-top: 15px;
    font-size: 0.95em;
    min-height: 20px;
}

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

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