body.nodeAiotAppBody {
  background-color: var(--color-background-primary-deep);
  color: var(--color-text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


.nodeAiotMainContent {
  min-height: calc(100vh - 144px);
  margin-bottom: 80px;
  margin-top: 80px;
}


.mainSection {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;

  height: 400px;
  margin-top: 80px;
}


/*  HERO PROMPT  */
.nodeAiotSection {
  display: flex;
  justify-content: center;
  position: relative;
  height: 566px;
  width: 100%;
  background: var(--color-background-primary-deep);
  z-index: 0;
}


/* PADRÃO VISUAL */
.nodeAiotSection::after {
  content: "";
  position: absolute;
  inset: 0;

  /* GRID visível (ajuste automático claro/escuro) */
  background-image: 
    linear-gradient(rgba(28, 34, 72, 0.7) 0px, transparent 1px),
    linear-gradient(90deg, rgba(28, 34, 72, 0.7) 0px, transparent 1px);

  background-size: 60px 60px;

  pointer-events: none;
  z-index: 1;
}

/* garante conteúdo acima */
.nodeAiotSection > * {
  position: relative;
  z-index: 2;
}

.nodeAiotWrapper {
  width: 100%;
  max-width: 900px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}


.nodeAiotHero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.nodeAiotBadgeLink {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-size: 12px;
}

.nodeAiotBadge {
  background: linear-gradient(135deg, #265fff 50%, #00d4ff 100%);
  color: var(--node-white);
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
}

.nodeAiotTitle {
  font-size: 60px;
  font-weight: 400;
  line-height: 1.1;
  margin-top: 20px;
  color: var(--color-text-primary);
  text-align: center;
}

.nodeAiotSubtitle {
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 700px;
}

/* PROMPT CONTAINER COM BORDA E SOMBRA ANIMADAS */
@keyframes nstudioGradientMaster {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.nodeAiotPromptContainer {
  position: relative;
  width: 100%;
  border-radius: 34px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(270deg, var(--nstudio-blue), var(--nstudio-pink), var(--nstudio-blue), var(--nstudio-blue));
  background-size: 300% 300%;
  animation: nstudioGradientMaster 8s linear infinite;
  z-index: 1;
}

.nodeAiotPromptContainer::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--color-background-secondary);
  border-radius: 32px;
  z-index: -1;
  pointer-events: none;
}

.nodeAiotPromptContainer::after {
  content: "";
  position: absolute;
  inset: 0px;
  border-radius: 40px;
  background: linear-gradient(270deg, var(--nstudio-blue), var(--nstudio-pink), var(--nstudio-blue), var(--nstudio-blue));
  background-size: 400% 400%;
  animation: nstudioGradientMaster 8s linear infinite;
  filter: blur(20px);
  opacity: 0.4;
  pointer-events: none;
  z-index: -2;
}

.nodeAiotPromptContainer textarea,
.nodeAiotPromptContainer input {
  background: transparent;
  border: none;
  color: #ffffff;
  outline: none;
  position: relative;
  z-index: 3;
}



.nodeAiotPromptBox {
  width: 100%;
  min-height: 120px;
  padding: 4px 8px;
  outline: none;
  color: var(--color-text-secondary);
  position: relative;
  z-index: 3;
}

.nodeAiotTag {
  text-decoration: underline dotted;
  opacity: 0.7;
}

.nodeAiotPromptActions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}


/* BUTTON */
.nodeAiotSendBtn {
  display: inline-block;
  text-decoration: none;
  margin-left: auto;
  padding: 12px 20px;

  border: none;
  border-radius: 13px;
  background: var(--color-text-secondary);
  color: #000;
  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: border-radius 0.2s ease-in-out, background 0.3s ease;
}

.nodeAiotSendBtn:hover {
  border-radius: 30px;
  background: var(--node-white);
}

.nodeAiotSendBtn:active {
  transform: scale(0.96);
}

/* FOOTER */
.nodeAiotFooterText {
  color: var(--color-text-secondary);
  text-align: center;
}

.nodeAiotLink {
  color: var(--color-primary);
  text-decoration: underline;
}



/*  CTA TOP  */
.nodeAiotHeroSection {
  background-color: var(--color-background-primary-deep);
  position: relative;
}

.nodeAiotHeroWrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
}

