


/* FONTS */
@font-face {
    font-family: 'MomcakeBold';
    src: url('MomcakeBold-WyonA.otf') format('opentype');
}

@font-face {
    font-family: 'MomcakeThin';
    src: url('MomcakeThin-9Y6aZ.otf') format('opentype');
}

@font-face {
    font-family: 'Liberation Mono';
    src: url('LiberationMono-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'PocketPixel';
    src: url('PocketPixelRegular-6gdY.woff') format('woff');
}

/* GLOBAL */
* {
    box-sizing: border-box;
}

body {
    background: #000000;
    margin: 0;
    color: #ffffff;
    font-family: 'Liberation Mono';
}

/* HEADER */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px 72px;
}

/* LOGO */
.logo {
    font-size: 75pt;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.syn {
    font-family: 'MomcakeBold';
    color: #ff3203;
}

.sec {
    font-family: 'MomcakeThin';
    color: #ff3203;
}

/* LANGUAGE SELECTOR */
.lang {
    font-size: 18pt;
    display: flex;
    align-items: center;
    line-height: 1;
}

/* NAVIGATION BAR */
.nav-bar {
    background: #1A1D1A;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 28px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.nav-item {
    font-family: 'Liberation Mono';
    font-size: 18pt;
    position: relative;
}

.nav-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    cursor: pointer;
    position: relative;
}

/* Hide checkbox */
.nav-item input[type="checkbox"] {
    display: none;
}

/* Show submenu when checkbox is checked */
.nav-item input[type="checkbox"]:checked ~ .nav-submenu {
    max-height: 1000px;
    padding: 12px 0;
    overflow: visible;
}

/* Toggle arrow */
.nav-item input[type="checkbox"]:checked ~ .nav-item-label .arrow {
    display: none;
}

