:root {
    --primary: #00A4FF;
}

html,
body {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

body::before {
    content: none !important;
    display: none !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020204;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00A4FF;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

html {
    scroll-behavior: smooth;
}

.no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: #fff;
    position: relative;
    background: transparent;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: #0c0c0c url('background-blue.webp');
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(.8) saturate(.9);
    transform: scale(1.06);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero {
    text-align: left;
    padding: 120px 0 80px;
    position: relative;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 22px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.12rem;
    max-width: 760px;
    margin: 0 0 26px;
    color: #d1d5db;
    line-height: 1.65;
}

.btn-primary,
.btn-ghost {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-primary::before,
.btn-ghost::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%) skewX(-20deg);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before,
.btn-ghost:hover::before {
    transform: translateX(100%) skewX(-20deg);
}

.btn-primary {
    background: linear-gradient(135deg, #2db6ff, #00A4FF);
    color: #fff;
    font-weight: 800;
    padding: 1rem 2.1rem;
    border-radius: 14px;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(34, 162, 242, .28), inset 0 1px 0 rgba(255, 255, 255, .15);
    border: 0;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(34, 162, 242, .36);
}

.btn-ghost {
    background: rgba(255, 255, 255, .06);
    color: #e8eaee;
    padding: 1rem 2.1rem;
    border-radius: 14px;
    font-weight: 800;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    text-transform: uppercase;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: #fff;
    background: rgba(34, 162, 242, .18);
}

.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(5px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.reveal:nth-child(2) {
    transition-delay: 100ms;
}

.reveal:nth-child(3) {
    transition-delay: 200ms;
}

.reveal:nth-child(4) {
    transition-delay: 300ms;
}

.reveal:nth-child(5) {
    transition-delay: 400ms;
}

.reveal:nth-child(6) {
    transition-delay: 500ms;
}

.reveal:nth-child(7) {
    transition-delay: 600ms;
}

.reveal:nth-child(8) {
    transition-delay: 700ms;
}

.reveal:nth-child(9) {
    transition-delay: 800ms;
}

.reveal:nth-child(10) {
    transition-delay: 900ms;
}

.reveal:nth-child(11) {
    transition-delay: 1000ms;
}

.reveal:nth-child(12) {
    transition-delay: 1100ms;
}

.reveal:nth-child(13) {
    transition-delay: 1200ms;
}

.reveal:nth-child(14) {
    transition-delay: 1300ms;
}

.reveal:nth-child(15) {
    transition-delay: 1400ms;
}

.reveal:nth-child(16) {
    transition-delay: 1500ms;
}

.footer {
    background: #0c0c0c;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 48px 0 20px;
}

.logo-text-hub {
    font-weight: 800;
    font-size: 2rem;
}

.text-laranja {
    color: var(--primary);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.logo-box img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
}

.logo-box img:hover {
    opacity: 1;
    filter: grayscale(0);
}

.chat-window {
    background-color: #1d1d1d;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-height: 530px;
}

.chat-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background-color: #ff5f56;
}

.dot-yellow {
    background-color: #ffbd2e;
}

.dot-green {
    background-color: #27c93f;
}

.chat-message {
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: slide-in 0.5s forwards cubic-bezier(0.25, 1, 0.5, 1);
    text-align: left;
}

.message-content {
    display: inline-block;
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    color: #EAEAEA;
    line-height: 1.5;
}

.bot-message .message-content {
    background-color: #3c3c3c;
    border-bottom-left-radius: 4px;
}

.user-message {
    text-align: right;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary), #0074b4);
    border-bottom-right-radius: 4px;
}

.typing-indicator .message-content {
    background-color: #3c3c3c;
    padding: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: -1.0s;
}

.typing-dot:nth-child(3) {
    animation-delay: -0.8s;
}

.user-message.typing-indicator .message-content {
    background: linear-gradient(135deg, var(--primary), #0074b4);
}

.typing-dot-user {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}

.typing-dot-user:nth-child(2) {
    animation-delay: -1.0s;
}

.typing-dot-user:nth-child(3) {
    animation-delay: -0.8s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(34, 162, 242, .10);
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid rgba(34, 162, 242, .22);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 420ms ease-in-out;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: #d1d5db;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 220px;
}

.faq-item .icon {
    transition: transform 0.3s ease;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

.logos-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
}

.logo-box {
    flex: 0 0 auto;
}

.logo-box img {
    width: 150px;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
}

.logo-box img:hover {
    opacity: 1;
}

.logotech-container {
    overflow: hidden;
    position: relative;
    padding-top: 5px;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logotech-grid {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
}

.logotech-grid:hover {
    animation-play-state: paused;
}

.logotech-box {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logotech-box img {
    width: 110px;
    height: 70px;
    object-fit: contain;
    background-color: white;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logotech-box:hover img {
    opacity: 1;
    transform: scale(1.1);
}

#open-apply-modal-mobile {
    padding: .6rem;
    line-height: 1.3rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .9rem;
    border-radius: 9999px;
}

.pill.spots {
    background: rgba(34, 162, 242, .12);
    border: 1px solid rgba(34, 162, 242, .22);
    color: #ffd9c8;
}

#apply {
    overflow-y: auto;
    overscroll-behavior: contain;
}

#apply .modal-card {
    max-height: min(92vh, 720px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#apply {
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

#apply.show {
    opacity: 1;
    pointer-events: auto;
}

#apply .modal-backdrop {
    opacity: 0;
    transition: opacity .28s ease;
}

#apply.show .modal-backdrop {
    opacity: 1;
}

#apply .modal-card {
    transform: translateY(14px) scale(.985);
    opacity: 0;
    transition: transform .32s ease, opacity .32s ease;
    will-change: transform, opacity;
}

#apply.show .modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.modal-card {
    background: rgba(17, 17, 17, .95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    max-width: 720px;
    margin: 3rem auto;
    padding: 1.25rem;
}

.criarobot-container {
  transform: scale(0.5);
  transform-origin: top center;
  margin: 0 auto;
  width: fit-content;
    position: absolute;
    right: -40px;
    bottom: 140px;
    z-index: 10;
}

#sketch-board-con {
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 30px;
}

