@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Montserrat:wght@300;400;500&display=swap');

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

body, html {
    font-family: 'Montserrat', sans-serif;
    background-color: #e0f7fa;
    color: #004d40;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ── Background ─────────────────────────────────────────────────── */

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(141, 110, 99, 0.2) 25%, transparent 50%, rgba(141, 110, 99, 0.2) 75%);
    animation: wave 30s linear infinite;
}

/* ── Nav ────────────────────────────────────────────────────────── */

nav {
    position: sticky;
    top: 0;
    background: rgba(224, 247, 250, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 10;
}

.logo {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #004d40, #ffab40);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    text-decoration: none;
    background-color: #ffab40;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.nav-link:hover, .nav-link:focus {
    background-color: #ffca28;
}

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

/* ── Hero ───────────────────────────────────────────────────────── */

.hero {
    text-align: center;
    padding: 10vh 20px;
    position: relative;
    z-index: 10;
}

.brand-h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 6vw, 5rem);
    color: #004d40;
    margin-bottom: 1rem;
}

.hero-tagline {
    color: #8d6e63;
    max-width: 680px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .brand-h1 {
        font-size: clamp(1.8rem, 5vw, 3.5rem);
    }
}

/* ── Cards ──────────────────────────────────────────────────────── */

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

.card {
    background-color: white;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card .label {
    color: #ffab40;
    font-weight: bold;
    margin-bottom: 10px;
}

.card h3 {
    font-family: 'Lora', serif;
    margin-bottom: 10px;
}

.card p {
    color: #8d6e63;
}

@media (max-width: 480px) {
    .cards {
        gap: 16px;
    }

    .card {
        padding: 25px;
    }
}

/* ── Signal Line ────────────────────────────────────────────────── */

.signal-line {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.signal-inner {
    max-width: 600px;
    margin: 0 auto;
}

.signal-status {
    color: #8d6e63;
    margin-bottom: 15px;
}

.signal-cta {
    display: inline-block;
    text-decoration: none;
    background-color: #ffab40;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

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

.signal-sub {
    color: #8d6e63;
    margin-top: 15px;
}

@media (max-width: 480px) {
    .signal-line {
        padding: 20px;
    }
}
