body, html {
  background-color: #000;
  margin: 0;
  padding: 0;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    margin-top: 40px;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-background video {
    width: 100%;
    height: 100vh;
    pointer-events: none;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

.title-content {
    text-align: center;
    z-index: 999;
    color: white;
    /* font-family: 'RegularFreeHand', sans-serif; */
    font-family: 'Rye', cursive;
    margin-bottom: 80px;
    margin-top: 20px;
}

.banner-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    width: 50%;
}

.company-title {
    font-size: 100px;
    margin-bottom: 0;
    font-weight: normal;
    letter-spacing: 8px;
    position: relative;
    margin-top: 0;

    /* filter: drop-shadow(0 0 15px rgba(255, 200, 100, 0.4))
            drop-shadow(2px 2px 0px rgba(0,0,0,0.8)); */
}

.company-title::before {
    content: '';
    position: absolute;
    inset: -10px -20px; /* Área levemente maior que o texto */
    backdrop-filter: blur(4px) brightness(1.1);
    -webkit-backdrop-filter: blur(4px) brightness(1.1);
    z-index: -1;
    border-radius: 4px;
}

.subtitle {
    margin-top: 0;
    font-style: italic;
    color: rgba(220, 235, 255, 0.75);
    mix-blend-mode: screen;
    letter-spacing: 4px;
}

/* O Vídeo de Fundo */
.back-video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Centra e garante que o vídeo cobre todo o ecrã, semelhante ao object-fit: cover */
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  z-index: -1; /* Coloca o vídeo atrás de tudo */
  object-fit: cover;
  pointer-events: none;
}

.back-video-yt {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* escala para 1.5x para cortar a barra de título e controles */
  width: 150vw;
  height: 150vh;
  min-width: 150%;
  min-height: 150%;
  z-index: -1;
  pointer-events: none;
  border: none;
}

.logo {
    width: 300px;
    display: block;
    margin: 0 auto;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&display=swap');

.btn-row {
  display: flex;
  gap: 14px;
  padding: 2rem 0 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-w {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  position: relative;
}
.btn-w:hover { transform: translateY(-2px); }
.btn-w:active { transform: translateY(0); }

/* VER SCRIPTS — outline white */
.btn-scripts {
  background: rgba(186, 179, 179, 0.6);
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.08);
  position: relative;
  isolation: isolate;
}
.btn-scripts:hover {
  background: rgba(117, 113, 113,0.1);
  border-color: #CFCCCC;
  color: #CFCCCC;
  box-shadow: 0 0 18px rgba(201,168,76,0.18), inset 0 0 12px rgba(201,168,76,0.06);
}

.icon-doc {
  display: inline-block;
  width: 13px;
  height: 16px;
  border: 1.5px solid #fff;
  border-radius: 1px;
  position: relative;
  flex-shrink: 0;
}

/* dobra do canto */
.icon-doc::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 5px;
  height: 5px;
  background: rgba(186, 179, 179, 0.6); /* mesma cor do botão */
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
}

/* linhas do documento */
.icon-doc::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 2px;
  width: 7px;
  height: 1.5px;
  background: #fff;
  box-shadow: 0 3px 0 #fff;
}

/* corner brackets */
.btn-scripts::before,
.btn-scripts::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-color: #ffffff;
  border-style: solid;
  opacity: 0.7;
  transition: opacity 0.18s;
  z-index: -1;
}
.btn-scripts::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.btn-scripts::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.btn-scripts:hover::before,
.btn-scripts:hover::after { opacity: 1; }

/* DISCORD */
.icon-discord {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.317 4.37a19.79 19.79 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.74 19.74 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057c.002.022.015.04.031.05a20 20 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.2 13.2 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.3 12.3 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.96 19.96 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* preview bg */
.preview {
  background: #0d0b09;
  border-radius: 10px;
  padding: 0 1rem 1.5rem;
  text-align: center;
}
.preview-label {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.1em;
  padding-top: 1rem;
  margin-bottom: 0;
  font-family: monospace;
}

@media (max-width: 768px) {
    .title-content {
        margin-top: 100px;
    }
    
    .logo {
        width: 250px;
    }
    
    .project-demo {
        justify-items: center;
    }

    .company-title {
        font-size: 80px;
    }
    
    .video-background {
        display: none;
    }
}
