/* =====================================================
           BASE
        ===================================================== */

:root {
    --nexus-blue: #00a8e8;
    --nexus-cyan: #00d9ff;
    --nexus-deep: #06111f;
    --nexus-dark: #091827;
    --nexus-card: rgba(255, 255, 255, 0.055);
    --nexus-border: rgba(255, 255, 255, 0.10);
    --nexus-text: #f5f9fc;
    --nexus-muted: #9eafbf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--nexus-deep);
    color: var(--nexus-text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* =====================================================
           HEADER
        ===================================================== */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-inner {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-symbol {
    width: 38px;
    height: 38px;
    border: 2px solid var(--nexus-cyan);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.25);
}

.logo-symbol::before,
.logo-symbol::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(0, 217, 255, 0.65);
    border-radius: 50%;
}

.logo-symbol::after {
    inset: 14px;
    background: var(--nexus-cyan);
    border: none;
    box-shadow: 0 0 15px var(--nexus-cyan);
}

.logo span {
    font-size: 18px;
}

.logo strong {
    color: var(--nexus-cyan);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    color: #b8c7d4;
}

.nav a {
    transition: 0.3s;
}

.nav a:hover {
    color: var(--nexus-cyan);
}

.nav-button {
    padding: 11px 20px;
    border: 1px solid rgba(0, 217, 255, 0.4);
    border-radius: 30px;
    color: white !important;
}

.nav-button:hover {
    background: rgba(0, 217, 255, 0.1);
}


/* =====================================================
           HERO
        ===================================================== */

.hero {
    min-height: 900px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 45%, rgba(0, 168, 232, 0.16), transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.07), transparent 30%),
        linear-gradient(135deg, #06111f 0%, #071827 50%, #04101c 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--nexus-cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 25px;
}

.hero-tag i {
    font-size: 7px;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(70px, 9vw, 125px);
    line-height: 0.85;
    letter-spacing: -7px;
    font-weight: 800;
    margin-bottom: 35px;
}

.hero h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.65);
}

.hero h1 strong {
    display: block;
    color: white;
}

.hero-description {
    max-width: 570px;
    color: var(--nexus-muted);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 38px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--nexus-cyan);
    color: #03111c;
    box-shadow: 0 10px 35px rgba(0, 217, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(0, 217, 255, 0.3);
}

.btn-outline {
    border: 1px solid var(--nexus-border);
    color: white;
}

.btn-outline:hover {
    border-color: var(--nexus-cyan);
    background: rgba(0, 217, 255, 0.05);
}


/* =====================================================
           HERO VISUAL
        ===================================================== */

.hero-visual {
    height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexus-core {
    width: 245px;
    height: 245px;
    border-radius: 50%;
    border: 1px solid rgba(0, 217, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle,
            rgba(0, 217, 255, 0.18),
            rgba(0, 168, 232, 0.04) 55%,
            transparent 70%);
    box-shadow:
        0 0 80px rgba(0, 217, 255, 0.12),
        inset 0 0 50px rgba(0, 217, 255, 0.08);
    animation: float 6s ease-in-out infinite;
}

.nexus-core::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(0, 217, 255, 0.13);
    border-radius: 50%;
}

.nexus-core::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border: 1px dashed rgba(0, 217, 255, 0.12);
    border-radius: 50%;
    animation: rotate 25s linear infinite;
}

.core-text {
    text-align: center;
    z-index: 2;
}

.core-text small {
    display: block;
    color: #88a1b4;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 7px;
}

.core-text strong {
    font-family: "Manrope", sans-serif;
    font-size: 35px;
    letter-spacing: 3px;
}

.core-text span {
    display: block;
    color: var(--nexus-cyan);
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 7px;
}

.floating-node {
    position: absolute;
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 20, 34, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    color: #dce8ef;
    font-size: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.node-1 {
    top: 15%;
    left: 3%;
}

.node-2 {
    top: 24%;
    right: 0;
}

.node-3 {
    bottom: 18%;
    left: 8%;
}

.node-4 {
    bottom: 12%;
    right: 6%;
}

.floating-node i {
    color: var(--nexus-cyan);
    margin-right: 7px;
}


/* =====================================================
           INTRO
        ===================================================== */

.intro {
    padding: 150px 0;
    background: #071522;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.section-label {
    color: var(--nexus-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
    display: block;
}

.intro h2,
.section-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.intro-text {
    color: var(--nexus-muted);
    line-height: 1.9;
    font-size: 16px;
}

.quote-box {
    border-left: 2px solid var(--nexus-cyan);
    padding-left: 30px;
}

.quote-box p {
    font-family: "Manrope", sans-serif;
    font-size: 28px;
    line-height: 1.5;
    color: #dce9f0;
}


/* =====================================================
           MODULES
        ===================================================== */

.modules {
    padding: 150px 0;
    background: #06111f;
}

.section-top {
    max-width: 700px;
    margin-bottom: 65px;
}

.section-top p {
    color: var(--nexus-muted);
    line-height: 1.8;
    font-size: 16px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.module {
    min-height: 240px;
    padding: 28px;
    border: 1px solid var(--nexus-border);
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015));
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: 0.35s;
}

.module::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(0, 217, 255, 0.06);
    border-radius: 50%;
    right: -50px;
    bottom: -50px;
    transition: 0.4s;
}

.module:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 217, 255, 0.35);
}