.nodeAiotHeroHeader {
  flex: 1;
  max-width: 600px;
}

.nodeAiotHeroHeadline {
  font-size: 52px;
  line-height: 1.05;
  color: var(--color-text-primary);
  font-weight: 400;
}

.nodeAiotHeroContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 480px;
}

/* Container de Botões */
.nodeAiotHeroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Botão Primário (Azul Node) */
.nodeAiotCtaPrimary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background-color: var(--node-blue);
  color: var(--node-white);
  text-decoration: none;
  border-radius: 18px;

  font-weight: 500;
  font-size: 16px;
  transition: all 0.1s ease;
  box-shadow: 0 4px 14px var(--color-background-hover);
}

.nodeAiotCtaPrimary:hover {
  background-color: var(--color-text-highlight);
  border-radius: 30px;
}

.nodeAiotCtaPrimary:active,
.nodeAiotCtaSecondary:active {
  transform: scale(0.96);
}

/* Botão Secundário (Transparente/Borda) */
.nodeAiotCtaSecondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 26px;
  background-color: var(--color-background-secondary);
  color: var(--color-text-primary);
  text-decoration: none;
  border-radius: 16px;
  border: var(--color-outline-secondary);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.1s ease;
}

.nodeAiotCtaSecondary:hover {
  background-color: var(--color-background-tertiary);
  border-color: var(--color-outline-tertiary-variable);
  border-radius: 30px;
}

.nodeAiotHeroDescription {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-text-secondary);
}



/* Scroll sticky */

.nodeAiotStickyContainer {
  display: flex;
  position: relative;
  flex-direction: column;
  margin: 0;
}

.nodeAiotCtaContainer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 0;
}

.coloredImage {
  position: relative;
  z-index: 1;
}

.coloredImage img {
  display: block;
  width: 100%;
  height: 760px;
  object-fit: cover;
  filter: brightness(1.1);
  transition: transform 0.6s ease;
}

.nodeAiotLeft {
  flex: 1;
  min-width: 600px;
  padding: 40px 0;
}

.nodeAiotStickyTitle {
  position: sticky;
  top: 100px;
  z-index: 2;

  background: var(--color-background-primary-deep);
}

/* Esfumado na parte inferior */
.nodeAiotStickyTitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  height: 40px;

  background: linear-gradient(to bottom,
      rgb(0, 4, 33),
      rgba(0, 4, 33, 0));

  pointer-events: none;
}

