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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Ambient Gradient Background - Blue and White */
body {
    background: #1e3a8a; /* Fallback blue */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            ellipse 80% 60% at 65% 35%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(200, 220, 255, 0.9) 30%,
            rgba(100, 150, 255, 0.85) 60%,
            rgba(30, 58, 138, 0.95) 100%
        ),
        linear-gradient(
            135deg,
            rgba(30, 58, 138, 0.95) 0%,
            rgba(59, 130, 246, 0.9) 25%,
            rgba(147, 197, 253, 0.85) 50%,
            rgba(255, 255, 255, 0.9) 75%,
            rgba(30, 58, 138, 0.95) 100%
        );
    background-blend-mode: multiply, normal;
    filter: blur(0.5px);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

/* Dark overlay in center for better text contrast */
.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse 100% 80% at 50% 50%,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.25) 70%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    z-index: 1;
    margin-top: -8rem;
}

/* Logo */
.logo {
    margin-bottom: -1rem;
    display: flex;
    justify-content: center;
    animation: fadeInDown 0.8s ease-out;
}

.logo-image {
    height: 200px;
    width: auto;
    object-fit: contain;
}

/* Title */
.title {
    font-size: 6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: fadeInDown 0.8s ease-out 0.1s both;
}

/* Tagline */
.tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

/* Email Form */
.email-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.email-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    background: white;
    color: #1f2937;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.email-input::placeholder {
    color: #9ca3af;
}

.email-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.join-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: #1e3a8a;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.join-button:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
}

.join-button:active {
    transform: translateY(0);
}

.join-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Privacy Note */
.privacy-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Success Message */
.success-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.success-message.show {
    display: block;
}

/* Decorative Dotted Line */
.dotted-line {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Star Icon (bottom right) */
.star-icon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.3;
    animation: fadeIn 1s ease-out 0.5s both;
    z-index: 1;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 640px) {
    .logo-image {
        height: 150px;
    }

    .title {
        font-size: 4rem;
    }

    .tagline {
        font-size: 1.125rem;
    }

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

    .join-button {
        width: 100%;
    }

    .star-icon {
        bottom: 1rem;
        right: 1rem;
    }
}

