/* Landing page styles for weather.baby */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: rgba(0, 0, 0, 0.85);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9999;
}

.landing-container {
    max-width: 900px;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.landing-header {
    margin-bottom: 4em;
}

.landing-title {
    font-size: 4em;
    font-weight: 300;
    margin: 0 0 0.2em 0;
    letter-spacing: -0.02em;
}

.landing-subtitle {
    font-size: 1.4em;
    font-weight: 400;
    margin: 0 0 1.5em 0;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1em 2.5em;
    font-size: 1.3em;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.2);
    text-shadow: none;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.3);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin: 3em 0;
}

.feature {
    padding: 2em 1.5em;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.feature:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.feature-title {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 0.5em 0;
}

.feature-description {
    font-size: 1em;
    margin: 0;
    opacity: 0.85;
    line-height: 1.5;
}

.landing-footer {
    margin-top: 4em;
    padding-top: 2em;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 0.95em;
    opacity: 0.8;
}

.landing-footer p {
    margin: 0.5em 0;
}

.footer-links {
    margin-top: 1em;
}

.footer-links a {
    color: rgba(0, 0, 0, 0.85);
    text-decoration: none;
    margin: 0 0.5em;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.6;
}

/* Mobile responsiveness */
@media screen and (max-width: 700px) {
    .landing-title {
        font-size: 2.5em;
    }

    .landing-subtitle {
        font-size: 1.1em;
    }

    .cta-button {
        font-size: 1.1em;
        padding: 0.9em 2em;
    }

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

    .feature {
        padding: 1.5em 1em;
    }

    .landing-container {
        padding: 15px;
    }
}

@media screen and (min-width: 700px) and (max-width: 920px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}
