@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&display=swap');

:root {
    --dark_blue: #0f0f1e;
    --white: #FFF;
    --green: #00f7ff;
    --dark_green: rgba(0, 247, 255, 0.5);
    --blue: #0066ff;
    --grey: #b8b8d0;
    
    /* FONTS */
    --orbitron_font: "Orbitron", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Montserrat", sans-serif;;
}

body {
    background-color: var(--dark_blue);
    color: var(--white);
    font-size: 1rem;
    overflow: hidden; /* Esconder a side bar */
}

header {
    position: fixed;
    width: 90vw;
    top: 0; /* Fixado no top da página */
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3; /* Garantir que ele fique na frente de todos */
}

.logo {
    font-family: var(--orbitron_font);
    font-size: 2rem;
    font-weight: 900;
    color: var(--green);
    text-shadow: 0 0 10px var(--dark_green);
}

header nav ul {
    display: flex;
    gap: 48px;
}

header nav ul li{
    cursor: pointer;
    position: relative;
    padding: 5px 0;
}

header nav ul li::after { /*  */
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--green);
    transition: width 0.2s ease;
    
}

header nav ul li:hover::after { /* Aqui ele só vai aplicar o hover quando tiver o after */
    width: 100%;
}

.container {
    height: 100vh; /* Ocupa a tela toda */
    position: relative;
    background: linear-gradient(135deg, #0f0f1e 0%, #1f1f3a 100%);
    overflow: hidden;
}

.container::before {
    content: '';
    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%); /* Esquema para centralizar qualquer coisa */
    filter: blur(50px);
    z-index: 1;
    animation: pulse 4s infinite alternate; /* Qaunto tempo até ele sair do momento 0% até chegar no 100% */
}

@keyframes pulse { /* @keyframes --> Usado para criar animações */
    0% { /* Momento 0*/
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% { /* Momento 100% */
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5); 
    }
}

.list {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.item {
    position: absolute;
    inset: 0; /* É o mesmo que colocar --> bottom: 0; left: 0; top: 0; right: o; */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;

    /* ANIMACAO */
    transform: translateX(100vw); /* 100vw a tela inteira de largura */
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;

}

.active { /* Somente os itens que tiverem o acitive vão aparecer */
    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 var(--dark_green)); /* Filtro que fica envolta do item (nessa caso, da imagem) */

    /* ANIMACAO */
    transform: translateX(400px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.8s;
}

.active .product-img img{
    transform: translateX(0);
    opacity: 1;
}

.content {
    width: 55%;
    padding-right: 80px;
    display: flex;
    align-items: flex-start; /*  Faz os itens começarem bem da esquerda (começo) */
    justify-content: center;
    z-index: 2;
    flex-direction: column;
}

.product-tag {
    font-size: 1rem;
    text-transform: uppercase; /* uppercase --> Tudo letra maiuscula */
    color: var(--green);
    font-weight: 600;
    letter-spacing: 2px; /* letter-spacing --> Espaçamento da letra */
    margin-bottom: 10px;

    /* ANIMACAO */
    transform: translateX(400px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.5s;
}

.active .product-tag{
    transform: translateX(0);
    opacity: 1;
}


.product-name {
    font-size: 4.5rem;
    font-family: var(--orbitron_font);
    line-height: 1.1; /* Tamanho / Altura da linha */
    margin-bottom: 20px;

    /* ANIMACAO */
    transform: translateX(400px);
    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: var(--grey);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;

    /* ANIMACAO */
    transform: translateX(400px);
    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 30px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    border-radius: 30px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.4s;
    transition: color 0.4s;

    /* ANIMACAO */
    transform: translateX(400px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.6s;

    z-index: 99;
}

.active .btn{
    transform: translateX(0);
    opacity: 1;
}

.btn:hover {
    text-decoration: underline;
    color: var(--white);
    background: linear-gradient(90deg, var(--green), var(--dark_green));
}

.arrows {
    position: absolute;
    width: 90%;
    display: flex;
    justify-content: space-between;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 247, 255, 0.5);
    transition: background-color 0.3s;
    
}

.arrow-btn:hover {
    background-color: var(--dark_green);
    border-color: var(--dark_green);
}

.indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column; /* Coloca um embaixo do outro */
    align-items: center;
    gap: 15px;
    z-index: 5;
}

.numbers {
    font-family: var(--orbitron_font);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
}

.dots {
    display: flex;
    gap: 10px; /* Distanciamento */
}

.dot {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.dot.active { /* Somente o item que for doc active */
    background-color: var(--green);
    box-shadow: 0 0 10px var(--dark_green);
}

.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) { /* nth-child --> Escolhe qual deles eu quero usar */
    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%; 
}

