/* CSS Variables - Aegis Preflight Brand Colors */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --brand-blue: #0E3A5D;      /* Deep Blue - Trust, governance, security */
    --brand-orange: #F7941D;    /* Preflight Orange - Action, CTA */
    --brand-orange-hover: #e5850a;
    --accent-color: var(--brand-orange);
    --accent-hover: var(--brand-orange-hover);
    --border-color: #27272a;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
html, body {
    height: 100%;
}

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

/* Layout */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 480px;
    width: 100%;
}

/* Logo */
.logo-container {
    margin-bottom: 2.5rem;
}

.logo {
    max-width: 180px;
    height: auto;
}

/* Typography */
.tagline {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Signup Section */
.signup-section {
    margin-bottom: 3rem;
}

.cta-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Signup Form */
.signup-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.email-input:focus {
    border-color: var(--accent-color);
}

.submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: var(--accent-hover);
}

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

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

.form-message.success {
    color: #22c55e;
}

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

/* Footer */
.footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 480px) {
    .tagline {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

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

    .email-input {
        min-width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
}
