/* TheLABrief Landing Page - Digital Meadow Inspired Design */
/* Updated: 2026-01-29 - Pixel rain skyline animation with custom color palette */

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

:root {
    --bg-white: #ffffff;
    --text-black: #000000;
    --accent-pink: #ff007f;
    --accent-blue: #3498db;
    --accent-light-blue: #6aaae4;
    --text-muted: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 2rem 0 1rem;
    text-align: center;
}

.site-title {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-black);
    text-transform: uppercase;
    animation: fadeIn 1s ease-out;
}

/* Hero Section */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero {
    text-align: center;
    margin: 3rem 0 2rem;
    animation: fadeIn 1.2s ease-out;
}

.tagline {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-black);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Skyline Container */
.skyline-container {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    position: relative;
}

#skyline-canvas {
    width: 100%;
    height: 400px;
    display: block;
    background: transparent;
}

/* Subscription Section */
.subscription-section {
    text-align: center;
    margin: 3rem auto 2rem;
    max-width: 500px;
}

.subscribe-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.subscribe-form input[type="email"] {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    background: var(--bg-white);
    border: 1px solid var(--text-black);
    border-radius: 4px;
    color: var(--text-black);
    transition: all 0.3s ease;
    min-width: 250px;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 2px rgba(255, 0, 127, 0.1);
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    background: var(--text-black);
    color: var(--bg-white);
    border: 1px solid var(--text-black);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    transform: translateY(-1px);
}

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

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    display: none;
}

.form-message.success {
    background: rgba(52, 152, 219, 0.1);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 127, 0.1);
    color: var(--accent-pink);
    border: 1px solid var(--accent-pink);
    display: block;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.contact-link {
    font-size: 0.85rem;
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-pink);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .site-title {
        font-size: 0.7rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

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

    .subscribe-form input[type="email"] {
        min-width: 100%;
    }

    .submit-btn {
        width: 100%;
    }

    .skyline-container {
        margin: 2rem auto;
    }

    #skyline-canvas {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 0.9rem;
    }

    #skyline-canvas {
        height: 250px;
    }
}
