/* MIA3 Invest — Coming Soon */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #1A3A5C;
    --gold: #C9A84C;
    --white: #FFFFFF;
    --ghost: rgba(255, 255, 255, 0.7);
    --success: #2D5A47;
    --grid-line: rgba(201, 168, 76, 0.05);
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--navy);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Geometric Grid Overlay */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* Header */
.site-header {
    position: relative;
    z-index: 2;
    padding: 2.5rem 4rem 1.5rem;
}

.wordmark {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
}

.wordmark-gold {
    color: var(--gold);
}

/* Horizon Line */
.horizon-line {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 25%, rgba(201, 168, 76, 0.15) 100%);
}

/* Hero */
.hero {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    max-width: 900px;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.headline {
    font-size: clamp(2.625rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.subtext {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ghost);
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Form */
.notify-form {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    width: 100%;
}

.email-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.email-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25);
}

.email-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.notify-btn {
    padding: 0.875rem 2rem;
    background: var(--white);
    color: var(--navy);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease;
    white-space: nowrap;
}

.notify-btn:hover:not(:disabled) {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.notify-btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

/* Success State */
.success-state {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-state.show {
    opacity: 1;
    transform: scale(1);
}

.check-icon {
    width: 28px;
    height: 28px;
}

.check-icon circle {
    stroke: var(--gold);
    stroke-width: 2;
}

.check-icon path {
    stroke: var(--gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: drawCheck 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

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

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 2rem 1.5rem 1rem;
    }

    .wordmark {
        font-size: 1.25rem;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .headline {
        font-size: 2.625rem;
    }

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}