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

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #1a1a1a;
    color: #EDEDED;
    overflow-x: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

#cursorCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #EDEDED;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #EDEDED;
    margin-bottom: .5rem;
}

.email-signup {
    margin-top: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.signup-hint {
    font-size: 1rem;
    color: #A1A1A1;
    margin-bottom: 1rem;
    text-align: left;
    padding: 0;
}

.signup-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    background: rgba(42, 42, 42, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #EDEDED;
    outline: none;
    transition: all 0.2s;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 20px 10px rgba(255, 255, 255, 0.05);
    filter: drop-shadow(0px 0px 54px rgba(0, 196, 114, 0.1));
    position: relative;
}

.email-input::placeholder {
    color: #A1A1A1;
}

.email-input:focus {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 20px 10px rgba(255, 255, 255, 0.08),
        0 0 0 2px rgba(0, 196, 114, 0.2);
}


.submit-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    background-color: #00C472;
    color: #000000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
    filter: drop-shadow(0px 0px 54px rgba(0, 196, 114, 0.1));
}

.submit-button:hover {
    background-color: #00b366;
    transform: translateY(-1px);
}

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

.submit-button.success {
    background-color: #00C472;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    display: none;
    font-size: 14px;
    color: #E57373;
    margin-top: 0.5rem;
    text-align: left;
    align-items: center;
    gap: 6px;
}

.error-message.visible {
    display: flex;
}

.error-icon {
    flex-shrink: 0;
}

.api-error-message {
    display: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    background-color: #E57373;
    color: white;
    border: none;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.api-error-message.visible {
    display: block;
}

.signup-form.hidden {
    display: none;
}

.footer {
    position: absolute;
    bottom: 2rem;
    width: auto;
    background: rgba(7, 20, 14, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 20px 10px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.3),
        transparent,
        rgba(255, 255, 255, 0.1)
    );
}

.footer-text {
    font-size: 14px;
    color: #666666;
    padding-right: 12px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.openwork-logo {
    display: flex;
    align-items: center;
    height: 23px;
}

.openwork-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.openwork-logo img {
    height: 100%;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.openwork-logo a:hover img {
    opacity: 1;
}

.footer-separator {
    width: 1px;
    height: 20px;
    background-color: #666666;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons a {
    color: #666666;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: #EDEDED;
}

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

@media (max-width: 768px) {
    .hero-container {
        padding: 1.5rem;
    }
    
    .signup-hint {
        padding-left: 4px;
    }
    
    .signup-form {
        flex-direction: column;
        width: 100%;
    }
    
    .email-input {
        width: 100%;
        min-width: unset;
    }
    
    .submit-button {
        width: 100%;
    }
    
    .footer {
        bottom: 1.5rem;
    }
}
