*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #0f0f1e;
    color: #fff;
    font-size: 16px;
    overflow-x: hidden;
}

header{
    position: fixed;
    width: 90vw;
    top: 0;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

/* Botão menu (hambúrguer) */
.menu-toggle {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 247, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle img {
    width: 22px;
    height: 22px;
    display: block;
}

.menu-toggle:hover {
    background: rgba(0, 247, 255, 0.12);
    border-color: #00f7ff;
    box-shadow: 0 8px 24px rgba(0, 247, 255, 0.25);
}

.menu-toggle:focus-visible {
    outline: 2px solid #00f7ff;
    outline-offset: 2px;
}

.logo {
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

header nav ul {
    display: flex;
    gap: 48px;
}

/* Desktop: nav com ações alinhadas à direita */
header nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

header nav .header-actions {
    margin-left: 16px;
}

header nav ul li{
    cursor: pointer;
    position: relative;
    padding: 5px 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header nav ul li a:focus-visible {
    outline: 2px solid #00f7ff;
    outline-offset: 4px;
    border-radius: 2px;
}

header nav ul li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #00f7ff;
    transition: width 0.2s ease;
}

header nav ul li:hover::after{
    width: 100%;
}

.container {
    height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #0f0f1e, #1f1f3a 100%);
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 247, 255, 0.2) 0%, rgba(15, 15, 30, 0) 70%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    z-index: 1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Link para pular para o conteúdo */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: #00f7ff;
    color: #000;
    border-radius: 6px;
    z-index: 10;
}

.list {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    position: relative;    
}

.item {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;

    /*ANIMAÇÕES*/

    transform: translateX(100vw);
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
}

.active {
    opacity: 1;
    transform: translateX(0);
}

.product-img {
    width: 45%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.product-img img {
   max-width: 80%;
    max-height: 60%;
    filter: drop-shadow(0 0 30px rgba(0, 247, 255, 0.3));

    /*ANIMAÇÃO*/
    transform: translateX(200px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
}

.active .product-img img {
    transform: translateX(0);
    opacity: 1;
}

.content {
    width: 55%;
    padding-right: 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
    flex-direction: column;
}

.product-tag {
    font-size: 1rem;
    text-transform: uppercase;
    color: #00f7ff;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 4.5rem;
    font-family: "Roboto", sans-serif;
    line-height: 1.1;
    margin-bottom: 20px;

     /*ANIMAÇÃO*/
    transform: translateX(200px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
}

.active .product-name {
    transform: translateX(0);
    opacity: 1;
}


.description {
    font-size: 1.1rem;
    color: #b8b8d0;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;

     /*ANIMAÇÃO*/
    transform: translateX(200px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
}

.active .description {
    transform: translateX(0);
    opacity: 1;
}


.btn {
    padding: 12px 16px;
    background: linear-gradient(90deg, #00f7ff, #0066ff);
    border-radius: 30px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;

     /*ANIMAÇÃO*/
    transform: translateX(200px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
}

.active .btn {
    transform: translateX(0);
    opacity: 1;

}

.arrows {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    pointer-events: none; /* não bloquear cliques no conteúdo */
    z-index: 5;
}

.arrow-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 247, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 6px 24px rgba(0, 247, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    pointer-events: auto; /* reabilita cliques nos botões */
}

.arrow-btn:hover {
    background: rgba(0, 247, 255, 0.16);
    border-color: #00f7ff;
    box-shadow: 0 10px 28px rgba(0, 247, 255, 0.28);
    transform: translateY(-1px) scale(1.03);
}

.arrow-btn:active {
    transform: translateY(0) scale(0.98);
}

.arrow-btn:focus-visible {
    outline: 2px solid #00f7ff;
    outline-offset: 2px;
}

.arrow-btn svg {
    filter: drop-shadow(0 0 6px rgba(0, 247, 255, 0.35));
}

.arrow-btn img {
    width: 22px;
    height: 22px;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 247, 255, 0.35));
}

.indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 5;
}

.numbers {
    font-family: "Roboto", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
}

.dot.active {
    background-color: #00f7ff;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.dot:focus-visible {
    outline: 2px solid #00f7ff;
    outline-offset: 3px;
}

.tech-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 247, 255, 0.2);
}

.circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
}

.circle:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    left: 80%;
}

.circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 70%;
    left: 20%;
}

.circle:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 70%;
}

/* Responsividade */
@media (max-width: 992px) {
    .list {
        width: 90%;
    }

    .product-img {
        width: 50%;
    }

    .content {
        width: 50%;
        padding-right: 40px;
    }

    .product-name {
        font-size: 3rem;
    }
}