.nodeAiotStickyTitle h2 {
  font-size: 32px;
  font-weight: 400;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* RIGHT SIDE */

.nodeAiotRight {
  position: relative;
  width: 100%;
}


.nodeAiotStickyRow {
  display: flex;
  flex-direction: row;
  max-width: 1440px;
  margin: 0 auto;
  gap: 60px;
}


.nodeAiotStickyImage {
  position: sticky;
  top: 120px;
  height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nodeAiotStickyImage img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}


/* BACK CONTENT */
.nodeAiotContent {
  width: 80%;
  padding-left: 8px;
}


/* Ajustes de opacidade dos blocos laterais */
.nodeAiotBlock {
  margin-bottom: 250px;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.nodeAiotBlock.nodeAiotActive {
  opacity: 1;
}



/*  Cards content */
.nodeAiotFeatureSection {
  padding: 80px 24px;
  background-color: var(--color-background-primary-deep);
  font-family: 'Space Grotesk', sans-serif;
}

.nodeAiotContainer {
  max-width: 1440px;
  margin: 0 auto;
}

.nodeAiotFeatureHeader {
  margin-bottom: 64px;
  max-width: 800px;
}

.nodeAiotMainHeadline {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  /* Cor primária de texto do seu tema */
  color: var(--color-text-primary);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
}

.nodeAiotFeatureGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 56px;
}


.nodeAiotFeatureItem {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.nodeAiotFeatureGrid:has(.nodeAiotFeatureItem:hover) .nodeAiotFeatureItem {
  opacity: 0.3;
  filter: blur(0.5px);
}


.nodeAiotFeatureGrid .nodeAiotFeatureItem:hover {
  opacity: 1 !important;
  filter: grayscale(0%) blur(0px) !important;
}


.nodeAiotFeatureItem:hover .nodeAiotFeatureIcon {
  color: #ffffff;
}

.nodeAiotFeatureIcon {
  color: var(--node-blue);
  display: flex;
  align-items: center;
  filter: var(--drop-shadow-primary);
}

.nodeAiotFeatureTitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.3;
}

.nodeAiotFeatureDescription {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
  max-width: 95%;
}

/* Efeito de Hover opcional seguindo seu tema */
.nodeAiotFeatureItem:hover .nodeAiotFeatureIcon {
  color: var(--node-pink);
  transition: color 0.3s ease;
}




.nodeAiotScrollSection {
  position: relative;
  background: var(--color-background-primary-deep);
  width: 1600px;
  margin: 0 auto;

}

/* HEADER STICKY */
.nodeAiotScrollSection .sticky-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 40px 80px;
  background: linear-gradient(var(--color-background-primary-deep) 70%, transparent);

  top: 60px;
  z-index: 5;
}

.nodeAiotScrollSection #title {
  font-size: 42px;
  max-width: 600px;
  transition: 0.3s;
}

/* CONTEÚDO */
.nodeAiotScrollSection .contentSticky {
  width: 100%;
  padding-bottom: 200px;
}

/* BLOCO */
.nodeAiotScrollSection .block {
  display: flex;
  align-items: flex-start;
  padding: 0 80px;
  opacity: 0.3;
  transition: 0.3s;
}



.nodeAiotScrollSection .block.active {
  opacity: 1;
}

.block-container {
  width: 100%;
  padding: 80px 0;
  border-top: var(--color-outline-secondary);
  border-bottom: var(--color-outline-secondary);
}

.nodeAiotScrollSection .block-inner {
  max-width: 600px;
}

.nodeAiotScrollSection .block h2 {
  font-size: 28px;
}

.nodeAiotScrollSection .block p {
  opacity: 0.6;
  margin-top: 10px;
}

.floating-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Permite clicar no que estiver atrás se necessário */
  z-index: 10;
}

/* CARD FLUTUANTE */
.nodeAiotScrollSection .floating-card {
  position: sticky;
  top: 50%;
  right: 80px;
  margin-left: auto;
  transform: translateY(-50%);
  width: 620px;
  z-index: 100;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;

  /* Estilo de Vidro (Glassmorphism) */
  overflow: hidden;
  border-radius: 12px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.795);
}


.nodeAiotScrollSection .floating-card img {
  display: block;
  width: 100%;
  border-radius: 0;
  transition: 0.3s;
}


/* Estilos específicos para os novos badges de integração */
.nodeAiotIntegrationRow {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  border-radius: 8px;
  overflow: hidden;

  background: var(--color-background-secondary);
  border: var(--color-outline-secondary);
}

.nodeAiotIntegrationLabel {
  font-size: 0.75rem;
  padding: 4px 10px;
  margin-right: 4px ;
  border-radius: 4px;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

.nodeAiotMiniLogo {
  width: 32px;
  height: 32px;
  padding: 6px;
  background: #e9e9e9;
  border: var(--color-outline-secondary); 
  object-fit: contain;
}

.nodeAiotBlockTag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-tertiary);
  margin-bottom: 0.5rem;
  display: block;
}



/* ========================= */
/* MOBILE RESPONSIVE LAYER  */
/* ========================= */