.nav-item input[type="checkbox"]:not(:checked) ~ .nav-item-label .arrow-open {
    display: none;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1A1D1A;
    min-width: 200px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.25s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.nav-item.open .nav-submenu {
    max-height: 1000px;
    padding: 12px 0;
    overflow: visible;
}

.submenu-item {
    padding: 12px 24px;
    font-size: 16pt;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    position: relative;
}

.submenu-item:hover {
    color: #ff3203;
}

.submenu-item.has-submenu {
    position: relative;
}

.nested-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #1A1D1A;
    min-width: 180px;
    padding: 0;
    margin-left: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.25s ease;
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.submenu-item.open .nested-submenu {
    max-height: 1000px;
    padding: 12px 0;
}

.nested-item {
    padding: 12px 24px;
    font-size: 16pt;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.2s;
}

.nested-item:hover {
    color: #ff3203;
}


/* HERO SECTION */
.hero {
    padding: 72px;
    padding-top: 56px;
}

.pixel {
    font-family: 'PocketPixel', monospace !important;
}






/* RED TITLE */

.title-text {
    display: inline-block;
    margin-left: 80px;  /* Adjust this to move left/right */
    font-size: 30pt; 
}

.title {
    font-family: 'Liberation Mono';
    font-size: 30pt;
    color: #ff3203;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin: 0 0 48px 0;
    position: relative;
}

/* SUBTEXT */
.subtext {
    font-size: 16pt;
    max-width: 15000px;
    line-height: 1.55;
    margin: 0 0 80px 0;
}

/* SERVICE BOXES */
.service-boxes {
    display: flex;
    gap: 48px;
    justify-content: space-between;
}

.box {
    background: #1A1D1A;
    width: 500px;
    padding: 56px 0;
    text-align: center;
    font-size: 20pt;
    color: #ff3203;
}

.pixel {
    font-family: 'PocketPixel', monospace !important;
}










/* ===========================
   MOBILE RESPONSIVE OVERRIDES
   (DESKTOP REMAINS UNCHANGED)
=========================== */
@media (max-width: 900px) {

  /* HEADER */
  .top-header {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 32px 20px;
  }

  .logo {
    font-size: 55pt;
    line-height: 1;
  }

  .lang {
    font-size: 12pt;
  }

  /* NAVIGATION */
  .nav-bar {
    flex-direction: column;
    padding: 20px 0;
    gap: 12px;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-item-label {
    padding: 12px 0;
    font-size: 14pt;
  }

  .nav-submenu {
    position: relative;
    width: 100%;
  }

  .submenu-item,
  .nested-item {
    font-size: 14pt;
    padding: 12px 0;
    justify-content: center;
  }

  .nested-submenu {
    position: relative;
    left: 0;
    margin-left: 0;
  }

  /* HERO */
 .hero {
  padding: 40px 20px !important;
}

/* This was NOT affecting the visible text */
.title {
  text-align: center !important;
  margin-bottom: 60px !important;
  margin-top: 20px !important;
}

/* ✅ THIS IS THE REAL FONT SIZE CONTROLLER */
.title-text {
  font-size: 20pt !important;   /* THIS WILL ACTUALLY CHANGE IT NOW */
  margin-left: 0 !important;
  display: block !important;
  line-height: 1.35 !important;
}

  /* ✅ KEEP QUOTATION MARKS VISIBLE */
@media (max-width: 900px) {

  .quote-open {
    font-size: 70pt !important;
    top: -50px !important;
    left: -10px !important;
  }

  .quote-close {
    font-size: 70pt !important;
    bottom: -26px !important;
    right: -10px !important;
  }

}



  /* SUBTEXT */
  .subtext {
    font-size: 12pt;
    line-height: 1.55;
    margin-bottom: 56px;
    text-align: left;
  }



/* ===========================
   MOBILE HORIZONTAL SWIPE SERVICE BOXES
=========================== */
@media (max-width: 900px) {

  .service-boxes {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 20px !important;

    overflow: visible !important;
    scroll-snap-type: none !important;

    padding: 8px 20px 24px 20px !important;
  }

  .service-boxes::-webkit-scrollbar {
    height: 0; /* hides scrollbar */
  }

  .box {
    flex: 0 0 82% !important;     /* ✅ shows 1 box + part of next */
    max-width: 82% !important;

    scroll-snap-align: start !important;

    padding: 40px 18px !important;
    font-size: 16pt !important;

    background: #1A1D1A;
    border-radius: 0px;
  }

  .box div:last-child {
    font-size: 12pt !important;
    line-height: 1 !important;
  }
}

/* ===========================
   FIX INTERNAL TEXT GAPS (MOBILE ONLY)
=========================== */
@media (max-width: 900px) {

  /* Title inside box (WEB / REDE / DESENVOLVIMENTO) */
  .box > div:first-child {
    margin-bottom: 16px !important;   /* ✅ controls gap under the title */
    line-height: 1.2 !important;
  }

  /* Text block inside each box */
  .box div:last-child {
    font-size: 12pt !important;
    line-height: 1.1 !important;      /* ✅ tight, readable spacing */
    margin: 0 !important;
  }

  /* Kill vertical inflation caused by <br><br> */
  .box div:last-child br {
    display: block;
    content: "";
    margin: 6px 0;                     /* ✅ YOU control the gap here */
  }

}




  /* EYE IMAGES */
  .responsive-eyes {
    width: 90%;
    max-width: 340px;
  }

  /* FOOTER */
  footer {
    font-size: 10pt;
    padding: 28px 16px;
    line-height: 1.4;
  }
}

/* ✅ REGULAR MOBILE TEXT (MATCHES SUBTEXT STYLE) */
  .type-line {
    font-family: 'Liberation Mono';
    font-size: 12pt;
    line-height: 1.55;
    margin: 0;
    margin-bottom: 12px;
    text-align: left;

    /* kill all animation & typewriter behavior */
    animation: none !important;
    width: auto !important;
    white-space: normal !important;
    overflow: visible !important;
    display: block !important;
  }



/* ===========================
   FINAL MOBILE STATIC TEXT
   (NO ANIMATION, NO DUPLICATES)
=========================== */
@media (max-width: 900px) {

  /* Hide desktop animated text completely */
  .typewriter {
    display: none !important;
  }



  /* Make every line behave like normal text */
  .type-line {
    all: unset;                 /* nukes ALL animation & width tricks */
    display: block;
    font-family: 'Liberation Mono';
    font-size: 12pt;
    line-height: 1.55;
    margin: 0 0 8px 0;
    color: #ffffff;
  }
}




/* ===========================
   FIX HORIZONTAL OVERFLOW (MOBILE)
=========================== */
@media (max-width: 900px) {

  /* Kill the huge right push from quote */
  .quote-close {
    right: -10px !important;
  }

  /* Safety net: prevent any horizontal scroll */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
}

/* ================================
   MOBILE: TYPEWRITER → STATIC TEXT
   (NO ANIMATION, NO HIDING)
================================ */
@media (max-width: 900px) {

  .typewriter {
    display: block !important;
    visibility: visible !important;

    /* Remove typing behavior */
    animation: none !important;
    white-space: normal !important;
    overflow: visible !important;

    /* Match subtext style */
    font-family: 'Liberation Mono';
    font-size: 12pt !important;
    line-height: 1.55 !important;
    margin: 0 0 30px 0 !important;
    text-align: left !important;
  }

}






.carousel-container {
  overflow: hidden;
  width: 100%;
}

.service-boxes {
  display: flex;
  will-change: transform;
}

.box {
  flex-shrink: 0;
}



@media (max-width: 900px) {
  .trust-title {
    font-size: 18pt !important;
  }
}

@media (max-width: 900px) {
  .trust-logo {
    max-width: 160px !important;
  }
}

@media (max-width: 900px) {
  .trust-title {
    margin-top: -45px !important; /* space below the text */
  }
}




.nav-item-label {
  text-decoration: none;
  color: inherit;
}


.logo-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
    z-index: 10;
}

.logo-link,
.logo-link:hover,
.logo-link:visited,
.logo-link:active {
    color: inherit;
    text-decoration: none;
}

.logo {
    pointer-events: auto;
}

* {
    pointer-events: auto !important;
}


.lang-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    pointer-events: auto;
}

.lang-link,
.lang-link:hover,
.lang-link:visited,
.lang-link:active {
    color: inherit;
    text-decoration: none;
}





html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;              /* THIS is the missing piece */
}

.site-footer {
    text-align: center;
    padding: 48px 30px;
    font-size: 12pt;
    color: #ffffff;
}


.submenu-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.submenu-link,
.submenu-link:hover,
.submenu-link:visited,
.submenu-link:active {
    color: inherit;
    text-decoration: none;
}




.site-footer {
    text-align: center;
    padding: 1px 10px;
    font-size: 12pt;
    color: #ffffff;
}

@media (max-width: 768px) {
    footer {
        font-size: 11pt !important;
    }
}



@media (max-width: 768px) {
    .submenu-item,
    .submenu-link {
        font-size: 14pt; /* slightly smaller than desktop */
    }
}




@media (max-width: 900px) {
  .pentest-page h1.title {
    margin-bottom: -30px !important;
    margin-top: 10px !important;
  }
}

@media (max-width: 900px) {
  .appsec-page h1.title {
    margin-bottom: -30px !important;
  }
}

@media (max-width: 900px) {
  .osint-page h1.title {
    margin-bottom: -30px !important;
  }
}


@media (max-width: 600px) {

  .security-line {
    display: inline-block;
    white-space: nowrap;
  }

}