/* TheLABrief Landing Page - Inspired by Digital Meadow */
/* Created: 2026-01-29 */

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

:root {
    --primary-bg: #0f0e17;
    --secondary-bg: #1a1a2e;
    --text-primary: #fffffe;
    --text-secondary: #a7a9be;
    --accent: #e94560;
    --accent-hover: #ff6b6b;
}

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

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

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    animation: fadeInDown 1s ease-out;
}

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

.hero {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 1.2s ease-out;
}

.tagline {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Skyline Container */
.skyline-container {
    width: 100%;
    max-width: 900px;
    margin: 3rem auto;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

#la-skyline {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(233, 69, 96, 0.1));
}

/* Building Animation */
.building {
    transform-origin: bottom center;
    transform: scaleY(0);
    opacity: 0;
    animation: growBuilding 1.5s ease-out forwards;
}

/* Stagger the animations based on data-delay */
.building[data-delay="0"] { animation-delay: 0.5s; }
.building[data-delay="200"] { animation-delay: 0.7s; }
.building[data-delay="400"] { animation-delay: 0.9s; }
.building[data-delay="600"] { animation-delay: 1.1s; }
.building[data-delay="800"] { animation-delay: 1.3s; }
.building[data-delay="1000"] { animation-delay: 1.5s; }
.building[data-delay="1200"] { animation-delay: 1.7s; }
.building[data-delay="1400"] { animation-delay: 1.9s; }
.building[data-delay="1600"] { animation-delay: 2.1s; }
.building[data-delay="1800"] { animation-delay: 2.3s; }
.building[data-delay="2000"] { animation-delay: 2.5s; }
.building[data-delay="2200"] { animation-delay: 2.7s; }

/* Antenna lights pulse */
.antenna-light {
    animation: pulse 2s ease-in-out infinite;
}

/* Subscription Section */
.subscription-section {
    text-align: center;
    margin: 4rem auto;
    max-width: 500px;
    animation: fadeIn 1.5s ease-out 1s;
}

.subscription-section h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: var(--secondary-bg);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(26, 26, 46, 0.8);
}

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

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    background: var(--accent);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

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

.privacy-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

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

.form-message.success {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    border: 1px solid rgba(233, 69, 96, 0.3);
    display: block;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
    animation: fadeIn 1.8s ease-out 1.2s;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

.footer-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.location {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growBuilding {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

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

    .logo {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

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

    .submit-btn {
        width: 100%;
    }

    .social-links {
        gap: 1.5rem;
    }

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

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

    .subscription-section h3 {
        font-size: 1.2rem;
    }
}