/* Base mobile (até 768px) */
@media (max-width: 768px) {

  .nodeAiotMainContent {
    margin-top: 80px;
    margin-bottom: 40px;
  }

  .mainSection {
    height: auto;
    margin-top: 40px;
  }

  /* HERO */
  .nodeAiotWrapper {
    padding: 24px 16px;
    gap: 24px;
  }

  .nodeAiotTitle {
    font-size: 52px;
  }

  .nodeAiotSubtitle {
    font-size: 14px;
  }

  /* PROMPT */
  .nodeAiotPromptContainer {
    padding: 12px;
    border-radius: 24px;
  }

  .nodeAiotPromptContainer::after {
    padding: 12px;
    border-radius: 24px;
  }

  .nodeAiotPromptContainer::before {
    padding: 12px;
    border-radius: 24px;
  }

  .nodeAiotPromptBox {
    min-height: 100px;
    font-size: 14px;
  }

  .nodeAiotPromptActions {
    flex-direction: column;
    align-items: stretch;
  }

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

  /* CTA HERO */
  .nodeAiotHeroHeadline {
    font-size: 32px;
  }

  .nodeAiotHeroDescription {
    font-size: 16px;
  }

  .nodeAiotHeroWrapper {
    flex-direction: column;
    padding: 0 20px;
  }

  .nodeAiotHeroContent {
    max-width: 100%;
  }

  .nodeAiotHeroActions {
    flex-direction: column;
  }

  .nodeAiotCtaPrimary,
  .nodeAiotCtaSecondary {
    width: 100%;
    padding: 14px;
  }

  /* STICKY SCROLL */
  .nodeAiotStickyRow {
    flex-direction: column;
    gap: 32px;
  }

  .nodeAiotLeft {
    min-width: 100%;
    padding: 0;
  }

  .nodeAiotStickyTitle {
    position: relative;
    top: auto;
  }

  .nodeAiotStickyTitle h2 {
    font-size: 24px;
  }

  .nodeAiotStickyImage {
    position: relative;
    height: auto;
    top: auto;
  }

  .nodeAiotStickyImage img {
    border-radius: 8px;
  }

  .nodeAiotContent {
    width: 100%;
    padding-left: 0;
  }

  .nodeAiotBlock {
    margin-bottom: 80px;
  }

  /* IMAGE HERO */
  .coloredImage img {
    height: 320px;
  }

  /* FEATURES */
  .nodeAiotFeatureSection {
    padding: 60px 16px;
  }

  .nodeAiotFeatureHeader {
    margin-bottom: 40px;
  }

  .nodeAiotMainHeadline {
    font-size: 32px;
  }


  /* SCROLL SECTION */
  .nodeAiotScrollSection {
    width: 100%;
  }

  .nodeAiotScrollSection .sticky-header {
    padding: 24px 16px;
  }

  .nodeAiotScrollSection #title {
    font-size: 26px;
  }

  .nodeAiotScrollSection .block {
    flex-direction: column;
    padding: 0 16px;
  }

  .block-container {
    padding: 40px 0;
  }

  .nodeAiotScrollSection .floating-card {
    display: none;
  }

  .floating-wrapper {
    position: relative;
    height: auto;
  }

  /* INTEGRATIONS */
  .nodeAiotIntegrationRow {
    flex-wrap: wrap;
  }

  .nodeAiotMiniLogo {
    width: 28px;
    height: 28px;
  }


  .nodeAiotFeatureGrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* EXTRA SMALL (até 480px) */
@media (max-width: 480px) {

  .nodeAiotTitle {
    font-size: 38px;
  }

  .nodeAiotHeroHeadline {
    font-size: 26px;
  }

  .nodeAiotHeroDescription {
    font-size: 14px;
  }

  .nodeAiotMainHeadline {
    font-size: 32px;
  }

  .nodeAiotScrollSection #title {
    font-size: 22px;
  }

  .nodeAiotStickyTitle h2 {
    font-size: 20px;
  }

  .nodeAiotScrollSection .contentSticky {
    padding-bottom: 20px;
  }

}