@media (max-width: 680px) {
    header {
        width: 100vw;
        padding: 12px 16px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
        order: 1;
    }

    .logo {
        order: 2;
    }

    header nav ul {
        gap: 20px;
    }

    .header-actions {
        order: 3;
        margin-left: auto;
        flex-shrink: 0;
        gap: 6px;
    }

    header nav {
        order: 4;
        width: 100%;
        margin-top: 6px;
        display: none;
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(0, 247, 255, 0.15);
        border-radius: 8px;
        padding: 10px 12px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        flex-direction: column;
        gap: 12px;
    }

    header nav ul {
        justify-content: space-around;
        gap: 12px;
    }

    /* Exibir nav quando aberto */
    header.nav-open nav {
        display: flex;
    }

    /* Logo à direita, menu à esquerda */
    .logo {
        margin-left: auto;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-left: 6px;
    }

    .theme-toggle img {
        width: 18px;
        height: 18px;
    }

    .lang-toggle {
        gap: 6px;
    }

    .lang-btn {
        width: 32px;
        height: 32px;
    }

    .lang-btn img {
        width: 18px;
        height: 18px;
    }

    .list {
        width: 100%;
    }

    .item {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 100px 24px 120px;
    }

    .product-img,
    .content {
        width: 100%;
        padding-right: 0;
        align-items: center;
    }

    .product-img img {
        max-width: 70%;
        max-height: 50%;
    }

    .product-name {
        font-size: 2.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .arrows {
        padding: 0 12px;
    }

    .arrow-btn {
        width: 44px;
        height: 44px;
    }
}

/* Estado desabilitado das setas no início/fim */
.arrow-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.arrow-btn[disabled]:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 247, 255, 0.25);
    transform: none;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 6;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(0, 247, 255, 0.12);
    padding: 24px 20px;
    color: #b8b8d0;
    text-align: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer p {
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (max-width: 680px) {
    .site-footer {
        padding: 20px 16px;
    }
}

/* Toggle de tema */
.header-actions {
    display: inline-flex;
    align-items: center;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    margin-left: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 247, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(0, 247, 255, 0.12);
    border-color: #00f7ff;
    box-shadow: 0 8px 24px rgba(0, 247, 255, 0.25);
}

.theme-toggle:focus-visible {
    outline: 2px solid #00f7ff;
    outline-offset: 2px;
}

.theme-toggle img {
    width: 22px;
    height: 22px;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 247, 255, 0.35));
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 247, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang-btn img {
    width: 22px;
    height: 22px;
    display: block;
    border-radius: 50%;
}

.lang-btn:hover {
    background: rgba(0, 247, 255, 0.12);
    border-color: #00f7ff;
    box-shadow: 0 8px 24px rgba(0, 247, 255, 0.25);
}

.lang-btn:focus-visible {
    outline: 2px solid #00f7ff;
    outline-offset: 2px;
}

.lang-btn[aria-pressed="true"] {
    background: rgba(0, 247, 255, 0.18);
    border-color: #00f7ff;
}

/* Tema claro (light) */
:root[data-theme="light"] body {
    background-color: #f7f9fc;
    color: #0f172a;
}

:root[data-theme="light"] .logo {
    color: #0f172a;
    text-shadow: none;
}

:root[data-theme="light"] header nav ul li::after {
    background-color: #0ea5e9;
}

:root[data-theme="light"] header nav ul li a {
    color: #0f172a;
}

:root[data-theme="light"] .container {
    background: linear-gradient(135deg, #f7f9fc, #e6eef9 100%);
}

:root[data-theme="light"] .container::before {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(255,255,255,0) 70%);
}

:root[data-theme="light"] .product-tag {
    color: #0ea5e9;
}

:root[data-theme="light"] .product-img img {
    filter: drop-shadow(0 0 22px rgba(14, 165, 233, 0.35));
}

:root[data-theme="light"] .product-name {
    color: #0f172a;
}

:root[data-theme="light"] .description {
    color: #475569;
}

:root[data-theme="light"] .btn {
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    color: #fff;
}

:root[data-theme="light"] .arrow-btn {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.12);
}

:root[data-theme="light"] .arrow-btn:hover {
    background: rgba(14, 165, 233, 0.16);
    border-color: #0ea5e9;
    box-shadow: 0 10px 28px rgba(14, 165, 233, 0.24);
}

:root[data-theme="light"] .arrow-btn img {
    /* Inverte ícone branco para escuro no tema claro */
    filter: invert(1) brightness(0.2) drop-shadow(0 0 4px rgba(14, 165, 233, 0.25));
}

:root[data-theme="light"] .numbers {
    color: rgba(2, 6, 23, 0.15);
}

:root[data-theme="light"] .dot {
    background-color: rgba(2, 6, 23, 0.15);
}

:root[data-theme="light"] .dot.active {
    background-color: #0ea5e9;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.45);
}

:root[data-theme="light"] .circle {
    border-color: rgba(14, 165, 233, 0.25);
}

:root[data-theme="light"] .site-footer {
    background: rgba(2, 6, 23, 0.04);
    border-top-color: rgba(14, 165, 233, 0.18);
    color: #475569;
}

/* Acessibilidade: reduzir animações para usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .container::before {
        display: none;
    }
}