@font-face {
    font-family: 'SpaceGrotesk';
    src: url(SpaceGrotesk.ttf);
}

@font-face {
    font-family: 'Outfit';
    src: url(Outfit-Bold.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #141414;
    font-family: 'SpaceGrotesk', sans-serif;
    color: #DDD;
    line-height: 1.4;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

.hero-card {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
    border-radius: 33px;
    transition: all 0.4s ease;
    animation: floatFadeIn 1.2s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.caos-master {
    font-weight: 800;
    font-size: clamp(4rem, 18vw, 3rem);
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    /* animation: glitchFloat 3s infinite alternate ease-in-out; */
}

.agency-sub {
    font-size: clamp(1rem, 4vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    background-clip: text;
    -webkit-background-clip: text;
    margin-top: -0.5rem;
    text-align: right;
    animation: fadeSlideUp 0.9s ease 0.2s both;
}

.description {
    text-align: right;
    font-size: 1rem;
    color: #ddd;
    font-weight: 400;
    padding: 0 0.5rem;
    animation: fadeSlideUp 0.9s ease 0.3s both;
}

.description strong {
    /* font-family: 'Outfit'; */
    font-size: 1.4rem;
    /* font-family: monospace; */
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #C6FF34;
    border: none;
    padding: 0.9rem 1.3rem;
    border-radius: 17px;
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 1.5rem;
    color: #141414;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    animation: fadeSlideUp 0.9s ease 0.45s both;
}

.btn-contact i {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.title .btn-contact img {
    width: 35px;
    filter: grayscale(1) invert(1);
}

.btn-contact:hover {
    background: #fff;
    color: #141414;
    transform: translateY(-10px);
    box-shadow: 0 18px 28px -12px rgba(0, 0, 0, 0.25);
}

.btn-contact:hover i {
    transform: translateX(5px);
}

.sarcasm-footer {
    font-family: monospace;
    position: fixed;
    bottom: 18px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: #b1b5b9;
    z-index: 10;
    pointer-events: none;
    padding: 0.4rem;
}

.sarcasm-footer span {
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
}

.controls {
    z-index: 100;
    display: flex;
    gap: 15px;
    padding: 2rem;
    border-radius: 100px;
    font-family: monospace;
    z-index: -1;
}

.button {
    border: 0;
    font-family: monospace;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #141414;
    filter: grayscale(1);
    padding: 10px 20px;
    border-radius: 17px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

button:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.omar {
    display: block;
    max-width: 820px;
    text-align: center;
}

.title {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 2rem;
    gap: 20px;
}

.title img {
    width: 90px;
}

.caos-contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #141414;
    background: rgba(255,255,255, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.25s ease;
    font-family: 'SpaceGrotesk', sans-serif;
}

.modalcard {
    background: #C6FF34;
    color: #141414;
    backdrop-filter: blur(20px);
    max-width: 450px;
    width: 90%;
    padding: 2rem 1.8rem 2.2rem;
    border-radius: 30px;
    box-shadow: 0 30px 45px -15px rgba(0, 0, 0, 0.25);
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.modalcard form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modalcard input {
    font-family: inherit;
    padding: 1rem;
    border-radius: 13px;
    border: 2px solid #141414;
    background: #eee;
    font-size: 1.1rem;
    outline: none;
    font-weight: bold;
    color: inherit;
}

.modalcard textarea {
    padding: 1rem;
    border-radius: 13px;
    border: 2px solid #141414;
    background: #eee;
    font-family: inherit;
    resize: vertical;
    outline: none;
    font-size: 1.4rem;
    color: inherit;
}

.modalcard button[type="button"] {
    background: transparent;
    border: none;
    color: #141414;
    font-weight: 600;
    padding: 0;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: none;
    justify-content: center;
    margin: 0;
}

.modalcard button {
    font-family: 'SpaceGrotesk';
    background: #141414;
    border: none;
    color: #fff;
    padding: 1rem;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0px 2px 20px rgba(0,0,0,.1);
    border-radius: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .2s ease;
    margin-top: 1rem;
}

.titulo {
    margin: 1rem;
}

#formStatus {
    margin-top: 12px;
    font-size: 0.85rem;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.button.active {
    background: #C6FF34;
    transform: scale(1.05);
    filter: grayscale(0);
    color: #141414;
}

@keyframes floatFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glitchFloat {
    0% {
        text-shadow: 2px 0px 0px rgba(100, 120, 140, 0.2);
        transform: translate(0, 0);
    }

    100% {
        text-shadow: -1px 2px 0px rgba(90, 110, 130, 0.15);
        transform: translate(0, -2px);
    }
}

@media (max-width: 640px) {
    .hero-card {
        border-radius: 40px;
        flex-direction: column;
        align-items: flex-end;
    }

    .description {
        font-size: 1rem;
    }

    .btn-contact {
        padding: 0.7rem 1.2rem;
        font-size: 1.3rem;
        width: 90%;
    }
}