.module:hover::after {
    transform: scale(1.6);
}

.module-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(0, 217, 255, 0.08);
    color: var(--nexus-cyan);
    margin-bottom: 28px;
}

.module h3 {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
}

.module p {
    color: #8499a9;
    line-height: 1.6;
    font-size: 13px;
}


/* =====================================================
           VIDEOS
        ===================================================== */

.videos {
    padding: 150px 0;
    background: #071522;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.video-card {
    border: 1px solid var(--nexus-border);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 217, 255, 0.3);
}

.video-thumb {
    height: 205px;
    position: relative;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(0, 217, 255, 0.14),
            transparent 55%),
        #091b2b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb::before {
    content: "NEXUS";
    position: absolute;
    font-family: "Manrope", sans-serif;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.035);
}

.play {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nexus-cyan);
    color: #06111f;
    position: relative;
    z-index: 2;
    transition: 0.3s;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
}

.video-card:hover .play {
    transform: scale(1.1);
}

.video-content {
    padding: 25px;
}

.video-tag {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--nexus-cyan);
    font-weight: 700;
}

.video-content h3 {
    font-family: "Manrope", sans-serif;
    margin: 10px 0;
    font-size: 18px;
}

.video-content p {
    color: #8297a8;
    font-size: 13px;
    line-height: 1.6;
}


/* =====================================================
           PHILOSOPHY
        ===================================================== */

.philosophy {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at center,
            rgba(0, 168, 232, 0.12),
            transparent 40%),
        #06111f;
}

.philosophy-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.philosophy h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 6vw, 75px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.philosophy h2 span {
    color: var(--nexus-cyan);
}

.philosophy p {
    color: var(--nexus-muted);
    font-size: 17px;
    line-height: 1.9;
    max-width: 680px;
    margin: auto;
}


/* =====================================================
           EVOLUTION
        ===================================================== */

.evolution {
    padding: 120px 0;
    background: #071522;
}

.evolution-box {
    border: 1px solid var(--nexus-border);
    padding: 55px;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    align-items: center;
    background:
        linear-gradient(120deg,
            rgba(0, 217, 255, 0.05),
            transparent);
}

.evolution-icon {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--nexus-cyan);
    font-size: 27px;
}

.evolution h2 {
    font-family: "Manrope", sans-serif;
    font-size: 32px;
    margin-bottom: 12px;
}

.evolution p {
    color: var(--nexus-muted);
    line-height: 1.8;
    max-width: 750px;
}


/* =====================================================
           CTA
        ===================================================== */

.cta {
    padding: 150px 0;
    text-align: center;
    background:
        radial-gradient(circle at center,
            rgba(0, 217, 255, 0.12),
            transparent 45%),
        #06111f;
}

.cta h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -3px;
    max-width: 850px;
    margin: auto auto 25px;
}

.cta p {
    color: var(--nexus-muted);
    margin-bottom: 35px;
}


/* =====================================================
           FOOTER
        ===================================================== */

footer {
    padding: 35px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #040d17;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718594;
    font-size: 12px;
}

.footer-logo {
    color: white;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--nexus-cyan);
}


/* =====================================================
           ANIMAÇÕES
        ===================================================== */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}


/* =====================================================
           RESPONSIVO
        ===================================================== */

@media (max-width: 950px) {

    .nav {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 160px 0 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 450px;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero h1 {
        font-size: 70px;
        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-visual {
        height: 380px;
    }

    .nexus-core {
        width: 190px;
        height: 190px;
    }

    .nexus-core::before {
        width: 260px;
        height: 260px;
    }

    .nexus-core::after {
        width: 340px;
        height: 340px;
    }

    .floating-node {
        font-size: 10px;
        padding: 9px 11px;
    }

    .modules-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .intro,
    .modules,
    .videos {
        padding: 100px 0;
    }

    .quote-box p {
        font-size: 22px;
    }

    .evolution-box {
        grid-template-columns: 1fr;
        padding: 35px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

}

/* =========================================================
   MODAL DE VÍDEO
   ========================================================= */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.75);

    padding: 20px;
}

/* Abre o modal quando o link for acionado */

.video-modal.active {
    display: flex;
}

/* Caixa do vídeo */

.video-modal-content {
    position: relative;

    width: min(900px, 90vw);

    background: #ffffff;

    border-radius: 12px;

    padding: 10px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* Vídeo */

.video-modal-content video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
}


/* Botão fechar */

.video-modal-close {
    position: absolute;

    top: -42px;
    right: 0;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 20px;

    text-decoration: none;

    border-radius: 50%;

    background: var(--nexus-blue);

    transition: 0.2s ease;
}

.video-modal-close:hover {
    transform: scale(1.08);
}


/* Área escura atrás do vídeo */

.video-modal-overlay {
    position: absolute;

    inset: 0;

    cursor: default;
}


/* Ajuste para telas menores */

@media (max-width: 700px) {

    .video-modal {
        padding: 15px;
    }

    .video-modal-content {
        width: 92vw;
        padding: 7px;
    }

    .video-modal-close {
        top: -40px;
        right: 0;
    }
}

.video-thumb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.video-thumb .play {
    position: absolute;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--nexus-blue);

    color: #ffffff;

    font-size: 20px;

    z-index: 2;

    transition: transform 0.2s ease;
}

.video-thumb:hover .play {
    transform: scale(1.08);
}

