@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Open+Sans&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

#animationLayer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.nav {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    backdrop-filter: blur(10px);
    z-index: 10;
    background-color: rgba(26, 26, 26, 0.8);
}

.logo {
    font-family: 'Merriweather', serif;
    color: #f4b400;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.nav-link {
    color: #f4b400;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #f4b400;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover, .nav-link:focus {
    background-color: #f4b400;
    color: #1a1a1a;
}

.hero {
    text-align: center;
    padding: 12vh 2rem 4rem;
    max-width: 680px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-family: 'Merriweather', serif;
    font-size: clamp(2rem, 6vw, 5rem);
    margin: 0 0 1rem;
}

.hero p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.5;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 4rem 2rem;
    z-index: 10;
    position: relative;
}

.card {
    padding: 35px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-10px);
}

.card label {
    display: block;
    font-size: 0.875rem;
    color: #f4b400;
    margin-bottom: 0.5rem;
}

.card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: #ffffff;
}

.card p {
    font-size: 0.9375rem;
    color: #cccccc;
    line-height: 1.5;
}

.cta {
    text-align: center;
    padding: 4rem 2rem;
    z-index: 10;
    position: relative;
}

.signal-status {
    margin: 0.5rem 0;
    color: #cccccc;
}

.signal-sub {
    margin: 0.5rem 0;
    color: #cccccc;
}

.signal-cta {
    display: inline-block;
    color: #ffffff;
    background-color: #4285f4;
    padding: 0.75rem 1.5rem;
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.signal-cta:hover, .signal-cta:focus {
    background-color: #f4b400;
}

@media (max-width: 480px) {
    .nav {
        padding: 0.5rem 1rem;
    }
    .hero {
        padding-top: 10vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card:hover {
        transform: none;
    }
}
