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

:root {
    --primary-color: #FF4405;
    --primary-hover: #FF5722;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --bg-color: #0a0a0a;
    --bg-elevated: #1a1a1a;
    --bg-subtle: #111111;
    --border-color: #2a2a2a;
    --success-color: #10b981;
    --error-color: #ef4444;
    --accent-dark: #1a0a05;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    text-align: center;
    width: 100%;
    position: relative;
}

.auth-links {
    position: absolute;
    top: -40px;
    right: 0;
    display: flex;
    gap: 1rem;
}

.auth-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.auth-link:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.auth-link-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
}

.auth-link-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 68, 5, 0.25);
    color: white;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.signup-form {
    margin-bottom: 3rem;
}

#earlyAccessForm {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 0.75rem;
}

input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: all 0.2s;
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

input[type="email"]:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-subtle);
    box-shadow: 0 0 0 3px rgba(255, 68, 5, 0.1);
}

input[type="email"]::placeholder {
    color: var(--text-secondary);
}

button[type="submit"] {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(255, 68, 5, 0.25);
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 5, 0.35);
}

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

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

.form-message {
    font-size: 0.875rem;
    min-height: 1.5rem;
    margin-top: 0.5rem;
}

.form-message.success {
    color: var(--success-color);
}

.form-message.error {
    color: var(--error-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.feature {
    text-align: center;
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
}

.feature-icon-box:hover {
    background-color: var(--bg-subtle);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 68, 5, 0.15);
    transform: translateY(-2px);
}

.feature h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Progress Indicator */
.progress-container {
    margin: 2rem 0 2.5rem 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-step {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-percentage {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
    box-shadow: 0 0 12px rgba(255, 68, 5, 0.4);
}

/* Responsive */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    #earlyAccessForm {
        flex-direction: column;
    }

    button[type="submit"] {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