#sketch-board {
    margin-top: 20px;
    position: relative;
    transform: translateY(0);
    animation: moveRobot 2s infinite ease;
}

#head {
    width: 166px;
    height: 150px;
    border: 3px solid #000;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: inset 0 -10px #aac;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 4;
}

#lens {
    background-color: #002143;
    width: 140px;
    height: 85px;
    border-radius: 50%;
    margin-top: 6px;
    position: relative;
    display: flex;
    align-items: center;
}

#lens::after,
#lens::before {
    content: "";
    border-radius: 50%;
    background-color: inherit;
    position: absolute;
    width: 85px;
    height: 70px;
    bottom: 2px;
    z-index: 1;
}

#lens::after {
    right: 0;
}

#lens::before {
    left: 0;
}

#upper-shadow {
    width: 94%;
    height: inherit;
    box-shadow: inset 0 4px rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    z-index: 10;
    top: 3px;
    transform: translateX(3%);
}

#rect {
    position: absolute;
    background-color: #fff;
    width: 48px;
    height: 10px;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
}

#eyes {
    --blink: 0%;
    position: absolute;
    width: 50%;
    height: 50%;
    transform: translateX(-50%);
    left: 50%;
    top: 40px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    filter: drop-shadow(0 0 5px #43C5FF)
    drop-shadow(0 0 10px #43C5FF)
    drop-shadow(0 0 15px #43C5FF);
}

#eyes::after,
#eyes::before {
    content: "";
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 7px solid transparent;
    border-top-color: #43C5FF;
    border-left-color: #43C5FF;
    transform: rotate(45deg);
    transition: clip-path 0.12s ease-in-out;
    clip-path: inset(var(--blink) 0 var(--blink) 0);
}

#ear {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    width: 197px;
    height: 60px;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 16px;
    z-index: 1;
    box-shadow: inset 0 -10px #aac;
}

#ear-antenna {
    width: 100%;
    height: 100%;
    position: relative;
}

#ear-antenna::after,
#ear-antenna::before {
    content: "";
    width: 10px;
    height: 35px;
    background-color: #0085BF;
    position: absolute;
    transform: translateY(-100%);
    border: 3px solid #000;
}

#ear-antenna::before {
    left: 7px;
    border-top-left-radius: 40px;
    box-shadow: inset -2px 0 0 2px #00A4FF;
}

#ear-antenna::after {
    right: 7px;
    border-top-right-radius: 40px;
    box-shadow: inset 2px 0 0 2px #00A4FF;
}

#small-cap {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 47px;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 15px;
}

#body {
    width: 126px;
    height: 170px;
    background-color: #fff;
    border-radius: 50%;
    border: 3px solid #000;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 90px;
    overflow: hidden;
    box-shadow: inset 0 -10px rgba(100, 100, 100, 0.4);
}

#shadow-box {
    width: 100%;
    height: 40%;
    border-radius: 50%;
    box-shadow: 0 18px #bebed6;
}

#pocket-area {
    width: 150%;
    height: 60%;
    margin-top: 45px;
    border: 3px solid #000;
    border-radius: 50%;
    margin-left: -25%;
    position: relative;
}

#pocket {
    width: 60px;
    height: 50px;
    background-color: #00A4FF;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #000;
    top: -20px;
    border-radius: 10px 10px 50% 50%;
    box-shadow: inset 0 -8px rgba(100, 100, 100, 0.4);
}

#hands {
    position: absolute;
    width: 170px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    top: 34%;
    left: 50%;
    transform: translateX(-50%);
}

.hand {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    transform: rotate(35deg);
}

.hand::before {
    content: "";
    width: 40px;
    height: 90px;
    background-color: #fff;
    box-shadow: inset -10px 0 #aac;
    border-radius: 40%;
    border: 3px solid #000;
}

.hand:last-child {
    transform: rotate(240deg);
    animation: rotate 1s infinite linear;
}

@keyframes rotate {
    50% {
        transform: rotate(280deg);
    }
}

#robot-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    width: 100px;
    height: 30px;
    background-color: #0a0100;
    border-radius: 50%;
    animation: robotShadow 2s infinite ease;
}

@keyframes robotShadow {
    50% {
        transform: translateX(-50%) scale(1);
    }
}

@keyframes moveRobot {
    50% {
        transform: translateY(50px);
    }
}

@keyframes scroll-logos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    header {
        position: relative !important;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .flex {
        justify-content: center;
    }

    .logos-grid {
        animation: scroll-logos 25s linear infinite;
        gap: 1.5rem;
    }

    .logo-box img {
        width: 110px;
    }

    .logos-container {
        -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    }

    .footer-nav {
        display: none;
    }

    body {
        padding-bottom: 70px;
    }

    #apply .modal-card {
        margin: 1rem auto;
    }

    .criarobot-container {
        right: -60px;
        top: -50px;
    }
}