/* StudyQuest Waitlist - Matching Landing Page Style */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body - pure black background, white text, JetBrains Mono font */
body {
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    line-height: 1.6;
}

/* Container - centered column layout matching landing page */
.container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Header section */
.header {
    text-align: center;
}

/* Title with terminal animation - matching landing page */
.title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0px;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
}

.title::after {
    content: '_';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Subtitle - matching landing page style */
.subtitle {
    font-size: 16px;
    color: #999999;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    font-weight: 400;
}

/* Description text */
.description {
    font-size: 14px;
    color: #CCCCCC;
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto;
    font-weight: 400;
}

/* Main content section */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form styling */
#waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Form group spacing */
.form-group {
    width: 100%;
}

/* Input fields - clean, thin borders matching landing page */
input[type="email"],
input[type="text"] {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    border: 1px solid #444444;
    padding: 14px 16px;
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

input[type="email"]:hover,
input[type="text"]:hover {
    border-color: #666666;
}

input[type="email"]:focus,
input[type="text"]:focus {
    border-color: #FFFFFF;
    box-shadow: 0 0 0 1px #FFFFFF;
}

input[type="email"]::placeholder,
input[type="text"]::placeholder {
    color: #666666;
    font-weight: 400;
}

/* Button - matching landing page '> BEGIN YOUR QUEST_' style */
button[type="submit"] {
    width: 100%;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #FFFFFF;
    padding: 16px 24px;
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    text-align: center;
}

button[type="submit"]:hover {
    background-color: #000000;
    color: #FFFFFF;
    box-shadow: 0 0 0 1px #FFFFFF;
    transform: translateY(-2px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Message display area - clean terminal output */
.message-display {
    min-height: 48px;
    padding: 16px;
    border: 1px solid transparent;
    background-color: #000000;
    font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.message-display:not(:empty) {
    border-color: #444444;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: auto;
}

.footer p {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Responsive layout for mobile devices */
@media (max-width: 768px) {
    body {
        padding: 30px 20px;
    }
    
    .container {
        gap: 48px;
    }
    
    .title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 24px 16px;
    }
    
    .container {
        gap: 40px;
    }
    
    .title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .description {
        font-size: 12px;
        line-height: 1.7;
    }
    
    input[type="email"],
    input[type="text"] {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    button[type="submit"] {
        padding: 14px 20px;
        font-size: 13px;
    }
    
    .message-display {
        font-size: 12px;
        padding: 14px;
    }
    
    .footer p {
        font-size: 11px;
    }
}
